ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/multimedia/gstreamer-ffmpeg/Makefile
Revision: 13111
Committed: Thu Jan 24 03:25:32 2013 UTC (11 years, 3 months ago) by laffer1
File size: 1640 byte(s)
Log Message:
fix build on amd64 current

File Contents

# User Rev Content
1 laffer1 13111 # $MidnightBSD: mports/multimedia/gstreamer-ffmpeg/Makefile,v 1.10 2012/09/09 00:44:14 laffer1 Exp $
2 laffer1 3709
3     PORTNAME= gstreamer
4 laffer1 10615 PORTVERSION= 0.10.11
5 laffer1 13111 PORTREVISION= 4
6 laffer1 3709 CATEGORIES= multimedia
7     MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-ffmpeg/
8     PKGNAMESUFFIX= -ffmpeg
9     DISTNAME= gst-ffmpeg-${PORTVERSION}
10    
11     MAINTAINER= ports@MidnightBSD.org
12     COMMENT= GStreamer plug-in for manipulating MPEG video streams
13 crash 7969 LICENSE= gpl2
14 laffer1 9337
15 laffer1 13111 LIB_DEPENDS= orc-0.4.16:${PORTSDIR}/devel/orc
16 laffer1 10615
17     CFLAGS:= ${CFLAGS} -O2 -Wno-format
18 laffer1 3709 USE_BZIP2= yes
19     USE_GMAKE= yes
20     USE_LDCONFIG= yes
21 laffer1 12888 USE_GNOME= gnomelibs
22     USE_PKGCONFIG= yes
23 laffer1 3709 USE_GSTREAMER= yes
24     GNU_CONFIGURE= yes
25 laffer1 11976 CONFIGURE_TARGET= ${ARCH}-portbld-freebsd7.0
26 laffer1 13111 FFMPEG_CONFIG= --cc=${CC} \
27     --enable-runtime-cpudetect \
28     --enable-pic
29     LDFLAGS+= -Wl,-Bsymbolic
30     CFLAGS+= -fno-force-addr
31 laffer1 12888 PLIST_SUB= VERSION="${GST_VERSION}"
32 laffer1 3709 WITHOUT_CPU_CFLAGS= yes
33    
34     GST_VERSION=${PORTVERSION:C/..$//}
35    
36     .include <bsd.port.pre.mk>
37    
38 laffer1 13111 CONFIGURE_ARGS+= --with-ffmpeg-extra-configure="${FFMPEG_CONFIG}"
39    
40 laffer1 3709 post-patch:
41 laffer1 10615 ${CP} ${FILESDIR}/config.sub ${FILESDIR}/config.guess \
42     ${WRKSRC}
43 laffer1 3709 @${REINPLACE_CMD} -e \
44     's|make|${GMAKE}|' \
45     ${WRKSRC}/gst-libs/ext/Makefile.in
46 laffer1 10615 @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g'\
47     ${WRKSRC}/gst-libs/ext/ffmpeg/doc/texi2pod.pl
48     @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
49     ${WRKSRC}/configure
50     @cd ${WRKSRC}/gst-libs/ext/ffmpeg/libavcodec && \
51     ${LN} -s x86 i386 && ${LN} -s x86 amd64
52    
53 laffer1 13111 .if ${OSVERSION} < 4015
54     BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
55     MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin
56     .endif
57 laffer1 3709 .include <bsd.port.post.mk>

Properties

Name Value
cvs2svn:cvs-rev 1.11