[Midnightbsd-cvs] mports [15952] trunk/multimedia/gstreamer-plugins: update gstreamer plugins

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Feb 28 19:55:02 EST 2014


Revision: 15952
          http://svnweb.midnightbsd.org/mports/?rev=15952
Author:   laffer1
Date:     2014-02-28 19:55:01 -0500 (Fri, 28 Feb 2014)
Log Message:
-----------
update gstreamer plugins

Modified Paths:
--------------
    trunk/multimedia/gstreamer-plugins/Makefile
    trunk/multimedia/gstreamer-plugins/distinfo
    trunk/multimedia/gstreamer-plugins/pkg-plist

Added Paths:
-----------
    trunk/multimedia/gstreamer-plugins/files/patch-gst-libs_gst_video_video.h
    trunk/multimedia/gstreamer-plugins/files/patch-gst_audioresample_float.c
    trunk/multimedia/gstreamer-plugins/files/patch-gst_audioresample_resample.c
    trunk/multimedia/gstreamer-plugins/files/patch-gst_audioresample_speex-resampler-double.c

Removed Paths:
-------------
    trunk/multimedia/gstreamer-plugins/files/patch-ext_pango_Makefile.in

Modified: trunk/multimedia/gstreamer-plugins/Makefile
===================================================================
--- trunk/multimedia/gstreamer-plugins/Makefile	2014-03-01 00:53:22 UTC (rev 15951)
+++ trunk/multimedia/gstreamer-plugins/Makefile	2014-03-01 00:55:01 UTC (rev 15952)
@@ -13,42 +13,43 @@
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT?=	GStreamer written collection of plugins handling several media types
+
 LICENSE?=	gpl2
 
 BUILD_DEPENDS+=	v4l_compat>=1.0.20110720:${PORTSDIR}/multimedia/v4l_compat \
-		gstreamer>=0.10.34:${PORTSDIR}/multimedia/gstreamer
-LIB_DEPENDS+=	gstreamer-0.10.0:${PORTSDIR}/multimedia/gstreamer \
-		orc-0.4.0:${PORTSDIR}/devel/orc
+		gstreamer>=0.10.36:${PORTSDIR}/multimedia/gstreamer \
+		orc>=0.4.14:${PORTSDIR}/devel/orc
+LIB_DEPENDS+=	gstreamer-0.10:${PORTSDIR}/multimedia/gstreamer \
+		orc-0.4:${PORTSDIR}/devel/orc
 
 CFLAGS:=	${CFLAGS} -O2 -Wno-format
 
-BASE_PORTVERSION=	0.10.35
+BASE_PORTVERSION=	0.10.36
 BASE_DISTNAME=		gst-plugins-base-${BASE_PORTVERSION}
 BASE_DISTFILE=		${BASE_DISTNAME}${EXTRACT_SUFX}
-BAD_PORTVERSION=	0.10.22
+BAD_PORTVERSION=	0.10.23
 BAD_DISTNAME=		gst-plugins-bad-${BAD_PORTVERSION}
 BAD_DISTFILE=		${BAD_DISTNAME}${EXTRACT_SUFX}
-GOOD_PORTVERSION=	0.10.30
+GOOD_PORTVERSION=	0.10.31
 GOOD_DISTNAME=		gst-plugins-good-${GOOD_PORTVERSION}
 GOOD_DISTFILE=		${GOOD_DISTNAME}${EXTRACT_SUFX}
-UGLY_PORTVERSION=	0.10.18
+UGLY_PORTVERSION=	0.10.19
 UGLY_DISTNAME=		gst-plugins-ugly-${UGLY_PORTVERSION}
 UGLY_DISTFILE=		${UGLY_DISTNAME}${EXTRACT_SUFX}
 DIST?=		good
 
 SHLIB_VERSION=	1
-USE_GETTEXT=	yes
 VERSION=	${GST_VERSION}
 WANT_GSTREAMER=	yes
 USE_BZIP2=	yes
