mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
x264: bump, _bin, debug (#6727)
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
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-2021 VideoLan.org"
|
||||
COPYRIGHT="2003-2022 VideoLan.org"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="66a5bc1bd1563d8227d5d18440b525a09bcf17ca"
|
||||
srcGitRev="bfc87b7a330f75f5c9a21e56081e4b20344f139e"
|
||||
SOURCE_URI="https://github.com/mirror/x264/archive/$srcGitRev.tar.gz"
|
||||
SOURCE_FILENAME="x264-$portVersion-$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="781891aa10349f53e20c86e27d38fc730e12dabc3bcc610eb9d2650d58541739"
|
||||
CHECKSUM_SHA256="2ca2344fc2d657150599687e128dac8816b07e8d5c991fa2281e51fe647bbbe7"
|
||||
SOURCE_DIR="x264-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
@@ -18,7 +18,6 @@ libVersionCompat="$libVersion compat >= ${libVersion}"
|
||||
|
||||
PROVIDES="
|
||||
x264$secondaryArchSuffix = $portVersion
|
||||
cmd:x264$secondaryArchSuffix
|
||||
lib:libx264$secondaryArchSuffix = $libVersionCompat
|
||||
"
|
||||
REQUIRES="
|
||||
@@ -33,6 +32,15 @@ REQUIRES_devel="
|
||||
x264$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
PROVIDES_bin="
|
||||
x264${secondaryArchSuffix}_bin = $portVersion
|
||||
cmd:x264$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES_bin="
|
||||
x264$secondaryArchSuffix == $portVersion base
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
@@ -48,7 +56,8 @@ BUILD_PREREQUIRES="
|
||||
"
|
||||
|
||||
defineDebugInfoPackage x264$secondaryArchSuffix \
|
||||
"$libDir"/libx264.so.$libVersion
|
||||
"$libDir"/libx264.so.$libVersion \
|
||||
"$(getPackagePrefix bin)/$relativeBinDir"/x264$secondaryArchSuffix
|
||||
|
||||
BUILD()
|
||||
{
|
||||
@@ -66,6 +75,10 @@ INSTALL()
|
||||
prepareInstalledDevelLibs libx264
|
||||
fixPkgconfig
|
||||
|
||||
# bin package
|
||||
packageEntries bin \
|
||||
$binDir
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
Reference in New Issue
Block a user