gstreamer: add support for theora plugins

Add theora codec and its corresponding lib recipe (import from OE).
This fixes [BUGID #476].

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
This commit is contained in:
Dongxiao Xu 2010-10-18 10:51:56 +08:00 committed by Richard Purdie
parent f8c6335e95
commit 644e54fef9
4 changed files with 32 additions and 4 deletions

View File

@ -2,7 +2,7 @@ DESCRIPTION = "Gstreamer package groups"
LICENSE = "MIT"
DEPENDS = "gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad"
PR = "r7"
PR = "r8"
PACKAGES = "\
gst-meta-base \
@ -48,6 +48,7 @@ RDEPENDS_gst-meta-video = "\
gst-meta-base \
gst-plugins-good-avi \
gst-plugins-good-matroska \
gst-plugins-base-theora \
${COMMERCIAL_VIDEO_PLUGINS}"
RRECOMMENDS_gst-meta-video = "\

View File

@ -6,15 +6,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605 \
file://gst/ffmpegcolorspace/utils.c;beginline=1;endline=20;md5=9c83a200b8e597b26ca29df20fc6ecd0"
DEPENDS += "virtual/libx11 alsa-lib freetype gnome-vfs liboil libogg libvorbis libxv"
DEPENDS += "virtual/libx11 alsa-lib freetype gnome-vfs liboil libogg libvorbis libxv libtheora"
RDEPENDS += "gnome-vfs-plugin-file gnome-vfs-plugin-http gnome-vfs-plugin-ftp \
gnome-vfs-plugin-sftp"
PR = "r0"
PR = "r1"
inherit gettext
EXTRA_OECONF += "--disable-freetypetest --disable-pango --disable-theora"
EXTRA_OECONF += "--disable-freetypetest --disable-pango"
do_configure_prepend() {
# This m4 file contains nastiness which conflicts with libtool 2.2.2

View File

@ -0,0 +1,13 @@
Index: libtheora-1.1.1/Makefile.am
===================================================================
--- libtheora-1.1.1.orig/Makefile.am 2009-11-25 22:01:53.593775926 +0100
+++ libtheora-1.1.1/Makefile.am 2009-11-25 22:02:00.777524017 +0100
@@ -8,7 +8,7 @@
EXAMPLES_DIR =
endif
-SUBDIRS = lib include doc tests m4 $(EXAMPLES_DIR)
+SUBDIRS = lib include tests m4 $(EXAMPLES_DIR)
# we include the whole debian/ dir in EXTRA_DIST because there's a problem

View File

@ -0,0 +1,14 @@
DESCRIPTION = "The libtheora reference implementation provides the standard encoder and decoder under a BSD license."
HOMEPAGE = "http://xiph.org/"
BUGTRACKER = "https://trac.xiph.org/newticket"
SECTION = "libs"
LICENSE = "BSD"
PR = "r0"
SRC_URI = "http://downloads.xiph.org/releases/theora/libtheora-${PV}.tar.bz2 \
file://no-docs.patch"
inherit autotools pkgconfig
EXTRA_OECONF = "--disable-examples"