mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
sox: Remove unmaintained package. See sox_ng replacement
Sourceforge project abandoned - last version was 14.4.2 2015-02-22 New source: https://codeberg.org/sox_ng Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
@@ -1,77 +0,0 @@
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=sox
|
||||
PKG_VERSION:=14.4.2
|
||||
PKG_RELEASE:=5
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_SOURCE_URL:=@SF/sox
|
||||
PKG_HASH:=81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
|
||||
|
||||
PKG_LICENSE:=LGPL-2.1 GPL-2.0
|
||||
PKG_LICENSE_FILES:=COPYING LICENSE.LGPL LICENSE.GPL
|
||||
PKG_CPE_ID:=cpe:/a:sound_exchange_project:sound_exchange
|
||||
|
||||
PKG_INSTALL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/sox
|
||||
SECTION:=sound
|
||||
CATEGORY:=Sound
|
||||
DEPENDS:=+lame-lib +libmad +libid3tag +libmagic \
|
||||
+libvorbis +alsa-lib +libflac
|
||||
TITLE:=Sox is a general purpose sound converter/player/recorder
|
||||
URL:=http://sox.sourceforge.net/
|
||||
endef
|
||||
|
||||
define Package/sox/description
|
||||
SoX is a command line utility that can convert various formats
|
||||
of computer audio files in to other formats. It can also apply
|
||||
various effects to these sound files during the conversion.
|
||||
As an added bonus, SoX can play and record audio files on
|
||||
several unix-style platforms.
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--without-oss \
|
||||
--without-ao \
|
||||
--with-alsa \
|
||||
--without-libltdl \
|
||||
--with-flac \
|
||||
--without-ladspa \
|
||||
--without-png \
|
||||
--without-sndfile \
|
||||
--without-opus \
|
||||
--without-wavpack \
|
||||
--with-lame \
|
||||
--with-id3tag \
|
||||
--disable-openmp
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/include \
|
||||
$(1)/usr/include/
|
||||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/libsox.{a,so*,la} \
|
||||
$(1)/usr/lib/
|
||||
$(INSTALL_DATA) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
|
||||
$(1)/usr/lib/pkgconfig/
|
||||
endef
|
||||
|
||||
define Package/sox/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/bin/{play,rec,sox} $(1)/usr/bin/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsox.so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,sox))
|
||||
@@ -1,22 +0,0 @@
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -145,7 +145,7 @@ EXTRA_DIST = monkey.wav optional-fmts.am
|
||||
CMakeLists.txt soxconfig.h.cmake \
|
||||
tests.sh testall.sh tests.bat testall.bat test-comments
|
||||
|
||||
-all: sox$(EXEEXT) play$(EXEEXT) rec$(EXEEXT) soxi$(EXEEXT) sox_sample_test$(EXEEXT) example0$(EXEEXT) example1$(EXEEXT) example2$(EXEEXT) example3$(EXEEXT) example4$(EXEEXT) example5$(EXEEXT) example6$(EXEEXT)
|
||||
+all: sox$(EXEEXT) play$(EXEEXT) rec$(EXEEXT)
|
||||
|
||||
play$(EXEEXT) rec$(EXEEXT) soxi$(EXEEXT): sox$(EXEEXT)
|
||||
if test "$(PLAYRECLINKS)" = "yes"; then \
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -3020,7 +3020,7 @@ uninstall-am: uninstall-binPROGRAMS unin
|
||||
uninstall-pkglibLTLIBRARIES
|
||||
|
||||
|
||||
-all: sox$(EXEEXT) play$(EXEEXT) rec$(EXEEXT) soxi$(EXEEXT) sox_sample_test$(EXEEXT) example0$(EXEEXT) example1$(EXEEXT) example2$(EXEEXT) example3$(EXEEXT) example4$(EXEEXT) example5$(EXEEXT) example6$(EXEEXT)
|
||||
+all: sox$(EXEEXT) play$(EXEEXT) rec$(EXEEXT)
|
||||
|
||||
play$(EXEEXT) rec$(EXEEXT) soxi$(EXEEXT): sox$(EXEEXT)
|
||||
if test "$(PLAYRECLINKS)" = "yes"; then \
|
||||
@@ -1,19 +0,0 @@
|
||||
--- a/src/formats.c
|
||||
+++ b/src/formats.c
|
||||
@@ -413,7 +413,7 @@ static void UNUSED rewind_pipe(FILE * fp
|
||||
#if defined _FSTDIO || defined _NEWLIB_VERSION || defined __APPLE__
|
||||
fp->_p -= PIPE_AUTO_DETECT_SIZE;
|
||||
fp->_r += PIPE_AUTO_DETECT_SIZE;
|
||||
-#elif defined __GLIBC__
|
||||
+#elif defined __GLIBC__ && ! defined __UCLIBC__
|
||||
fp->_IO_read_ptr = fp->_IO_read_base;
|
||||
#elif defined _MSC_VER || defined _WIN32 || defined _WIN64 || \
|
||||
defined _ISO_STDIO_ISO_H || defined __sgi
|
||||
@@ -422,7 +422,6 @@ static void UNUSED rewind_pipe(FILE * fp
|
||||
/* To fix this #error, either simply remove the #error line and live without
|
||||
* file-type detection with pipes, or add support for your compiler in the
|
||||
* lines above. Test with cat monkey.wav | ./sox --info - */
|
||||
- #error FIX NEEDED HERE
|
||||
#define NO_REWIND_PIPE
|
||||
(void)fp;
|
||||
#endif
|
||||
@@ -1,32 +0,0 @@
|
||||
--- a/src/libsox.c
|
||||
+++ b/src/libsox.c
|
||||
@@ -65,8 +65,6 @@ sox_version_info_t const * sox_version_i
|
||||
#else
|
||||
NULL,
|
||||
#endif
|
||||
- /* sox_time */
|
||||
- __DATE__ " " __TIME__,
|
||||
/* sox_distro */
|
||||
#ifdef DISTRO
|
||||
DISTRO,
|
||||
--- a/src/sox.h
|
||||
+++ b/src/sox.h
|
||||
@@ -1321,7 +1321,6 @@ typedef struct sox_version_info_t {
|
||||
sox_uint32_t version_code; /**< version number = 0x140400 */
|
||||
char const * version; /**< version string = sox_version(), for example, "14.4.0" */
|
||||
char const * version_extra;/**< version extra info or null = "PACKAGE_EXTRA", for example, "beta" */
|
||||
- char const * time; /**< build time = "__DATE__ __TIME__", for example, "Jan 7 2010 03:31:50" */
|
||||
char const * distro; /**< distro or null = "DISTRO", for example, "Debian" */
|
||||
char const * compiler; /**< compiler info or null, for example, "msvc 160040219" */
|
||||
char const * arch; /**< arch, for example, "1248 48 44 L OMP" */
|
||||
--- a/src/sox.c
|
||||
+++ b/src/sox.c
|
||||
@@ -1828,8 +1828,6 @@ static void display_SoX_version(FILE * f
|
||||
info->version_extra ? info->version_extra : "");
|
||||
|
||||
if (sox_globals.verbosity > 3) {
|
||||
- if (info->time)
|
||||
- fprintf(file, "time: %s\n", info->time);
|
||||
if (info->distro)
|
||||
fprintf(file, "issue: %s\n", info->distro);
|
||||
#if HAVE_SYS_UTSNAME_H
|
||||
Reference in New Issue
Block a user