pkgsrc-WIP-changes archive

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

wip/gnunet: zbar with video support is only supported on a limited range of Operating Systems.



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%NetBSD.org@localhost>
Pushed By:	ng0
Date:		Mon Dec 2 11:40:45 2019 +0000
Changeset:	7aa5f0a07f5991bb6346c462da3c2aef181cc2dc

Modified Files:
	gnunet/options.mk

Log Message:
wip/gnunet: zbar with video support is only supported on a limited
range of Operating Systems.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7aa5f0a07f5991bb6346c462da3c2aef181cc2dc

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

diffstat:
 gnunet/options.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diffs:
diff --git a/gnunet/options.mk b/gnunet/options.mk
index 3919dd2728..a68bc6337d 100644
--- a/gnunet/options.mk
+++ b/gnunet/options.mk
@@ -12,7 +12,7 @@ PKG_SUPPORTED_OPTIONS+=		zbar
 # mdoc should be fixed in 0.11.9, missing files were included
 # post-0.11.8.
 # in 0.11.9 when fixed for pkgsrc, add back idn.
-PKG_SUGGESTED_OPTIONS+=		doc sqlite3 json opus ogg gstreamer zbar idn
+PKG_SUGGESTED_OPTIONS+=		doc sqlite3 json opus ogg gstreamer idn
 
 # bluez is still in pkgsrc-wip, and I should test this
 # before claiming bluez from pkgsrc-wip on Linux works.
@@ -21,6 +21,12 @@ PKG_SUGGESTED_OPTIONS+=		doc sqlite3 json opus ogg gstreamer zbar idn
 PKG_SUGGESTED_OPTIONS+=		bluez
 .endif
 
+# gnunet-qr needs zbar with video support. v4l2 only supports a
+# limited range of Operating Systems.
+.if ${OPSYS} == "Linux" || ${OPSYS} == "FreeBSD"
+PKG_SUGGESTED_OPTIONS+=		zbar
+.endif
+
 PLIST_VARS+=			doc mdoc conversations
 PLIST_VARS+=			experimental json
 PLIST_VARS+=			pgsql mysql sqlite3


Home | Main Index | Thread Index | Old Index