Hi,
how to enable support for pvr addons? I've tried, couldn't make it work yet.
Attached is a non-working patch, based on ubuntus 12.1 packages.
$ grep -i "PVR add-ons" xbmc_12.0~git20130127.fb595f2-1~bpo70+3_i386.build
PVR add-ons: No
I'd welcome a working patch! Or an experimental upload too! ;-) :-)
cheers,
Holger
diff -Nru xbmc-12.0~git20130127.fb595f2/debian/changelog xbmc-12.0~git20130127.fb595f2/debian/changelog
--- xbmc-12.0~git20130127.fb595f2/debian/changelog 2013-01-30 02:16:52.000000000 +0100
+++ xbmc-12.0~git20130127.fb595f2/debian/changelog 2013-04-28 17:37:55.000000000 +0200
@@ -1,3 +1,14 @@
+xbmc (2:12.0~git20130127.fb595f2-1~bpo70+3) wheezy-backports; urgency=low
+
+ * Rebuild for wheezy-backports.
+ * Add debian/patches/pvraddons-with-dependencies.patch to add
+ --enable-pvraddons-with-dependencies switch to configure for intree
+ building of PVR Addons. Taken from Ubuntu raring, thanks. Enable this
+ option in debian/rules too.
+ * debian/rules: configure: drop --disable-external-libraries
+
+ -- Holger Levsen <[email protected]> Sun, 28 Apr 2013 15:13:05 +0000
+
xbmc (2:12.0~git20130127.fb595f2-1) experimental; urgency=low
* New upload for XBMC 12.0 Frodo.
diff -Nru xbmc-12.0~git20130127.fb595f2/debian/patches/pvraddons-with-dependencies.patch xbmc-12.0~git20130127.fb595f2/debian/patches/pvraddons-with-dependencies.patch
--- xbmc-12.0~git20130127.fb595f2/debian/patches/pvraddons-with-dependencies.patch 1970-01-01 01:00:00.000000000 +0100
+++ xbmc-12.0~git20130127.fb595f2/debian/patches/pvraddons-with-dependencies.patch 2013-04-28 14:29:45.000000000 +0200
@@ -0,0 +1,44 @@
+From 3eb985a5b256958370d8d5cb4864e31a0458b05f Mon Sep 17 00:00:00 2001
+From: wsnipex <[email protected]>
+Date: Sun, 4 Nov 2012 14:05:52 +0100
+Subject: [PATCH] configure: add --enable-pvraddons-with-dependencies switch
+ for intree building of PVR Addons
+
+---
+ configure.in | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+--- a/configure.in
++++ b/configure.in
+@@ -521,6 +521,14 @@
+ [use_external_ffmpeg=$use_external_libraries])
+
+ ### End of external library options
++### PVR addons specific
++AC_ARG_ENABLE([pvraddons-with-dependencies],
++ [AS_HELP_STRING([--enable-pvraddons-with-dependencies],
++ [enable build of pvr addons with dependencies (default is no) 'Linux only'])],
++ [use_pvraddons_with_deps=$enableval],
++ [use_pvraddons_with_deps=no])
++
++### End PVR addons specific
+
+ if test "x$host_vendor" != "xapple"; then
+ DEFAULT_COMPILE_FLAGS="-fPIC -DPIC -D_REENTRANT"
+@@ -2770,12 +2778,16 @@
+ if test "$USE_EXTERNAL_FFMPEG" = 1; then
+ PVR_EXT_FFMPEG="--enable-external-ffmpeg"
+ fi
++ if test "$use_pvraddons_with_deps" = "yes"; then
++ ADDONS_WITH_DEPS="--enable-addons-with-dependencies"
++ fi
+ ./configure \
+ --prefix="${prefix}" \
+ --host=$host_alias \
+ --build=$build_alias \
+ --target=$target_alias \
+ $PVR_EXT_FFMPEG \
++ $ADDONS_WITH_DEPS \
+ CC="$CC" \
+ CXX="$CXX" \
+ CFLAGS="$CFLAGS" \
diff -Nru xbmc-12.0~git20130127.fb595f2/debian/patches/series xbmc-12.0~git20130127.fb595f2/debian/patches/series
--- xbmc-12.0~git20130127.fb595f2/debian/patches/series 1970-01-01 01:00:00.000000000 +0100
+++ xbmc-12.0~git20130127.fb595f2/debian/patches/series 2013-04-28 14:30:12.000000000 +0200
@@ -0,0 +1 @@
+pvraddons-with-dependencies.patch
diff -Nru xbmc-12.0~git20130127.fb595f2/debian/rules xbmc-12.0~git20130127.fb595f2/debian/rules
--- xbmc-12.0~git20130127.fb595f2/debian/rules 2013-01-30 02:13:05.000000000 +0100
+++ xbmc-12.0~git20130127.fb595f2/debian/rules 2013-04-28 17:37:43.000000000 +0200
@@ -75,10 +75,10 @@
--enable-nfs \
--enable-libcec \
--disable-afpclient \
- --enable-airtunes \
- --disable-external-libraries \
--disable-dvdcss \
--disable-non-free \
+ --enable-airtunes \
+ --enable-pvraddons-with-dependencies \
$(ARCH_SPECIFIC_OPTIONS) \
$(XBMC_CONFIG_EXTRA_OPTIONS) \
$(ENV_OPTIONS)
@@ -98,7 +98,8 @@
find . -name config.status -o -name config.cache -o -name config.log \
-exec rm -f "{}" \;
-override_dh_auto_configure: configure
+override_dh_auto_configure:
+ ./bootstrap
./configure $(XBMC_CONFIG_OPTIONS)
override_dh_auto_install: