mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 19:48:53 +02:00
Add x264 h.264 encoder. Only builds with GCC4.
This commit is contained in:
12
media-libs/x264/patches/x264-20120803.patch
Normal file
12
media-libs/x264/patches/x264-20120803.patch
Normal 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"
|
||||||
|
;;
|
||||||
20
media-libs/x264/x264-20120803.bep
Normal file
20
media-libs/x264/x264-20120803.bep
Normal 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"
|
||||||
Reference in New Issue
Block a user