summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/gstreamer0.10/Makefile15
-rw-r--r--multimedia/gstreamer0.10/PLIST18
2 files changed, 19 insertions, 14 deletions
diff --git a/multimedia/gstreamer0.10/Makefile b/multimedia/gstreamer0.10/Makefile
index e737a20bb2c..4cdbd34ecfe 100644
--- a/multimedia/gstreamer0.10/Makefile
+++ b/multimedia/gstreamer0.10/Makefile
@@ -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 @@ BUILDLINK_API_DEPENDS.glib2+= glib2>=2.4.0nb1
.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 @@ TEST_TARGET= check-torture
.else
CONFIGURE_ARGS+= --disable-check
.endif
-
-.include "../../devel/glib2/buildlink3.mk"
+.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 "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/gstreamer0.10/PLIST b/multimedia/gstreamer0.10/PLIST
index 9df899680c2..819a1bd5f6d 100644
--- a/multimedia/gstreamer0.10/PLIST
+++ b/multimedia/gstreamer0.10/PLIST
@@ -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/gstnet.h
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-typefind-0.10.1
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