pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/libva

Module Name:    pkgsrc
Committed By:   leot
Date:           Sun Mar 12 09:27:07 UTC 2017

Modified Files:
        pkgsrc/multimedia/libva: Makefile

Log Message:
For `native' X11_TYPE also look for possible drivers installed in
${PREFIX}/lib/dri. This is needed by at least intel-vaapi-driver.


Discussed and thanks to <maya>!

To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/multimedia/libva/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/libva/Makefile
diff -u pkgsrc/multimedia/libva/Makefile:1.14 pkgsrc/multimedia/libva/Makefile:1.15
--- pkgsrc/multimedia/libva/Makefile:1.14       Mon Mar  6 10:19:57 2017
+++ pkgsrc/multimedia/libva/Makefile    Sun Mar 12 09:27:07 2017
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2017/03/06 10:19:57 maya Exp $
+# $NetBSD: Makefile,v 1.15 2017/03/12 09:27:07 leot Exp $
 DISTNAME=      libva-1.7.3
 CATEGORIES=    multimedia
 EXTRACT_SUFX=  .tar.bz2
@@ -18,7 +18,16 @@ USE_TOOLS+=  autoreconf autoconf automake
 .include "../../mk/"
+# vaapi drivers (e.g. intel-vaapi-driver) can be installed under
+# ${PREFIX}/lib/dri and linked against native Instruct libva's
+# DRIVER_SEARCH_PATH to look at them too for native
+.if ${X11_TYPE} == "native"
+DRIVER_SEARCH_PATH=    ${X11BASE}/lib/dri:${PREFIX}/lib/dri
 DRIVER_SEARCH_PATH=    ${X11BASE}/lib/dri
 CONFIGURE_ARGS+=       --enable-shared
 CONFIGURE_ARGS+=       --with-drivers-path=${DRIVER_SEARCH_PATH:Q}

Home | Main Index | Thread Index | Old Index