diff options
author | martin <martin> | 2016-12-01 11:08:56 +0000 |
---|---|---|
committer | martin <martin> | 2016-12-01 11:08:56 +0000 |
commit | 7e6329d1d38264c8e39a323c9f7d641e71b9dd76 (patch) | |
tree | 1b2dc91d49171366ce6d6e07c522636e2ed759c3 /multimedia | |
parent | b203d83223b3912970392c0efe8cc90e97b27f4f (diff) | |
download | pkgsrc-7e6329d1d38264c8e39a323c9f7d641e71b9dd76.tar.gz |
Add an introspection option
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gstreamer1/Makefile | 3 | ||||
-rw-r--r-- | multimedia/gstreamer1/PLIST | 18 | ||||
-rw-r--r-- | multimedia/gstreamer1/options.mk | 13 |
3 files changed, 20 insertions, 14 deletions
diff --git a/multimedia/gstreamer1/Makefile b/multimedia/gstreamer1/Makefile index ca5e9be50d5..6c09f6a8319 100644 --- a/multimedia/gstreamer1/Makefile +++ b/multimedia/gstreamer1/Makefile @@ -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.pc.in PKGCONFIG_OVERRIDE+= pkgconfig/gstreamer-base.pc.in .include "../../devel/glib2/buildlink3.mk" -.include "../../devel/gobject-introspection/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/multimedia/gstreamer1/PLIST b/multimedia/gstreamer1/PLIST index 76b380109b3..4e448222406 100644 --- a/multimedia/gstreamer1/PLIST +++ b/multimedia/gstreamer1/PLIST @@ -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/gstnettimepacket.h 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-inspect-1.0 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 --git a/multimedia/gstreamer1/options.mk b/multimedia/gstreamer1/options.mk index e592fcc08ac..b6f00d152ce 100644 --- a/multimedia/gstreamer1/options.mk +++ b/multimedia/gstreamer1/options.mk @@ -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 @@ TEST_TARGET= check-torture .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 |