xbmc: add recipe to build xbmc from the gsoc-2010 branch, WIP
authorKoen Kooi <koen@openembedded.org>
Tue, 29 Jun 2010 12:34:35 +0000 (14:34 +0200)
committerKoen Kooi <koen@openembedded.org>
Tue, 29 Jun 2010 12:37:15 +0000 (14:37 +0200)
recipes/xbmc/xbmc_svn.bb [new file with mode: 0644]

diff --git a/recipes/xbmc/xbmc_svn.bb b/recipes/xbmc/xbmc_svn.bb
new file mode 100644 (file)
index 0000000..9c67545
--- /dev/null
@@ -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"
+
+