Advertisement
Guest User

Untitled

a guest
Aug 4th, 2010
612
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.48 KB | None | 0 0
  1. DESCRIPTION = "XBMC Media Center"
  2. LICENSE = "xbmc"
  3.  
  4. DEPENDS = "libxmu fribidi mpeg2dec ffmpeg samba fontconfig curl 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"
  5.  
  6. PV = "gsoc-2010-beagleboard"
  7.  
  8. S = "/home/topfs/xbmc"
  9.  
  10. inherit autotools gettext
  11.  
  12. EXTRA_OECONF = " \
  13. --enable-gles \
  14. --enable-omap-overlay \
  15. --disable-optical-drive \
  16. --enable-external-libraries \
  17. "
  18.  
  19. do_configure() {
  20.     if [ -e bootstrap.angstrom ] ; then
  21.         sh bootstrap.angstrom
  22.     else
  23.         sh bootstrap
  24.     fi
  25.     oe_runconf
  26. }
  27.  
  28. do_compile_prepend() {
  29.     for i in $(find . -name "Makefil*") ; do
  30.         sed -i 's:I/usr/include:I${STAGING_INCDIR}:g' $i
  31.     done
  32.     for i in $(find . -name "*.mak*") ; do
  33.         sed -i 's:I/usr/include:I${STAGING_INCDIR}:g' $i
  34.     done
  35.     sed -i 's:I/usr/include:I${STAGING_INCDIR}:g' ${S}/Makefile
  36. }
  37.  
  38. do_install_append() {
  39.     ln -sf ${libdir}/xbmc/system/python/python24-arm.so ${D}${datadir}/xbmc/system/python/ || true
  40.     ln -sf ${libdir}/xbmc/system/python/python26-arm.so ${D}${datadir}/xbmc/system/python/ || true
  41. }
  42.  
  43. FILES_${PN} += "${datadir}/xsessions"
  44. FILES_${PN}-dbg += "${libdir}/xbmc/.debug ${libdir}/xbmc/*/.debug ${libdir}/xbmc/*/*/.debug ${libdir}/xbmc/*/*/*/.debug"
  45.  
  46. # Only builds with glibc currently, so this is "safe"
  47. RRECOMMENDS_${PN} += "glibc-charmap-ibm850 glibc-gconv-ibm850"
  48.  
  49. # GNU_HASH QA errors...
  50. INSANE_SKIP_${PN} = "True"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement