sdl2_mixer: add missing mpg123 dependency

This commit is contained in:
Tony Theodore 2017-12-24 17:10:01 +11:00
parent 920f9cd101
commit 5d8b72fd4b
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ $(PKG)_CHECKSUM := 4e615e27efca4f439df9af6aa2c6de84150d17cbfd12174b54868c12f19c8
$(PKG)_SUBDIR := SDL2_mixer-$($(PKG)_VERSION)
$(PKG)_FILE := SDL2_mixer-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := https://www.libsdl.org/projects/SDL_mixer/release/$($(PKG)_FILE)
$(PKG)_DEPS := cc libmodplug ogg sdl2 smpeg2 vorbis
$(PKG)_DEPS := cc libmodplug mpg123 ogg sdl2 smpeg2 vorbis
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://hg.libsdl.org/SDL_mixer/tags' | \
@ -21,7 +21,7 @@ define $(PKG)_BUILD
$(SED) -i 's,^\(Requires:.*\),\1 vorbisfile,' '$(1)/SDL2_mixer.pc.in'
echo \
'Libs.private:' \
"`$(TARGET)-pkg-config libmodplug --libs`" \
"`$(TARGET)-pkg-config libmodplug libmpg123 --libs`" \
"`$(PREFIX)/$(TARGET)/bin/smpeg2-config --libs`" \
>> '$(1)/SDL2_mixer.pc.in'
$(SED) -i 's,for path in /usr/local; do,for path in; do,' '$(1)/configure'