mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Removed the full-stop and repeating package name in SUMMARY. Removed hard line breaks, broke up some very long paragraphs and use bullet lists where possible. All done by browsing through HaikuDepot. There may be (many) more left in the whole haikuports repo... Included 10 extended desriptions done by soyoye14 for GCI 2014 (https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632) Removed/insert whitespace where it seems to be the custom in recipes. Sometimes rearranged elements of a recipe (moving license and copyright up, for example).
91 lines
2.3 KiB
Plaintext
91 lines
2.3 KiB
Plaintext
SUMMARY="An mpeg decoding library"
|
|
DESCRIPTION="
|
|
SMPEG is short for the SDL MPEG library originally developed by Loki Software. \
|
|
SMPEG uses MPEG-1 standard as a video display library, rather than MPEG-2, \
|
|
since only the MPEG-1 standard is unencumbered with software patents in the \
|
|
United States.
|
|
"
|
|
HOMEPAGE="http://www.icculus.org/smpeg"
|
|
SRC_URI="http://www.libsdl.org/projects/SDL_mixer/libs/old/smpeg-0.4.5.zip"
|
|
CHECKSUM_SHA256="8d4e4a6bc1892279ae7727e192df0ad0cef5927d50090f846e0bf3ba1b8f3d41"
|
|
LICENSE="GNU LGPL v2"
|
|
COPYRIGHT="1999-2004 Sam Lantinga, Joe Tennies."
|
|
REVISION="3"
|
|
|
|
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
smpeg$secondaryArchSuffix = 0.4.5 compat >= 0
|
|
cmd:smpeg = 0.4.5 compat >= 0
|
|
cmd:plaympeg$secondaryArchSuffix = 0.4.5 compat >= 0
|
|
cmd:glmovie$secondaryArchSuffix = 0.4.5 compat >= 0
|
|
lib:libsmpeg$secondaryArchSuffix = 0.4_0.1.4 compat >= 0.4_0
|
|
lib:libsmpeg_0.4$secondaryArchSuffix = 0.1.4 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libstdc++$secondaryArchSuffix
|
|
lib:libglu$secondaryArchSuffix
|
|
lib:libSDL_1.2$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libSDL$secondaryArchSuffix
|
|
devel:libglu$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
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
|
|
chmod +x configure
|
|
|
|
runConfigure ./configure
|
|
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libsmpeg \
|
|
libsmpeg-0.4
|
|
fixDevelopLibDirReferences $binDir/smpeg-config
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir $binDir/smpeg-config \
|
|
$dataDir
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
smpeg${secondaryArchSuffix}_devel = $portVersion
|
|
cmd:smpeg_config$secondaryArchSuffix
|
|
devel:libsmpeg$secondaryArchSuffix = 0.4_0.1.4 compat >= 0.4_0
|
|
devel:libsmpeg_0.4$secondaryArchSuffix = 0.1.4 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
smpeg$secondaryArchSuffix == $portVersion base
|
|
"
|