diff --git a/media-libs/sdl_sound/sdl_sound-1.0.3.recipe b/media-libs/sdl_sound/sdl_sound-1.0.3.recipe index 1f2b2dd93..7bc638917 100644 --- a/media-libs/sdl_sound/sdl_sound-1.0.3.recipe +++ b/media-libs/sdl_sound/sdl_sound-1.0.3.recipe @@ -5,8 +5,9 @@ playback tasks simpler." HOMEPAGE="http://www.icculus.org/SDL_sound" COPYRIGHT="2001-2009 Ryan C. Gordon" LICENSE="GNU LGPL v2.1" -REVISION="6" -SOURCE_URI="hg+http://hg.icculus.org/icculus/SDL_sound#release-1.0.3" +REVISION="7" +SOURCE_URI="http://icculus.org/SDL_sound/downloads/SDL_sound-$portVersion.tar.gz" +CHECKSUM_SHA256="3999fd0bbb485289a52be14b2f68b571cb84e380cc43387eadf778f64c79e6df" SOURCE_DIR="SDL_sound-$portVersion" ARCHITECTURES="x86_gcc2 x86 x86_64" @@ -21,16 +22,18 @@ PROVIDES=" " REQUIRES=" haiku$secondaryArchSuffix - lib:libsdl$secondaryArchSuffix - lib:libogg$secondaryArchSuffix - lib:libvorbis$secondaryArchSuffix - lib:libspeex$secondaryArchSuffix -# lib:libFlac$secondaryArchSuffix -# lib:libmikmod$secondaryArchSuffix + lib:libflac$secondaryArchSuffix + lib:libmikmod$secondaryArchSuffix lib:libmodplug$secondaryArchSuffix -# lib:smpeg$secondaryArchSuffix + lib:libogg$secondaryArchSuffix + lib:libsdl_1.2$secondaryArchSuffix + lib:libsmpeg_0.4$secondaryArchSuffix + lib:libspeex$secondaryArchSuffix + lib:libvorbis$secondaryArchSuffix + lib:libvorbisfile$secondaryArchSuffix + +# lib:libGL$secondaryArchSuffix # lib:physfs$secondaryArchSuffix - lib:libGL$secondaryArchSuffix " PROVIDES_devel=" @@ -44,14 +47,14 @@ REQUIRES_devel=" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel - devel:libsdl$secondaryArchSuffix - devel:libogg$secondaryArchSuffix - devel:libvorbis$secondaryArchSuffix - devel:libspeex$secondaryArchSuffix -# devel:libFlac$secondaryArchSuffix -# devel:libmikmod$secondaryArchSuffix + devel:libflac$secondaryArchSuffix + devel:libmikmod$secondaryArchSuffix devel:libmodplug$secondaryArchSuffix -# devel:smpeg$secondaryArchSuffix + devel:libogg$secondaryArchSuffix + devel:libsdl_1.2$secondaryArchSuffix + devel:libsmpeg_0.4$secondaryArchSuffix + devel:libspeex$secondaryArchSuffix + devel:libvorbis$secondaryArchSuffix # devel:physfs$secondaryArchSuffix " BUILD_PREREQUIRES=" @@ -63,16 +66,16 @@ BUILD_PREREQUIRES=" cmd:make cmd:pkg_config$secondaryArchSuffix cmd:sdl_config$secondaryArchSuffix + cmd:smpeg_config$secondaryArchSuffix " BUILD() { sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in - libtoolize --force --copy --install - ./bootstrap - aclocal --force --install -I acinclude - autoconf - runConfigure ./configure + touch NEWS AUTHORS ChangeLog + autoreconf -fi + CPPFLAGS="$CPPFLAGS `smpeg-config${secondaryArchSuffix/_/-} --cflags`" \ + runConfigure ./configure make }