[xbmc-rebrand] xbmc-addon-xvdr: add patch to fix install location, move install location

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-10-20 04:51:41 +02:00
parent c2abbe9262
commit 5b5a8ebd13
2 changed files with 14 additions and 2 deletions

View File

@ -32,7 +32,7 @@ PKG_LONGDESC="This addon allows XBMC PVR to connect to the VDR server."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--prefix=/usr/share/xbmc"
PKG_CONFIGURE_OPTS_TARGET="--prefix=/usr/share/kodi"
export CXXFLAGS="$CXXFLAGS -DZLIB_INTERNAL=1"
@ -43,6 +43,6 @@ pre_make_target() {
post_makeinstall_target() {
if [ "$DEBUG" != yes ]; then
$STRIP $INSTALL/usr/share/xbmc/addons/pvr.vdr.xvdr/XBMC_VDR_xvdr.pvr
$STRIP $INSTALL/usr/share/kodi/addons/pvr.vdr.xvdr/XBMC_VDR_xvdr.pvr
fi
}

View File

@ -0,0 +1,12 @@
diff -Naur xbmc-addon-xvdr-2bf2563/configure.ac xbmc-addon-xvdr-2bf2563.patch/configure.ac
--- xbmc-addon-xvdr-2bf2563/configure.ac 2014-10-18 22:02:18.000000000 +0200
+++ xbmc-addon-xvdr-2bf2563.patch/configure.ac 2014-10-20 03:03:20.525526996 +0200
@@ -6,7 +6,7 @@
AC_INIT([xbmc-addon-xvdr], [MAJOR.MINOR.MICRO], [alexander.pipelka@gmail.com])
AC_CONFIG_AUX_DIR(autotools)
-AC_PREFIX_DEFAULT(/usr/lib/xbmc)
+AC_PREFIX_DEFAULT(/usr/lib/kodi)
AC_CANONICAL_HOST
AC_CANONICAL_TARGET