From: <abe...@us...> - 2015-03-08 16:40:15
|
Revision: 6999 http://sourceforge.net/p/astlinux/code/6999 Author: abelbeck Date: 2015-03-08 16:40:05 +0000 (Sun, 08 Mar 2015) Log Message: ----------- sox, version bump to 14.4.2 Modified Paths: -------------- branches/1.0/package/multimedia/sox/sox.mk Modified: branches/1.0/package/multimedia/sox/sox.mk =================================================================== --- branches/1.0/package/multimedia/sox/sox.mk 2015-03-08 00:57:39 UTC (rev 6998) +++ branches/1.0/package/multimedia/sox/sox.mk 2015-03-08 16:40:05 UTC (rev 6999) @@ -4,26 +4,89 @@ # ############################################################# -SOX_VERSION = 14.4.1 -SOX_SOURCE:=sox-$(SOX_VERSION).tar.gz -SOX_SITE = http://downloads.sourceforge.net/sourceforge/sox +SOX_VERSION = 14.4.2 +SOX_SITE = http://downloads.sourceforge.net/project/sox/sox/$(SOX_VERSION) +SOX_SOURCE = sox-$(SOX_VERSION).tar.bz2 SOX_INSTALL_STAGING = YES +SOX_DEPENDENCIES = host-pkg-config + SOX_CONF_OPT = \ + --with-distro="Buildroot" \ + --disable-openmp \ --without-libltdl \ - --without-flac \ - --without-ffmpeg \ - --without-ladspa \ - --without-lame \ - --without-id3tag + --without-ladspa +SOX_CONF_OPT += --without-alsa + +ifeq ($(BR2_PACKAGE_FILE),y) +SOX_DEPENDENCIES += file +else +SOX_CONF_OPT += --without-magic +endif + +ifeq ($(BR2_PACKAGE_FLAC),y) +SOX_DEPENDENCIES += flac +else +SOX_CONF_OPT += --without-flac +endif + +ifeq ($(BR2_PACKAGE_LAME),y) +SOX_DEPENDENCIES += lame +else +SOX_CONF_OPT += --without-lame +endif + +ifeq ($(BR2_PACKAGE_LIBAO),y) +SOX_DEPENDENCIES += libao +else +SOX_CONF_OPT += --without-ao +endif + +ifeq ($(BR2_PACKAGE_LIBID3TAG),y) +SOX_DEPENDENCIES += libid3tag +else +SOX_CONF_OPT += --without-id3tag +endif + ifeq ($(BR2_PACKAGE_LIBMAD),y) - SOX_DEPENDENCIES += libmad - SOX_CONF_OPT += --with-mad +SOX_DEPENDENCIES += libmad else - SOX_CONF_OPT += --without-mad +SOX_CONF_OPT += --without-mad endif +ifeq ($(BR2_PACKAGE_LIBPNG),y) +SOX_DEPENDENCIES += libpng +else +SOX_CONF_OPT += --without-png +endif + +ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) +SOX_DEPENDENCIES += libsndfile +else +SOX_CONF_OPT += --without-sndfile +endif + +ifeq ($(BR2_PACKAGE_LIBVORBIS),y) +SOX_DEPENDENCIES += libvorbis +else +SOX_CONF_OPT += --without-oggvorbis +endif + +SOX_CONF_OPT += --without-amrwb --without-amrnb + +SOX_CONF_OPT += --without-opus + +SOX_CONF_OPT += --without-pulseaudio + +SOX_CONF_OPT += --without-twolame + +ifeq ($(BR2_PACKAGE_WAVPACK),y) +SOX_DEPENDENCIES += wavpack +else +SOX_CONF_OPT += --without-wavpack +endif + define SOX_INSTALL_TARGET_CMDS $(INSTALL) -D -m 0755 $(STAGING_DIR)/usr/bin/sox $(TARGET_DIR)/usr/bin/sox cp -a $(STAGING_DIR)/usr/bin/rec $(TARGET_DIR)/usr/bin/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |