mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-02 04:58:52 +02:00
x264: bump, libversioncompat, debuginfo, remove old
This commit is contained in:
committed by
Jerome Duval
parent
5d48ed2bdc
commit
41cc6e0d88
@@ -1,64 +0,0 @@
|
|||||||
SUMMARY="An encoder for x264 h.264/AVC"
|
|
||||||
DESCRIPTION="x264 is a h.264/AVC encoder library."
|
|
||||||
HOMEPAGE="https://www.videolan.org/developers/x264.html"
|
|
||||||
COPYRIGHT="2003-2016 VideoLan.org"
|
|
||||||
LICENSE="GNU GPL v2"
|
|
||||||
REVISION="3"
|
|
||||||
SOURCE_URI="https://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-$portVersion-2245.tar.bz2"
|
|
||||||
CHECKSUM_SHA256="d5033882bbc7e2908f74970931c7dc2044191cc9fa7c7435dc85ad334f23078e"
|
|
||||||
SOURCE_DIR="x264-snapshot-$portVersion-2245"
|
|
||||||
|
|
||||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
||||||
SECONDARY_ARCHITECTURES="x86"
|
|
||||||
|
|
||||||
PROVIDES="
|
|
||||||
x264$secondaryArchSuffix = $portVersion compat >= 20140308
|
|
||||||
cmd:x264$secondaryArchSuffix
|
|
||||||
lib:libx264$secondaryArchSuffix = 148 compat >= 148
|
|
||||||
"
|
|
||||||
REQUIRES="
|
|
||||||
haiku$secondaryArchSuffix
|
|
||||||
"
|
|
||||||
|
|
||||||
PROVIDES_devel="
|
|
||||||
x264${secondaryArchSuffix}_devel = $portVersion compat >= 20140308
|
|
||||||
devel:libx264$secondaryArchSuffix = 148 compat >= 148
|
|
||||||
"
|
|
||||||
REQUIRES_devel="
|
|
||||||
x264$secondaryArchSuffix == $portVersion base
|
|
||||||
"
|
|
||||||
|
|
||||||
BUILD_REQUIRES="
|
|
||||||
haiku${secondaryArchSuffix}_devel
|
|
||||||
"
|
|
||||||
BUILD_PREREQUIRES="
|
|
||||||
cmd:aclocal
|
|
||||||
cmd:autoconf
|
|
||||||
cmd:automake
|
|
||||||
cmd:gcc$secondaryArchSuffix
|
|
||||||
cmd:ld$secondaryArchSuffix
|
|
||||||
cmd:libtoolize$secondaryArchSuffix
|
|
||||||
cmd:make
|
|
||||||
cmd:yasm >= 1.2.0
|
|
||||||
"
|
|
||||||
|
|
||||||
BUILD()
|
|
||||||
{
|
|
||||||
CFLAGS="-fPIC" runConfigure --omit-dirs \
|
|
||||||
"manDir oldIncludeDir sbinDir localStateDir sharedStateDir sysconfDir infoDir dataDir dataRootDir libExecDir docDir" \
|
|
||||||
--omit-buildspec ./configure --enable-pic --enable-shared \
|
|
||||||
--extra-ldflags='-Wl,-Bsymbolic'
|
|
||||||
make $jobArgs
|
|
||||||
}
|
|
||||||
|
|
||||||
INSTALL()
|
|
||||||
{
|
|
||||||
make install
|
|
||||||
|
|
||||||
prepareInstalledDevelLibs libx264
|
|
||||||
fixPkgconfig
|
|
||||||
|
|
||||||
# devel package
|
|
||||||
packageEntries devel \
|
|
||||||
$developDir
|
|
||||||
}
|
|
||||||
@@ -5,16 +5,19 @@ COPYRIGHT="2003-2017 VideoLan.org"
|
|||||||
LICENSE="GNU GPL v2"
|
LICENSE="GNU GPL v2"
|
||||||
REVISION="1"
|
REVISION="1"
|
||||||
SOURCE_URI="https://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-$portVersion-2245.tar.bz2"
|
SOURCE_URI="https://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-$portVersion-2245.tar.bz2"
|
||||||
CHECKSUM_SHA256="f5cd230cde94e13f0f09975b0eb02419ccf5325185d30b483c672866c24a7644"
|
CHECKSUM_SHA256="0bb67d095513391e637b3b47e8efc3ba4603c3844f1b4c2690f4d36da7763055"
|
||||||
SOURCE_DIR="x264-snapshot-$portVersion-2245"
|
SOURCE_DIR="x264-snapshot-$portVersion-2245"
|
||||||
|
|
||||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
SECONDARY_ARCHITECTURES="x86"
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
libVersion="157"
|
||||||
|
libVersionCompat="$libVersion compat >= ${libVersion}"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
x264$secondaryArchSuffix = $portVersion compat >= 20140308
|
x264$secondaryArchSuffix = $portVersion compat >= 20140308
|
||||||
cmd:x264$secondaryArchSuffix
|
cmd:x264$secondaryArchSuffix
|
||||||
lib:libx264$secondaryArchSuffix = 148 compat >= 148
|
lib:libx264$secondaryArchSuffix = $libVersionCompat
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku$secondaryArchSuffix
|
haiku$secondaryArchSuffix
|
||||||
@@ -22,7 +25,7 @@ REQUIRES="
|
|||||||
|
|
||||||
PROVIDES_devel="
|
PROVIDES_devel="
|
||||||
x264${secondaryArchSuffix}_devel = $portVersion compat >= 20140308
|
x264${secondaryArchSuffix}_devel = $portVersion compat >= 20140308
|
||||||
devel:libx264$secondaryArchSuffix = 148 compat >= 148
|
devel:libx264$secondaryArchSuffix = $libVersionCompat
|
||||||
"
|
"
|
||||||
REQUIRES_devel="
|
REQUIRES_devel="
|
||||||
x264$secondaryArchSuffix == $portVersion base
|
x264$secondaryArchSuffix == $portVersion base
|
||||||
@@ -39,9 +42,12 @@ BUILD_PREREQUIRES="
|
|||||||
cmd:ld$secondaryArchSuffix
|
cmd:ld$secondaryArchSuffix
|
||||||
cmd:libtoolize$secondaryArchSuffix
|
cmd:libtoolize$secondaryArchSuffix
|
||||||
cmd:make
|
cmd:make
|
||||||
cmd:yasm >= 1.2.0
|
cmd:nasm >= 2.13
|
||||||
"
|
"
|
||||||
|
|
||||||
|
defineDebugInfoPackage x264$secondaryArchSuffix \
|
||||||
|
"$libDir"/libx264.so.$libVersion
|
||||||
|
|
||||||
BUILD()
|
BUILD()
|
||||||
{
|
{
|
||||||
CFLAGS="-fPIC" runConfigure --omit-dirs \
|
CFLAGS="-fPIC" runConfigure --omit-dirs \
|
||||||
Reference in New Issue
Block a user