[oe] [meta-oe][meta-multimedia][PATCH 1/6] xbmc: first try at making it build for non-GLES platforms

Koen Kooi koen at dominion.thruhere.net
Sun Dec 23 19:34:05 UTC 2012


Op 23 dec. 2012, om 13:32 heeft Martin Jansa <martin.jansa at gmail.com> het volgende geschreven:

> On Fri, Dec 21, 2012 at 03:00:45PM +0100, Koen Kooi wrote:
>> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
>> ---
>> .../recipes-mediacentre/xbmc/xbmc_git.bb           |    7 ++++---
>> 1 files changed, 4 insertions(+), 3 deletions(-)
>> 
>> diff --git a/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb b/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb
>> index 74bf710..6331306 100644
>> --- a/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb
>> +++ b/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb
>> @@ -3,13 +3,13 @@ DESCRIPTION = "XBMC Media Center"
>> LICENSE = "GPLv2"
>> LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=6eb631b6da7fdb01508a80213ffc35ff"
>> 
>> -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"
>> +DEPENDS = "libmad 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"
>> #require recipes/egl/egl.inc
>> 
>> SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa"
>> 
>> PV = "11.0"
>> -PR = "r14"
>> +PR = "r15"
>> PR_append = "+gitr${SRCPV}"
>> SRC_URI = "git://github.com/xbmc/xbmc.git;branch=eden;protocol=git \
>>            file://0001-configure-don-t-run-python-distutils-to-find-STAGING.patch \
>> @@ -26,13 +26,14 @@ CACHED_CONFIGUREVARS += " \
>>  ac_cv_path_PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" \
>> "
>> 
>> +
>> EXTRA_OECONF = " \
>>  --disable-rpath \
>> - --enable-gles \
>>  --enable-libusb \
>>  --enable-airplay \
>>  --disable-optical-drive \
>>  --enable-external-libraries \
>> + ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-gl', '--enable-gles', d)} \
>> "
>> 
>> FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math"
> 
> Here it fails on libmad detection:
> | configure:21352: checking for libmad soname
> | configure:21378: result: no
> | configure:21381: error: Unable to determine soname of libmad library

Which architecture? I saw this on x86, but not on armv7a. It should be fixed either way, though :)

regards,

Koen



More information about the Openembedded-devel mailing list