[75470] trunk/dports/aqua/HandBrake/Portfile

raimue at macports.org raimue at macports.org
Tue Jan 25 17:58:23 PST 2011


Revision: 75470
          http://trac.macports.org/changeset/75470
Author:   raimue at macports.org
Date:     2011-01-25 17:58:23 -0800 (Tue, 25 Jan 2011)
Log Message:
-----------
aqua/HandBrake:
Update to version 0.9.5

Modified Paths:
--------------
    trunk/dports/aqua/HandBrake/Portfile

Modified: trunk/dports/aqua/HandBrake/Portfile
===================================================================
--- trunk/dports/aqua/HandBrake/Portfile	2011-01-26 01:48:19 UTC (rev 75469)
+++ trunk/dports/aqua/HandBrake/Portfile	2011-01-26 01:58:23 UTC (rev 75470)
@@ -3,9 +3,8 @@
 PortSystem 1.0
 
 name		HandBrake
-version		0.7.1
-revision	1
-platforms       darwin
+version		0.9.5
+platforms	macosx
 categories	aqua multimedia
 maintainers	nomaintainer
 description	DVD to MPEG4 converter
@@ -19,56 +18,103 @@
 			- Includes a bitrate calculator \
 			- Supports picture cropping and scaling
 homepage	http://handbrake.fr/
-master_sites	http://download.handbrake.fr/handbrake/old/:h \
-				http://download.handbrake.fr/handbrake/contrib/:c
-distfiles	HandBrake-${version}.tar.gz:h a52dec-0.7.4.tar.gz:c \
-		ffmpeg-20060201.tar.gz:c libdvdcss-1.2.9.tar.gz:c \
-		libdvdread-20050928.tar.gz:c faac-1.24.tar.gz:c \
-		lame-3.96.1.tar.gz:c mpeg4ip-1.3.tar.gz:c \
-		mpeg2dec-20051112.tar.gz:c libogg-1.1.2.tar.gz:c \
-		libsamplerate-0.1.2.tar.gz:c libvorbis-1.1.1.tar.gz:c \
-		x264-r401.tar.gz:c xvidcore-1.1.0.tar.gz:c
-checksums	\
-	HandBrake-0.7.1.tar.gz sha1 7b113bc09cb95877634305871c24594303b6fe19 \
-	a52dec-0.7.4.tar.gz sha1 7c406b9b5351cdec56279b6d02f3f556711424d2 \
-	ffmpeg-20060201.tar.gz sha1 0984667db8f6e54632af75ce8cfad616ee2ba8ac \
-	libdvdcss-1.2.9.tar.gz sha1 2a9b2642bc298d315bb0b6de45a45d9cb696cfc7 \
-	libdvdread-20050928.tar.gz sha1 f735156e9257ec9c863b2d63356eb386650b2991 \
-	faac-1.24.tar.gz sha1 fc47715e562b980a95b8cd3b2cc516214f8ec8c4 \
-	lame-3.96.1.tar.gz sha1 7efa3fe278fc4d4a16a217e973461591428c20c8 \
-	mpeg4ip-1.3.tar.gz sha1 3c5987f51d0bbd49775b45f667cf46a628c4f87a \
-	mpeg2dec-20051112.tar.gz sha1 f07fb2cee4bb7494d82f2b5920b53dcd3050bf7c \
-	libogg-1.1.2.tar.gz sha1 fd4e2c3ce6d98dcb684ed0a09c3b2315888e4442 \
-	libsamplerate-0.1.2.tar.gz sha1 677598eb121d892d04ac727cd0ec307a29cd2bc9 \
-	libvorbis-1.1.1.tar.gz sha1 b29438f0bc1992000037e375277cdbe095712e2a \
-	x264-r401.tar.gz sha1 c9ca8892c22e1d04d1da041c3fc969e9071af15a \
-	xvidcore-1.1.0.tar.gz sha1 f935492cf32a119c411e8b649ba6ebec1cf54454
 
