diff options
| author | Khem Raj <raj.khem@gmail.com> | 2016-11-01 09:14:19 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-02-06 16:48:12 +0100 |
| commit | ab4369c5841e7f87bdc52aa8a67363c4e6524211 (patch) | |
| tree | d807b43dc2ae43d8ef2a5d9a465252138a773d90 /meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb | |
| parent | 5ecbf9bab404af0de7d0f058d1620f40dae0d2d8 (diff) | |
| download | meta-openembedded-ab4369c5841e7f87bdc52aa8a67363c4e6524211.tar.gz | |
kodi: Add krypton/17.0 recipe
remove obsoleted xbmc recipes
rename to recipes-mediacenter
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb')
| -rw-r--r-- | meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb b/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb deleted file mode 100644 index 0d8dd5cb35..0000000000 --- a/meta-multimedia/recipes-mediacentre/xbmc/xbmc_git.bb +++ /dev/null | |||
| @@ -1,97 +0,0 @@ | |||
| 1 | SUMMARY = "XBMC Media Center" | ||
| 2 | |||
| 3 | LICENSE = "GPLv2" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=6eb631b6da7fdb01508a80213ffc35ff" | ||
| 5 | |||
| 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 libmad" | ||
| 7 | #require recipes/egl/egl.inc | ||
| 8 | |||
| 9 | |||
| 10 | SRCREV = "82388d55dae79cbb2e486e307e23202e76a43efa" | ||
| 11 | |||
| 12 | # multiple issues | ||
| 13 | PNBLACKLIST[xbmc] ?= "/usr/include/c++/ctime:70:11: error: '::gmtime' has not been declared" | ||
| 14 | |||
| 15 | PV = "11.0+gitr${SRCPV}" | ||
| 16 | PR = "r14" | ||
| 17 | SRC_URI = "git://github.com/xbmc/xbmc.git;branch=Eden \ | ||
| 18 | file://0001-configure-don-t-run-python-distutils-to-find-STAGING.patch \ | ||
| 19 | file://0002-Revert-fixed-ios-Add-memory-barriers-to-atomic-Add-S.patch \ | ||
| 20 | file://0003-Revert-fixed-ios-Add-memory-barriers-to-cas-assembly.patch \ | ||
| 21 | file://0004-configure-cope-with-ld-is-gold-DISTRO_FEATURE.patch \ | ||
| 22 | file://configure.in-Avoid-running-code.patch \ | ||
| 23 | " | ||
| 24 | |||
| 25 | inherit autotools gettext python-dir | ||
| 26 | |||
| 27 | S = "${WORKDIR}/git" | ||
| 28 | |||
| 29 | # breaks compilation | ||
| 30 | CCACHE = "" | ||
| 31 | |||
| 32 | CACHED_CONFIGUREVARS += " \ | ||
| 33 | ac_cv_path_PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python" \ | ||
| 34 | " | ||
| 35 | |||
| 36 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', 'openglesv2', d)}" | ||
| 37 | PACKAGECONFIG[opengl] = "--enable-gl,--enable-gles,glew" | ||
| 38 | PACKAGECONFIG[openglesv2] = "--enable-gles,--enable-gl," | ||
| 39 | |||
| 40 | EXTRA_OECONF = " \ | ||
| 41 | --disable-rpath \ | ||
| 42 | --enable-libusb \ | ||
| 43 | --enable-airplay \ | ||
| 44 | --disable-optical-drive \ | ||
| 45 | --enable-external-libraries \ | ||
| 46 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '--enable-gl', '--enable-gles', d)} \ | ||
| 47 | " | ||
| 48 | |||
| 49 | FULL_OPTIMIZATION_armv7a = "-fexpensive-optimizations -fomit-frame-pointer -O4 -ffast-math" | ||
| 50 | BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}" | ||
| 51 | |||
| 52 | EXTRA_OECONF_append_armv7a = "--cpu=cortex-a8" | ||
| 53 | |||
| 54 | # for python modules | ||
| 55 | export STAGING_LIBDIR | ||
| 56 | export STAGING_INCDIR | ||
| 57 | export PYTHON_DIR | ||
| 58 | |||
| 59 | do_configure() { | ||
| 60 | sh bootstrap | ||
| 61 | oe_runconf | ||
| 62 | } | ||
| 63 | |||
| 64 | PARALLEL_MAKE = "" | ||
| 65 | |||
| 66 | do_compile_prepend() { | ||
| 67 | for i in $(find . -name "Makefile") ; do | ||
| 68 | sed -i -e 's:I/usr/include:I${STAGING_INCDIR}:g' $i | ||
| 69 | done | ||
| 70 | |||
| 71 | for i in $(find . -name "*.mak*" -o -name "Makefile") ; do | ||
| 72 | sed -i -e 's:I/usr/include:I${STAGING_INCDIR}:g' -e 's:-rpath \$(libdir):-rpath ${libdir}:g' $i | ||
| 73 | done | ||
| 74 | } | ||
| 75 | |||
| 76 | INSANE_SKIP_${PN} = "rpaths" | ||
| 77 | |||
| 78 | # on ARM architectures xbmc will use GLES which will make the regular wrapper fail, so start it directly | ||
| 79 | do_install_append_arm() { | ||
| 80 | sed -i -e 's:Exec=xbmc:Exec=${libdir}/xbmc/xbmc.bin:g' ${D}${datadir}/applications/xbmc.desktop | ||
| 81 | } | ||
| 82 | |||
| 83 | FILES_${PN} += "${datadir}/xsessions ${datadir}/icons" | ||
| 84 | FILES_${PN}-dbg += "${libdir}/xbmc/.debug ${libdir}/xbmc/*/.debug ${libdir}/xbmc/*/*/.debug ${libdir}/xbmc/*/*/*/.debug" | ||
| 85 | |||
| 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 | ||
| 88 | RRECOMMENDS_${PN}_append = " libcec \ | ||
| 89 | python \ | ||
| 90 | python-lang \ | ||
| 91 | python-re \ | ||
| 92 | python-netclient \ | ||
| 93 | libcurl \ | ||
| 94 | xdpyinfo \ | ||
| 95 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'mesa-demos', '', d)} \ | ||
| 96 | " | ||
| 97 | RRECOMMENDS_${PN}_append_libc-glibc = " glibc-charmap-ibm850 glibc-gconv-ibm850" | ||
