diff options
author | Martin Matuska <mm@FreeBSD.org> | 2010-11-30 09:50:47 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2010-11-30 09:50:47 +0000 |
commit | 8746c8ffebbe7bce879b3df99a70e8be42415139 (patch) | |
tree | ddbffccb2b66c0555b4322a03607294e3b843898 /multimedia/x264/Makefile | |
parent | d32cc93f8fe2b7744b5ac8a150df886da73059ec (diff) |
- Update x264 to 0.110.1804
Notes
Notes:
svn path=/head/; revision=265441
Diffstat (limited to 'multimedia/x264/Makefile')
-rw-r--r-- | multimedia/x264/Makefile | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile index ce7ba2e15dfc..7324ae019019 100644 --- a/multimedia/x264/Makefile +++ b/multimedia/x264/Makefile @@ -5,20 +5,24 @@ # $FreeBSD$ PORTNAME= x264 -PORTVERSION= 0.0.20100624 +PORTVERSION= 0.${X264_BUILD}.${X264_REV} CATEGORIES= multimedia MASTER_SITES= http://downloads.videolan.org/pub/videolan/x264/snapshots/ \ http://samples.mplayerhq.hu/yuv4mpeg2/:pgo -DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245 -DISTFILES= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245${EXTRACT_SUFX} +DISTNAME= ${PORTNAME}-snapshot-${X264_SNAPSHOT}-2245 +DISTFILES= ${PORTNAME}-snapshot-${X264_SNAPSHOT}-2245${EXTRACT_SUFX} DIST_SUBDIR= x264 -EXTRACT_ONLY= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245${EXTRACT_SUFX} +EXTRACT_ONLY= ${PORTNAME}-snapshot-${X264_SNAPSHOT}-2245${EXTRACT_SUFX} MAINTAINER= mm@FreeBSD.org COMMENT?= Library and tool for encoding H.264/AVC video streams BUILD_DEPENDS= yasm>=0.6.0:${PORTSDIR}/devel/yasm +X264_BUILD= 110 +X264_REV= 1804 +X264_SNAPSHOT= 20101128 + USE_BZIP2= yes EXTRACT_AFTER_ARGS?= | ${TAR} -xf - --exclude .svn WRKSRC= ${WRKDIR}/${DISTNAME} @@ -38,6 +42,8 @@ CONFIGURE_ARGS+= --extra-cflags="${CPPFLAGS} ${CFLAGS} -fPIC -I${LOCALBASE}/incl --extra-ldflags="${LDFLAGS} -L${LOCALBASE}/lib" \ --enable-shared +PLIST_SUB+= X264_BUILD=${X264_BUILD} + .include <bsd.port.pre.mk> .if defined(WITH_GCC44) @@ -84,7 +90,6 @@ RESTRICTED_FILES= ${Y4M_VIDEO_DISTFILE} .if !defined(WITHOUT_GPAC) BUILD_DEPENDS+= gpac-libgpac>=0.4.5,1:${PORTSDIR}/multimedia/gpac-libgpac LIB_DEPENDS+= gpac.1:${PORTSDIR}/multimedia/gpac-libgpac -CONFIGURE_ARGS+= --enable-gpac .else CONFIGURE_ARGS+= --disable-gpac .endif @@ -101,8 +106,11 @@ post-extract: post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|; \ - s|-lpthread |${PTHREAD_LIBS} |g;' \ + s|-lpthread|${PTHREAD_LIBS}|g; \ + s|bash|sh|; \ + s|gpac_static|gpac|g' \ ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|bash|sh|' ${WRKSRC}/version.sh @${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|; \ s|$${libdir}/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ ${WRKSRC}/Makefile |