# $Id: Portfile 32922 2008-01-15 05:04:30Z acho@macports.org $ PortSystem 1.0 name x264 version 20080108 categories multimedia platforms darwin maintainers acho@macports.org description x264 - a free h264/avc encoder long_description x264 is a free library for encoding H264/AVC video streams. \ The code is written by Laurent Aimar, Eric Petit(OS X), Min \ Chen (vfw/nasm), Justin Clay(vfw), Måns Rullgård and Loren \ Merritt from scratch. It is released under the terms of the \ GPL license. homepage http://www.videolan.org/x264.html master_sites ftp://ftp.videolan.org/pub/videolan/x264/snapshots/ distname ${name}-snapshot-${version}-2245 checksums sha1 12b9bb1b9121fe3668011e833e49ce86b2afc25f use_bzip2 yes depends_build bin:svn:subversion configure.args \ --enable-pthread --enable-pic destroot.args DIR_INSTALL=${destroot}${prefix} build.target default variant ssse3 { depends_build-append port:yasm } variant G5 { configure.cflags-append "-mcpu=970 -mtune=970 -mpowerpc64 -mpowerpc-gpopt -fast -mabi=altivec -maltivec" }