Skip to content

Commit

Permalink
package sdl_mixer: use libmodplug instead of libmikmod
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytheodore committed May 2, 2012
1 parent a758d39 commit 2e14768
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sdl_mixer.mk
Expand Up @@ -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' | \
Expand All @@ -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'
Expand All @@ -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 \
Expand All @@ -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=

Expand Down

0 comments on commit 2e14768

Please sign in to comment.