mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Fixed sdl_sound recipe.
This commit is contained in:
@@ -1,26 +1,73 @@
|
||||
DESCRIPTION="sdl-sound"
|
||||
SUMMARY="Library that handles decoding of several popular sound file formats."
|
||||
DESCRIPTION="sdl-sound is a library that handles the decoding of several popular file formats, such as .WAV and .MP3. It is meant to make the programmer's sound playback tasks simpler."
|
||||
HOMEPAGE="http://www.icculus.org/SDL_sound"
|
||||
SRC_URI="hg+http://hg.icculus.org/icculus/SDL_sound#release-1.0.3"
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2001-2009 Ryan C. Gordon"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="media-libs/libogg >= 1.1.4"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
sdl_sound =$portVersion
|
||||
cmd:playsound = $portVersion compat >= 2
|
||||
cmd:playsound_simple = $portVersion compat >= 2
|
||||
lib:libSDL_sound_1.0 = $portVersion compat >= 1.0
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku
|
||||
libsdl
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
devel:libsdl
|
||||
devel:libogg
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:gcc
|
||||
cmd:ld
|
||||
cmd:libtool
|
||||
cmd:make
|
||||
cmd:pkg_config
|
||||
cmd:sdl_config
|
||||
"
|
||||
|
||||
SOURCE_DIR="SDL_sound-$portVersion"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd sdl-sound-1.0.3
|
||||
libtoolize --copy --force --install
|
||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
|
||||
libtoolize --force --copy --install
|
||||
./bootstrap
|
||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man
|
||||
LIBDIR=`finddir B_COMMON_LIB_DIRECTORY`
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
||||
--libdir=$LIBDIR \
|
||||
--mandir=$MANDIR
|
||||
aclocal --force --install -I acinclude
|
||||
autoconf
|
||||
runConfigure ./configure
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd sdl-sound-1.0.3
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLib libSDL_sound
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
LICENSE="GNU LGPL v2.1"
|
||||
COPYRIGHT="2001-2009 Ryan C. Gordon"
|
||||
|
||||
PROVIDES_devel="
|
||||
devel:SDL_sound = 0.8.0 compat >= 0
|
||||
devel:libSDL_sound = 0.8.0 compat >= 0
|
||||
# devel:libSDL_sound = $portVersion compat >= 1.0
|
||||
devel:sdl_sound = 0.0.0 compat >= 0
|
||||
"
|
||||
|
||||
REQUIRES_devel="
|
||||
sdl_sound == $portVersion base
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user