Add x264 h.264 encoder. Only builds with GCC4.

This commit is contained in:
Cian Duffy
2012-08-04 14:07:09 +00:00
parent ba58d5bb6b
commit e647de4d12
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
--- x264-snapshot-20120803-2245.orig/configure 2012-08-03 20:45:03.065273856 +0000
+++ x264-snapshot-20120803-2245/configure 2012-08-04 12:56:56.527171584 +0000
@@ -520,6 +520,9 @@
fi
HAVE_GETOPT_LONG=0
;;
+ *haiku*)
+ SYS="haiku"
+ ;;
*)
die "Unknown system $host, edit the configure"
;;

View File

@@ -0,0 +1,20 @@
DESCRIPTION="x264 h.264/AVC encoder"
HOMEPAGE="http://www.videolan.org/developers/x264.html"
SRC_URI="ftp://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20120803-2245.tar.bz2"
CHECKSUM_MD5="0ce9048809a447b89aaecd7c8c8b2e0d"
REVISION="1"
MESSAGE="The port only builds with gcc4. Use 'setgcc gcc4' before building."
STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd x264-snapshot-20120803-2245
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL {
cd x264-snapshot-20120803-2245
make install-lib-static
}
LICENSE="GNU GPL v2"
COPYRIGHT="2003-2012 http://www.videolan.org/developers/x264.html"