diff options
author | riggs <riggs@FreeBSD.org> | 2015-04-19 15:55:41 +0800 |
---|---|---|
committer | riggs <riggs@FreeBSD.org> | 2015-04-19 15:55:41 +0800 |
commit | 2c6668fff826c7cd99287e95bab8a1037579fae2 (patch) | |
tree | f4b5b39040ada2c5932ac18070e8d96b6022ccb8 /multimedia | |
parent | 9058b74c9d7a2c4528e7430b89b5308148c567f0 (diff) | |
download | freebsd-ports-gnome-2c6668fff826c7cd99287e95bab8a1037579fae2.tar.gz freebsd-ports-gnome-2c6668fff826c7cd99287e95bab8a1037579fae2.tar.zst freebsd-ports-gnome-2c6668fff826c7cd99287e95bab8a1037579fae2.zip |
- Fix BUILD_DEPENDS and LIB_DEPENDS with NLS (default OPTION)
- Simplify OPTIONS handling
- Pet portlint
- Bump PORTREVISION
PR: 196729
Submitted by: z7dr6ut7gs@snkmail.com
Reviewed by: riggs
MFH: 2015Q2
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/gstreamer/Makefile | 25 | ||||
-rw-r--r-- | multimedia/gstreamer/pkg-plist | 24 |
2 files changed, 20 insertions, 29 deletions
diff --git a/multimedia/gstreamer/Makefile b/multimedia/gstreamer/Makefile index f0914f119718..bf3c5102e367 100644 --- a/multimedia/gstreamer/Makefile +++ b/multimedia/gstreamer/Makefile @@ -4,7 +4,7 @@ PORTNAME= gstreamer PORTVERSION= 0.10.36 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= http://gstreamer.freedesktop.org/src/gstreamer/ @@ -31,17 +31,16 @@ INSTALL_TARGET= install-strip GST_VERSION= 0.10 OPTIONS_DEFINE= LIBCHECK NLS +OPTIONS_SUB= yes LIBCHECK_DESC= Unit tests support -.include <bsd.port.pre.mk> +LIBCHECK_LIB_DEPENDS= libcheck.so:${PORTSDIR}/devel/libcheck +LIBCHECK_CONFIGURE_OFF= --disable-check -.if ${PORT_OPTIONS:MLIBCHECK} -LIB_DEPENDS+= libcheck.so:${PORTSDIR}/devel/libcheck -PLIST_SUB+= CHECK="" -.else -CONFIGURE_ARGS+=--disable-check -PLIST_SUB+= CHECK="@comment " -.endif +NLS_USES= gettext +NLS_CONFIGURE_OFF= --disable-nls + +.include <bsd.port.pre.mk> # workaround a crash in clang 3.3 crash llvm bug # 15840 .if ((${OSVERSION} >= 901504 && ${OSVERSION} < 902502) || \ @@ -54,14 +53,6 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex CONFIGURE_ENV+= FLEX_PATH="${LOCALBASE}/bin/flex" .endif -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif - post-patch: @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ ${WRKSRC}/configure diff --git a/multimedia/gstreamer/pkg-plist b/multimedia/gstreamer/pkg-plist index a195d6e9a269..c2e5f06476ef 100644 --- a/multimedia/gstreamer/pkg-plist +++ b/multimedia/gstreamer/pkg-plist @@ -23,10 +23,10 @@ include/gstreamer-%%VERSION%%/gst/base/gstcollectpads2.h include/gstreamer-%%VERSION%%/gst/base/gstdataqueue.h include/gstreamer-%%VERSION%%/gst/base/gstpushsrc.h include/gstreamer-%%VERSION%%/gst/base/gsttypefindhelper.h -%%CHECK%%include/gstreamer-%%VERSION%%/gst/check/gstbufferstraw.h -%%CHECK%%include/gstreamer-%%VERSION%%/gst/check/gstcheck.h -%%CHECK%%include/gstreamer-%%VERSION%%/gst/check/gstconsistencychecker.h -%%CHECK%%include/gstreamer-%%VERSION%%/gst/check/internal-check.h +%%LIBCHECK%%include/gstreamer-%%VERSION%%/gst/check/gstbufferstraw.h +%%LIBCHECK%%include/gstreamer-%%VERSION%%/gst/check/gstcheck.h +%%LIBCHECK%%include/gstreamer-%%VERSION%%/gst/check/gstconsistencychecker.h +%%LIBCHECK%%include/gstreamer-%%VERSION%%/gst/check/internal-check.h include/gstreamer-%%VERSION%%/gst/controller/gstcontroller.h include/gstreamer-%%VERSION%%/gst/controller/gstcontrolsource.h include/gstreamer-%%VERSION%%/gst/controller/gstinterpolationcontrolsource.h @@ -97,7 +97,7 @@ include/gstreamer-%%VERSION%%/gst/net/gstnettimepacket.h include/gstreamer-%%VERSION%%/gst/net/gstnettimeprovider.h lib/girepository-1.0/Gst-%%VERSION%%.typelib lib/girepository-1.0/GstBase-%%VERSION%%.typelib -%%CHECK%%lib/girepository-1.0/GstCheck-%%VERSION%%.typelib +%%LIBCHECK%%lib/girepository-1.0/GstCheck-%%VERSION%%.typelib lib/girepository-1.0/GstController-%%VERSION%%.typelib lib/girepository-1.0/GstNet-%%VERSION%%.typelib lib/gstreamer-%%VERSION%%/libgstcoreelements.la @@ -109,11 +109,11 @@ lib/libgstbase-%%VERSION%%.la lib/libgstbase-%%VERSION%%.so lib/libgstbase-%%VERSION%%.so.0 lib/libgstbase-%%VERSION%%.so.0.30.0 -%%CHECK%%lib/libgstcheck-%%VERSION%%.a -%%CHECK%%lib/libgstcheck-%%VERSION%%.la -%%CHECK%%lib/libgstcheck-%%VERSION%%.so -%%CHECK%%lib/libgstcheck-%%VERSION%%.so.0 -%%CHECK%%lib/libgstcheck-%%VERSION%%.so.0.30.0 +%%LIBCHECK%%lib/libgstcheck-%%VERSION%%.a +%%LIBCHECK%%lib/libgstcheck-%%VERSION%%.la +%%LIBCHECK%%lib/libgstcheck-%%VERSION%%.so +%%LIBCHECK%%lib/libgstcheck-%%VERSION%%.so.0 +%%LIBCHECK%%lib/libgstcheck-%%VERSION%%.so.0.30.0 lib/libgstcontroller-%%VERSION%%.a lib/libgstcontroller-%%VERSION%%.la lib/libgstcontroller-%%VERSION%%.so @@ -136,7 +136,7 @@ lib/libgstreamer-%%VERSION%%.so.0 lib/libgstreamer-%%VERSION%%.so.0.30.0 libdata/pkgconfig/gstreamer-%%VERSION%%.pc libdata/pkgconfig/gstreamer-base-%%VERSION%%.pc -%%CHECK%%libdata/pkgconfig/gstreamer-check-%%VERSION%%.pc +%%LIBCHECK%%libdata/pkgconfig/gstreamer-check-%%VERSION%%.pc libdata/pkgconfig/gstreamer-controller-%%VERSION%%.pc libdata/pkgconfig/gstreamer-dataprotocol-%%VERSION%%.pc libdata/pkgconfig/gstreamer-net-%%VERSION%%.pc @@ -150,7 +150,7 @@ man/man1/gst-xmllaunch-0.10.1.gz share/aclocal/gst-element-check-%%VERSION%%.m4 share/gir-1.0/Gst-%%VERSION%%.gir share/gir-1.0/GstBase-%%VERSION%%.gir -%%CHECK%%share/gir-1.0/GstCheck-%%VERSION%%.gir +%%LIBCHECK%%share/gir-1.0/GstCheck-%%VERSION%%.gir share/gir-1.0/GstController-%%VERSION%%.gir share/gir-1.0/GstNet-%%VERSION%%.gir %%NLS%%share/locale/af/LC_MESSAGES/gstreamer-%%VERSION%%.mo |