mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
Recipe cosmetics: improved SUMMARY/DESCRIPTION and re-ordered blocks.
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
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.
|
||||
"
|
||||
SUMMARY="Simple Direct Media 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/"
|
||||
COPYRIGHT="1997-2012 Sam Lantinga"
|
||||
LICENSE="Zlib"
|
||||
REVISION="6"
|
||||
SOURCE_URI="http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.tar.gz"
|
||||
CHECKSUM_SHA256="1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a"
|
||||
LICENSE="Zlib"
|
||||
COPYRIGHT="1997-2012 Sam Lantinga"
|
||||
REVISION="6"
|
||||
SOURCE_DIR="SDL_mixer-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
@@ -22,7 +21,6 @@ PROVIDES="
|
||||
cmd:playwave$secondaryArchSuffix
|
||||
cmd:playmus$secondaryArchSuffix
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libSDL$secondaryArchSuffix
|
||||
@@ -37,7 +35,18 @@ REQUIRES="
|
||||
lib:libGL$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
sdl_mixer${secondaryArchSuffix}_devel = $portVersion
|
||||
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
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libogg$secondaryArchSuffix
|
||||
devel:libflac$secondaryArchSuffix
|
||||
@@ -48,9 +57,7 @@ BUILD_REQUIRES="
|
||||
devel:libmikmod$secondaryArchSuffix
|
||||
devel:libsmpeg$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
@@ -64,8 +71,6 @@ BUILD_PREREQUIRES="
|
||||
cmd:libmikmod_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
SOURCE_DIR="SDL_mixer-$portVersion"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
@@ -83,21 +88,8 @@ INSTALL()
|
||||
# remove libtool library file
|
||||
rm $libDir/libSDL_mixer.la
|
||||
|
||||
prepareInstalledDevelLibs libSDL_mixer \
|
||||
libSDL_mixer-1.2
|
||||
prepareInstalledDevelLibs libSDL_mixer libSDL_mixer-1.2
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
sdl_mixer${secondaryArchSuffix}_devel = $portVersion
|
||||
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
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user