Skip to contentSkip to conversation

sox: bump to version 14.4.2

PATCH New Gustavo Zacarias 2 participants 4 messages Feb 25, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 sox: bump to version 14.4.2

---
 package/sox/sox.hash | 5 +++--
 package/sox/sox.mk   | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)
package/sox/sox.hash +3 -2
index 85b1aec..2f8069b 100644
@@ -1,2 +1,3 @@
-# Locally computed:
-sha256  9a8c2c6fe51e608da346a157e111508a957af9e3ecf3de26781d36e9a67fa89b  sox-14.4.1.tar.gz
+# From http://sourceforge.net/projects/sox/files/sox/14.4.2/
+md5	ba804bb1ce5c71dd484a102a5b27d0dd	sox-14.4.2.tar.bz2
+sha1	dc9668256b9d81ef25d672f14f12ec026b0b4087	sox-14.4.2.tar.bz2
package/sox/sox.mk +2 -1
index 97776fc..ac89691 100644
@@ -4,8 +4,9 @@
 #
 ################################################################################
 
-SOX_VERSION = 14.4.1
+SOX_VERSION = 14.4.2
 SOX_SITE = http://downloads.sourceforge.net/project/sox/sox/$(SOX_VERSION)
+SOX_SOURCE = sox-$(SOX_VERSION).tar.bz2
 SOX_DEPENDENCIES = host-pkgconf
 SOX_CONF_OPTS = --with-distro="Buildroot" --without-ffmpeg --disable-gomp
 SOX_LICENSE = GPLv2+ (sox binary), LGPLv2.1+ (libraries)
Signature · 1 line
2.0.5
#1 lore raw

PATCH 2/3 opusfile: new package

---
 package/Config.in              |  1 +
 package/opusfile/Config.in     | 13 +++++++++++++
 package/opusfile/opusfile.hash |  2 ++
 package/opusfile/opusfile.mk   | 25 +++++++++++++++++++++++++
 4 files changed, 41 insertions(+)
 create mode 100644 package/opusfile/Config.in
 create mode 100644 package/opusfile/opusfile.hash
 create mode 100644 package/opusfile/opusfile.mk
package/Config.in +1 -0
index 2894379..4aed649 100644
@@ -614,6 +614,7 @@ menu "Audio/Sound"
 	source "package/mp4v2/Config.in"
 	source "package/opencore-amr/Config.in"
 	source "package/opus/Config.in"
+	source "package/opusfile/Config.in"
 	source "package/portaudio/Config.in"
 	source "package/speex/Config.in"
 	source "package/taglib/Config.in"
package/opusfile/Config.in new file +13 -0
new file mode 100644
index 0000000..f9271c4
@@ -0,0 +1,13 @@
+comment "opusfile needs a toolchain w/ largefile"
+	depends on !BR2_LARGEFILE
+
+config BR2_PACKAGE_OPUSFILE
+	bool "opusfile"
+	depends on BR2_LARGEFILE
+	select BR2_PACKAGE_LIBOGG
+	select BR2_PACKAGE_OPUS
+	help
+	  A convenient high-level API for decoding and basic manipulation
+	  of all Ogg Opus audio streams.
+
+	  http://opus-codec.org
package/opusfile/opusfile.hash new file +2 -0
new file mode 100644
index 0000000..1833950
@@ -0,0 +1,2 @@
+# From http://downloads.xiph.org/releases/opus/SHA256SUMS.txt
+sha256	2428717b356e139f18ed2fdb5ad990b5654a238907a0058200b39c46a7d03ea6	opusfile-0.6.tar.gz
package/opusfile/opusfile.mk new file +25 -0
new file mode 100644
index 0000000..918041d
@@ -0,0 +1,25 @@
+################################################################################
+#
+# opusfile
+#
+################################################################################
+
+OPUSFILE_VERSION = 0.6
+OPUSFILE_SITE = http://downloads.xiph.org/releases/opus
+OPUSFILE_DEPENDENCIES = host-pkgconf libogg opus
+OPUSFILE_LICENSE = BSD-3c
+OPUSFILE_LICENSE_FILES = COPYING
+OPUSFILE_INSTALL_STAGING = YES
+
+ifeq ($(BR2_PACKAGE_OPENSSL),y)
+OPUSFILE_DEPENDENCIES += openssl
+else
+OPUSFILE_CONF_OPTS += --disable-http
+endif
+
+# Use the same as opus package since it's a dep and we can't mix
+ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y)
+OPUSFILE_CONF_OPTS += --enable-fixed-point
+endif
+
+$(eval $(autotools-package))
Signature · 1 line
2.0.5
#2 lore raw

PATCH 3/3 sox: add optional opus file support

In reply to Gustavo Zacarias
---
 package/sox/sox.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/sox/sox.mk +6 -0
index ac89691..cd5fbb6 100644
@@ -78,6 +78,12 @@ else
 SOX_CONF_OPTS += --without-amrwb --without-amrnb
 endif
 
+ifeq ($(BR2_PACKAGE_OPUSFILE),y)
+SOX_DEPENDENCIES += opusfile
+else
+SOX_CONF_OPTS += --without-opus
+endif
+
 ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
 SOX_DEPENDENCIES += pulseaudio
 else
Signature · 1 line
2.0.5