Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 4th, 2010  |  syntax: Python  |  size: 1.48 KB  |  views: 406  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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"
clone this paste RAW Paste Data