Skip to contentSkip to conversation

XBMC: add some PVR addons (branch yem/xbmc)

PATCH New Yann E. MORIN 2 participants 4 messages Apr 5, 2014 – Apr 12, 2014

lore
Share & tools
lore
#0 lore raw

v2 cover XBMC: add some PVR addons (branch yem/xbmc)

From: "Yann E. MORIN" <[email protected]>

Hello All!

As a complement to our shinny new XBMC package, here are the PVR addons packaged, too.

And they drank, ate, danced the night-long.
And all rejoiced, and there was felicity.

Changes v1 -> v2:
- fix typoes (Maxime)
- add pointer to patch applied upstream (Maxime)

Regards,
Yann E. MORIN.

The following changes since commit 455a354c960f686c2ae9654ae0112fdc31bec686:

virtual-package: fake a version string for virtual packages (2014-04-05 19:21:15 +0200)

are available in the git repository at:

git://gitorious.org/buildroot/buildroot.git yem/xbmc

for you to fetch changes up to 8ae0abc237b2226c537597eeea513d1808472472:

pacage/xbmc-addon-xvdr: new package (2014-04-05 19:30:56 +0200)

----------------------------------------------------------------
Yann E. MORIN (2):
package/xbmc-pvr-addons: new package
pacage/xbmc-addon-xvdr: new package

 package/xbmc-addon-xvdr/Config.in                  | 14 +++++++++
 .../xbmc-addon-xvdr-0001-foreign-automake.patch    | 28 ++++++++++++++++++
 package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk         | 25 ++++++++++++++++
 package/xbmc-pvr-addons/Config.in                  |  6 ++++
 package/xbmc-pvr-addons/xbmc-pvr-addons.mk         | 34 ++++++++++++++++++++++
 package/xbmc/Config.in                             |  7 ++++-
 6 files changed, 113 insertions(+), 1 deletion(-)
 create mode 100644 package/xbmc-addon-xvdr/Config.in
 create mode 100644 package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch
 create mode 100644 package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk
 create mode 100644 package/xbmc-pvr-addons/Config.in
 create mode 100644 package/xbmc-pvr-addons/xbmc-pvr-addons.mk
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#1 lore raw

PATCH v2 1/2 package/xbmc-pvr-addons: new package

From: "Yann E. MORIN" <[email protected]>

Cc Maxime Hadjinlian <[email protected]>
---
 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
package/xbmc-pvr-addons/Config.in new file +6 -0
new file mode 100644
index 0000000..27f20e3
@@ -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
package/xbmc-pvr-addons/xbmc-pvr-addons.mk new file +34 -0
new file mode 100644
index 0000000..8692860
@@ -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 his 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))
package/xbmc/Config.in +5 -1
index 70faaab..ef9f8bd 100644
@@ -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
Signature · 1 line
1.8.3.2
#2 lore raw

PATCH v2 2/2 pacage/xbmc-addon-xvdr: new package

In reply to Yann E. MORIN

From: "Yann E. MORIN" <[email protected]>

Cc Maxime Hadjinlian <[email protected]>
---
 package/xbmc-addon-xvdr/Config.in                  | 14 +++++++++++
 .../xbmc-addon-xvdr-0001-foreign-automake.patch    | 28 ++++++++++++++++++++++
 package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk         | 25 +++++++++++++++++++
 package/xbmc/Config.in                             |  1 +
 4 files changed, 68 insertions(+)
 create mode 100644 package/xbmc-addon-xvdr/Config.in
 create mode 100644 package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch
 create mode 100644 package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk
