summaryrefslogtreecommitdiffstats
path: root/package/xbmc
Commit message (Collapse)AuthorAgeFilesLines
* sysv init scripts: fix == bashismAndré Erdmann2014-11-111-2/+2
| | | | | | | | | | | | | | | | | test a == b is not available in e.g. dash. Command(s) used for editing: q=\[\"\'\] operand="${q}?[$]?[a-zA-Z0-9_\?]+${q}?" ## doesn't detect ${VAR} test_expr="(\[\s+${operand}\s+)==(\s+${operand}\s+\])" find . -type f -name '[SK][0-9][0-9]*' | \ xargs sed -r -e "s@${test_expr}@\1=\2@g" -i Signed-off-by: André Erdmann <dywi@mailerd.de> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/xbmc: Add optional support for libcapBernd Kuhls2014-10-261-0/+7
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* infra: Move --enable/--disable-debug to package/Makefile.inBernd Kuhls2014-10-191-1/+0
| | | | | | | | | | | | A lot of packages ignored BR2_ENABLE_DEBUG. This patch simplifies the handling of this option by adding the corresponding configure option to the global Makefile for target packages. For host packages --disable-debug is added to the global Makefile. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire2014-10-041-36/+36
| | | | | | | | | | | | To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/xbmc: add option to enable alsaBernd Kuhls2014-10-032-1/+7
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/xbmc: add option to enable libvaBernd Kuhls2014-09-232-1/+11
| | | | | | | [Thomas: add the comment about the dynamic library dependency.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/xbmc: make D-Bus configurableBernd Kuhls2014-09-222-1/+50
| | | | | | | | [Thomas: edit patch to indicate that it has been accepted by upstream, as mentionned by Bernd.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/xbmc: add option to enable RSXS screensaverYann E. MORIN2014-09-062-0/+13
| | | | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/xbmc: Bump version to 13.2Bernd Kuhls2014-08-181-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/xbmc: Bump version to 13.2rc1Bernd Kuhls2014-08-141-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/xbmc: Bump version to 13.2b3Bernd Kuhls2014-08-061-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: add comment mmu dependsGustavo Zacarias2014-08-041-0/+1
| | | | | | | | Otherwise it shows up indirectly when toolchain options aren't enough and then vanishes when they are fulfilled. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Add VA-API supportBernd Kuhls2014-08-031-1/+8
| | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Add option for Goom screensaverBernd Kuhls2014-08-032-0/+15
| | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Add X.org/OpenGL supportBernd Kuhls2014-08-032-9/+55
| | | | | | | | | | | | | - on ARM xbmc only supports EGL/GLES https://github.com/xbmc/xbmc/blob/Gotham/configure.in#L695 - rsxs depends on OpenGL https://github.com/xbmc/xbmc/blob/Gotham/configure.in#L1469 so include a compile fix, courtesy of https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/mediacenter/xbmc/package.mk#L109 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Fix TexturePacker compileBernd Kuhls2014-07-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch description: use_texturepacker_native=yes is needed because we obviously need a native-compiled binary, but the xbmc build system does enable this variable only for darwin, android and raspberry-pi targets. USE_TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr" is also needed because USE_TEXTUREPACKER_NATIVE_ROOT="$TEXTUREPACKER_NATIVE_ROOT" is only executed for raspberry-pi by xbmc/configure and only USE_TEXTUREPACKER_NATIVE_ROOT is used by tools/TexturePacker/Makefile.in. To sum up, building for raspberry-pi and other archs works out-of-the-box, compiling for an Intel target, for example, fails: In file included from SDL_anigif.cpp:23:0: SDL_anigif.h:24:21: fatal error: SDL/SDL.h: No such file or directory compilation terminated. XBMCTex.cpp:34:21: fatal error: SDL/SDL.h: No such file or directory Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Add lame supportBernd Kuhls2014-07-231-0/+7
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Add alsa supportBernd Kuhls2014-07-231-1/+7
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Allow compilation with uClibcBernd Kuhls2014-07-232-6/+226
| | | | | | | | | | | | - Add dependencies needed by xbmc on BR2_LARGEFILE, BR2_INET_IPV6 & BR2_USE_WCHAR after the removal of BR2_TOOLCHAIN_USES_GLIBC - Add xbmc-0002-mathutil.patch to fix ARM compilation [Thomas: factorize architecture dependency in a new BR2_PACKAGE_XBMC_ARCH_SUPPORTS option.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Bump version to 13.2b2Bernd Kuhls2014-07-231-1/+1
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/xbmc: remove spurious build-dependency on udevYann E. MORIN2014-07-191-1/+1
| | | | | | | | | | | CEC support with libcec needs udev, but it is the responsibility of libcec to have proper build-dependencies, not XBMC. So, just remove the spurious dependency on udev in XBMC. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/xbmc: use poweroff to poweroff the RPiYann E. MORIN2014-06-081-2/+2
| | | | | | | | | Using "poweroff" instead of "halt" has the side advantage of flashing the "ACT" LED 10 times (@ ~1Hz) to instruct the user when it is safe to unplug the power supply. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: fix missing libraries from rpi-userlandSamuel Martin2014-06-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | When rpi-userland libraries are built as shared-objects, not all needed libraries are passed in the LD_FLAGS, leading to failure at linkage. To avoid this issue, set the LIBS variable content in accordance with the INCLUDES variable value. The commit 5e3b1f31b3f82e3b163567f10d7131c9d649a2cf currently works around this issue by forcing rpi-userland to be statically linked, whereas it is actually a LIBS flags problem in xbmc package. A follow-up patch fixes rpi-userland package. Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Samuel Martin <s.martin49@gmail.com> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: bump version to 13.1Bernd Kuhls2014-06-082-3/+6
| | | | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: hdmi cec supports needs udev for device scanningBernd Kuhls2014-06-082-3/+4
| | | | | | | | | | | | libcec support in xbmc compiles without udev being linked to libcec, but it is useless because xbmc uses libcec´s udev support for scanning connected CEC devices since: https://github.com/xbmc/xbmc/commit/59171c7a030f8a9c913abbce931967a6a8ff6897 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: add host-yasm dependency for MMX/64bit archsBernd Kuhls2014-06-081-0/+7
| | | | | | | | | | | | | | | | | | | | Fixes error during xbmc configure: yasm not found, use --disable-yasm for a crippled build If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the problem. configure: error: Submodule lib/ffmpeg failed to configure This will be needed for 13.0 Gotham. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: add host-nasm dependencyBernd Kuhls2014-06-081-0/+3
| | | | | | | | | | | | | | Fixes: checking for nasm... no configure: error: Could not find a required program. Please see the README for your platform. This will be needed for 13.0 Gotham. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: add host-gettext dependencyBernd Kuhls2014-06-081-2/+2
| | | | | | | | | | | | | | | | | AUTOPOINT=/bin/true does not work anymore since https://github.com/xbmc/xbmc/commit/42017cba7a62a0cf16896b061a25a25d392e1e46 config.status: error: cannot find input file: `Makefile.in' configure: error: Submodule lib/cpluff failed to configure This will be needed for 13.0 Gotham. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* replace references to Busybox with BusyBoxSimon Dawson2014-06-011-2/+2
| | | | | | | | | The correct capitalised form appears to be "BusyBox" rather than "Busybox"; fix all references to the latter form. (Most such references occur in the manual and in commentary in package makefiles.) Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* xbmc: Add missing unicode properties supportsMaxime Hadjinlian2014-05-251-0/+1
| | | | | | | | | At startup, XBMC complains that PCRE is lacking unicode properties supports. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/avahi: does not build with static-onlyYann E. MORIN2014-05-161-0/+1
| | | | | | | | | | | | | | | | | | ... and propagate to reverse dependencies. Fixes (which I reproduced here): http://autobuild.buildroot.net/results/ea2/ea2c8f20c4032bf82876805ea787a55834091cec Should fix (which I did not even try to reproduce): http://autobuild.buildroot.net/results/4ef/4ef5bfc17f50bddb00f7ef3d62fc1fe963b7da82 http://autobuild.buildroot.net/results/76e/76e4854812b0ef3862c080eead4012b35ef27f0f http://autobuild.buildroot.net/results/5bf/5bfb3fd9fe61bef5f998dc5999ce2060c334662c http://autobuild.buildroot.net/results/dc6/dc607c35471ef6dda04e06ad05ae7794615af578 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/xbmc: add missing dependency on libtheoraYann E. MORIN2014-05-121-0/+4
| | | | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Cc: Bernd Kuhls <berndkuhls@hotmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libbluray: needs dynamic library supportThomas Petazzoni2014-05-121-0/+4
| | | | | | | | | | | | | | The dependency is propagated to XBMC, even though XBMC currently requires an (e)glibc toolchain, which always have dynamic library support. This is just in case one day XBMC can be built against uClibc. Fixes: http://autobuild.buildroot.org/results/3fa/3fae35ebcf14d6f38284d8318f61f9b99998794c/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* xbmc: Fix compile error with missing host-gettextBernd Kuhls2014-04-171-1/+1
| | | | | | | | | | | | | autoreconf -vif lib/cpluff autoreconf: Entering directory `lib/cpluff' autoreconf: running: autopoint --force Can't exec "autopoint": No such file or directory at /home/buildroot/output/host/usr/share/autoconf/Autom4te/FileUtils.pm line 345. autoreconf: failed to run autopoint: No such file or directory autoreconf: autopoint is needed because this package uses Gettext make[1]: *** [lib/cpluff/configure] Error 1 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* *.mk: replace (TARGET|HOST)_PATH by BR_PATHSamuel Martin2014-04-161-1/+1
| | | | | | | | | | | | Thanks to the 2 previous patches of the series, BR_PATH contains all locations in which host-packages may install programs. This patch replaces the occurrences TARGET_PATH and HOST_PATH with BR_PATH, everywhere these variables are used in the *.mk files. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pacage/xbmc-addon-xvdr: new packageYann E. MORIN2014-04-121-0/+1
| | | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/xbmc-pvr-addons: new packageYann E. MORIN2014-04-121-1/+5
| | | | | | | | [Thomas: fix minor typo in comments "his own files" -> "its own files"] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libegl: rename the _HAS and _PROVIDES variablesYann E. MORIN2014-04-051-2/+2
| | | | | | | | | | | | | | | | | | | The basic rule for a package is to have its options named after the package name. There is no reason this should not also be the case for virtual packages. Besides, this will allow us to switch libegl to use the soon-to-be-introduced virtual-package infrastructure. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Mike Zick <minimod@morethan.org> Cc: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libgles: rename the _HAS and _PROVIDES variablesYann E. MORIN2014-04-051-2/+2
| | | | | | | | | | | | | | | | | | | | The basic rule for a package is to have its options named after the package name. There is no reason this should not also be the case for virtual packages. Besides, this will allow us to switch libgles to use the soon-to-be-introduced virtual-package infrastructure. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Mike Zick <minimod@morethan.org> Cc: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: needs host-gawkRyan Coe2014-04-031-1/+1
| | | | | | | Signed-off-by: Ryan Coe <bluemrp9@gmail.com> Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Fix Java dependency checkMaxime Hadjinlian2014-04-031-1/+1
| | | | | | | | | | | | | | A check for Java has been implemented in dependencies.sh, but during the review, the name of the variable had been changed from: BR2_HOST_NEEDS_JAVA to BR2_NEEDS_HOST_JAVA as it is more accurate. The change was not made in XBMC and as such, you could start the build of XBMC without Java on your system. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Add missing host-infozip dependencyMaxime Hadjinlian2014-04-031-1/+1
| | | | | | | | | | XBMC needs the zip command for the host to build. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/xbmc: add missing dependency to libgles and libeglYann E. MORIN2014-03-301-1/+1
| | | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* xbmc: Add comment for host-sdl_images dependencyMaxime Hadjinlian2014-03-271-0/+4
| | | | | | | | | | | A few people have already asked why XBMC depends on host-sdl_image and host-sdl. Since this is not obvious, this patch add a comments explaining why it's needed. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* xbmc: new packageMaxime Hadjinlian2014-03-276-0/+507
XBMC is an award-winning free and open source (GPL) software media player and entertainment hub for digital media. We do provide a sub-option for each major feature we support, to avoid letting the user hunt-down required libraries, since the dependency is not always obvious and straightforward. We also provide our own wrapper script, because the ones bundled in XBMC are not suitable to all platforms. We need such a wrapper script because XBMC exits with different exit codes, depending on how the user quit XBMC: 0 is normal exit, 64 is for halt, and 66 is for reboot. So we can't simply call the real XBMC binary from the startup script, or we would lose this information. So, we provide a wrapper script that takes appropriate action according to the above exit codes. When run as root from a startup script, there is no HOME set, so XBMC defaults to saving its configuration in /.xbmc (yes, at the root of the rootfs). Since this does not play well with read-only filesystems (and is inherently ugly anyway), and sicne there is no real clean way to tell XBMC where to store its configuration, just provide a symlink to a better place: /.xbmc -> /var/xbmc (note: the only location _guaranteed_ to be writable is /tmp, but we want the configuration to survive a reboot. So, /var/xbmc looks a better place than /var/run/xbmc. and the user will have to take action to ensure /var/xbmc be writable.) (note: for this reason, we do not want to set $HOME to /root either, even if it is root running XBMC.) Some of XBMC sub-options select libraries that depend on toolchain options, such as IPv6. But those are already covered, being also implicit dependencies of XBMC, as XBMC can only be used on an (e)glibc toolchain anyway. When^WIf XBMC is one day buildable under uClibc/musl, this will be time to revisit those dependencies. 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> Cc: Martin Bark <martin@barkynet.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud