mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
90 lines
2.3 KiB
Plaintext
90 lines
2.3 KiB
Plaintext
SUMMARY="sdl_mixer is a simple multi-channel audio mixer library. It supports any number of simultaneously playing channels of 16 bit stereo audio, plus a single channel of music, mixed by the popular FLAC, MikMoD MOD, Timidity MIDI, Ogg Vorbis, and SMPEG MP3 libraries."
|
|
DESCRIPTION="Simple Direct Layer Mixer Library"
|
|
HOMEPAGE="http://www.libsdl.org/projects/SDL_mixer/"
|
|
SRC_URI="http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz"
|
|
CHECKSUM_MD5="e03ff73d77a55e3572ad0217131dc4a1"
|
|
LICENSE="Zlib"
|
|
COPYRIGHT="1997-2012 Sam Lantinga"
|
|
REVISION="1"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
sdl_mixer$secondaryArchSuffix = $portVersion compat >= 1.2
|
|
lib:libSDL_mixer$secondaryArchSuffix = 1.2_0.12.0 compat >= 1.2_0
|
|
lib:libSDL_mixer_1.2$secondaryArchSuffix = 0.12.0 compat >= 0
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
libsdl$secondaryArchSuffix
|
|
flac$secondaryArchSuffix
|
|
# fluidsynth$secondaryArchSuffix
|
|
libmad$secondaryArchSuffix
|
|
libvorbis$secondaryArchSuffix
|
|
libogg$secondaryArchSuffix
|
|
libmikmod$secondaryArchSuffix
|
|
smpeg$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libsdl$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:make
|
|
cmd:pkg_config
|
|
cmd:sdl_config
|
|
cmd:smpeg_config
|
|
cmd:libmikmod_config
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:flac$secondaryArchSuffix
|
|
# devel:fluidsynth$secondaryArchSuffix
|
|
devel:libmad$secondaryArchSuffix
|
|
devel:libvorbis$secondaryArchSuffix
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:libmikmod$secondaryArchSuffix
|
|
devel:libsmpeg$secondaryArchSuffix
|
|
"
|
|
|
|
SOURCE_DIR="SDL_mixer-$portVersion"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal --force --install -I acinclude
|
|
autoconf
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libSDL_mixer \
|
|
libSDL_mixer-1.2
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
sdl_mixer${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
|
|
devel:sdl_mixer$secondaryArchSuffix = 1.2.12 compat >= 1.2
|
|
devel:libSDL_mixer$secondaryArchSuffix = 1.2_0.12.0 compat >= 0
|
|
devel:libSDL_mixer_1.2$secondaryArchSuffix = 0.12.0 compat >= 0
|
|
"
|
|
|
|
REQUIRES_devel="
|
|
sdl_mixer$secondaryArchSuffix == $portVersion base
|
|
"
|