diff options
author | tnn <tnn@pkgsrc.org> | 2020-08-01 17:19:46 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2020-08-01 17:19:46 +0000 |
commit | 32af042cc7b685ec1a6b8fcbaf70af658410f0da (patch) | |
tree | 6954ddd55c9f9c723c225671b27c82aa8c5e4848 /x11/wxGTK28 | |
parent | c6f1252ef24b2ff7de11d612aaa19d25e282a69a (diff) | |
download | pkgsrc-32af042cc7b685ec1a6b8fcbaf70af658410f0da.tar.gz |
wxGTK28: make gstreamer optional
Diffstat (limited to 'x11/wxGTK28')
-rw-r--r-- | x11/wxGTK28/Makefile.common | 7 | ||||
-rw-r--r-- | x11/wxGTK28/PLIST | 6 | ||||
-rw-r--r-- | x11/wxGTK28/options.mk | 17 |
3 files changed, 23 insertions, 7 deletions
diff --git a/x11/wxGTK28/Makefile.common b/x11/wxGTK28/Makefile.common index 9078a733a0d..bc5c2986111 100644 --- a/x11/wxGTK28/Makefile.common +++ b/x11/wxGTK28/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.20 2020/01/26 17:32:27 rillig Exp $ +# $NetBSD: Makefile.common,v 1.21 2020/08/01 17:19:46 tnn Exp $ # # used by x11/wxGTK28/Makefile # used by x11/wxGTK28-contrib/Makefile @@ -53,6 +53,8 @@ SUBST_SED.fix-paths= -e 's,/usr/pkg/include,${PREFIX}/include,g' SUBST_VARS.fix-paths= PREFIX SUBST_SED.fix-paths+= -e 's,/usr/X11/,${X11BASE}/,g' +.include "../../x11/wxGTK28/options.mk" + pre-configure: mkdir ${WRKSRC}/build-non-unicode ${WRKSRC}/build-unicode printf '#!%s\n../configure --enable-unicode "$$@"' ${SH} \ @@ -60,9 +62,6 @@ pre-configure: printf '#!%s\n../configure --disable-unicode "$$@"' ${SH} \ > ${WRKSRC}/build-non-unicode/configure -.include "../../multimedia/gstreamer0.10/buildlink3.mk" -.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk" -.include "../../devel/GConf/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/MesaLib/buildlink3.mk" diff --git a/x11/wxGTK28/PLIST b/x11/wxGTK28/PLIST index feec6a1c45b..015bd4192fa 100644 --- a/x11/wxGTK28/PLIST +++ b/x11/wxGTK28/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2016/01/19 04:18:35 dbj Exp $ +@comment $NetBSD: PLIST,v 1.7 2020/08/01 17:19:46 tnn Exp $ bin/wx-config bin/wx-config-2.8 bin/wxrc @@ -553,7 +553,7 @@ lib/libwx_gtk2${DEBUG_LIB}_aui-2.8.la lib/libwx_gtk2${DEBUG_LIB}_core-2.8.la lib/libwx_gtk2${DEBUG_LIB}_gl-2.8.la lib/libwx_gtk2${DEBUG_LIB}_html-2.8.la -lib/libwx_gtk2${DEBUG_LIB}_media-2.8.la +${PLIST.gstreamer}lib/libwx_gtk2${DEBUG_LIB}_media-2.8.la lib/libwx_gtk2${DEBUG_LIB}_qa-2.8.la lib/libwx_gtk2${DEBUG_LIB}_richtext-2.8.la lib/libwx_gtk2${DEBUG_LIB}_xrc-2.8.la @@ -562,7 +562,7 @@ lib/libwx_gtk2u${DEBUG_LIB}_aui-2.8.la lib/libwx_gtk2u${DEBUG_LIB}_core-2.8.la lib/libwx_gtk2u${DEBUG_LIB}_gl-2.8.la lib/libwx_gtk2u${DEBUG_LIB}_html-2.8.la -lib/libwx_gtk2u${DEBUG_LIB}_media-2.8.la +${PLIST.gstreamer}lib/libwx_gtk2u${DEBUG_LIB}_media-2.8.la lib/libwx_gtk2u${DEBUG_LIB}_qa-2.8.la lib/libwx_gtk2u${DEBUG_LIB}_richtext-2.8.la lib/libwx_gtk2u${DEBUG_LIB}_xrc-2.8.la diff --git a/x11/wxGTK28/options.mk b/x11/wxGTK28/options.mk new file mode 100644 index 00000000000..5aedb70ca3c --- /dev/null +++ b/x11/wxGTK28/options.mk @@ -0,0 +1,17 @@ +# $NetBSD: options.mk,v 1.1 2020/08/01 17:19:46 tnn Exp $ + +PLIST_VARS+= gstreamer + +PKG_OPTIONS_VAR= PKG_OPTIONS.wxGTK28 +PKG_SUPPORTED_OPTIONS= gstreamer +PKG_SUGGESTED_OPTIONS= gstreamer + +PLIST.gstreamer= yes + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mgstreamer) +.include "../../multimedia/gstreamer0.10/buildlink3.mk" +.include "../../multimedia/gst-plugins0.10-base/buildlink3.mk" +.include "../../devel/GConf/buildlink3.mk" +.endif |