diff options
author | martin <martin@pkgsrc.org> | 2016-12-01 12:33:55 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2016-12-01 12:33:55 +0000 |
commit | 8bb39588b3233cbd650fa772375ed3599938c39c (patch) | |
tree | e9c5570f2456a44c614c2256b061b736f743b894 /multimedia | |
parent | c848b6bc65b8b282eab2a0dd66ffc099db2c4a37 (diff) | |
download | pkgsrc-8bb39588b3233cbd650fa772375ed3599938c39c.tar.gz |
Make introspection optional
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gst-plugins1-base/Makefile | 4 | ||||
-rw-r--r-- | multimedia/gst-plugins1-base/PLIST | 42 | ||||
-rw-r--r-- | multimedia/gst-plugins1-base/options.mk | 15 |
3 files changed, 38 insertions, 23 deletions
diff --git a/multimedia/gst-plugins1-base/Makefile b/multimedia/gst-plugins1-base/Makefile index 4c7218c8b87..3bbb4fc23cf 100644 --- a/multimedia/gst-plugins1-base/Makefile +++ b/multimedia/gst-plugins1-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2016/09/12 09:00:10 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2016/12/01 12:33:55 martin Exp $ .include "Makefile.common" @@ -21,6 +21,6 @@ CFLAGS.SunOS+= -DHAVE_FIONREAD_IN_SYS_FILIO=1 # soft dependency only, .pc file not needed #.include "../../textproc/iso-codes/buildlink3.mk" .include "../../textproc/libxml2/buildlink3.mk" -.include "../../devel/gobject-introspection/buildlink3.mk" +.include "options.mk" .include "../../mk/bsd.pkg.mk" diff --git a/multimedia/gst-plugins1-base/PLIST b/multimedia/gst-plugins1-base/PLIST index c263c6e8999..dbf06351028 100644 --- a/multimedia/gst-plugins1-base/PLIST +++ b/multimedia/gst-plugins1-base/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.7 2016/11/16 12:08:25 wiz Exp $ +@comment $NetBSD: PLIST,v 1.8 2016/12/01 12:33:55 martin Exp $ bin/gst-device-monitor-1.0 bin/gst-discoverer-1.0 bin/gst-play-1.0 @@ -110,16 +110,16 @@ include/gstreamer-1.0/gst/video/video.h include/gstreamer-1.0/gst/video/videodirection.h include/gstreamer-1.0/gst/video/videoorientation.h include/gstreamer-1.0/gst/video/videooverlay.h -lib/girepository-1.0/GstAllocators-1.0.typelib -lib/girepository-1.0/GstApp-1.0.typelib -lib/girepository-1.0/GstAudio-1.0.typelib -lib/girepository-1.0/GstFft-1.0.typelib -lib/girepository-1.0/GstPbutils-1.0.typelib -lib/girepository-1.0/GstRtp-1.0.typelib -lib/girepository-1.0/GstRtsp-1.0.typelib -lib/girepository-1.0/GstSdp-1.0.typelib -lib/girepository-1.0/GstTag-1.0.typelib -lib/girepository-1.0/GstVideo-1.0.typelib +${PLIST.introspection}lib/girepository-1.0/GstAllocators-1.0.typelib +${PLIST.introspection}lib/girepository-1.0/GstApp-1.0.typelib +${PLIST.introspection}lib/girepository-1.0/GstAudio-1.0.typelib +${PLIST.introspection}lib/girepository-1.0/GstFft-1.0.typelib +${PLIST.introspection}lib/girepository-1.0/GstPbutils-1.0.typelib +${PLIST.introspection}lib/girepository-1.0/GstRtp-1.0.typelib +${PLIST.introspection}lib/girepository-1.0/GstRtsp-1.0.typelib +${PLIST.introspection}lib/girepository-1.0/GstSdp-1.0.typelib +${PLIST.introspection}lib/girepository-1.0/GstTag-1.0.typelib +${PLIST.introspection}lib/girepository-1.0/GstVideo-1.0.typelib lib/gstreamer-1.0/libgstadder.la lib/gstreamer-1.0/libgstapp.la lib/gstreamer-1.0/libgstaudioconvert.la @@ -373,16 +373,16 @@ share/doc/gst-plugins-0.10/gst-plugins-base-plugins-1.0/right.png share/doc/gst-plugins-0.10/gst-plugins-base-plugins-1.0/style.css share/doc/gst-plugins-0.10/gst-plugins-base-plugins-1.0/up-insensitive.png share/doc/gst-plugins-0.10/gst-plugins-base-plugins-1.0/up.png -share/gir-1.0/GstAllocators-1.0.gir -share/gir-1.0/GstApp-1.0.gir -share/gir-1.0/GstAudio-1.0.gir -share/gir-1.0/GstFft-1.0.gir -share/gir-1.0/GstPbutils-1.0.gir -share/gir-1.0/GstRtp-1.0.gir -share/gir-1.0/GstRtsp-1.0.gir -share/gir-1.0/GstSdp-1.0.gir -share/gir-1.0/GstTag-1.0.gir -share/gir-1.0/GstVideo-1.0.gir +${PLIST.introspection}share/gir-1.0/GstAllocators-1.0.gir +${PLIST.introspection}share/gir-1.0/GstApp-1.0.gir +${PLIST.introspection}share/gir-1.0/GstAudio-1.0.gir +${PLIST.introspection}share/gir-1.0/GstFft-1.0.gir +${PLIST.introspection}share/gir-1.0/GstPbutils-1.0.gir +${PLIST.introspection}share/gir-1.0/GstRtp-1.0.gir +${PLIST.introspection}share/gir-1.0/GstRtsp-1.0.gir +${PLIST.introspection}share/gir-1.0/GstSdp-1.0.gir +${PLIST.introspection}share/gir-1.0/GstTag-1.0.gir +${PLIST.introspection}share/gir-1.0/GstVideo-1.0.gir share/gst-plugins-base/1.0/license-translations.dict share/locale/af/LC_MESSAGES/gst-plugins-base-1.0.mo share/locale/az/LC_MESSAGES/gst-plugins-base-1.0.mo diff --git a/multimedia/gst-plugins1-base/options.mk b/multimedia/gst-plugins1-base/options.mk new file mode 100644 index 00000000000..f5d1adb3c14 --- /dev/null +++ b/multimedia/gst-plugins1-base/options.mk @@ -0,0 +1,15 @@ +# $NetBSD: options.mk,v 1.1 2016/12/01 12:33:55 martin Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.gst1-base +PKG_SUPPORTED_OPTIONS= introspection +PKG_SUGGESTED_OPTIONS= introspection + +.include "../../mk/bsd.options.mk" + +PLIST_VARS+= introspection +.if !empty(PKG_OPTIONS:Mintrospection) +.include "../../devel/gobject-introspection/buildlink3.mk" +PLIST.introspection=yes +.else +CONFIGURE_ARGS+=--disable-introspection +.endif |