summaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-mediacentre
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2013-05-02 06:04:21 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-05-03 16:12:03 +0200
commitf68f9d4816d4fe7a5cf3519930731effc5289bca (patch)
treeb2b717817477c7515ab20eddcaadf866f45410c4 /meta-multimedia/recipes-mediacentre
parentc90d009eb40d0610583346c0ba19264377d50c5e (diff)
downloadmeta-openembedded-f68f9d4816d4fe7a5cf3519930731effc5289bca.tar.gz
xbmc: convert to PACKAGECONFIG and fix runtime dependencies
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-mediacentre')
-rw-r--r--meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb b/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb
index e6600c1e5..30256d53d 100644
--- a/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb
+++ b/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=6eb631b6da7fdb01508a80213ffc35ff"
6DEPENDS = "libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml" 6DEPENDS = "libusb1 libcec libplist expat yajl gperf-native libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl python libass libmodplug libmicrohttpd wavpack libmms cmake-native libsdl-image libsdl-mixer virtual/egl mysql5 sqlite3 libmms faad2 libcdio libpcre boost lzo enca avahi libsamplerate0 libxinerama libxrandr libxtst bzip2 virtual/libsdl jasper zip-native zlib libtinyxml"
7#require recipes/egl/egl.inc 7#require recipes/egl/egl.inc
8 8
9
9SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa" 10SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa"
10 11
11PV = "11.0" 12PV = "11.0"
@@ -30,13 +31,17 @@ CACHED_CONFIGUREVARS += " \
30 ac_cv_path_PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" \ 31 ac_cv_path_PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" \
31" 32"
32 33
34PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'opengl', 'opengl', 'openglesv2', d)}"
35PACKAGECONFIG[opengl] = "--enable-gl,--enable-gles,glew"
36PACKAGECONFIG[openglesv2] = "--enable-gles,--enable-gl,"
37
33EXTRA_OECONF = " \ 38EXTRA_OECONF = " \
34 --disable-rpath \ 39 --disable-rpath \
35 --enable-gles \
36 --enable-libusb \ 40 --enable-libusb \
37 --enable-airplay \ 41 --enable-airplay \
38 --disable-optical-drive \ 42 --disable-optical-drive \
39 --enable-external-libraries \ 43 --enable-external-libraries \
44 ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-gl', '--enable-gles', d)} \
40" 45"
41 46
42FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math" 47FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math"
@@ -79,11 +84,14 @@ FILES_${PN} += "${datadir}/xsessions ${datadir}/icons"
79FILES_${PN}-dbg += "${libdir}/xbmc/.debug ${libdir}/xbmc/*/.debug ${libdir}/xbmc/*/*/.debug ${libdir}/xbmc/*/*/*/.debug" 84FILES_${PN}-dbg += "${libdir}/xbmc/.debug ${libdir}/xbmc/*/.debug ${libdir}/xbmc/*/*/.debug ${libdir}/xbmc/*/*/*/.debug"
80 85
81# xbmc uses some kind of dlopen() method for libcec so we need to add it manually 86# xbmc uses some kind of dlopen() method for libcec so we need to add it manually
87# OpenGL builds need glxinfo, that's in mesa-demos
82RRECOMMENDS_${PN}_append = " libcec \ 88RRECOMMENDS_${PN}_append = " libcec \
83 python \ 89 python \
84 python-lang \ 90 python-lang \
85 python-re \ 91 python-re \
86 python-netclient \ 92 python-netclient \
87 libcurl \ 93 libcurl \
94 xdpyinfo \
95 ${@base_contains('DISTRO_FEATURES', 'opengl', 'mesa-demos', '', d)} \
88" 96"
89RRECOMMENDS_${PN}_append_libc-glibc = " glibc-charmap-ibm850 glibc-gconv-ibm850" 97RRECOMMENDS_${PN}_append_libc-glibc = " glibc-charmap-ibm850 glibc-gconv-ibm850"