Ticket #16682: Patch-Portfile.diff
File Patch-Portfile.diff, 2.0 KB (added by myschizobuddy@…, 16 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name x264 6 version 20080724 7 revision 1 6 version 20080926 8 7 categories multimedia 9 8 platforms darwin 10 9 maintainers acho@macports.org … … 15 14 Merritt from scratch. It is released under the terms of the \ 16 15 GPL license. 17 16 homepage http://www.videolan.org/x264.html 18 master_sites ftp://ftp.videolan.org/pub/videolan/x264/snapshots/ 17 master_sites ftp://ftp.videolan.org/pub/videolan/x264/snapshots/ \ 18 http://ftp.icm.edu.pl/packages/videolan/x264/snapshots/ 19 19 distname ${name}-snapshot-${version}-2245 20 checksums sha1 8f3023d82d06b34a609e8c67ace8328e6c01aacb 20 checksums sha1 42cfc383430015ef811f811493264ecc6795744a \ 21 md5 1876cc029ed57f0af1b9d4a6e3c6a9b6 \ 22 rmd160 bd025c75f4015dbba2190cc6dc2615855f69050e 23 21 24 use_bzip2 yes 22 25 23 depends_build bin:svn:subversion port:yasm 26 depends_build port:yasm 27 patchfiles patch-gtk-Makefile.diff 24 28 25 configure.args \ 26 --enable-pthread --enable-pic 29 configure.args --enable-pthread --enable-pic --enable-shared 27 30 31 configure.cflags-append "-I${x11prefix}/include -I${prefix}/include" 32 configure.ldflags-append "-L${x11prefix}/lib -L${prefix}/lib" 28 33 29 34 destroot.args DIR_INSTALL=${destroot}${prefix} 30 35 … … 35 40 configure.args-append --disable-asm 36 41 } 37 42 43 # TODO 44 #variant mp4 description {Enable mp4 output using GPAC utilities} { 45 # depends_build port:gpac 46 # configure.args-append --enable-mp4-output 47 #} 48 49 variant GTK_gui description {Build GTK+ gui} { 50 depends_build port:gtk2 51 configure.args-append --enable-gtk 52 } 53 38 54 variant G5 description {G5 specific optimizations} { 39 55 configure.cflags-append "-mcpu=970 -mtune=970 -mpowerpc64 -mpowerpc-gpopt -fast -mabi=altivec -maltivec" 40 56 } 57 58 platform darwin 9 { 59 configure.ldflags-append "-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib" 60 }