aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xbmc/xbmc_svn.bb
blob: 0ba75dacf4b10dae3ad91171ceb5639a34b9f35c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
DESCRIPTION = "XBMC Media Center"
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 = "r1"
PR_append = "+gitr${SRCPV}"

inherit autotools gettext

S = "${WORKDIR}/git"

EXTRA_OECONF = " \
 --enable-gles \
 --disable-optical-drive \
 --enable-external-libraries \
"

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	
}

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"