- 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
This commit is contained in:
parent
5920102ea1
commit
59d718d0c3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=384267
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user