[oe-commits] Ulf Samuelsson : Do not build libtheora-1.0 docs or examples

GIT User account git at amethyst.openembedded.net
Thu Apr 2 00:19:26 UTC 2009


Module: openembedded.git
Branch: refs/remotes/origin/ulf/linux
Commit: 55a31b3d7222ad2c96ce438bc21328b023f4c34c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=55a31b3d7222ad2c96ce438bc21328b023f4c34c

Author: Ulf Samuelsson <ulf.samuelsson at atmel.com>
Date:   Mon Mar 16 18:42:06 2009 +0100

Do not build libtheora-1.0 docs or examples
since this will run a cross-compiled utility
(vp3huff) on the host

---

 .../libtheora-1.0/libtheora-1.0-no-docs.patch      |   33 ++++++++++++++++++++
 packages/libogg/libtheora_1.0.bb                   |    3 +-
 2 files changed, 35 insertions(+), 1 deletions(-)

diff --git a/packages/libogg/libtheora-1.0/libtheora-1.0-no-docs.patch b/packages/libogg/libtheora-1.0/libtheora-1.0-no-docs.patch
new file mode 100644
index 0000000..8a92c66
--- /dev/null
+++ b/packages/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/packages/libogg/libtheora_1.0.bb b/packages/libogg/libtheora_1.0.bb
index 55d3e83..fb6651e 100644
--- a/packages/libogg/libtheora_1.0.bb
+++ b/packages/libogg/libtheora_1.0.bb
@@ -1,7 +1,8 @@
 
 DEPENDS = "libogg libvorbis libsdl-x11"
 
-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