From 27759557d31bc9fea07f5b34cb59743e1f95aabc Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Mon, 30 Mar 2009 14:13:57 +0100 Subject: libtheora_1.0.bb : Do not build libtheora docs/examples since this will try to run a crosscompiled utility on the host --- .../libtheora-1.0/libtheora-1.0-no-docs.patch | 33 ++++++++++++++++++++++ recipes/libogg/libtheora_1.0.bb | 5 ++-- 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 recipes/libogg/libtheora-1.0/libtheora-1.0-no-docs.patch (limited to 'recipes/libogg') 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 -- cgit v1.2.3