diff --git a/media-libs/x264/patches/x264-20120803.patch b/media-libs/x264/patches/x264-20120803.patch new file mode 100644 index 000000000..6e48d2cc2 --- /dev/null +++ b/media-libs/x264/patches/x264-20120803.patch @@ -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" + ;; diff --git a/media-libs/x264/x264-20120803.bep b/media-libs/x264/x264-20120803.bep new file mode 100644 index 000000000..21aed8d29 --- /dev/null +++ b/media-libs/x264/x264-20120803.bep @@ -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"