pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/gstreamer1 Add an introspection option



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12de76aea151
branches:  trunk
changeset: 355419:12de76aea151
user:      martin <martin%pkgsrc.org@localhost>
date:      Thu Dec 01 11:08:56 2016 +0000

description:
Add an introspection option

diffstat:

 multimedia/gstreamer1/Makefile   |   3 +--
 multimedia/gstreamer1/PLIST      |  18 +++++++++---------
 multimedia/gstreamer1/options.mk |  13 ++++++++++---
 3 files changed, 20 insertions(+), 14 deletions(-)

diffs (85 lines):

diff -r 2f26d7b2ed15 -r 12de76aea151 multimedia/gstreamer1/Makefile
--- a/multimedia/gstreamer1/Makefile    Thu Dec 01 09:28:44 2016 +0000
+++ b/multimedia/gstreamer1/Makefile    Thu Dec 01 11:08:56 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2016/11/16 12:08:26 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2016/12/01 11:08:56 martin Exp $
 
 DISTNAME=      gstreamer-1.10.0
 PKGNAME=       ${DISTNAME:S/gstreamer/gstreamer1/}
@@ -27,5 +27,4 @@
 PKGCONFIG_OVERRIDE+=   pkgconfig/gstreamer-base.pc.in
 
 .include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/gobject-introspection/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 2f26d7b2ed15 -r 12de76aea151 multimedia/gstreamer1/PLIST
--- a/multimedia/gstreamer1/PLIST       Thu Dec 01 09:28:44 2016 +0000
+++ b/multimedia/gstreamer1/PLIST       Thu Dec 01 11:08:56 2016 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2016/11/16 12:08:26 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2016/12/01 11:08:56 martin Exp $
 bin/gst-inspect-1.0
 bin/gst-launch-1.0
 bin/gst-stats-1.0
@@ -114,11 +114,11 @@
 include/gstreamer-1.0/gst/net/gstnettimeprovider.h
 include/gstreamer-1.0/gst/net/gstptpclock.h
 include/gstreamer-1.0/gst/net/net.h
-lib/girepository-1.0/Gst-1.0.typelib
-lib/girepository-1.0/GstBase-1.0.typelib
+${PLIST.introspection}lib/girepository-1.0/Gst-1.0.typelib
+${PLIST.introspection}lib/girepository-1.0/GstBase-1.0.typelib
 ${PLIST.gstcheck}lib/girepository-1.0/GstCheck-1.0.typelib
-lib/girepository-1.0/GstController-1.0.typelib
-lib/girepository-1.0/GstNet-1.0.typelib
+${PLIST.introspection}lib/girepository-1.0/GstController-1.0.typelib
+${PLIST.introspection}lib/girepository-1.0/GstNet-1.0.typelib
 lib/gstreamer-1.0/libgstcoreelements.la
 lib/gstreamer-1.0/libgstcoretracers.la
 lib/libgstbase-1.0.la
@@ -141,11 +141,11 @@
 share/bash-completion/completions/gst-launch-1.0
 share/bash-completion/helpers/gst
 share/bash-completion/helpers/gst-completion-helper-1.0
-share/gir-1.0/Gst-1.0.gir
-share/gir-1.0/GstBase-1.0.gir
+${PLIST.introspection}share/gir-1.0/Gst-1.0.gir
+${PLIST.introspection}share/gir-1.0/GstBase-1.0.gir
 ${PLIST.gstcheck}share/gir-1.0/GstCheck-1.0.gir
-share/gir-1.0/GstController-1.0.gir
-share/gir-1.0/GstNet-1.0.gir
+${PLIST.introspection}share/gir-1.0/GstController-1.0.gir
+${PLIST.introspection}share/gir-1.0/GstNet-1.0.gir
 share/gtk-doc/html/gstreamer-1.0/GstAllocator.html
 share/gtk-doc/html/gstreamer-1.0/GstBin.html
 share/gtk-doc/html/gstreamer-1.0/GstBuffer.html
diff -r 2f26d7b2ed15 -r 12de76aea151 multimedia/gstreamer1/options.mk
--- a/multimedia/gstreamer1/options.mk  Thu Dec 01 09:28:44 2016 +0000
+++ b/multimedia/gstreamer1/options.mk  Thu Dec 01 11:08:56 2016 +0000
@@ -1,11 +1,12 @@
-# $NetBSD: options.mk,v 1.4 2015/11/18 12:04:16 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2016/12/01 11:08:56 martin Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.gstreamer
-PKG_SUPPORTED_OPTIONS= gstreamer-gstcheck
+PKG_SUPPORTED_OPTIONS= gstreamer-gstcheck introspection
+PKG_SUGGESTED_OPTIONS= introspection
 
 .include "../../mk/bsd.options.mk"
 
-PLIST_VARS+=   gstcheck
+PLIST_VARS+=   gstcheck introspection
 .if !empty(PKG_OPTIONS:Mgstreamer-gstcheck)
 .include "../../devel/check/buildlink3.mk"
 PLIST.gstcheck=        yes
@@ -15,3 +16,9 @@
 .else
 CONFIGURE_ARGS+=--disable-check
 .endif
+.if !empty(PKG_OPTIONS:Mintrospection)
+.include "../../devel/gobject-introspection/buildlink3.mk"
+PLIST.introspection=yes
+.else
+CONFIGURE_ARGS+=--disable-introspection
+.endif



Home | Main Index | Thread Index | Old Index