[oe-commits] Koen Kooi : xbmc: add recipe to build xbmc from the gsoc-2010 branch, WIP
git version control
git at git.openembedded.org
Tue Jun 29 12:37:43 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 173418bc81ff537ceebe93553cc1d42b7ae8a448
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=173418bc81ff537ceebe93553cc1d42b7ae8a448
Author: Koen Kooi <koen at openembedded.org>
Date: Tue Jun 29 14:34:35 2010 +0200
xbmc: add recipe to build xbmc from the gsoc-2010 branch, WIP
---
recipes/xbmc/xbmc_svn.bb | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/recipes/xbmc/xbmc_svn.bb b/recipes/xbmc/xbmc_svn.bb
new file mode 100644
index 0000000..9c67545
--- /dev/null
+++ b/recipes/xbmc/xbmc_svn.bb
@@ -0,0 +1,44 @@
+DESCRIPTION = "Xbox Media Centre"
+LICENSE = "xbmc"
+
+DEPENDS = "libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo2 enca avahi libsamplerate0 libxrandr bzip2 virtual/libsdl"
+
+SRC_URI = "git://xbmc.git.sourceforge.net/gitroot/xbmc/xbmc;protocol=git;branch=gsoc-2010-beagleboard"
+
+SRCREV = "c494f76d87ed98838e9890319554d02814bef10e"
+
+PV = "0.0"
+PR_append = "+gitr${SRCPV}"
+
+inherit autotools
+
+S = "${WORKDIR}/git"
+
+do_configure() {
+ ./bootstrap.angstrom
+ oe_runconf
+}
+
+do_compile_prepend() {
+ for i in $(find . -name "Makefil*") ; do
+ sed -i 's:I/usr/include:I${STAGING_INCDIR}:g' $i
+ done
+ for i in $(find . -name "*.mak*") ; do
+ sed -i 's:I/usr/include:I${STAGING_INCDIR}:g' $i
+ done
+ sed -i 's:I/usr/include:I${STAGING_INCDIR}:g' ${S}/Makefile
+}
+
+EXTRA_OECONF = " \
+ --enable-gles \
+ --disable-optical-drive \
+ --enable-external-libraries \
+"
+
+FILES_${PN} += "${datadir}/xsessions"
+FILES_${PN}-dbg += "${libdir}/xbmc/.debug ${libdir}/xbmc/*/.debug ${libdir}/xbmc/*/*/.debug ${libdir}/xbmc/*/*/*/.debug"
+
+# GNU_HASH QA errors...
+INSANE_SKIP_${PN} = "True"
+
+
More information about the Openembedded-commits
mailing list