From b6fd76346791e1bdb7321b7fc43f59e98ef5707a Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 5 Apr 2014 19:33:08 +0200 Subject: [PATCH] package/xbmc-pvr-addons: new package [Thomas: fix minor typo in comments "his own files" -> "its own files"] Signed-off-by: "Yann E. MORIN" Cc: Maxime Hadjinlian Signed-off-by: Thomas Petazzoni --- package/xbmc-pvr-addons/Config.in | 6 ++++ package/xbmc-pvr-addons/xbmc-pvr-addons.mk | 34 ++++++++++++++++++++++ package/xbmc/Config.in | 6 +++- 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 package/xbmc-pvr-addons/Config.in create mode 100644 package/xbmc-pvr-addons/xbmc-pvr-addons.mk diff --git a/package/xbmc-pvr-addons/Config.in b/package/xbmc-pvr-addons/Config.in new file mode 100644 index 0000000000..27f20e3190 --- /dev/null +++ b/package/xbmc-pvr-addons/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_XBMC_PVR_ADDONS + bool "xbmc-pvr-addons" + help + A collection of PVR backend addons for XBMC. + + https://github.com/opdenkamp/xbmc-pvr-addons diff --git a/package/xbmc-pvr-addons/xbmc-pvr-addons.mk b/package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file mode 100644 index 0000000000..b6d061b27c --- /dev/null +++ b/package/xbmc-pvr-addons/xbmc-pvr-addons.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# xbmc-pvr-addons +# +################################################################################ + +# This cset is on the branch 'frodo' +# When XBMC is updated, then this should be updated to the corresponding branch +XBMC_PVR_ADDONS_VERSION = 319351af7f3b546a5a56cdf6492f6ba1aec1cd2f +XBMC_PVR_ADDONS_SITE = $(call github,opdenkamp,xbmc-pvr-addons,$(XBMC_PVR_ADDONS_VERSION)) +XBMC_PVR_ADDONS_LICENSE = GPLv3+ +XBMC_PVR_ADDONS_LICENSE_FILES = COPYING + +# There's no ./configure in the git tree, we need to generate it +XBMC_PVR_ADDONS_AUTORECONF = YES + +XBMC_PVR_ADDONS_DEPENDENCIES = boost zlib +# This really is a runtime dependency, but we need XBMC to be installed +# first, since we'll install files in XBMC's directories _after_ XBMC has +# installed its own files +XBMC_PVR_ADDONS_DEPENDENCIES += xbmc + +XBMC_PVR_ADDONS_CONF_OPT = \ + --enable-release \ + --enable-addons-with-dependencies + +ifeq ($(BR2_PACKAGE_MYSQL),y) +XBMC_PVR_ADDONS_CONF_OPT += --enable-mysql +XBMC_PVR_ADDONS_DEPENDENCIES += mysql +else +XBMC_PVR_ADDONS_CONF_OPT += --disable-mysql +endif + +$(eval $(autotools-package)) diff --git a/package/xbmc/Config.in b/package/xbmc/Config.in index 70faaab2f0..ef9f8bdfde 100644 --- a/package/xbmc/Config.in +++ b/package/xbmc/Config.in @@ -158,4 +158,8 @@ config BR2_PACKAGE_XBMC_WAVPACK Enable WAV input support. Select this if you want to play back WV files. -endif +comment "XBMC addons" + +source "package/xbmc-pvr-addons/Config.in" + +endif # BR2_PACKAGE_XBMC -- 2.30.2