diff options
author | Emil Karlson <jekarlson@gmail.com> | 2015-01-06 20:08:08 +0200 |
---|---|---|
committer | Emil Karlson <jekarlson@gmail.com> | 2015-01-06 20:08:08 +0200 |
commit | de91c1301eedb830d7dd9d0781ebe23b3e3df4fc (patch) | |
tree | 41f530aee235b865a9756935a079fdc5f32580c9 /x11-drivers | |
parent | x11-base/xorg-server: make ia64 patch apply again (diff) | |
download | x11-de91c1301eedb830d7dd9d0781ebe23b3e3df4fc.tar.gz x11-de91c1301eedb830d7dd9d0781ebe23b3e3df4fc.tar.bz2 x11-de91c1301eedb830d7dd9d0781ebe23b3e3df4fc.zip |
x11-drivers/ati-drivers: make bundled libva driver installation optional
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild | 6 | ||||
-rw-r--r-- | x11-drivers/ati-drivers/metadata.xml | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild b/x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild index 2b31c438..f2d46949 100644 --- a/x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild +++ b/x11-drivers/ati-drivers/ati-drivers-14.12-r3.ebuild @@ -17,7 +17,7 @@ DRIVERS_URI="mirror://gentoo/amd-catalyst-omega-14.12-linux-run-installers.zip" XVBA_SDK_URI="http://developer.amd.com/wordpress/media/2012/10/xvba-sdk-0.74-404001.tar.gz" SRC_URI="${DRIVERS_URI} ${XVBA_SDK_URI}" FOLDER_PREFIX="common/" -IUSE="debug +modules qt4 static-libs pax_kernel" +IUSE="debug +modules qt4 static-libs pax_kernel +internal-va-driver" LICENSE="AMD GPL-2 QPL-1.0" KEYWORDS="-* ~amd64 ~x86" @@ -36,7 +36,7 @@ RDEPEND=" x11-libs/libXrandr x11-libs/libXrender virtual/glu - !x11-libs/xvba-video + internal-va-driver? ( !x11-libs/xvba-video ) abi_x86_32? ( || ( virtual/glu[abi_x86_32] @@ -559,7 +559,7 @@ src_install-libs() { doheader xvba_sdk/include/amdxvba.h # VA-API internal wrapper - dosym /usr/$(get_libdir)/libXvBAW.so.1.0 /usr/$(get_libdir)/va/drivers/fglrx_drv_video.so + use internal-va-driver && dosym /usr/$(get_libdir)/libXvBAW.so.1.0 /usr/$(get_libdir)/va/drivers/fglrx_drv_video.so if use pax_kernel; then pax-mark m "${D}"/usr/lib*/opengl/ati/lib/libGL.so.1.2 || die "pax-mark failed" diff --git a/x11-drivers/ati-drivers/metadata.xml b/x11-drivers/ati-drivers/metadata.xml index dc12ac17..6574c133 100644 --- a/x11-drivers/ati-drivers/metadata.xml +++ b/x11-drivers/ati-drivers/metadata.xml @@ -13,5 +13,6 @@ <flag name='modules'>Build the kernel modules</flag> <flag name='disable-watermark'>Do a potentially dangerous binary search and replace to disable watermark</flag> <flag name='pax_kernel'>Enable pax kernel specific patches</flag> + <flag name='internal-va-driver'>Install bundled libva driver to replace x11-libs/xvba-video</flag> </use> </pkgmetadata> |