commit:     f78f3042acf3ac4d2b88b58ea28c2cf41bcde47e
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 29 22:37:51 2015 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Aug 29 23:21:11 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f78f3042

media-libs/mesa: Install VAAPI drivers to correct location.

Bug: https://bugs.gentoo.org/549564

 media-libs/mesa/mesa-10.6.5.ebuild     | 2 ++
 media-libs/mesa/mesa-11.0.0_rc1.ebuild | 2 ++
 media-libs/mesa/mesa-9999.ebuild       | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/media-libs/mesa/mesa-10.6.5.ebuild 
b/media-libs/mesa/mesa-10.6.5.ebuild
index b5ac47a..4386f87 100644
--- a/media-libs/mesa/mesa-10.6.5.ebuild
+++ b/media-libs/mesa/mesa-10.6.5.ebuild
@@ -234,6 +234,8 @@ multilib_src_configure() {
                        $(use_enable xa)
                        $(use_enable xvmc)
                "
+               use vaapi && 
myconf+="--with-va-libdir=/usr/$(get_libdir)/va/drivers"
+
                gallium_enable swrast
                gallium_enable video_cards_vmware svga
                gallium_enable video_cards_nouveau nouveau

diff --git a/media-libs/mesa/mesa-11.0.0_rc1.ebuild 
b/media-libs/mesa/mesa-11.0.0_rc1.ebuild
index c401030..73f53c5 100644
--- a/media-libs/mesa/mesa-11.0.0_rc1.ebuild
+++ b/media-libs/mesa/mesa-11.0.0_rc1.ebuild
@@ -234,6 +234,8 @@ multilib_src_configure() {
                        $(use_enable xa)
                        $(use_enable xvmc)
                "
+               use vaapi && 
myconf+="--with-va-libdir=/usr/$(get_libdir)/va/drivers"
+
                gallium_enable swrast
                gallium_enable video_cards_vmware svga
                gallium_enable video_cards_nouveau nouveau

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 1e80c54..ceb2c93 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -235,6 +235,8 @@ multilib_src_configure() {
                        $(use_enable xa)
                        $(use_enable xvmc)
                "
+               use vaapi && 
myconf+="--with-va-libdir=/usr/$(get_libdir)/va/drivers"
+
                gallium_enable swrast
                gallium_enable video_cards_vmware svga
                gallium_enable video_cards_nouveau nouveau

Reply via email to