mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
x264: fix x86_64 build.
* add provides for cmd.
This commit is contained in:
@@ -10,7 +10,7 @@ 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 !x86_64"
|
||||
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.
|
||||
@@ -22,6 +22,7 @@ PATCHES="x264-$portVersion.patchset"
|
||||
|
||||
PROVIDES="
|
||||
x264$secondaryArchSuffix = $portVersion compat >= 20140308
|
||||
cmd:x264$secondaryArchSuffix
|
||||
lib:libx264$secondaryArchSuffix = 142 compat >= 142
|
||||
"
|
||||
REQUIRES="
|
||||
@@ -47,7 +48,8 @@ BUILD()
|
||||
{
|
||||
CFLAGS="-fPIC" runConfigure --omit-dirs \
|
||||
"manDir oldIncludeDir sbinDir localStateDir sharedStateDir sysconfDir infoDir dataDir dataRootDir libExecDir docDir" \
|
||||
--omit-buildspec ./configure --enable-pic --enable-shared
|
||||
--omit-buildspec ./configure --enable-pic --enable-shared \
|
||||
--extra-ldflags='-Wl,-Bsymbolic'
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
@@ -56,6 +58,7 @@ INSTALL()
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libx264
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
|
||||
Reference in New Issue
Block a user