pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/gst-plugins1-base Make introspection optional
details: https://anonhg.NetBSD.org/pkgsrc/rev/b1e26156d9fa
branches: trunk
changeset: 355424:b1e26156d9fa
user: martin <martin%pkgsrc.org@localhost>
date: Thu Dec 01 12:33:55 2016 +0000
description:
Make introspection optional
diffstat:
multimedia/gst-plugins1-base/Makefile | 4 +-
multimedia/gst-plugins1-base/PLIST | 42 ++++++++++++++++----------------
multimedia/gst-plugins1-base/options.mk | 15 +++++++++++
3 files changed, 38 insertions(+), 23 deletions(-)
diffs (99 lines):
diff -r f684d42986ba -r b1e26156d9fa multimedia/gst-plugins1-base/Makefile
--- a/multimedia/gst-plugins1-base/Makefile Thu Dec 01 12:25:20 2016 +0000
+++ b/multimedia/gst-plugins1-base/Makefile Thu Dec 01 12:33:55 2016 +0000
@@ -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 @@
# 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 -r f684d42986ba -r b1e26156d9fa multimedia/gst-plugins1-base/PLIST
--- a/multimedia/gst-plugins1-base/PLIST Thu Dec 01 12:25:20 2016 +0000
+++ b/multimedia/gst-plugins1-base/PLIST Thu Dec 01 12:33:55 2016 +0000
@@ -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/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/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 -r f684d42986ba -r b1e26156d9fa multimedia/gst-plugins1-base/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/gst-plugins1-base/options.mk Thu Dec 01 12:33:55 2016 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index