mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
85 lines
1.9 KiB
Plaintext
85 lines
1.9 KiB
Plaintext
SUMMARY="smpeg is an mpeg decoing library."
|
|
DESCRIPTION="smpeg is an mpeg decoding library, which runs on just about any platform. It comes with a sample decoder, plaympeg."
|
|
HOMEPAGE="http://www.icculus.org/smpeg"
|
|
SRC_URI="svn://svn.icculus.org/smpeg/tags/release_0_4_5"
|
|
LICENSE="GNU LGPL v2"
|
|
COPYRIGHT="1999-2004 Sam Lantinga, Joe Tennies."
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="x86 x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86 ?x86_64"
|
|
|
|
PROVIDES="
|
|
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$secondaryArchSupport = 0.4_0.1.4 compat >= 0.4_0
|
|
lib:libsmpeg_0.4$secondaryArchSupport = 0.1.4 compat >= 0
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSupport
|
|
lib:libglu$secondaryArchSupport
|
|
lib:libsdl$secondaryArchSupport
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libsdl$secondaryArchSupport
|
|
devel:libglu$secondaryArchSupport
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSupport}_devel >= $haikuVersion
|
|
cmd:gcc$secondaryArchSupport
|
|
cmd:libtoolize
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:ld$secondaryArchSupport
|
|
cmd:make
|
|
cmd:pkg_config
|
|
lib:libsdl$secondaryArchSupport
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
rm -f acinclude.m4
|
|
rm -f aclocal.m4
|
|
echo "AC_CONFIG_MACRO_DIR([acinclude]) > configure.in"
|
|
libtoolize --copy --force --install
|
|
aclocal --install -I acinclude
|
|
automake --foreign --add-missing
|
|
autoconf
|
|
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libsmpeg
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir $binDir/smpeg-config \
|
|
$dataDir
|
|
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
smpeg${secondaryArchSupport}_devel = $portVersion
|
|
cmd:smpeg_config
|
|
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$secondaryArchSupport == $portVersion base
|
|
"
|