mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Fixed sdl_mixer recipe.
This commit is contained in:
@@ -1,36 +1,80 @@
|
||||
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"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="libsdl >= 1.2.14
|
||||
media-libs/flac >= 1.2.1
|
||||
media-libs/libmad >= 0.15.1
|
||||
media-libs/libvorbis >= 1.3.1
|
||||
media-libs/libmikmod >= 3.1.11
|
||||
media-libs/libogg >= 1.2.0
|
||||
media-libs/smpeg >= 0.4.5"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
sdl_net =$portVersion
|
||||
lib:libSDL_mixer_1.2 = $portVersion compat >= 1.2
|
||||
devel:libSDL_mixer = $portVersion compat >= 1.2
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
libsdl
|
||||
flac
|
||||
libmad
|
||||
libvorbis
|
||||
libogg
|
||||
# libmikmod
|
||||
# smpeg
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libsdl
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:libtool
|
||||
cmd:make
|
||||
cmd:pkg_config
|
||||
cmd:sdl_config
|
||||
devel:libogg
|
||||
devel:flac
|
||||
devel:libmad
|
||||
devel:libvorbis
|
||||
devel:libogg
|
||||
# devel:libmikmod
|
||||
# devel:smpeg
|
||||
"
|
||||
|
||||
SOURCE_DIR="SDL_mixer-$portVersion"
|
||||
BUILD()
|
||||
{
|
||||
cd SDL_mixer-1.2.12
|
||||
libtoolize --force --copy --install
|
||||
aclocal --install -I acinclude
|
||||
./autogen.sh
|
||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--libdir=$LIBDIR \
|
||||
--mandir=$MANDIR \
|
||||
--enable-music-midi
|
||||
aclocal --force --install -I acinclude
|
||||
autoconf
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd SDL_mixer-1.2.12
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLib libSDL_mixer
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
LICENSE="Zlib"
|
||||
COPYRIGHT="1997-2012 Sam Lantinga"
|
||||
|
||||
PROVIDES_devel="
|
||||
devel:SDL_mixer = 0.0.0 compat >= 0
|
||||
devel:libSDL_mixer = 0.0.0 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
sdl_mixer == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user