diff options
author | Koop Mast <kwm@FreeBSD.org> | 2013-11-01 22:14:07 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2013-11-01 22:14:07 +0000 |
commit | 44d0dc12bbff17cfbbb9d182235924dbd7d86a45 (patch) | |
tree | b260b05e7fe7e534f08af61d8504ddf8a7ab5a49 /multimedia/gstreamer1 | |
parent | 96998c6a224d934b8d937663652dc498c7e4cdfd (diff) | |
download | ports-44d0dc12bbff17cfbbb9d182235924dbd7d86a45.tar.gz ports-44d0dc12bbff17cfbbb9d182235924dbd7d86a45.zip |
Notes
Diffstat (limited to 'multimedia/gstreamer1')
-rw-r--r-- | multimedia/gstreamer1/Makefile | 17 | ||||
-rw-r--r-- | multimedia/gstreamer1/files/patch-gst_gstdatetime.c | 12 | ||||
-rw-r--r-- | multimedia/gstreamer1/pkg-plist | 3 |
3 files changed, 26 insertions, 6 deletions
diff --git a/multimedia/gstreamer1/Makefile b/multimedia/gstreamer1/Makefile index 2563620ee20b..d4da8794686f 100644 --- a/multimedia/gstreamer1/Makefile +++ b/multimedia/gstreamer1/Makefile @@ -17,8 +17,6 @@ PORTSCOUT= limitw:1,even CFLAGS:= ${CFLAGS} -O2 -Wno-format USES= bison gettext gmake pathfix pkgconfig -# workaround a crash in clang 3.3, llvm bug # 15840 -USE_GCC= any USE_XZ= yes USE_GNOME= glib20 gnomehier introspection:build ltverhack:0 ltasneededhack USE_AUTOTOOLS= libtool @@ -35,15 +33,17 @@ PLIST_SUB= VERSION=${GST10_VERSION} USE_LDCONFIG= yes GST10_VERSION= ${PORTVERSION:R} -MAN1= gst-inspect-${GST10_VERSION}.1 gst-launch-${GST10_VERSION}.1 \ - gst-typefind-${GST10_VERSION}.1 - OPTIONS_DEFINE= LIBCHECK LIBCHECK_DESC= Unit tests support -NO_STAGE= yes .include <bsd.port.options.mk> +# workaround a crash in clang 3.3 crash llvm bug # 15840 +.if ((${OSVERSION} >= 901504 && ${OSVERSION} < 902502) || \ + (${OSVERSION} >= 1000037 && ${OSVERSION} < 1000056)) +USE_GCC= any +.endif + .if ${OSVERSION} < 1000033 BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex CONFIGURE_ENV+= FLEX_PATH="${LOCALBASE}/bin/flex" @@ -62,4 +62,9 @@ post-patch: @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ ${WRKSRC}/configure +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgst*-1.0.so.0 + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gstreamer-1.0/libgst*.so + .include <bsd.port.mk> + diff --git a/multimedia/gstreamer1/files/patch-gst_gstdatetime.c b/multimedia/gstreamer1/files/patch-gst_gstdatetime.c new file mode 100644 index 000000000000..8eac4d8c76d4 --- /dev/null +++ b/multimedia/gstreamer1/files/patch-gst_gstdatetime.c @@ -0,0 +1,12 @@ +--- gst/gstdatetime.c.orig 2013-10-20 16:05:12.000000000 +0200 ++++ gst/gstdatetime.c 2013-10-20 16:05:24.000000000 +0200 +@@ -21,8 +21,8 @@ + #include "config.h" + #endif + +-#include "glib-compat-private.h" + #include "gst_private.h" ++#include "glib-compat-private.h" + #include "gstdatetime.h" + #include "gstvalue.h" + #include <glib.h> diff --git a/multimedia/gstreamer1/pkg-plist b/multimedia/gstreamer1/pkg-plist index 154475fda01d..398249d75c87 100644 --- a/multimedia/gstreamer1/pkg-plist +++ b/multimedia/gstreamer1/pkg-plist @@ -122,6 +122,9 @@ libdata/pkgconfig/gstreamer-base-%%VERSION%%.pc libdata/pkgconfig/gstreamer-controller-%%VERSION%%.pc libdata/pkgconfig/gstreamer-net-%%VERSION%%.pc libexec/gstreamer-%%VERSION%%/gst-plugin-scanner +man/man1/gst-inspect-1.0.1.gz +man/man1/gst-launch-1.0.1.gz +man/man1/gst-typefind-1.0.1.gz share/aclocal/gst-element-check-%%VERSION%%.m4 share/gir-1.0/Gst-%%VERSION%%.gir share/gir-1.0/GstBase-%%VERSION%%.gir |