pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/gst-plugins0.10-base Support the "introspec...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/51bac5a2a781
branches:  trunk
changeset: 357904:51bac5a2a781
user:      martin <martin%pkgsrc.org@localhost>
date:      Tue Jan 31 16:43:55 2017 +0000

description:
Support the "introspection" option.

diffstat:

 multimedia/gst-plugins0.10-base/Makefile |  15 ++++++++-
 multimedia/gst-plugins0.10-base/PLIST    |  50 ++++++++++++++++----------------
 2 files changed, 39 insertions(+), 26 deletions(-)

diffs (105 lines):

diff -r a70f3d0b2372 -r 51bac5a2a781 multimedia/gst-plugins0.10-base/Makefile
--- a/multimedia/gst-plugins0.10-base/Makefile  Tue Jan 31 15:54:39 2017 +0000
+++ b/multimedia/gst-plugins0.10-base/Makefile  Tue Jan 31 16:43:55 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2016/07/09 06:38:38 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2017/01/31 16:43:55 martin Exp $
 #
 
 .include "Makefile.common"
@@ -16,11 +16,24 @@
 PKGCONFIG_OVERRIDE+=   pkgconfig/*.pc.in
 REPLACE_PERL+=         tools/gst-visualise-m.m
 
+PKG_OPTIONS_VAR=       PKG_OPTIONS.gst-plugins0.10-base
+PKG_SUPPORTED_OPTIONS= introspection
+PKG_SUGGESTED_OPTIONS= introspection
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=   introspection
+
 # only useful if gstreamer was built with the "gstcheck" option
 TEST_TARGET=           check-torture
 
 # soft dependency only, .pc file not needed
 #.include "../../textproc/iso-codes/buildlink3.mk"
 
+.if !empty(PKG_OPTIONS:Mintrospection)
+PLIST.introspection=   yes
 .include "../../devel/gobject-introspection/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-introspection
+.endif
+
 .include "../../mk/bsd.pkg.mk"
diff -r a70f3d0b2372 -r 51bac5a2a781 multimedia/gst-plugins0.10-base/PLIST
--- a/multimedia/gst-plugins0.10-base/PLIST     Tue Jan 31 15:54:39 2017 +0000
+++ b/multimedia/gst-plugins0.10-base/PLIST     Tue Jan 31 16:43:55 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.26 2012/10/30 12:56:00 drochner Exp $
+@comment $NetBSD: PLIST,v 1.27 2017/01/31 16:43:55 martin Exp $
 bin/gst-discoverer-0.10
 bin/gst-visualise-0.10
 include/gstreamer-0.10/gst/app/gstappbuffer.h
@@ -79,18 +79,18 @@
 include/gstreamer-0.10/gst/video/video-enumtypes.h
 include/gstreamer-0.10/gst/video/video-overlay-composition.h
 include/gstreamer-0.10/gst/video/video.h
-lib/girepository-1.0/GstApp-0.10.typelib
-lib/girepository-1.0/GstAudio-0.10.typelib
-lib/girepository-1.0/GstFft-0.10.typelib
-lib/girepository-1.0/GstInterfaces-0.10.typelib
-lib/girepository-1.0/GstNetbuffer-0.10.typelib
-lib/girepository-1.0/GstPbutils-0.10.typelib
-lib/girepository-1.0/GstRiff-0.10.typelib
-lib/girepository-1.0/GstRtp-0.10.typelib
-lib/girepository-1.0/GstRtsp-0.10.typelib
-lib/girepository-1.0/GstSdp-0.10.typelib
-lib/girepository-1.0/GstTag-0.10.typelib
-lib/girepository-1.0/GstVideo-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstApp-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstAudio-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstFft-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstInterfaces-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstNetbuffer-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstPbutils-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstRiff-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstRtp-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstRtsp-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstSdp-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstTag-0.10.typelib
+${PLIST.introspection}lib/girepository-1.0/GstVideo-0.10.typelib
 lib/gstreamer-0.10/libgstadder.la
 lib/gstreamer-0.10/libgstapp.la
 lib/gstreamer-0.10/libgstaudioconvert.la
@@ -335,18 +335,18 @@
 share/doc/gst-plugins-0.10/gst-plugins-base-plugins-0.10/right.png
 share/doc/gst-plugins-0.10/gst-plugins-base-plugins-0.10/style.css
 share/doc/gst-plugins-0.10/gst-plugins-base-plugins-0.10/up.png
-share/gir-1.0/GstApp-0.10.gir
-share/gir-1.0/GstAudio-0.10.gir
-share/gir-1.0/GstFft-0.10.gir
-share/gir-1.0/GstInterfaces-0.10.gir
-share/gir-1.0/GstNetbuffer-0.10.gir
-share/gir-1.0/GstPbutils-0.10.gir
-share/gir-1.0/GstRiff-0.10.gir
-share/gir-1.0/GstRtp-0.10.gir
-share/gir-1.0/GstRtsp-0.10.gir
-share/gir-1.0/GstSdp-0.10.gir
-share/gir-1.0/GstTag-0.10.gir
-share/gir-1.0/GstVideo-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstApp-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstAudio-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstFft-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstInterfaces-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstNetbuffer-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstPbutils-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstRiff-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstRtp-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstRtsp-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstSdp-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstTag-0.10.gir
+${PLIST.introspection}share/gir-1.0/GstVideo-0.10.gir
 share/gst-plugins-base/license-translations.dict
 share/locale/af/LC_MESSAGES/gst-plugins-base-0.10.mo
 share/locale/az/LC_MESSAGES/gst-plugins-base-0.10.mo



Home | Main Index | Thread Index | Old Index