-depends_build	bin:jam:jam
+use_bzip2 yes
+master_sites    http://handbrake.fr/rotation.php?file=${distname}${extract.suffix}&dummy=:src \
+                http://download.handbrake.fr/handbrake/contrib/:contrib
+distfiles       ${distname}${extract.suffix}:src \
+                a52dec-0.7.4.tar.gz:contrib \
+                faac-1.28.tar.gz:contrib \
+                faad2-2.7.tar.gz:contrib \
+                ffmpeg-r25689.tar.bz2:contrib \
+                fontconfig-2.8.0.tar.gz:contrib \
+                freetype-2.3.9.tar.gz:contrib \
+                lame-3.98.tar.gz:contrib \
+                libass-0.9.9.tar.bz2:contrib \
+                libbluray-0.0.1-pre-16-g1aab213.tar.gz:contrib \
+                libdca-r81-strapped.tar.gz:contrib \
+                libdvdnav-svn1168.tar.gz:contrib \
+                libdvdread-svn1168.tar.gz:contrib \
+                libmkv-0.6.4.1-0-ga80e593.tar.bz2:contrib \
+                libogg-1.1.3.tar.gz:contrib \
+                libsamplerate-0.1.4.tar.gz:contrib \
+                libtheora-1.1.0.tar.bz2:contrib \
+                libvorbis-aotuv_b5.tar.gz:contrib \
+                libxml2-2.7.7.tar.gz:contrib \
+                mp4v2-trunk-r355.tar.bz2:contrib \
+                mpeg2dec-0.5.1.tar.gz:contrib \
+                x264-r1834-a51816a.tar.gz:contrib
+extract.only    ${distname}${extract.suffix}
 
