xbmc: new package

XBMC is an award-winning free and open source (GPL) software media player and
entertainment hub for digital media.
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: gimli <ebsi4711@gmail.com>
---
Changes v8 -> v9:
  - Include patch from Yann E. Morin (See commit log below)
  - Fix startup script (Martin Bark)
  - Cleanup dependencies (Yann E. Morin)
  - Remove RaspberryPi specific patch, most of them are now useless
    anyway.
Changes v7 -> v8:
  - Fix comments and dependencies on components (Thomas Petazzoni)
  - Change name for options (Thomas Petazzoni)
  - Remove depends on external toolchain (Martin Bark)
  - Fix various indent issues (Thomas Petazzoni)
  - Fix hook placement (Thomas Petazzoni)
  - Add host-gperf (Martin Bark)
Changes v6 -> v7:
  - Fix various capitalization issue (Thomas De Schampheleire)
  - Changes depends on !uclibc to a depends on glibc (Thomas De Schampheleire)
  - Remove TIFF being selected twice (Jerzy Grzegorek)
Changes v5 -> v6:
  - Fix missing depends on OpenGL (Yann E. Morin)
  - Remove LIBCEC_RBP Config option (Yann E. Morin)
  - Fix dependency that were, in the end, not optionnal (Martin Bark)
  - Fix OpenGL check (Martin Bark)
  - Uses BR2_HOST_NEEDS_JAVA (Martin Bark)
Changes v4 -> v5:
  - Remove MAKE1, seems to work fine with parallel build.
Changes v3 -> v4:
  - Rework init script
  - Add systemd startup service
Changes v2 -> v3:
  - Fix indent
  - Change librtmp to rtmpdump
Changes v1 -> v2:
  - Fix header (Yann E. Morin)
  - Fix comment on toolchain option (Peter Korsgaard)
---
package/xbmc: background XBMC and store PID in startup script

Otherwise the startup script:
  - hangs while XBMC is running,
  - is not able to stop XBMC on shutdown.

Reported-by: Martin Bark <martin@barkynet.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
package/xbmc: cleanup dependencies

XBMC needs an (e)glibc toolchain, which is only available on targets
with an MMU, so there's no need to repeat it. Add missing dependency
on threads.

Most of the required dependencies for sub-options are already matched,
as they already apply to XBMC itself.

Better annotate dependencies inherited from a 'select' dependency.

Fix un-met depdendency comments to repeat the feature prompt (eg.
'libcec' -> 'hdmi cec', 'libnfs' -> 'nfs' ...)

Re-order top-of-file comments, so they are in a more meaningful order.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>