summaryrefslogtreecommitdiffstats
path: root/src/sdl_mixer.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2012-05-02 16:19:16 (GMT)
committerTony Theodore <tonyt@logyst.com>2012-05-02 16:19:16 (GMT)
commit2e14768ff2931730f1e84eff1ee5a5ee28b44235 (patch)
tree0a4935982c0987fc0e1b0a83594d7ec4cf77d32b /src/sdl_mixer.mk
parenta758d3995db2b2d6b09c97493e2557cde299615f (diff)
downloadmxe-2e14768ff2931730f1e84eff1ee5a5ee28b44235.zip
mxe-2e14768ff2931730f1e84eff1ee5a5ee28b44235.tar.gz
mxe-2e14768ff2931730f1e84eff1ee5a5ee28b44235.tar.bz2
package sdl_mixer: use libmodplug instead of libmikmod
Diffstat (limited to 'src/sdl_mixer.mk')
-rw-r--r--src/sdl_mixer.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sdl_mixer.mk b/src/sdl_mixer.mk
index 07d39eb..a779342 100644
--- a/src/sdl_mixer.mk
+++ b/src/sdl_mixer.mk
@@ -7,7 +7,7 @@ $(PKG)_CHECKSUM := a20fa96470ad9e1052f1957b77ffa68fb090b384
$(PKG)_SUBDIR := SDL_mixer-$($(PKG)_VERSION)
$(PKG)_FILE := SDL_mixer-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://www.libsdl.org/projects/SDL_mixer/release/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc sdl libmikmod ogg vorbis smpeg
+$(PKG)_DEPS := gcc sdl libmodplug ogg vorbis smpeg
define $(PKG)_UPDATE
wget -q -O- 'http://hg.libsdl.org/SDL_mixer/tags' | \
@@ -19,7 +19,7 @@ define $(PKG)_BUILD
$(SED) -i 's,^\(Requires:.*\),\1 vorbisfile,' '$(1)/SDL_mixer.pc.in'
echo \
'Libs.private:' \
- "`$(PREFIX)/$(TARGET)/bin/libmikmod-config --libs`" \
+ "`$(TARGET)-pkg-config libmodplug --libs`" \
"`$(PREFIX)/$(TARGET)/bin/smpeg-config --libs`" \
>> '$(1)/SDL_mixer.pc.in'
$(SED) -i 's,for path in /usr/local; do,for path in; do,' '$(1)/configure'
@@ -29,7 +29,8 @@ define $(PKG)_BUILD
--prefix='$(PREFIX)/$(TARGET)' \
--with-sdl-prefix='$(PREFIX)/$(TARGET)' \
--disable-sdltest \
- --enable-music-mod \
+ --disable-music-mod \
+ --enable-music-mod-modplug \
--enable-music-ogg \
--disable-music-flac \
--enable-music-mp3 \
@@ -39,7 +40,6 @@ define $(PKG)_BUILD
--disable-music-mp3-shared \
--disable-smpegtest \
--with-smpeg-prefix='$(PREFIX)/$(TARGET)' \
- LIBMIKMOD_CONFIG='$(PREFIX)/$(TARGET)/bin/libmikmod-config' \
LIBS='-lvorbis -logg'
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=