-extract.only	HandBrake-${version}.tar.gz
-set contrib		${worksrcpath}/contrib
+checksums       ${distname}${extract.suffix} \
+                    md5     e17d3663fc36a985fe43e188695e3196 \
+                    sha1    6db599fe96a640e5355f1c92b8915f11c7cb45ad \
+                    rmd160  7de96b74e93c9fb7c3fe83a425a7d512e9e811e0 \
+                a52dec-0.7.4.tar.gz sha1 7c406b9b5351cdec56279b6d02f3f556711424d2 \
+                faac-1.28.tar.gz sha1 d00b023a3642f81bb1fb13d962a65079121396ee \
+                faad2-2.7.tar.gz sha1 80eaaa5cc576c35dd28863767b795c50cbcc0511 \
+                ffmpeg-r25689.tar.bz2 sha1 0bf31c93575b8f0bd4b38592261bce4f9b9b8d8e \
+                fontconfig-2.8.0.tar.gz sha1 570fb55eb14f2c92a7b470b941e9d35dbfafa716 \
+                freetype-2.3.9.tar.gz sha1 2c82a4f87b076c13d878129c8651645803585ff4 \
+                lame-3.98.tar.gz sha1 2908edcf0628512c407aadad317866826c6df5c7 \
+                libass-0.9.9.tar.bz2 sha1 e95923d7833f9ec8aa4f826a6fe113ea30404ad5 \
+                libbluray-0.0.1-pre-16-g1aab213.tar.gz sha1 571150392d95f283e4c5e6ea8bdc77218ea962cc \
+                libdca-r81-strapped.tar.gz sha1 aace1f940184fad9ec033de48f7d1efc3d0c0ffa \
+                libdvdnav-svn1168.tar.gz sha1 2e0b1cb2e215f231fcf7b94f8be6a4a4a6643e94 \
+                libdvdread-svn1168.tar.gz sha1 f6db5b9b5cce837e0c3dfd34f9c434b243bfc6fa \
+                libmkv-0.6.4.1-0-ga80e593.tar.bz2 sha1 c709548804ea697069d7156d0f9391f86d5da6a5 \
+                libogg-1.1.3.tar.gz sha1 9ce317cfe225e121deee68cd81db39f15b602caa \
+                libsamplerate-0.1.4.tar.gz sha1 d6974129497ba141d43c36826a23deb6c0b3e5d8 \
+                libtheora-1.1.0.tar.bz2 sha1 fb1686a8318d79f889f248ff774265d0ec4c6430 \
+                libvorbis-aotuv_b5.tar.gz sha1 ec446e9d2c480210ec8c5a02e479e52336450e3d \
+                libxml2-2.7.7.tar.gz sha1 8592824a2788574a172cbddcdc72f734ff87abe3 \
+                mp4v2-trunk-r355.tar.bz2 sha1 18a10807c5a05e0361e77d126599f8717ad7c8f5 \
+                mpeg2dec-0.5.1.tar.gz sha1 c39a95d18e133cd81e890fd7672f592ed41fadfc \
+                x264-r1834-a51816a.tar.gz sha1 33028199108ed71cb4f1b5ae755ef8a2e5f6e7d3
+
+depends_build   port:python26 \
+                bin:curl:curl \
+                port:yasm
+set python.bin  ${prefix}/bin/python2.6
+
 post-extract {
-	file copy ${distpath}/a52dec-0.7.4.tar.gz ${contrib}/a52dec.tar.gz
-	file copy ${distpath}/ffmpeg-20060201.tar.gz ${contrib}/ffmpeg.tar.gz
-	file copy ${distpath}/libdvdcss-1.2.9.tar.gz ${contrib}/libdvdcss.tar.gz
-	file copy ${distpath}/libdvdread-20050928.tar.gz ${contrib}/libdvdread.tar.gz
-	file copy ${distpath}/faac-1.24.tar.gz ${contrib}/faac.tar.gz
-	file copy ${distpath}/lame-3.96.1.tar.gz ${contrib}/lame.tar.gz
-	file copy ${distpath}/mpeg4ip-1.3.tar.gz ${contrib}/mpeg4ip.tar.gz
-	file copy ${distpath}/mpeg2dec-20051112.tar.gz ${contrib}/mpeg2dec.tar.gz
-	file copy ${distpath}/libogg-1.1.2.tar.gz ${contrib}/libogg.tar.gz
-	file copy ${distpath}/libsamplerate-0.1.2.tar.gz ${contrib}/libsamplerate.tar.gz
-	file copy ${distpath}/libvorbis-1.1.1.tar.gz ${contrib}/libvorbis.tar.gz
-	file copy ${distpath}/x264-r401.tar.gz ${contrib}/x264.tar.gz
-	file copy ${distpath}/xvidcore-1.1.0.tar.gz ${contrib}/xvidcore.tar.gz
+    file mkdir ${worksrcpath}/download
+    file copy \
+        ${distpath}/a52dec-0.7.4.tar.gz \
+        ${distpath}/faac-1.28.tar.gz \
+        ${distpath}/faad2-2.7.tar.gz \
+        ${distpath}/ffmpeg-r25689.tar.bz2 \
+        ${distpath}/fontconfig-2.8.0.tar.gz \
+        ${distpath}/freetype-2.3.9.tar.gz \
+        ${distpath}/lame-3.98.tar.gz \
+        ${distpath}/libass-0.9.9.tar.bz2 \
+        ${distpath}/libbluray-0.0.1-pre-16-g1aab213.tar.gz \
+        ${distpath}/libdca-r81-strapped.tar.gz \
+        ${distpath}/libdvdnav-svn1168.tar.gz \
+        ${distpath}/libdvdread-svn1168.tar.gz \
+        ${distpath}/libmkv-0.6.4.1-0-ga80e593.tar.bz2 \
+        ${distpath}/libogg-1.1.3.tar.gz \
+        ${distpath}/libsamplerate-0.1.4.tar.gz \
+        ${distpath}/libtheora-1.1.0.tar.bz2 \
+        ${distpath}/libvorbis-aotuv_b5.tar.gz \
+        ${distpath}/libxml2-2.7.7.tar.gz \
+        ${distpath}/mp4v2-trunk-r355.tar.bz2 \
+        ${distpath}/mpeg2dec-0.5.1.tar.gz \
+        ${distpath}/x264-r1834-a51816a.tar.gz \
+        ${worksrcpath}/download
 }
-use_configure   yes
-build.cmd	jam
+
+configure.cmd   ${python.bin} make/configure.py
+configure.pre_args
+configure.args  --fetch=curl --arch=${configure.build_arch}
+
+# +universal would be possible, but not implemented yet
+# see ${worksrcpath}/doc/BUILD-Mac for details
+universal_variant no
+
+build.dir ${worksrcpath}/build
 build.target
-build.env	CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
-destroot	{
-       	set appPath ${destroot}/Applications/MacPorts
-       	xinstall -d -m 755 ${appPath}
-       	file copy ${worksrcpath}/${name}.app ${appPath}/${name}.app
+
+destroot {
+    file copy ${worksrcpath}/build/${name}.app ${destroot}${applications_dir}/${name}.app
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110125/29eeb4cc/attachment.html>


More information about the macports-changes mailing list