mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
sound/sox: Reduce dependencies
Reduce dependencies and remove not used functionality linked in using external libs. libsndfile: Unusual file formats libpng: Only used to generate spectrograms Clean up configure arguments libid3tag doesn't fall into the BUILD_PATENTED category as far as I can tell. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
+9
-19
@@ -1,7 +1,4 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2008 David Cooper <dave@kupesoft.com>
|
|
||||||
# Copyright (C) 2006-2017 OpenWrt
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
#
|
#
|
||||||
@@ -10,11 +7,11 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=sox
|
PKG_NAME:=sox
|
||||||
PKG_VERSION:=14.4.2
|
PKG_VERSION:=14.4.2
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=@SF/sox
|
PKG_SOURCE_URL:=@SF/sox
|
||||||
PKG_MD5SUM:=81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
|
PKG_HASH:=81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
|
||||||
|
|
||||||
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
|
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
|
||||||
PKG_LICENSE:=LGPL-2.1 GPL-2.0
|
PKG_LICENSE:=LGPL-2.1 GPL-2.0
|
||||||
@@ -31,9 +28,8 @@ TARGET_LDFLAGS+= \
|
|||||||
define Package/sox
|
define Package/sox
|
||||||
SECTION:=sound
|
SECTION:=sound
|
||||||
CATEGORY:=Sound
|
CATEGORY:=Sound
|
||||||
DEPENDS:=+BUILD_PATENTED:lame-lib +BUILD_PATENTED:libmad +BUILD_PATENTED:libid3tag \
|
DEPENDS:=+lame-lib +libmad +libid3tag +libmagic \
|
||||||
+libvorbis +libvorbisidec +alsa-lib +libsndfile +libflac \
|
+libvorbis +alsa-lib +libflac
|
||||||
+libmagic +libpng
|
|
||||||
TITLE:=Sox is a general purpose sound converter/player/recorder
|
TITLE:=Sox is a general purpose sound converter/player/recorder
|
||||||
URL:=http://sox.sourceforge.net/
|
URL:=http://sox.sourceforge.net/
|
||||||
endef
|
endef
|
||||||
@@ -46,23 +42,17 @@ define Package/sox/description
|
|||||||
several unix-style platforms.
|
several unix-style platforms.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Configure
|
CONFIGURE_ARGS += \
|
||||||
$(call Build/Configure/Default, \
|
|
||||||
--without-oss \
|
--without-oss \
|
||||||
--without-ao \
|
--without-ao \
|
||||||
--with-alsa \
|
--with-alsa \
|
||||||
--without-libltdl \
|
--without-libltdl \
|
||||||
--with-ogg \
|
|
||||||
--with-flac \
|
--with-flac \
|
||||||
--without-amr-wb \
|
|
||||||
--without-amr-nb \
|
|
||||||
--without-samplerate \
|
|
||||||
--without-ladspa \
|
--without-ladspa \
|
||||||
--$(if $(CONFIG_BUILD_PATENTED),with-mad,without-mad) \
|
--without-png \
|
||||||
--$(if $(CONFIG_BUILD_PATENTED),with-lame,without-lame) \
|
--without-sndfile \
|
||||||
--$(if $(CONFIG_BUILD_PATENTED),with-id3tag,without-id3tag) \
|
--with-lame \
|
||||||
)
|
--with-id3tag
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
|
|||||||
Reference in New Issue
Block a user