aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer-ffmpeg
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-08-20 15:36:43 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-08-20 15:36:43 +0000
commitdc7ab3f9b0dab5744f9e05bf71b89e459c080fca (patch)
tree918ac451180e6f5c31ffe00964bf349e8e0357cd /multimedia/gstreamer-ffmpeg
parentefbdcfd998e249806d6cebbb472d1250bf362429 (diff)
downloadports-dc7ab3f9b0dab5744f9e05bf71b89e459c080fca.tar.gz
ports-dc7ab3f9b0dab5744f9e05bf71b89e459c080fca.zip
Notes
Diffstat (limited to 'multimedia/gstreamer-ffmpeg')
-rw-r--r--multimedia/gstreamer-ffmpeg/Makefile26
-rw-r--r--multimedia/gstreamer-ffmpeg/distinfo2
2 files changed, 18 insertions, 10 deletions
diff --git a/multimedia/gstreamer-ffmpeg/Makefile b/multimedia/gstreamer-ffmpeg/Makefile
index 5ef43de0d572..15b64a49db78 100644
--- a/multimedia/gstreamer-ffmpeg/Makefile
+++ b/multimedia/gstreamer-ffmpeg/Makefile
@@ -1,17 +1,16 @@
-# New ports collection makefile for: gstreamer ffmpeg
-# Date created: Thu Feb 26 20:10:39 CET 2004
-# Whom: Koop Mast <kwm@rainbow-runner.nl>
-#
+# Created by: Koop Mast <kwm@rainbow-runner.nl>
# $FreeBSD$
# $MCom: ports/multimedia/gstreamer-ffmpeg/Makefile,v 1.14 2006/07/20 13:40:27 ahze Exp $
-#
PORTNAME= gstreamer
PORTVERSION= 0.10.13
+PORTREVISION= 1
CATEGORIES= multimedia
-MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-ffmpeg/
+MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-ffmpeg/:ffmpeg \
+ http://libav.org/releases/:libav
PKGNAMESUFFIX= -ffmpeg
-DISTNAME= gst-ffmpeg-${PORTVERSION}
+DISTFILES= gst-ffmpeg-${PORTVERSION}.tar.bz2:ffmpeg \
+ libav-${LIBAV_VERSION}.tar.xz:libav
MAINTAINER= multimedia@FreeBSD.org
COMMENT= GStreamer plug-in for manipulating MPEG video streams
@@ -19,10 +18,11 @@ COMMENT= GStreamer plug-in for manipulating MPEG video streams
LICENSE= GPLv2
BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm
-LIB_DEPENDS= orc-0.4.0:${PORTSDIR}/devel/orc
+LIB_DEPENDS= liborc-0.4.so:${PORTSDIR}/devel/orc
-USE_BZIP2= yes
-USE_GMAKE= yes
+LIBAV_VERSION= 0.7.7
+WRKSRC= ${WRKDIR}/gst-ffmpeg-${PORTVERSION}
+USES= gmake pkgconfig
USE_LDCONFIG= yes
USE_GSTREAMER= yes
GNU_CONFIGURE= yes
@@ -67,4 +67,10 @@ MAKE_ENV= COMPILER_PATH=${LOCALBASE}/bin
.endif
+post-patch:
+ @${MV} ${WRKSRC}/gst-libs/ext/libav ${WRKSRC}/gst-libs/ext/libav.old
+ @${MV} ${WRKDIR}/libav-${LIBAV_VERSION} ${WRKSRC}/gst-libs/ext/libav
+ @${CP} ${WRKSRC}/gst-libs/ext/libav.old/config.* \
+ ${WRKSRC}/gst-libs/ext/libav/
+
.include <bsd.port.post.mk>
diff --git a/multimedia/gstreamer-ffmpeg/distinfo b/multimedia/gstreamer-ffmpeg/distinfo
index eee9b76ad83d..48da39f2e612 100644
--- a/multimedia/gstreamer-ffmpeg/distinfo
+++ b/multimedia/gstreamer-ffmpeg/distinfo
@@ -1,2 +1,4 @@
SHA256 (gst-ffmpeg-0.10.13.tar.bz2) = 76fca05b08e00134e3cb92fa347507f42cbd48ddb08ed3343a912def187fbb62
SIZE (gst-ffmpeg-0.10.13.tar.bz2) = 4784059
+SHA256 (libav-0.7.7.tar.xz) = 2d7b70c2bdaf8fea2e7d51838ce04e6c616cf90486134c247642fbdeafb21599
+SIZE (libav-0.7.7.tar.xz) = 3584936