vorbis-tools: new package
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 6 Jan 2011 18:42:01 +0000 (15:42 -0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 11 Jan 2011 15:33:24 +0000 (16:33 +0100)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/Config.in
package/multimedia/vorbis-tools/Config.in [new file with mode: 0644]
package/multimedia/vorbis-tools/vorbis-tools.mk [new file with mode: 0644]

index 5c1111da1d61ee947780e8ec26ccf1f6ebf280b5..6d2cbc703ff3fc33978fc72b047a4342fcf6f43d 100644 (file)
@@ -32,4 +32,5 @@ source "package/multimedia/festival/Config.in"
 source "package/multimedia/taglib/Config.in"
 source "package/multimedia/tremor/Config.in"
 source "package/multimedia/vlc/Config.in"
+source "package/multimedia/vorbis-tools/Config.in"
 endmenu
diff --git a/package/multimedia/vorbis-tools/Config.in b/package/multimedia/vorbis-tools/Config.in
new file mode 100644 (file)
index 0000000..6092e01
--- /dev/null
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_VORBIS_TOOLS
+       bool "vorbis-tools"
+       select BR2_PACKAGE_LIBAO
+       select BR2_PACKAGE_LIBOGG
+       select BR2_PACKAGE_LIBVORBIS
+       select BR2_PACKAGE_LIBCURL
+       help
+         Standalone player, encoder and decoder for Ogg format files.
+
+         Works also as a streaming player.
+
+         http://www.vorbis.com/
diff --git a/package/multimedia/vorbis-tools/vorbis-tools.mk b/package/multimedia/vorbis-tools/vorbis-tools.mk
new file mode 100644 (file)
index 0000000..6fd6c2a
--- /dev/null
@@ -0,0 +1,20 @@
+#############################################################
+#
+# vorbis-tools
+#
+#############################################################
+
+VORBIS_TOOLS_VERSION = 1.4.0
+VORBIS_TOOLS_SITE = http://downloads.xiph.org/releases/vorbis
+VORBIS_TOOLS_DEPENDENCIES = libao libogg libvorbis libcurl
+VORBIS_TOOLS_CONF_OPT = --program-transform-name=''
+
+ifeq ($(BR2_PACKAGE_FLAC),y)
+VORBIS_TOOLS_DEPENDENCIES += flac
+endif
+
+ifeq ($(BR2_PACKAGE_SPEEX),y)
+VORBIS_TOOLS_DEPENDENCIES += speex
+endif
+
+$(eval $(call AUTOTARGETS,package/multimedia,vorbis-tools))