x264: fixed recipe

* not available for x86_gcc2
This commit is contained in:
Jerome Duval
2014-06-14 14:12:19 +00:00
parent 0d00a5baa9
commit 2bc713298b
3 changed files with 9 additions and 37 deletions

View File

@@ -1,12 +0,0 @@
--- 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

@@ -1,22 +0,0 @@
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"

View File

@@ -10,8 +10,13 @@ LICENSE="GNU GPL v2"
SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20140308-2245.tar.bz2"
CHECKSUM_SHA256="b179cb1e1d4f51418d292011a7494d5b62145571c05c22007f28d8fd89d2ebbe"
REVISION="1"
ARCHITECTURES="?x86_gcc2 x86 !x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
ARCHITECTURES="x86 !x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PATCHES="x264-$portVersion.patchset"
@@ -54,7 +59,8 @@ INSTALL()
# devel package
packageEntries devel \
$developDir
$developDir
}
# ----- devel package -------------------------------------------------------