summaryrefslogtreecommitdiff
path: root/recipes/libogg
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-03-30 14:13:57 +0100
committerGraeme Gregory <dp@xora.org.uk>2009-03-30 14:13:57 +0100
commit27759557d31bc9fea07f5b34cb59743e1f95aabc (patch)
tree4c86cb570e0da87ed08320dd81c7a3cc03771c30 /recipes/libogg
parentcc89fef9b784660843e6ed79911111b866db49e1 (diff)
libtheora_1.0.bb : Do not build libtheora docs/examples since this will try
to run a crosscompiled utility on the host
Diffstat (limited to 'recipes/libogg')
-rw-r--r--recipes/libogg/libtheora-1.0/libtheora-1.0-no-docs.patch33
-rw-r--r--recipes/libogg/libtheora_1.0.bb5
2 files changed, 36 insertions, 2 deletions
diff --git a/recipes/libogg/libtheora-1.0/libtheora-1.0-no-docs.patch b/recipes/libogg/libtheora-1.0/libtheora-1.0-no-docs.patch
new file mode 100644
index 0000000000..ce1fa70940
--- /dev/null
+++ b/recipes/libogg/libtheora-1.0/libtheora-1.0-no-docs.patch
@@ -0,0 +1,33 @@
+diff -urN libtheora-1.0-0rig/Makefile.am libtheora-1.0/Makefile.am
+--- libtheora-1.0-0rig//Makefile.am 2008-10-21 05:36:32.000000000 +0200
++++ libtheora-1.0/Makefile.am 2009-03-16 18:16:32.000000000 +0100
+@@ -8,7 +8,7 @@
+ EXAMPLES_DIR =
+ endif
+
+-SUBDIRS = lib include doc tests m4 $(EXAMPLES_DIR)
++SUBDIRS = lib include m4 $(EXAMPLES_DIR)
+
+
+ # we include the whole debian/ dir in EXTRA_DIST because there's a problem
+diff -urN libtheora-1.0-0rig//Makefile.in libtheora-1.0/Makefile.in
+--- libtheora-1.0-0rig//Makefile.in 2008-10-29 11:36:48.000000000 +0100
++++ libtheora-1.0/Makefile.in 2009-03-16 18:16:51.000000000 +0100
+@@ -80,7 +80,7 @@
+ DATA = $(pkgconfig_DATA)
+ ETAGS = etags
+ CTAGS = ctags
+-DIST_SUBDIRS = lib include doc tests m4 examples
++DIST_SUBDIRS = lib include m4 examples
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)
+@@ -262,7 +262,7 @@
+ AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2
+ @THEORA_ENABLE_EXAMPLES_FALSE@EXAMPLES_DIR =
+ @THEORA_ENABLE_EXAMPLES_TRUE@EXAMPLES_DIR = examples
+-SUBDIRS = lib include doc tests m4 $(EXAMPLES_DIR)
++SUBDIRS = lib include m4 $(EXAMPLES_DIR)
+
+ # we include the whole debian/ dir in EXTRA_DIST because there's a problem
+ # with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am
diff --git a/recipes/libogg/libtheora_1.0.bb b/recipes/libogg/libtheora_1.0.bb
index 0d858cdbbe..ec08b8694e 100644
--- a/recipes/libogg/libtheora_1.0.bb
+++ b/recipes/libogg/libtheora_1.0.bb
@@ -1,9 +1,10 @@
DEPENDS = "libogg libvorbis"
-PR = "r1"
+PR = "r2"
-SRC_URI = "http://downloads.xiph.org/releases/theora/libtheora-${PV}.tar.bz2"
+SRC_URI = "http://downloads.xiph.org/releases/theora/libtheora-${PV}.tar.bz2 \
+ file://libtheora-1.0-no-docs.patch;patch=1"
inherit autotools lib_package