pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libvdpau libvdpau: don't restrict this pack...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c37c779384c0
branches:  trunk
changeset: 357516:c37c779384c0
user:      maya <maya%pkgsrc.org@localhost>
date:      Sun Jan 22 10:58:47 2017 +0000

description:
libvdpau: don't restrict this package to specific operating systems.
there's no reason to - other operating systems have suitable drivers too,
and it doesn't break builds as far as I can tell.

PR pkg/51704, applying as maintainer did not respond.

diffstat:

 multimedia/libvdpau/available.mk |  23 ++++++++++++++---------
 1 files changed, 14 insertions(+), 9 deletions(-)

diffs (36 lines):

diff -r 2aefc5206be8 -r c37c779384c0 multimedia/libvdpau/available.mk
--- a/multimedia/libvdpau/available.mk  Sun Jan 22 10:58:45 2017 +0000
+++ b/multimedia/libvdpau/available.mk  Sun Jan 22 10:58:47 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: available.mk,v 1.3 2012/12/02 11:03:51 cheusov Exp $
+# $NetBSD: available.mk,v 1.4 2017/01/22 10:58:47 maya Exp $
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -7,13 +7,18 @@
 # platforms in multiple places, i.e. in mplayer, xine, xbmc etc.
 # Have a look at buildlink3.mk too.
 
-.if ${OPSYS} == "Linux" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
-VDPAU_AVAILABLE=       yes
-.elif ${OPSYS} == "FreeBSD" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
+#.if ${OPSYS} == "Linux" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
+#VDPAU_AVAILABLE=      yes
+#.elif ${OPSYS} == "FreeBSD" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
+#VDPAU_AVAILABLE=      yes
+#.elif ${OPSYS} == "SunOS" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") \
+#  && !empty(OS_VERSION:M5.1[0-9]*)
+#VDPAU_AVAILABLE=      yes
+#.else
+#VDPAU_AVAILABLE=      no
+#.endif
+
+# XXX even these restrictions seem arbitrary
+.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
 VDPAU_AVAILABLE=       yes
-.elif ${OPSYS} == "SunOS" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") \
-  && !empty(OS_VERSION:M5.1[0-9]*)
-VDPAU_AVAILABLE=       yes
-.else
-VDPAU_AVAILABLE=       no
 .endif



Home | Main Index | Thread Index | Old Index