[oe-commits] Ulf Samuelsson : libtheora_1.0.bb : Do not build libtheora docs/ examples since this will try

GIT User account git at amethyst.openembedded.net
Mon Mar 30 13:25:04 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 27759557d31bc9fea07f5b34cb59743e1f95aabc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=27759557d31bc9fea07f5b34cb59743e1f95aabc

Author: Ulf Samuelsson <ulf.samuelsson at atmel.com>
Date:   Mon Mar 30 14:13:57 2009 +0100

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(-)

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 0000000..ce1fa70
--- /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 at EXAMPLES_DIR = 
+ @THEORA_ENABLE_EXAMPLES_TRUE at 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 0d858cd..ec08b86 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
 





More information about the Openembedded-commits mailing list