[Buildroot] [git commit] package/xbmc-pvr-addons: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Apr 12 16:09:33 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=b6fd76346791e1bdb7321b7fc43f59e98ef5707a
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

[Thomas: fix minor typo in comments "his own files" -> "its own files"]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 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 deletions(-)

diff --git a/package/xbmc-pvr-addons/Config.in b/package/xbmc-pvr-addons/Config.in
new file mode 100644
index 0000000..27f20e3
--- /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 0000000..b6d061b
--- /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 70faaab..ef9f8bd 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


More information about the buildroot mailing list