pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/gstreamer0.10 Add support for the "introspe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a70f3d0b2372
branches:  trunk
changeset: 357903:a70f3d0b2372
user:      martin <martin%pkgsrc.org@localhost>
date:      Tue Jan 31 15:54:39 2017 +0000

description:
Add support for the "introspection" option

diffstat:

 multimedia/gstreamer0.10/Makefile |  15 ++++++++++-----
 multimedia/gstreamer0.10/PLIST    |  18 +++++++++---------
 2 files changed, 19 insertions(+), 14 deletions(-)

diffs (77 lines):

diff -r 667f3de947e5 -r a70f3d0b2372 multimedia/gstreamer0.10/Makefile
--- a/multimedia/gstreamer0.10/Makefile Tue Jan 31 14:09:10 2017 +0000
+++ b/multimedia/gstreamer0.10/Makefile Tue Jan 31 15:54:39 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2016/07/09 06:38:39 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2017/01/31 15:54:39 martin Exp $
 #
 
 DISTNAME=              gstreamer-0.10.36
@@ -51,10 +51,11 @@
 .endif
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.gstreamer
-PKG_SUPPORTED_OPTIONS= gstcheck
+PKG_SUPPORTED_OPTIONS= gstcheck introspection
+PKG_SUGGESTED_OPTIONS= introspection
 .include "../../mk/bsd.options.mk"
 
-PLIST_VARS+=   gstcheck
+PLIST_VARS+=   gstcheck introspection
 .if !empty(PKG_OPTIONS:Mgstcheck)
 .include "../../devel/check/buildlink3.mk"
 PLIST.gstcheck=        yes
@@ -64,8 +65,12 @@
 .else
 CONFIGURE_ARGS+= --disable-check
 .endif
-
+.if !empty(PKG_OPTIONS:Mintrospection)
+PLIST.introspection=   yes
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-introspection
+.endif
 .include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/gobject-introspection/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 667f3de947e5 -r a70f3d0b2372 multimedia/gstreamer0.10/PLIST
--- a/multimedia/gstreamer0.10/PLIST    Tue Jan 31 14:09:10 2017 +0000
+++ b/multimedia/gstreamer0.10/PLIST    Tue Jan 31 15:54:39 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.26 2012/10/30 12:54:15 drochner Exp $
+@comment $NetBSD: PLIST,v 1.27 2017/01/31 15:54:39 martin Exp $
 bin/gst-feedback-0.10
 bin/gst-inspect-0.10
 bin/gst-launch-0.10
@@ -90,10 +90,10 @@
 include/gstreamer-0.10/gst/net/gstnetclientclock.h
 include/gstreamer-0.10/gst/net/gstnettimepacket.h
 include/gstreamer-0.10/gst/net/gstnettimeprovider.h
-lib/girepository-1.0/Gst-0.10.typelib
-lib/girepository-1.0/GstBase-0.10.typelib
-lib/girepository-1.0/GstController-0.10.typelib
-lib/girepository-1.0/GstNet-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/Gst-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstBase-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstController-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstNet-0.10.typelib
 lib/gstreamer-0.10/libgstcoreelements.la
 lib/gstreamer-0.10/libgstcoreindexers.la
 lib/libgstbase-0.10.la
@@ -116,10 +116,10 @@
 man/man1/gst-xmlinspect-0.10.1
 man/man1/gst-xmllaunch-0.10.1
 share/aclocal/gst-element-check-0.10.m4
-share/gir-1.0/Gst-0.10.gir
-share/gir-1.0/GstBase-0.10.gir
-share/gir-1.0/GstController-0.10.gir
-share/gir-1.0/GstNet-0.10.gir
+${PLIST.introspection}share/gir-1.0/Gst-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstBase-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstController-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstNet-0.10.gir
 share/gtk-doc/html/gstreamer-0.10/GstBin.html
 share/gtk-doc/html/gstreamer-0.10/GstBus.html
 share/gtk-doc/html/gstreamer-0.10/GstChildProxy.html



Home | Main Index | Thread Index | Old Index