mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Updated smpeg to support secondaryArchSuffix
This commit is contained in:
@@ -7,39 +7,40 @@ COPYRIGHT="1999-2004 Sam Lantinga, Joe Tennies."
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
smpeg = 0.4.5 compat >= 0
|
||||
smpeg$secondaryArchSupport = 0.4.5 compat >= 0
|
||||
cmd:smpeg = 0.4.5 compat >= 0
|
||||
cmd:plaympeg = 0.4.5 compat >= 0
|
||||
cmd:glmovie = 0.4.5 compat >= 0
|
||||
lib:libsmpeg = 0.1.4 compat >= 0
|
||||
lib:libsmpeg_0.4 = 0.1.4 compat >= 0
|
||||
lib:libsmpeg$secondaryArchSupport = 0.4_0.1.4 compat >= 0.4_0
|
||||
lib:libsmpeg_0.4$secondaryArchSupport = 0.1.4 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libglu
|
||||
lib:libsdl
|
||||
haiku$secondaryArchSupport
|
||||
lib:libglu$secondaryArchSupport
|
||||
lib:libsdl$secondaryArchSupport
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libsdl
|
||||
devel:libglu
|
||||
haiku${secondaryArchSupport}_devel >= $haikuVersion
|
||||
devel:libsdl$secondaryArchSupport
|
||||
devel:libglu$secondaryArchSupport
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku
|
||||
cmd:gcc
|
||||
haiku$secondaryArchSupport
|
||||
cmd:gcc$secondaryArchSupport
|
||||
cmd:libtoolize
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:ld
|
||||
cmd:ld$secondaryArchSupport
|
||||
cmd:make
|
||||
cmd:pkg_config
|
||||
lib:libsdl
|
||||
lib:libsdl$secondaryArchSupport
|
||||
"
|
||||
|
||||
BUILD()
|
||||
@@ -59,10 +60,10 @@ BUILD()
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
|
||||
prepareInstalledDevelLibs libsmpeg
|
||||
fixPkgconfig
|
||||
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir $binDir/smpeg-config \
|
||||
@@ -73,12 +74,12 @@ INSTALL()
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
smpeg_devel = $portVersion
|
||||
smpeg_devel$secondaryArchSupport = $portVersion
|
||||
cmd:smpeg_config
|
||||
devel:smpeg = 0.4.5 compat >= 0
|
||||
devel:libsmpeg = 0.1.4 compat >= 0
|
||||
devel:libsmpeg$secondaryArchSupport = 0.4_0.1.4 compat >= 0.4_0
|
||||
devel:libsmpeg_0.4$secondaryArchSupport = 0.4.5 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
smpeg == $portVersion base
|
||||
smpeg$secondaryArchSupport == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user