-USE_GMAKE=	yes
-USE_GNOME+=	gnomehack pkgconfig ltverhack ltasneededhack
+USE_GNOME+=	ltverhack ltasneededhack
+USES=		gettext gmake pathfix pkgconfig shebangfix
 USE_AUTOTOOLS=	libtool
 GST_PLUGIN?=	base
 
 CONFIGURE_ARGS=	--disable-option-checking
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE}/lib ${EXTRA_LIBS} ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib ${EXTRA_LIBS}
 CFLAGS+=	-I${LOCALBASE}/include
 
 DEFAULT_AUDIOSINK?=	osssink
@@ -67,9 +68,9 @@
 NO_GSTREAMER_COMMON=	yes
 USE_LDCONFIG=	yes
 USE_XORG=	x11 xv xext videoproto xextproto
-MAN1=		gst-visualise-0.10.1
 PLIST_SUB+=	VERSION="${VERSION}" \
 		SHLIB_VERSION="${SHLIB_VERSION}"
+SHEBANG_FILES=	tools/gst-visualise-m.m
 .else
 USE_GSTREAMER=	yes
 .endif
@@ -121,11 +122,12 @@
 
 post-patch:
 .if ${DIST}=="bad"
-	@${REINPLACE_CMD} -e 's|opencv <= 2.2.0|opencv <= 2.3.9|g' \
-	${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|opencv <= 2.2.0|opencv <= 2.3.99|g' \
+	-e 's|GST_LIBVERSION=23:0:0|GST_LIBVERSION=0:0:0|g' \
+		${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|g' \
-	${WRKSRC}/ext/resindvd/resindvdbin.c \
-	${WRKSRC}/ext/resindvd/resindvdsrc.c
+		${WRKSRC}/ext/resindvd/resindvdbin.c \
+		${WRKSRC}/ext/resindvd/resindvdsrc.c
 .endif
 	@${FIND} ${WRKSRC}/ext -name Makefile.in | \
 	${XARGS} -n 10 ${REINPLACE_CMD} -e \
@@ -151,8 +153,18 @@
 	  s|$$(top_builddir)/gst-libs/gst/cdda/libgstcdda- at GST_MAJORMINOR@.la|${LOCALBASE}/lib/libgstcdda- at GST_MAJORMINOR@.la|'
 	@${REINPLACE_CMD} -e 's|DEFAULT_AUDIOSINK="alsasink"|DEFAULT_AUDIOSINK="${DEFAULT_AUDIOSINK}"|; \
 		s|DEFAULT_AUDIOSRC="alsasrc"|DEFAULT_AUDIOSRC="${DEFAULT_AUDIOSRC}"|' \
-		-e 's|libpng12.pc|libpng15.pc|g' \
         	-e 's|-Wmissing-include-dirs||g' \
 		${WRKSRC}/configure
+.if ${GST_PLUGIN} == "flite"
+# Hack to get all the libraries linked to the flite plugin so it is useable.
+	-@${REINPLACE_CMD} -e 's|-Wl,--as-needed||g' \
+		${WRKSRC}/../gnome-libtool
+.endif
 
+post-install:
+.if ${GST_PLUGIN}==base
+	@${STRIP_CMD} ${PREFIX}/lib/libgst*.so.0
+.endif
+	@${STRIP_CMD} ${PREFIX}/lib/gstreamer-0.10/lib*.so
+
 .include <bsd.port.post.mk>

Modified: trunk/multimedia/gstreamer-plugins/distinfo
===================================================================
--- trunk/multimedia/gstreamer-plugins/distinfo	2014-03-01 00:53:22 UTC (rev 15951)
+++ trunk/multimedia/gstreamer-plugins/distinfo	2014-03-01 00:55:01 UTC (rev 15952)
@@ -1,9 +1,8 @@
-SHA256 (gst-plugins-base-0.10.35.tar.bz2) = cd24f01bb5258a1f400bc4f2c212bb7cee9ee23c9ffb80d537a24ef366d17103
-RMD160 (gst-plugins-base-0.10.35.tar.bz2) = 877e6b1c5439ef71262037b7a1aced07d37f4d49
-SIZE (gst-plugins-base-0.10.35.tar.bz2) = 2782902
-SHA256 (gst-plugins-bad-0.10.22.tar.bz2) = d8f7102f43ffea076646427115ffdccb3975954f1e9367bd304f7ee01e12070c
-SIZE (gst-plugins-bad-0.10.22.tar.bz2) = 3539722
-SHA256 (gst-plugins-ugly-0.10.18.tar.bz2) = f9c16748cd9269fae86422d8254a579fa6db073797a5a19a9dc5c72cd66c8e14
-SIZE (gst-plugins-ugly-0.10.18.tar.bz2) = 1070222
-SHA256 (gst-plugins-good-0.10.30.tar.bz2) = b12cba90b27d8423cd0a808939098d19db3996cfb9bf528507c6321782e095f6
-SIZE (gst-plugins-good-0.10.30.tar.bz2) = 3361361
+SHA256 (gst-plugins-base-0.10.36.tar.bz2) = 2cd3b0fa8e9b595db8f514ef7c2bdbcd639a0d63d154c00f8c9b609321f49976
+SIZE (gst-plugins-base-0.10.36.tar.bz2) = 3036143
+SHA256 (gst-plugins-bad-0.10.23.tar.bz2) = 0eae7d1a1357ae8377fded6a1b42e663887beabe0e6cc336e2ef9ada42e11491
+SIZE (gst-plugins-bad-0.10.23.tar.bz2) = 4001543
+SHA256 (gst-plugins-ugly-0.10.19.tar.bz2) = 1ca90059275c0f5dca71d4d1601a8f429b7852baed0723e820703b977e2c8df0
+SIZE (gst-plugins-ugly-0.10.19.tar.bz2) = 1083623
+SHA256 (gst-plugins-good-0.10.31.tar.bz2) = 7e27840e40a7932ef2dc032d7201f9f41afcaf0b437daf5d1d44dc96d9e35ac6
+SIZE (gst-plugins-good-0.10.31.tar.bz2) = 3390378

Deleted: trunk/multimedia/gstreamer-plugins/files/patch-ext_pango_Makefile.in
===================================================================
--- trunk/multimedia/gstreamer-plugins/files/patch-ext_pango_Makefile.in	2014-03-01 00:53:22 UTC (rev 15951)
+++ trunk/multimedia/gstreamer-plugins/files/patch-ext_pango_Makefile.in	2014-03-01 00:55:01 UTC (rev 15952)
@@ -1,20 +0,0 @@
---- ext/pango/Makefile.in.orig	2008-07-26 06:39:00.827210159 -0700
-+++ ext/pango/Makefile.in	2008-07-26 06:57:02.595333482 -0700
-@@ -86,7 +86,7 @@
- pluginLTLIBRARIES_INSTALL = $(INSTALL)
- LTLIBRARIES = $(plugin_LTLIBRARIES)
- am__DEPENDENCIES_1 =
--libgstpango_la_DEPENDENCIES = $(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_MAJORMINOR).la \
-+libgstpango_la_DEPENDENCIES = \
- 	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
- 	$(am__DEPENDENCIES_1)
- am_libgstpango_la_OBJECTS = libgstpango_la-gstclockoverlay.lo \
-@@ -481,7 +481,7 @@
- 
- libgstpango_la_LIBADD = \
- 	$(GST_PLUGINS_BASE_LIBS) \
--	$(top_builddir)/gst-libs/gst/video/libgstvideo-$(GST_MAJORMINOR).la \
-+	-lgstvideo-$(GST_MAJORMINOR) \
- 	$(GST_BASE_LIBS) \
- 	$(GST_LIBS) \
- 	$(PANGO_LIBS)

Added: trunk/multimedia/gstreamer-plugins/files/patch-gst-libs_gst_video_video.h
===================================================================
--- trunk/multimedia/gstreamer-plugins/files/patch-gst-libs_gst_video_video.h	                        (rev 0)
+++ trunk/multimedia/gstreamer-plugins/files/patch-gst-libs_gst_video_video.h	2014-03-01 00:55:01 UTC (rev 15952)
@@ -0,0 +1,14 @@
+--- gst-libs/gst/video/video.h.orig	2012-09-08 10:03:46.000000000 +0200
++++ gst-libs/gst/video/video.h	2012-09-08 10:07:58.000000000 +0200
+@@ -342,9 +342,9 @@
+  */
+ #define GST_VIDEO_CAPS_RGB8_PALETTED \
+   "video/x-raw-rgb, bpp = (int)8, depth = (int)8, "                     \
+-      "width = "GST_VIDEO_SIZE_RANGE" , "		                \
++      "width = " GST_VIDEO_SIZE_RANGE " , "		                \
+       "height = " GST_VIDEO_SIZE_RANGE ", "                             \
+-      "framerate = "GST_VIDEO_FPS_RANGE
++      "framerate = " GST_VIDEO_FPS_RANGE
+ 
+ /**
+  * GST_VIDEO_CAPS_YUV:

Added: trunk/multimedia/gstreamer-plugins/files/patch-gst_audioresample_float.c
===================================================================
--- trunk/multimedia/gstreamer-plugins/files/patch-gst_audioresample_float.c	                        (rev 0)
+++ trunk/multimedia/gstreamer-plugins/files/patch-gst_audioresample_float.c	2014-03-01 00:55:01 UTC (rev 15952)
@@ -0,0 +1,23 @@
+--- gst/audioresample/speex_resampler_float.c.orig	2012-07-17 09:48:45.000000000 +0200
++++ gst/audioresample/speex_resampler_float.c	2012-07-17 09:49:38.000000000 +0200
+@@ -17,8 +17,20 @@
+  * Boston, MA 02111-1307, USA.
+  */
+ 
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
++#ifdef _USE_SSE
++#ifndef HAVE_XMMINTRIN_H
++#undef _USE_SSE
++#undef _USE_SSE2
++#else
+ #define _USE_SSE
+ #define _USE_SSE2
++#endif
++#endif
++
+ #define FLOATING_POINT
+ #define OUTSIDE_SPEEX
+ #define RANDOM_PREFIX resample_float

Added: trunk/multimedia/gstreamer-plugins/files/patch-gst_audioresample_resample.c
===================================================================
--- trunk/multimedia/gstreamer-plugins/files/patch-gst_audioresample_resample.c	                        (rev 0)
+++ trunk/multimedia/gstreamer-plugins/files/patch-gst_audioresample_resample.c	2014-03-01 00:55:01 UTC (rev 15952)
@@ -0,0 +1,12 @@
+--- gst/audioresample/resample.c.orig	2012-06-28 10:15:58.000000000 +0200
++++ gst/audioresample/resample.c	2012-06-28 10:22:41.000000000 +0200
+@@ -79,6 +79,9 @@
+ #ifdef _USE_SSE
+ #ifndef HAVE_XMMINTRIN_H
+ #undef _USE_SSE
++/* this is a hack to build on i386, there the configure check for emmintrin.h
++   doesn't fail but the xmmintrin.h does. */
++#undef _USE_SSE2
+ #endif
+ #endif
+ 

Added: trunk/multimedia/gstreamer-plugins/files/patch-gst_audioresample_speex-resampler-double.c
===================================================================
--- trunk/multimedia/gstreamer-plugins/files/patch-gst_audioresample_speex-resampler-double.c	                        (rev 0)
+++ trunk/multimedia/gstreamer-plugins/files/patch-gst_audioresample_speex-resampler-double.c	2014-03-01 00:55:01 UTC (rev 15952)
@@ -0,0 +1,21 @@
+--- gst/audioresample/speex_resampler_double.c.orig	2012-06-28 10:31:31.000000000 +0200
++++ gst/audioresample/speex_resampler_double.c	2012-06-28 10:33:01.000000000 +0200
+@@ -17,7 +17,18 @@
+  * Boston, MA 02111-1307, USA.
+  */
+ 
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
++#ifdef _USE_SSE
++#ifndef HAVE_XMMINTRIN_H
++#undef _USE_SSE
++#undef _USE_SSE2
++#else
+ #define _USE_SSE2
++#endif
++#endif
+ #define FLOATING_POINT
+ #define DOUBLE_PRECISION
+ #define OUTSIDE_SPEEX

Modified: trunk/multimedia/gstreamer-plugins/pkg-plist
===================================================================
--- trunk/multimedia/gstreamer-plugins/pkg-plist	2014-03-01 00:53:22 UTC (rev 15951)
+++ trunk/multimedia/gstreamer-plugins/pkg-plist	2014-03-01 00:55:01 UTC (rev 15952)
@@ -6,6 +6,9 @@
 include/gstreamer-%%VERSION%%/gst/audio/audio.h
 include/gstreamer-%%VERSION%%/gst/audio/audio-enumtypes.h
 include/gstreamer-%%VERSION%%/gst/audio/gstaudioclock.h
+include/gstreamer-%%VERSION%%/gst/audio/gstaudiodecoder.h
+include/gstreamer-%%VERSION%%/gst/audio/gstaudioencoder.h
+include/gstreamer-%%VERSION%%/gst/audio/gstaudioiec61937.h
 include/gstreamer-%%VERSION%%/gst/audio/gstaudiofilter.h
 include/gstreamer-%%VERSION%%/gst/audio/gstaudiosink.h
 include/gstreamer-%%VERSION%%/gst/audio/gstaudiosrc.h
@@ -67,6 +70,7 @@
 include/gstreamer-%%VERSION%%/gst/sdp/gstsdp.h
 include/gstreamer-%%VERSION%%/gst/sdp/gstsdpmessage.h
 include/gstreamer-%%VERSION%%/gst/tag/gsttagdemux.h
+include/gstreamer-%%VERSION%%/gst/tag/gsttagmux.h
 include/gstreamer-%%VERSION%%/gst/tag/tag.h
 include/gstreamer-%%VERSION%%/gst/tag/xmpwriter.h
 include/gstreamer-%%VERSION%%/gst/video/gstvideofilter.h
@@ -73,6 +77,7 @@
 include/gstreamer-%%VERSION%%/gst/video/gstvideosink.h
 include/gstreamer-%%VERSION%%/gst/video/video.h
 include/gstreamer-%%VERSION%%/gst/video/video-enumtypes.h
+include/gstreamer-%%VERSION%%/gst/video/video-overlay-composition.h
 lib/girepository-1.0/GstApp-%%VERSION%%.typelib
 lib/girepository-1.0/GstAudio-%%VERSION%%.typelib
 lib/girepository-1.0/GstFft-%%VERSION%%.typelib
@@ -207,6 +212,7 @@
 share/gir-1.0/GstSdp-%%VERSION%%.gir
 share/gir-1.0/GstTag-%%VERSION%%.gir
 share/gir-1.0/GstVideo-%%VERSION%%.gir
+share/gst-plugins-base/license-translations.dict
 share/locale/af/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
 share/locale/az/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
 share/locale/bg/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
@@ -216,6 +222,7 @@
 share/locale/de/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
 share/locale/el/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
 share/locale/en_GB/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+share/locale/eo/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
 share/locale/es/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
 share/locale/eu/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
 share/locale/fi/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
@@ -243,6 +250,7 @@
 share/locale/vi/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
 share/locale/ru/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
 share/locale/zh_CN/LC_MESSAGES/gst-plugins-base-%%VERSION%%.mo
+ at dirrm share/gst-plugins-base
 @dirrm include/gstreamer-%%VERSION%%/gst/video
 @dirrm include/gstreamer-%%VERSION%%/gst/tag
 @dirrm include/gstreamer-%%VERSION%%/gst/sdp



More information about the Midnightbsd-cvs mailing list