aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x264
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2012-04-25 14:19:00 +0000
committerMartin Matuska <mm@FreeBSD.org>2012-04-25 14:19:00 +0000
commitf74b3c4c83ec1f80425ba781e8c852fbc8d5d3c0 (patch)
tree1c8499d5e06ba3825ebd6a8026eeb6e6857d6e2f /multimedia/x264
parent8b4082ad891dbef9137c0e58fd9cac5496edc6e7 (diff)
downloadports-f74b3c4c83ec1f80425ba781e8c852fbc8d5d3c0.tar.gz
ports-f74b3c4c83ec1f80425ba781e8c852fbc8d5d3c0.zip
Notes
Diffstat (limited to 'multimedia/x264')
-rw-r--r--multimedia/x264/Makefile27
-rw-r--r--multimedia/x264/distinfo4
2 files changed, 17 insertions, 14 deletions
diff --git a/multimedia/x264/Makefile b/multimedia/x264/Makefile
index d32c6c51b001..def6f45900d1 100644
--- a/multimedia/x264/Makefile
+++ b/multimedia/x264/Makefile
@@ -7,28 +7,31 @@
PORTNAME= x264
PORTVERSION= 0.${X264_BUILD}.${X264_REV}
CATEGORIES= multimedia
-MASTER_SITES= http://downloads.videolan.org/pub/videolan/x264/snapshots/ \
+MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://samples.mplayerhq.hu/yuv4mpeg2/:pgo
-DISTNAME= ${PORTNAME}-snapshot-${X264_SNAP}-2245-stable
-DISTFILES= ${PORTNAME}-snapshot-${X264_SNAP}-2245-stable${EXTRACT_SUFX}
+MASTER_SITE_SUBDIR= mm/x264
+DISTFILES= ${DISTNAME}.tar.xz
+DISTNAME= ${PORTNAME}-${X264_GITVER}
DIST_SUBDIR= x264
-EXTRACT_ONLY= ${PORTNAME}-snapshot-${X264_SNAP}-2245-stable${EXTRACT_SUFX}
+EXTRACT_ONLY= ${DISTFILES}
MAINTAINER= mm@FreeBSD.org
COMMENT?= Library and tool for encoding H.264/AVC video streams
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
BUILD_DEPENDS= yasm>=0.6.0:${PORTSDIR}/devel/yasm \
${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
-LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
+X264_BUILD= 123
+X264_REV= 2189
+X264_COMMIT= 35cf912671fddcb3e701bf667a75f77dd8b28264
+X264_GITVER= ${X264_COMMIT:C/^(.......).*$/\1/g}
-X264_BUILD= 119
-X264_REV= 2113
-X264_SNAP= 20111220
+X264_GITVER= 35cf912
-USE_BZIP2= yes
-EXTRACT_AFTER_ARGS?= | ${TAR} -xf - --exclude .svn
+USE_XZ= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_GMAKE= yes
USE_LDCONFIG= yes
@@ -37,7 +40,7 @@ MAKE_JOBS_SAFE= yes
OPTIONS= ASM "Assembly optimizations (devel/binutils)" On \
DEBUG "Enable Debugging" Off \
- PGO "Enable Profile-Guided Optimization" Off \
+ PGO "Enable Profile-Guided Optimization" On \
GCC44 "Use gcc 4.4+ (implies WITH_ASM)" Off \
GPAC "Enable MPEG-4 Output" On \
X11_OUTPUT "Enable X11 Output" Off
diff --git a/multimedia/x264/distinfo b/multimedia/x264/distinfo
index 560078c63f12..0182f8366ad2 100644
--- a/multimedia/x264/distinfo
+++ b/multimedia/x264/distinfo
@@ -1,4 +1,4 @@
-SHA256 (x264/x264-snapshot-20111220-2245-stable.tar.bz2) = 7c739508f8f534a6ff819c553984904f8c9a86c29620228d8cd39b20caf67758
-SIZE (x264/x264-snapshot-20111220-2245-stable.tar.bz2) = 530509
+SHA256 (x264/x264-35cf912.tar.xz) = e7d73a20014dd20ef0ff5ca39d74c89cc2609fd0cafc9de1f59175b3e8bfe809
+SIZE (x264/x264-35cf912.tar.xz) = 495604
SHA256 (x264/example.y4m.bz2) = a5bec9d37362bd9d7773fbd0644643f9ec096d654d20823004e88d5df32bbff7
SIZE (x264/example.y4m.bz2) = 4910029