diff options
author | tnn <tnn@pkgsrc.org> | 2015-04-28 06:54:40 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-04-28 06:54:40 +0000 |
commit | af7bbdf0e63483655d5bfee19f599a10f67e5686 (patch) | |
tree | 54dbced3adb2f7ae46f0ffa31ef06544b18b5f5c /multimedia | |
parent | e76eadec13f0b2cc3825b50e5cf986eda5e607ce (diff) | |
download | pkgsrc-af7bbdf0e63483655d5bfee19f599a10f67e5686.tar.gz |
This has optional EGL support, handle like x11/qt5-qtbase.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/libva/Makefile | 7 | ||||
-rw-r--r-- | multimedia/libva/PLIST | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/multimedia/libva/Makefile b/multimedia/libva/Makefile index 98462b9a9c0..7c3794c855e 100644 --- a/multimedia/libva/Makefile +++ b/multimedia/libva/Makefile @@ -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-tpi.pc.in 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 --git a/multimedia/libva/PLIST b/multimedia/libva/PLIST index e3d533648f9..857977afd48 100644 --- a/multimedia/libva/PLIST +++ b/multimedia/libva/PLIST @@ -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_tpi.h 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 |