package/xbmc-addon-xvdr/Config.in new file +14 -0
new file mode 100644
index 0000000..7329a9a
@@ -0,0 +1,14 @@
+config BR2_PACKAGE_XBMC_ADDON_XVDR
+	bool "xbmc-addon-xvdr"
+	help
+	  This is a PVR add-on for XBMC to add VDR (http://tvdr.de/)
+	  as a TV/PVR Backend to XBMC.
+
+	  It adds support for Live TV watching, replaying of Recordings,
+	  programming Timers and EPG TV Guide to use on same computer or
+	  over the Network.
+
+	  https://github.com/pipelka/xbmc-addon-xvdr
+
+	  Note: since the VDR server is not packaged in Buildroot, using
+	  this addon requires that a remote VDR server be used.
package/xbmc-addon-xvdr/xbmc-addon-xvdr-0001-foreign-automake.patch new file +28 -0
new file mode 100644
index 0000000..0f49dcf
@@ -0,0 +1,28 @@
+commit 846b0b5a8b559f94dffadf5b2f95ca845b6ba9f1
+Author: Yann E. MORIN <[email protected]>
+Date:   Wed Mar 26 07:45:58 2014 +0100
+
+    configure: set the foreign flag
+    
+    This is required since we do not bundle the necessary files (NEWS,
+    INSTALL et al.) Setting it in configure.in is needed to be able
+    to run autoreconf (in lieu of the weird autogen.sh)
+    
+    Signed-off-by: "Yann E. MORIN" <[email protected]>
+
+Patch accepted upstream in master:
+    https://github.com/pipelka/xbmc-addon-xvdr/commit/84e5860f488e67a3a3386c779f9a56adeb3dc220
+
+diff --git a/configure.in b/configure.in
+index 6e692e1..7be0d18 100755
+--- a/configure.in
++++ b/configure.in
+@@ -12,7 +12,7 @@ AC_CANONICAL_HOST
+ AC_CANONICAL_TARGET
+ 
+ dnl Setup for automake
+-AM_INIT_AUTOMAKE
++AM_INIT_AUTOMAKE([foreign])
+ 
+ dnl Check for tools
+ 
package/xbmc-addon-xvdr/xbmc-addon-xvdr.mk new file +25 -0
new file mode 100644
index 0000000..28c90f7
@@ -0,0 +1,25 @@
+################################################################################
+#
+# xbmc-addon-xvdr
+#
+################################################################################
+
+# This cset is on the branch 'xbmc-frodo'
+# When XBMC is updated, then this should be updated to the corresponding branch
+XBMC_ADDON_XVDR_VERSION = acd4e145fc3220cf708aaf40d895904732dce2c7
+XBMC_ADDON_XVDR_SITE = $(call github,pipelka,xbmc-addon-xvdr,$(XBMC_ADDON_XVDR_VERSION))
+XBMC_ADDON_XVDR_LICENSE = GPLv2+
+XBMC_ADDON_XVDR_LICENSE_FILES = COPYING
+
+# There's no ./configure in the git tree, we need to generate it
+# xbmc-addon-xvdr uses a weird autogen.sh script, which
+# is even incorrect (it's missing the #! ) Sigh... :-(
+# Fortunately, with our little patch, it autoreconfs nicely! :-)
+XBMC_ADDON_XVDR_AUTORECONF = YES
+
+# 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 his own files
+XBMC_ADDON_XVDR_DEPENDENCIES = xbmc
+
+$(eval $(autotools-package))
package/xbmc/Config.in +1 -0
index ef9f8bd..ed8872b 100644
@@ -160,6 +160,7 @@ config BR2_PACKAGE_XBMC_WAVPACK
 
 comment "XBMC addons"
 
+source "package/xbmc-addon-xvdr/Config.in"
 source "package/xbmc-pvr-addons/Config.in"
 
 endif # BR2_PACKAGE_XBMC
Signature · 1 line
1.8.3.2
#3 lore raw

v2 cover XBMC: add some PVR addons (branch yem/xbmc)

In reply to Yann E. MORIN

Dear Yann E. MORIN,

Quoted 3 lines · Yann E. MORIN

Yann E. MORIN (2):
package/xbmc-pvr-addons: new package
pacage/xbmc-addon-xvdr: new package

Both applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com