2004-04-05 06:06:42 +02:00
|
|
|
# New ports collection makefile for: gstreamer ffmpeg
|
|
|
|
# Date created: Thu Feb 26 20:10:39 CET 2004
|
|
|
|
# Whom: Koop Mast <kwm@rainbow-runner.nl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2006-10-14 10:35:50 +02:00
|
|
|
# $MCom: ports/multimedia/gstreamer-ffmpeg/Makefile,v 1.14 2006/07/20 13:40:27 ahze Exp $
|
2006-12-15 20:23:52 +01:00
|
|
|
#
|
2004-04-05 06:06:42 +02:00
|
|
|
|
|
|
|
PORTNAME= gstreamer
|
2010-07-24 18:18:48 +02:00
|
|
|
PORTVERSION= 0.10.11
|
2010-07-28 20:13:19 +02:00
|
|
|
PORTREVISION= 1
|
2004-04-05 06:06:42 +02:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-ffmpeg/
|
|
|
|
PKGNAMESUFFIX= -ffmpeg
|
|
|
|
DISTNAME= gst-ffmpeg-${PORTVERSION}
|
|
|
|
|
2006-06-09 20:00:35 +02:00
|
|
|
MAINTAINER= multimedia@FreeBSD.org
|
2004-04-05 06:06:42 +02:00
|
|
|
COMMENT= GStreamer plug-in for manipulating MPEG video streams
|
|
|
|
|
2010-07-24 18:18:48 +02:00
|
|
|
LIB_DEPENDS= orc-0.4.0:${PORTSDIR}/devel/orc
|
|
|
|
|
2010-03-30 15:33:03 +02:00
|
|
|
CFLAGS:= ${CFLAGS} -O2 -Wno-format
|
2004-04-05 06:06:42 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
2006-12-18 18:30:48 +01:00
|
|
|
USE_LDCONFIG= yes
|
2005-06-11 10:37:19 +02:00
|
|
|
USE_GSTREAMER= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2010-05-29 18:17:52 +02:00
|
|
|
CONFIGURE_ARGS= "--with-ffmpeg-extra-configure=--cc=${CC}"
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG}
|
|
|
|
|
|
|
|
LDFLAGS+= -Wl,-Bsymbolic
|
|
|
|
CFLAGS+= -fno-force-addr
|
2004-04-05 06:06:42 +02:00
|
|
|
PLIST_SUB= \
|
|
|
|
VERSION="${GST_VERSION}"
|
2005-03-16 14:04:25 +01:00
|
|
|
WITHOUT_CPU_CFLAGS= yes
|
2004-04-05 06:06:42 +02:00
|
|
|
|
|
|
|
PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
|
|
|
|
GST_VERSION=${PORTVERSION:C/..$//}
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-patch:
|
2004-12-29 14:44:01 +01:00
|
|
|
@${REINPLACE_CMD} -e \
|
2004-04-05 06:06:42 +02:00
|
|
|
's|make|${GMAKE}|' \
|
|
|
|
${WRKSRC}/gst-libs/ext/Makefile.in
|
2010-03-30 15:33:03 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g'\
|
|
|
|
${WRKSRC}/gst-libs/ext/ffmpeg/doc/texi2pod.pl
|
2010-07-24 18:18:48 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
|
|
|
|
${WRKSRC}/configure
|
2010-07-28 20:13:19 +02:00
|
|
|
@cd ${WRKSRC}/gst-libs/ext/ffmpeg/libavcodec && \
|
|
|
|
${LN} -s x86 i386 && ${LN} -s x86 amd64
|
2004-04-05 06:06:42 +02:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|