summaryrefslogtreecommitdiffstats
path: root/src/sox.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2015-06-19 03:21:09 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2015-06-19 03:24:35 (GMT)
commit13bcb7732a22f6d4bc8091c212657d99c3e19db4 (patch)
tree9a7d0b9827dccfcdebed4c3957d358939d37fcb8 /src/sox.mk
parentebe4b0ed598a02d1277dbb2554d71e0dde1a09b6 (diff)
downloadmxe-13bcb7732a22f6d4bc8091c212657d99c3e19db4.zip
mxe-13bcb7732a22f6d4bc8091c212657d99c3e19db4.tar.gz
mxe-13bcb7732a22f6d4bc8091c212657d99c3e19db4.tar.bz2
sox: Fix building
Diffstat (limited to 'src/sox.mk')
-rw-r--r--src/sox.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sox.mk b/src/sox.mk
index 7aff279..45aba6f 100644
--- a/src/sox.mk
+++ b/src/sox.mk
@@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := f69f38f8a7ad6a88ecab3862d74db4edcd796695
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE)
-$(PKG)_DEPS := gcc file flac lame libgomp libmad libpng libsndfile libltdl opencore-amr twolame vorbis wavpack
+$(PKG)_DEPS := gcc file flac lame libgomp libmad libpng libsndfile libltdl opencore-amr opus twolame vorbis wavpack
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://sourceforge.net/projects/sox/files/sox/' | \
@@ -22,7 +22,7 @@ define $(PKG)_BUILD
$(SED) -i '/Libs.private/d' '$(1)/sox.pc.in'
echo Libs.private: @MAGIC_LIBS@ \
`grep sox_LDADD '$(1)/src/optional-fmts.am' | \
- $(SED) 's, sox_LDADD += ,,g' | tr -d '\n'` >>'$(1)/sox.pc.in'
+ $(SED) 's, sox_LDADD += ,,g' | tr -d '\n'` @LIBS@ >>'$(1)/sox.pc.in'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
@@ -37,7 +37,6 @@ define $(PKG)_BUILD
--with-ladspa \
--with-amrwb \
--with-amrnb \
- --without-ffmpeg \
--with-flac \
--with-oggvorbis \
--with-sndfile \
@@ -53,7 +52,8 @@ define $(PKG)_BUILD
--without-oss \
--without-pulseaudio \
--without-sndio \
- --without-sunaudio
+ --without-sunaudio \
+ LIBS='-lshlwapi -lgnurx'
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= EXTRA_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install