Update to 0.10.6.

Add patch and Makefile tweaks to let it build when ffmpeg is installed.

Release notes:
http://gstreamer.freedesktop.org/releases/gst-ffmpeg/0.10.6.html
This commit is contained in:
Koop Mast 2009-01-27 23:54:48 +00:00
parent f76113a141
commit da9daafb2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227018
4 changed files with 21 additions and 9 deletions

View file

@ -7,8 +7,7 @@
#
PORTNAME= gstreamer
PORTVERSION= 0.10.4
PORTREVISION= 1
PORTVERSION= 0.10.6
CATEGORIES= multimedia
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-ffmpeg/
PKGNAMESUFFIX= -ffmpeg
@ -25,9 +24,9 @@ USE_GNOME= gnometarget
USE_GSTREAMER= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
CPPFLAGS="${CPPFLAGS}" \
CFLAGS="${CFLAGS} -fno-force-addr" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
LDFLAGS="${LDFLAGS}"
PLIST_SUB= \
VERSION="${GST_VERSION}"
WITHOUT_CPU_CFLAGS= yes

View file

@ -1,3 +1,3 @@
MD5 (gst-ffmpeg-0.10.4.tar.bz2) = 761cbbc0b5f077449082d0ea7527941e
SHA256 (gst-ffmpeg-0.10.4.tar.bz2) = 840015b4e0f0e7248b178eafc37476d6eb9aea3876eb3b07e2a66b430b526da2
SIZE (gst-ffmpeg-0.10.4.tar.bz2) = 3011048
MD5 (gst-ffmpeg-0.10.6.tar.bz2) = 063a8184916426d6b79a97dea9636a78
SHA256 (gst-ffmpeg-0.10.6.tar.bz2) = c9a5f4c9b1eddd7cb042d83390072f832f19f3712d023e4d6568391e5eb4878a
SIZE (gst-ffmpeg-0.10.6.tar.bz2) = 3126310

View file

@ -0,0 +1,13 @@
--- ext/ffmpeg/Makefile.in.orig 2009-01-19 13:19:46.000000000 +0100
+++ ext/ffmpeg/Makefile.in 2009-01-19 13:20:40.000000000 +0100
@@ -314,8 +314,8 @@
# \
# gstffmpegscale.c
-libgstffmpeg_la_CFLAGS = $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
- $(FFMPEG_CFLAGS)
+libgstffmpeg_la_CFLAGS = $(FFMPEG_CFLAGS) \
+ $(GST_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
libgstffmpeg_la_LIBADD = $(FFMPEG_LIBS) $(GST_BASE_LIBS) $(LIBM) $(WIN32_LIBS) -lz -lbz2
libgstffmpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DARWIN_LDFLAGS)

View file

@ -1,6 +1,6 @@
lib/gstreamer-%%VERSION%%/libgstffmpeg.a
lib/gstreamer-%%VERSION%%/libgstffmpeg.la
lib/gstreamer-%%VERSION%%/libgstffmpeg.so
lib/gstreamer-%%VERSION%%/libgstpostproc.a
lib/gstreamer-%%VERSION%%/libgstffmpegscale.la
lib/gstreamer-%%VERSION%%/libgstffmpegscale.so
lib/gstreamer-%%VERSION%%/libgstpostproc.la
lib/gstreamer-%%VERSION%%/libgstpostproc.so