mirror of https://git.wownero.com/dsc/mxe.git
Explicitly enable/disable dependencies for sox
Explicitly enable or disable all optional features of the sox package, as recommended in the "Guidelines for Creating Packages". This ensures a consistent build result. FFmpeg is removed because libsox doesn't build against its current API anyway, whether told so or not; cf. http://bugs.debian.org/693642
This commit is contained in:
parent
f31c48e8ae
commit
70cacbb5c9
19
src/sox.mk
19
src/sox.mk
|
@ -8,7 +8,7 @@ $(PKG)_CHECKSUM := 71f05afc51e3d9b03376b2f98fd452d3a274d595
|
|||
$(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 ffmpeg flac lame libgomp libmad libsndfile vorbis
|
||||
$(PKG)_DEPS := gcc flac lame libgomp libmad libsndfile vorbis
|
||||
|
||||
define $(PKG)_UPDATE
|
||||
$(WGET) -q -O- 'http://sourceforge.net/projects/sox/files/sox/' | \
|
||||
|
@ -27,7 +27,22 @@ define $(PKG)_BUILD
|
|||
--host='$(TARGET)' \
|
||||
--prefix='$(PREFIX)/$(TARGET)' \
|
||||
--build="`config.guess`" \
|
||||
--disable-shared
|
||||
--disable-shared --enable-static \
|
||||
--disable-debug \
|
||||
--without-magic \
|
||||
--without-png \
|
||||
--without-ladspa \
|
||||
--without-amrwb --without-amrnb \
|
||||
--without-ffmpeg \
|
||||
--with-flac \
|
||||
--with-oggvorbis \
|
||||
--with-sndfile \
|
||||
--without-wavpack \
|
||||
--with-mad \
|
||||
--without-id3tag \
|
||||
--with-lame \
|
||||
--with-waveaudio --without-alsa --without-ao --without-coreaudio \
|
||||
--without-oss --without-pulseaudio --without-sndio --without-sunaudio
|
||||
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= EXTRA_PROGRAMS=
|
||||
$(MAKE) -C '$(1)' -j 1 install
|
||||
|
|
Loading…
Reference in New Issue