libtheora: add new multimedia package libtheora
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Mon, 8 Dec 2008 17:45:59 +0000 (17:45 -0000)
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Mon, 8 Dec 2008 17:45:59 +0000 (17:45 -0000)
libtheora is a library used by gstreamer when streaming Ogg multimedia.

package/multimedia/Config.in
package/multimedia/libtheora/Config.in [new file with mode: 0644]
package/multimedia/libtheora/libtheora.mk [new file with mode: 0644]

index 4568a51bb2668c56b1a668f31d7ee1edf343ffef..4c74f7ed6676f13ee6cc967a42df3c5f549c222a 100644 (file)
@@ -7,6 +7,7 @@ source "package/multimedia/libid3tag/Config.in"
 source "package/multimedia/libmad/Config.in"
 source "package/multimedia/libogg/Config.in"
 source "package/multimedia/libsndfile/Config.in"
+source "package/multimedia/libtheora/Config.in"
 source "package/multimedia/libvorbis/Config.in"
 source "package/multimedia/madplay/Config.in"
 source "package/multimedia/mpg123/Config.in"
diff --git a/package/multimedia/libtheora/Config.in b/package/multimedia/libtheora/Config.in
new file mode 100644 (file)
index 0000000..97a7087
--- /dev/null
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBTHEORA
+       bool "libtheora"
+       select BR2_PACKAGE_LIBOGG
+       select BR2_PACKAGE_LIBVORBIS
+       select BR2_PACKAGE_PKGCONFIG
+       help
+         A library for the free and open video compression format "Theora"
+         from the Xiph.org Foundation.
+
+         http://www.theora.org/
diff --git a/package/multimedia/libtheora/libtheora.mk b/package/multimedia/libtheora/libtheora.mk
new file mode 100644 (file)
index 0000000..1d311d2
--- /dev/null
@@ -0,0 +1,19 @@
+#############################################################
+#
+# libtheora
+#
+#############################################################
+LIBTHEORA_VERSION = 1.0
+LIBTHEORA_SOURCE = libtheora-$(LIBTHEORA_VERSION).tar.bz2
+LIBTHEORA_SITE = http://downloads.xiph.org/releases/theora
+LIBTHEORA_INSTALL_STAGING = YES
+
+LIBTHEORA_CONF_OPT = \
+               --disable-oggtest \
+               --disable-vorbistest \
+               --disable-sdltest \
+               --disable-examples
+
+LIBTHEORA_DEPENDENCIES = libogg libvorbis pkgconfig
+
+$(eval $(call AUTOTARGETS,package/multimedia,libtheora))