package/xbmc-pvr-addons: new package
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 5 Apr 2014 17:33:08 +0000 (19:33 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 12 Apr 2014 16:09:33 +0000 (18:09 +0200)
[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/xbmc-pvr-addons/Config.in [new file with mode: 0644]
package/xbmc-pvr-addons/xbmc-pvr-addons.mk [new file with mode: 0644]
package/xbmc/Config.in

diff --git a/package/xbmc-pvr-addons/Config.in b/package/xbmc-pvr-addons/Config.in
new file mode 100644 (file)
index 0000000..27f20e3
--- /dev/null
@@ -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 (file)
index 0000000..b6d061b
--- /dev/null
@@ -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))
index 70faaab2f0de582d4be34028f474695ee9d4e145..ef9f8bdfde1ed985c6bb49f6f92c368294e61dc0 100644 (file)
@@ -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