mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
103 lines
2.8 KiB
Plaintext
103 lines
2.8 KiB
Plaintext
SUMMARY="Simple Direct Layer Mixer Library"
|
|
DESCRIPTION="
|
|
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.
|
|
"
|
|
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_SIZE="3707781"
|
|
CHECKSUM_MD5="e03ff73d77a55e3572ad0217131dc4a1"
|
|
CHECKSUM_RMD160="99089725824095398bfb34fd9ccb7c16674192d8"
|
|
CHECKSUM_SHA512="230f6c5a73f4bea364f8aa3d75f76694305571dea45f357def742b2b50849b2d896af71e08689981207edc99a9836088bee2d0bd98d92c7f4ca52b12b3d8cf96"
|
|
LICENSE="Zlib"
|
|
COPYRIGHT="1997-2012 Sam Lantinga"
|
|
REVISION="3"
|
|
|
|
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
|
|
cmd:playwave$secondaryArchSuffix
|
|
cmd:playmus$secondaryArchSuffix
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libSDL$secondaryArchSuffix
|
|
lib:libSDL_1.2$secondaryArchSuffix
|
|
lib:libflac$secondaryArchSuffix
|
|
# lib:libfluidsynth$secondaryArchSuffix
|
|
lib:libmad$secondaryArchSuffix
|
|
lib:libvorbis$secondaryArchSuffix
|
|
lib:libogg$secondaryArchSuffix
|
|
lib:libmikmod$secondaryArchSuffix
|
|
lib:libsmpeg$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libSDL$secondaryArchSuffix
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:libflac$secondaryArchSuffix
|
|
# devel:libfluidsynth$secondaryArchSuffix
|
|
devel:libmad$secondaryArchSuffix
|
|
devel:libvorbis$secondaryArchSuffix
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:libmikmod$secondaryArchSuffix
|
|
devel:libsmpeg$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:sdl_config$secondaryArchSuffix
|
|
cmd:smpeg_config$secondaryArchSuffix
|
|
cmd:libmikmod_config$secondaryArchSuffix
|
|
"
|
|
|
|
SOURCE_DIR="SDL_mixer-$portVersion"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal --force --install -I acinclude
|
|
autoconf
|
|
runConfigure ./configure \
|
|
SMPEG_CONFIG=smpeg_config$secondaryArchSuffix
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libSDL_mixer \
|
|
libSDL_mixer-1.2
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
PROVIDES_devel="
|
|
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
|
|
"
|