pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/libva libva: Similar to libvdpau, add an x1...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8fde14476140
branches: trunk
changeset: 359718:8fde14476140
user: maya <maya%pkgsrc.org@localhost>
date: Thu Mar 16 19:29:39 2017 +0000
description:
libva: Similar to libvdpau, add an x11 option to make it easier to disable
libva dependencies for non-X11 users. feel free to suggest alternatives.
PR pkg/52021
diffstat:
multimedia/libva/available.mk | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 515ee76683be -r 8fde14476140 multimedia/libva/available.mk
--- a/multimedia/libva/available.mk Thu Mar 16 19:27:36 2017 +0000
+++ b/multimedia/libva/available.mk Thu Mar 16 19:29:39 2017 +0000
@@ -1,11 +1,19 @@
-# $NetBSD: available.mk,v 1.8 2017/02/24 17:07:51 maya Exp $
+# $NetBSD: available.mk,v 1.9 2017/03/16 19:29:39 maya Exp $
.include "../../mk/bsd.prefs.mk"
+PKG_SUPPORTED_OPTIONS+= x11
+PKG_SUGGESTED_OPTIONS= x11
+
+.include "../../mk/bsd.options.mk"
+
# At the moment VAAPI is available only for XXX. The following
# condition is here to NOT list these platforms in multiple places,
# i.e. in mplayer, xine, xbmc etc. Have a look at buildlink3.mk too.
+VAAPI_AVAILABLE= no
+
+.if !empty(PKG_OPTIONS:Mx11)
# The following should be kept up-to-date!
.if ${OPSYS} == "DragonFly"
VAAPI_AVAILABLE= yes
@@ -15,6 +23,5 @@
VAAPI_AVAILABLE= yes
.elif ${OPSYS} == "Linux"
VAAPI_AVAILABLE= yes
-.else
-VAAPI_AVAILABLE= no
.endif
+.endif
Home |
Main Index |
Thread Index |
Old Index