commit:     7cbfbed032548f9a5fab2baee412a84cd5bfc139
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 10 02:54:09 2015 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 10 02:54:09 2015 +0000
URL:        https://gitweb.gentoo.org/dev/leio.git/commit/?id=7cbfbed0

raspberrypi-userland: Claim a mesa version for wayland-egl package

Otherwise versioned checks for wayland-egl package fail.
In particular, gst-plugins-bad needs at least version 9.0 (probably a mesa[egl] 
ver)

 .../raspberrypi-userland/raspberrypi-userland-0_pre20150214.ebuild  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20150214.ebuild 
b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20150214.ebuild
index c6f42a6..33d8520 100644
--- a/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20150214.ebuild
+++ b/media-libs/raspberrypi-userland/raspberrypi-userland-0_pre20150214.ebuild
@@ -74,5 +74,9 @@ src_install() {
        doins "${FILESDIR}"/bcm_host.pc
        doins "${FILESDIR}"/egl.pc
        doins "${FILESDIR}"/glesv2.pc
-       use wayland && doins "${ED}"/opt/vc/lib/pkgconfig/wayland-egl.pc # 
Maybe move?
+       if use wayland; then
+               # Missing wayland-egl version from the patch; claim 9.0 (a mesa 
version) for now, so gst-plugins-bad wayland-egl check is happy
+               sed -i -e 's/Version:  /Version: 9.0/' 
"${ED}"/opt/vc/lib/pkgconfig/wayland-egl.pc
+               doins "${ED}"/opt/vc/lib/pkgconfig/wayland-egl.pc # Maybe move?
+       fi
 }

Reply via email to