pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libva This has optional EGL support, handle...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6962990e0463
branches:  trunk
changeset: 650907:6962990e0463
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Apr 28 06:54:40 2015 +0000

description:
This has optional EGL support, handle like x11/qt5-qtbase.

diffstat:

 multimedia/libva/Makefile |  7 ++++++-
 multimedia/libva/PLIST    |  7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diffs (54 lines):

diff -r 65f9ba03a248 -r 6962990e0463 multimedia/libva/Makefile
--- a/multimedia/libva/Makefile Tue Apr 28 06:48:12 2015 +0000
+++ b/multimedia/libva/Makefile Tue Apr 28 06:54:40 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2015/04/25 14:23:40 tnn Exp $
+# $NetBSD: Makefile,v 1.7 2015/04/28 06:54:40 tnn Exp $
 #
 
 DISTNAME=      libva-1.1.0
@@ -31,6 +31,11 @@
 PKGCONFIG_OVERRIDE+=   libva-x11.pc.in
 PKGCONFIG_OVERRIDE+=   libva.pc.in
 
+PLIST_VARS+=           egl
+.if ${X11_TYPE} == "modular" || exists(${X11BASE}/include/EGL/egl.h)
+PLIST.egl=             yes
+.endif
+
 pre-configure:
        cd ${WRKSRC} && autoreconf -i
 
diff -r 65f9ba03a248 -r 6962990e0463 multimedia/libva/PLIST
--- a/multimedia/libva/PLIST    Tue Apr 28 06:48:12 2015 +0000
+++ b/multimedia/libva/PLIST    Tue Apr 28 06:54:40 2015 +0000
@@ -1,11 +1,13 @@
-@comment $NetBSD: PLIST,v 1.2 2013/04/14 00:30:02 cheusov Exp $
+@comment $NetBSD: PLIST,v 1.3 2015/04/28 06:54:40 tnn Exp $
 include/va/va.h
 include/va/va_backend.h
+${PLIST.egl}include/va/va_backend_egl.h
 include/va/va_backend_glx.h
 include/va/va_backend_tpi.h
 include/va/va_dec_jpeg.h
 include/va/va_dri2.h
 include/va/va_dricommon.h
+${PLIST.egl}include/va/va_egl.h
 include/va/va_drm.h
 include/va/va_drmcommon.h
 include/va/va_glx.h
@@ -13,11 +15,14 @@
 include/va/va_version.h
 include/va/va_x11.h
 lib/libva-drm.la
+${PLIST.egl}lib/libva-egl.la
 lib/libva-glx.la
 lib/libva-tpi.la
 lib/libva-x11.la
 lib/libva.la
 lib/pkgconfig/libva-drm.pc
+lib/pkgconfig/libva-egl.pc
+${PLIST.egl}lib/pkgconfig/libva-egl.pc
 lib/pkgconfig/libva-glx.pc
 lib/pkgconfig/libva-tpi.pc
 lib/pkgconfig/libva-x11.pc



Home | Main Index | Thread Index | Old Index