diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2013-05-02 06:04:21 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-05-03 16:12:03 +0200 |
commit | f68f9d4816d4fe7a5cf3519930731effc5289bca (patch) | |
tree | b2b717817477c7515ab20eddcaadf866f45410c4 /meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb | |
parent | c90d009eb40d0610583346c0ba19264377d50c5e (diff) | |
download | meta-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/xbmc/xbmc_git.bb')
-rw-r--r-- | meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb | 10 |
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" | |||
6 | DEPENDS = "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" | 6 | DEPENDS = "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 | |||
9 | SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa" | 10 | SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa" |
10 | 11 | ||
11 | PV = "11.0" | 12 | PV = "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 | ||
34 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'opengl', 'opengl', 'openglesv2', d)}" | ||
35 | PACKAGECONFIG[opengl] = "--enable-gl,--enable-gles,glew" | ||
36 | PACKAGECONFIG[openglesv2] = "--enable-gles,--enable-gl," | ||
37 | |||
33 | EXTRA_OECONF = " \ | 38 | EXTRA_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 | ||
42 | FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math" | 47 | FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math" |
@@ -79,11 +84,14 @@ FILES_${PN} += "${datadir}/xsessions ${datadir}/icons" | |||
79 | FILES_${PN}-dbg += "${libdir}/xbmc/.debug ${libdir}/xbmc/*/.debug ${libdir}/xbmc/*/*/.debug ${libdir}/xbmc/*/*/*/.debug" | 84 | FILES_${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 | ||
82 | RRECOMMENDS_${PN}_append = " libcec \ | 88 | RRECOMMENDS_${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 | " |
89 | RRECOMMENDS_${PN}_append_libc-glibc = " glibc-charmap-ibm850 glibc-gconv-ibm850" | 97 | RRECOMMENDS_${PN}_append_libc-glibc = " glibc-charmap-ibm850 glibc-gconv-ibm850" |