diff --git a/packages/mediacenter/service.openelec.settings/meta b/packages/mediacenter/service.openelec.settings/meta index 9a8e1514f5..fde639d454 100644 --- a/packages/mediacenter/service.openelec.settings/meta +++ b/packages/mediacenter/service.openelec.settings/meta @@ -19,7 +19,7 @@ ################################################################################ PKG_NAME="service.openelec.settings" -PKG_VERSION="0.2.11" +PKG_VERSION="0.2.12" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="prop." diff --git a/packages/mediacenter/xbmc-pvr-addons/build b/packages/mediacenter/xbmc-pvr-addons/build deleted file mode 100755 index afa47dbec4..0000000000 --- a/packages/mediacenter/xbmc-pvr-addons/build +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -if [ "$MYSQL_SUPPORT" = yes ]; then - PVRADDONS_MYSQL="--enable-mysql" -else - PVRADDONS_MYSQL="--disable-mysql" -fi - -cd $PKG_BUILD - -./configure --host=$TARGET_NAME \ - --build=$HOST_NAME \ - --prefix=/usr/share/xbmc \ - --disable-static \ - --enable-addons-with-dependencies \ - $PVRADDONS_MYSQL \ - --enable-shared - -make diff --git a/packages/mediacenter/xbmc-pvr-addons/install b/packages/mediacenter/xbmc-pvr-addons/install deleted file mode 100755 index 0432be7535..0000000000 --- a/packages/mediacenter/xbmc-pvr-addons/install +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -################################################################################ -# This file is part of OpenELEC - http://www.openelec.tv -# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) -# -# This Program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. -# -# This Program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with OpenELEC.tv; see the file COPYING. If not, write to -# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. -# http://www.gnu.org/copyleft/gpl.html -################################################################################ - -. config/options $1 - -for addon in `find $PKG_BUILD/addons/ -name *.pvr`;do - ADDON=$(basename $(dirname $addon)) - mkdir -p $INSTALL/usr/share/xbmc/addons/$ADDON - cp -PRf $PKG_BUILD/addons/$ADDON/addon/* $INSTALL/usr/share/xbmc/addons/$ADDON - - mkdir -p $INSTALL/usr/lib/xbmc/addons/$ADDON - cp -Pf $PKG_BUILD/addons/$ADDON/*.pvr $INSTALL/usr/lib/xbmc/addons/$ADDON -done diff --git a/packages/mediacenter/xbmc-pvr-addons/meta b/packages/mediacenter/xbmc-pvr-addons/package.mk similarity index 86% rename from packages/mediacenter/xbmc-pvr-addons/meta rename to packages/mediacenter/xbmc-pvr-addons/package.mk index 0f684d9b2e..8cb5f5b5b4 100644 --- a/packages/mediacenter/xbmc-pvr-addons/meta +++ b/packages/mediacenter/xbmc-pvr-addons/package.mk @@ -19,9 +19,9 @@ ################################################################################ PKG_NAME="xbmc-pvr-addons" -PKG_VERSION="frodo-78b0aae" +PKG_VERSION="frodo-910d7e7" if [ "$XBMC" = "master" ]; then - PKG_VERSION="b84a88f" + PKG_VERSION="18597fd" fi PKG_REV="1" PKG_ARCH="any" @@ -29,7 +29,7 @@ PKG_LICENSE="GPL" PKG_SITE="https://github.com/opdenkamp/xbmc-pvr-addons" PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz" PKG_DEPENDS="curl" -PKG_BUILD_DEPENDS="toolchain curl" +PKG_BUILD_DEPENDS_TARGET="toolchain curl" PKG_PRIORITY="optional" PKG_SECTION="mediacenter" PKG_SHORTDESC="Various PVR addons for XBMC" @@ -40,4 +40,9 @@ PKG_AUTORECONF="yes" if [ "$MYSQL_SUPPORT" = yes ]; then PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS mysql" PKG_DEPENDS="$PKG_DEPENDS mysql" + PVRADDONS_MYSQL="--enable-mysql" +else + PVRADDONS_MYSQL="--disable-mysql" fi + +PKG_CONFIGURE_OPTS_TARGET="--enable-addons-with-dependencies $PVRADDONS_MYSQL" diff --git a/packages/mediacenter/xbmc-pvr-addons/patches/frodo-78b0aae/xbmc-pvr-addons-frodo-01-PR200.patch b/packages/mediacenter/xbmc-pvr-addons/patches/frodo-78b0aae/xbmc-pvr-addons-frodo-01-PR200.patch deleted file mode 100644 index 97bd56c995..0000000000 Binary files a/packages/mediacenter/xbmc-pvr-addons/patches/frodo-78b0aae/xbmc-pvr-addons-frodo-01-PR200.patch and /dev/null differ diff --git a/packages/mediacenter/xbmc-pvr-addons/patches/frodo-78b0aae/xbmc-pvr-addons-frodo-02-PR200-update.patch b/packages/mediacenter/xbmc-pvr-addons/patches/frodo-78b0aae/xbmc-pvr-addons-frodo-02-PR200-update.patch deleted file mode 100644 index f74cbb0ebc..0000000000 --- a/packages/mediacenter/xbmc-pvr-addons/patches/frodo-78b0aae/xbmc-pvr-addons-frodo-02-PR200-update.patch +++ /dev/null @@ -1,345 +0,0 @@ -commit f014d5dcc803d705355148efe2ec720217880d0a -Author: Stefan Saraev -Date: Mon Jul 1 19:57:33 2013 +0300 - - backport latest changes - - added latest changes up to https://github.com/afedchin/xbmc-addon-iptvsimple/commit/a716cdc3cdf44 - - all credit goes to Anton Fedchin - -diff --git a/addons/pvr.iptvsimple/addon/addon.xml.in b/addons/pvr.iptvsimple/addon/addon.xml.in -index 185c3ab..d4692f8 100644 ---- a/addons/pvr.iptvsimple/addon/addon.xml.in -+++ b/addons/pvr.iptvsimple/addon/addon.xml.in -@@ -6,7 +6,7 @@ - provider-name="nightik"> - - -- -+ - - - -- -- -- -- -+ -+ -+ -+ -+ -+ -+ -+ - -- -- -- -- -- -- --> -- -+ -+ -+ -+ -+ -+ -+ -+ --> -+ -+ - -- -- -+ -+ -+ -+ -+ - -diff --git a/addons/pvr.iptvsimple/src/PVRIptvData.cpp b/addons/pvr.iptvsimple/src/PVRIptvData.cpp -index 4ca5265..24e3cee 100644 ---- a/addons/pvr.iptvsimple/src/PVRIptvData.cpp -+++ b/addons/pvr.iptvsimple/src/PVRIptvData.cpp -@@ -155,16 +155,20 @@ bool PVRIptvData::LoadEPG(time_t iStart, time_t iEnd) - if (buffer[0] != '\x3C' || buffer[1] != '\x3F' || buffer[2] != '\x78' || - buffer[3] != '\x6D' || buffer[4] != '\x6C') - { -- // check for tar archive -- if (strcmp(buffer + 0x101, "ustar") || strcmp(buffer + 0x101, "GNUtar")) -+ // check for BOM -+ if (buffer[0] != '\xEF' || buffer[1] != '\xBB' || buffer[2] != '\xBF') - { -- buffer += 0x200; // RECORDSIZE = 512 -- } -- else -- { -- XBMC->Log(LOG_ERROR, "Invalid EPG file '%s': unable to decompress file.", m_strXMLTVUrl.c_str()); -- m_bEGPLoaded = true; -- return false; -+ // check for tar archive -+ if (strcmp(buffer + 0x101, "ustar") || strcmp(buffer + 0x101, "GNUtar")) -+ { -+ buffer += 0x200; // RECORDSIZE = 512 -+ } -+ else -+ { -+ XBMC->Log(LOG_ERROR, "Invalid EPG file '%s': unable to parse file.", m_strXMLTVUrl.c_str()); -+ m_bEGPLoaded = true; -+ return false; -+ } - } - } - -@@ -321,10 +325,10 @@ bool PVRIptvData::LoadPlayList(void) - /* load channels */ - bool bFirst = true; - -- int iUniqueChannelId = 0; -+ int iChannelIndex = 0; - int iUniqueGroupId = 0; - int iCurrentGroupId = 0; -- int iChannelNum = 0; -+ int iChannelNum = g_iStartNumber; - int iEPGTimeShift = 0; - - PVRIptvChannel tmpChannel; -@@ -446,8 +450,8 @@ bool PVRIptvData::LoadPlayList(void) - else if (strLine[0] != '#') - { - PVRIptvChannel channel; -- channel.iUniqueId = ++iUniqueChannelId; -- channel.iChannelNumber = ++iChannelNum; -+ channel.iUniqueId = GetChannelId(tmpChannel.strChannelName.c_str(), strLine); -+ channel.iChannelNumber = iChannelNum++; - channel.strTvgId = tmpChannel.strTvgId; - channel.strChannelName = tmpChannel.strChannelName; - channel.strTvgName = tmpChannel.strTvgName; -@@ -460,10 +464,11 @@ bool PVRIptvData::LoadPlayList(void) - if (iCurrentGroupId > 0) - { - channel.bRadio = m_groups.at(iCurrentGroupId - 1).bRadio; -- m_groups.at(iCurrentGroupId - 1).members.push_back(channel.iChannelNumber); -+ m_groups.at(iCurrentGroupId - 1).members.push_back(iChannelIndex); - } - - m_channels.push_back(channel); -+ iChannelIndex++; - - tmpChannel.strTvgId = ""; - tmpChannel.strChannelName = ""; -@@ -568,26 +573,24 @@ PVR_ERROR PVRIptvData::GetChannelGroups(ADDON_HANDLE handle, bool bRadio) - - PVR_ERROR PVRIptvData::GetChannelGroupMembers(ADDON_HANDLE handle, const PVR_CHANNEL_GROUP &group) - { -- for (unsigned int iGroupPtr = 0; iGroupPtr < m_groups.size(); iGroupPtr++) -+ PVRIptvChannelGroup *myGroup; -+ if ((myGroup = FindGroup(group.strGroupName)) != NULL) - { -- PVRIptvChannelGroup &myGroup = m_groups.at(iGroupPtr); -- if (!strcmp(myGroup.strGroupName.c_str(),group.strGroupName)) -+ for (unsigned int iPtr = 0; iPtr < myGroup->members.size(); iPtr++) - { -- for (unsigned int iChannelPtr = 0; iChannelPtr < myGroup.members.size(); iChannelPtr++) -- { -- int iId = myGroup.members.at(iChannelPtr) - 1; -- if (iId < 0 || iId > (int)m_channels.size() - 1) -- continue; -- PVRIptvChannel &channel = m_channels.at(iId); -- PVR_CHANNEL_GROUP_MEMBER xbmcGroupMember; -- memset(&xbmcGroupMember, 0, sizeof(PVR_CHANNEL_GROUP_MEMBER)); -- -- strncpy(xbmcGroupMember.strGroupName, group.strGroupName, sizeof(xbmcGroupMember.strGroupName) - 1); -- xbmcGroupMember.iChannelUniqueId = channel.iUniqueId; -- xbmcGroupMember.iChannelNumber = channel.iChannelNumber; -- -- PVR->TransferChannelGroupMember(handle, &xbmcGroupMember); -- } -+ int iIndex = myGroup->members.at(iPtr); -+ if (iIndex < 0 || iIndex >= (int) m_channels.size()) -+ continue; -+ -+ PVRIptvChannel &channel = m_channels.at(iIndex); -+ PVR_CHANNEL_GROUP_MEMBER xbmcGroupMember; -+ memset(&xbmcGroupMember, 0, sizeof(PVR_CHANNEL_GROUP_MEMBER)); -+ -+ strncpy(xbmcGroupMember.strGroupName, group.strGroupName, sizeof(xbmcGroupMember.strGroupName) - 1); -+ xbmcGroupMember.iChannelUniqueId = channel.iUniqueId; -+ xbmcGroupMember.iChannelNumber = channel.iChannelNumber; -+ -+ PVR->TransferChannelGroupMember(handle, &xbmcGroupMember); - } - } - -@@ -891,9 +894,7 @@ int PVRIptvData::GetCachedFileContents(const std::string &strCachedName, const s - void PVRIptvData::ApplyChannelsLogos() - { - if (m_strLogoPath.IsEmpty()) -- { - return; -- } - - vector::iterator channel; - for(channel = m_channels.begin(); channel < m_channels.end(); channel++) -@@ -975,3 +976,17 @@ CStdString PVRIptvData::ReadMarkerValue(std::string &strLine, const char* strMar - - return std::string(""); - } -+ -+int PVRIptvData::GetChannelId(const char * strChannelName, const char * strStreamUrl) -+{ -+ std::string concat(strChannelName); -+ concat.append(strStreamUrl); -+ -+ const char* strString = concat.c_str(); -+ int iId = 0; -+ int c; -+ while (c = *strString++) -+ iId = ((iId << 5) + iId) + c; /* iId * 33 + c */ -+ -+ return abs(iId); -+} -\ No newline at end of file -diff --git a/addons/pvr.iptvsimple/src/PVRIptvData.h b/addons/pvr.iptvsimple/src/PVRIptvData.h -index 944a734..c49b0cc 100644 ---- a/addons/pvr.iptvsimple/src/PVRIptvData.h -+++ b/addons/pvr.iptvsimple/src/PVRIptvData.h -@@ -103,6 +103,7 @@ protected: - virtual int GetCachedFileContents(const std::string &strCachedName, const std::string &strFilePath, std::string &strContent); - virtual void ApplyChannelsLogos(); - virtual CStdString ReadMarkerValue(std::string &strLine, const char * strMarkerName); -+ virtual int GetChannelId(const char * strChannelName, const char * strStreamUrl); - - protected: - virtual void *Process(void); -diff --git a/addons/pvr.iptvsimple/src/client.cpp b/addons/pvr.iptvsimple/src/client.cpp -index b80f483..b8c55b4 100644 ---- a/addons/pvr.iptvsimple/src/client.cpp -+++ b/addons/pvr.iptvsimple/src/client.cpp -@@ -54,6 +54,7 @@ std::string g_strTvgPath = ""; - std::string g_strM3UPath = ""; - std::string g_strLogoPath = ""; - int g_iEPGTimeShift = 0; -+int g_iStartNumber = 1; - bool g_bTSOverride = true; - - extern std::string PathCombine(const std::string &strPath, const std::string &strFileName) -@@ -102,7 +103,10 @@ void ADDON_ReadSettings(void) - { - g_strM3UPath = GetClientFilePath(M3U_FILE_NAME); - } -- -+ if (!XBMC->GetSetting("startNum", &g_iStartNumber)) -+ { -+ g_iStartNumber = 1; -+ } - if (!XBMC->GetSetting("epgPathType", &iPathType)) - { - iPathType = 1; -diff --git a/addons/pvr.iptvsimple/src/client.h b/addons/pvr.iptvsimple/src/client.h -index bc81eeb..89500f1 100644 ---- a/addons/pvr.iptvsimple/src/client.h -+++ b/addons/pvr.iptvsimple/src/client.h -@@ -27,7 +27,7 @@ - #include "libXBMC_pvr.h" - #include "libXBMC_gui.h" - --#define PVR_CLIENT_VERSION "0.1.3" -+#define PVR_CLIENT_VERSION "1.8.1" - #define M3U_FILE_NAME "iptv.m3u.cache" - #define TVG_FILE_NAME "xmltv.xml.cache" - -@@ -47,6 +47,7 @@ extern std::string g_strM3UPath; - extern std::string g_strTvgPath; - extern std::string g_strLogoPath; - extern int g_iEPGTimeShift; -+extern int g_iStartNumber; - extern bool g_bTSOverride; - - extern std::string PathCombine(const std::string &strPath, const std::string &strFileName); diff --git a/packages/mediacenter/xbmc-pvr-addons/patches/xbmc-pvr-addons-buildfix.patch b/packages/mediacenter/xbmc-pvr-addons/patches/xbmc-pvr-addons-buildfix.patch new file mode 100644 index 0000000000..3fbc6daea6 --- /dev/null +++ b/packages/mediacenter/xbmc-pvr-addons/patches/xbmc-pvr-addons-buildfix.patch @@ -0,0 +1,147 @@ +diff -Naur xbmc-pvr-addons-frodo-910d7e7/addons/pvr.argustv/Makefile.am xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.argustv/Makefile.am +--- xbmc-pvr-addons-frodo-910d7e7/addons/pvr.argustv/Makefile.am 2013-09-09 01:56:00.000000000 +0200 ++++ xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.argustv/Makefile.am 2013-09-09 03:48:49.756563520 +0200 +@@ -10,11 +10,11 @@ + LIBNAME = libargustv-addon + lib_LTLIBRARIES = libargustv-addon.la + +-LIBS = @abs_top_srcdir@/lib/jsoncpp/libjsoncpp.la ++LIBS = @abs_top_builddir@/lib/jsoncpp/libjsoncpp.la + + include ../Makefile.include.am + +-INCLUDES+=-Isrc -Isrc/lib/filesystem -I@abs_top_srcdir@/lib/jsoncpp/include ++INCLUDES+=-I$(srcdir)/src -I$(srcdir)/src/lib/filesystem -I@abs_top_srcdir@/lib/jsoncpp/include + + libargustv_addon_la_SOURCES = src/activerecording.cpp \ + src/channel.cpp \ +diff -Naur xbmc-pvr-addons-frodo-910d7e7/addons/pvr.demo/Makefile.am xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.demo/Makefile.am +--- xbmc-pvr-addons-frodo-910d7e7/addons/pvr.demo/Makefile.am 2013-09-09 01:56:00.000000000 +0200 ++++ xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.demo/Makefile.am 2013-09-09 03:34:14.482815303 +0200 +@@ -10,7 +10,7 @@ + LIBNAME = libpvrdemo-addon + lib_LTLIBRARIES = libpvrdemo-addon.la + +-LIBS = @abs_top_srcdir@/lib/tinyxml/libtinyxml.la ++LIBS = @abs_top_builddir@/lib/tinyxml/libtinyxml.la + + include ../Makefile.include.am + +diff -Naur xbmc-pvr-addons-frodo-910d7e7/addons/pvr.hts/Makefile.am xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.hts/Makefile.am +--- xbmc-pvr-addons-frodo-910d7e7/addons/pvr.hts/Makefile.am 2013-09-09 01:56:00.000000000 +0200 ++++ xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.hts/Makefile.am 2013-09-09 03:39:48.924418632 +0200 +@@ -10,7 +10,7 @@ + LIBNAME = libtvheadend-addon + lib_LTLIBRARIES = libtvheadend-addon.la + +-LIBS = @abs_top_srcdir@/lib/libhts/libhts.la -ldl ++LIBS = @abs_top_builddir@/lib/libhts/libhts.la -ldl + + include ../Makefile.include.am + +diff -Naur xbmc-pvr-addons-frodo-910d7e7/addons/pvr.mediaportal.tvserver/Makefile.am xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.mediaportal.tvserver/Makefile.am +--- xbmc-pvr-addons-frodo-910d7e7/addons/pvr.mediaportal.tvserver/Makefile.am 2013-09-09 01:56:00.000000000 +0200 ++++ xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.mediaportal.tvserver/Makefile.am 2013-09-09 03:45:22.546295558 +0200 +@@ -10,11 +10,11 @@ + LIBNAME = libmediaportal-addon + lib_LTLIBRARIES = libmediaportal-addon.la + +-LIBS = @abs_top_srcdir@/lib/tinyxml/libtinyxml.la ++LIBS = @abs_top_builddir@/lib/tinyxml/libtinyxml.la + + include ../Makefile.include.am + +-INCLUDES+=-Isrc ++INCLUDES+=-I$(srcdir)/src + + libmediaportal_addon_la_SOURCES = src/Cards.cpp \ + src/channels.cpp \ +diff -Naur xbmc-pvr-addons-frodo-910d7e7/addons/pvr.mythtv.cmyth/Makefile.am xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.mythtv.cmyth/Makefile.am +--- xbmc-pvr-addons-frodo-910d7e7/addons/pvr.mythtv.cmyth/Makefile.am 2013-09-09 01:56:00.000000000 +0200 ++++ xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.mythtv.cmyth/Makefile.am 2013-09-09 03:41:06.664969675 +0200 +@@ -10,7 +10,7 @@ + LIBNAME = libmythtvcmyth-addon + lib_LTLIBRARIES = libmythtvcmyth-addon.la + +-LIBS = @abs_top_srcdir@/lib/cmyth/libcmyth.la ++LIBS = @abs_top_builddir@/lib/cmyth/libcmyth.la + + AM_CPPFLAGS = -I$(abs_top_srcdir)/lib/cmyth/include + +diff -Naur xbmc-pvr-addons-frodo-910d7e7/addons/pvr.nextpvr/Makefile.am xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.nextpvr/Makefile.am +--- xbmc-pvr-addons-frodo-910d7e7/addons/pvr.nextpvr/Makefile.am 2013-09-09 01:56:00.000000000 +0200 ++++ xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.nextpvr/Makefile.am 2013-09-09 03:49:09.311590467 +0200 +@@ -10,11 +10,11 @@ + LIBNAME = libnextpvr-addon + lib_LTLIBRARIES = libnextpvr-addon.la + +-LIBS = @abs_top_srcdir@/lib/tinyxml/libtinyxml.la ++LIBS = @abs_top_builddir@/lib/tinyxml/libtinyxml.la + + include ../Makefile.include.am + +-INCLUDES+=-Isrc ++INCLUDES+=-I$(srcdir)/src + + libnextpvr_addon_la_SOURCES = src/client.cpp \ + src/pvrclient-nextpvr.cpp \ +diff -Naur xbmc-pvr-addons-frodo-910d7e7/addons/pvr.njoy/Makefile.am xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.njoy/Makefile.am +--- xbmc-pvr-addons-frodo-910d7e7/addons/pvr.njoy/Makefile.am 2013-09-09 01:56:00.000000000 +0200 ++++ xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.njoy/Makefile.am 2013-09-09 03:36:15.792970520 +0200 +@@ -10,7 +10,7 @@ + LIBNAME = libpvrnjoy-addon + lib_LTLIBRARIES = libpvrnjoy-addon.la + +-LIBS = @abs_top_srcdir@/lib/tinyxml/libtinyxml.la ++LIBS = @abs_top_builddir@/lib/tinyxml/libtinyxml.la + + include ../Makefile.include.am + +diff -Naur xbmc-pvr-addons-frodo-910d7e7/addons/pvr.vuplus/Makefile.am xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.vuplus/Makefile.am +--- xbmc-pvr-addons-frodo-910d7e7/addons/pvr.vuplus/Makefile.am 2013-09-09 01:56:00.000000000 +0200 ++++ xbmc-pvr-addons-frodo-910d7e7.patch/addons/pvr.vuplus/Makefile.am 2013-09-09 03:35:22.527902278 +0200 +@@ -10,7 +10,7 @@ + LIBNAME = libvuplus-addon + lib_LTLIBRARIES = libvuplus-addon.la + +-LIBS = @abs_top_srcdir@/lib/tinyxml/libtinyxml.la ++LIBS = @abs_top_builddir@/lib/tinyxml/libtinyxml.la + + include ../Makefile.include.am + +diff -Naur xbmc-pvr-addons-frodo-910d7e7/lib/cmyth/libcmyth/Makefile.am xbmc-pvr-addons-frodo-910d7e7.patch/lib/cmyth/libcmyth/Makefile.am +--- xbmc-pvr-addons-frodo-910d7e7/lib/cmyth/libcmyth/Makefile.am 2013-09-09 01:56:00.000000000 +0200 ++++ xbmc-pvr-addons-frodo-910d7e7.patch/lib/cmyth/libcmyth/Makefile.am 2013-09-09 03:02:37.362378511 +0200 +@@ -25,7 +25,7 @@ + channel.c \ + storagegroup.c + +-INCLUDES=-I../include/ $(MYSQL_INCLUDES) ++INCLUDES=-I$(srcdir)/../include/ $(MYSQL_INCLUDES) + + $(LIB): libcmyth.la + cp -f .libs/libcmyth.a . +diff -Naur xbmc-pvr-addons-frodo-910d7e7/lib/cmyth/librefmem/Makefile.am xbmc-pvr-addons-frodo-910d7e7.patch/lib/cmyth/librefmem/Makefile.am +--- xbmc-pvr-addons-frodo-910d7e7/lib/cmyth/librefmem/Makefile.am 2013-09-09 01:56:00.000000000 +0200 ++++ xbmc-pvr-addons-frodo-910d7e7.patch/lib/cmyth/librefmem/Makefile.am 2013-09-09 02:58:20.664045817 +0200 +@@ -3,7 +3,7 @@ + librefmem_la_SOURCES = alloc.c \ + debug_refmem.c + +-INCLUDES=-I../include/ -I../libcmyth/ ++INCLUDES=-I$(srcdir)/../include/ -I$(srcdir)/../libcmyth/ + + $(LIB): librefmem.la + cp -f .libs/librefmem.a . +diff -Naur xbmc-pvr-addons-frodo-910d7e7/lib/jsoncpp/Makefile.am xbmc-pvr-addons-frodo-910d7e7.patch/lib/jsoncpp/Makefile.am +--- xbmc-pvr-addons-frodo-910d7e7/lib/jsoncpp/Makefile.am 2013-09-09 01:56:00.000000000 +0200 ++++ xbmc-pvr-addons-frodo-910d7e7.patch/lib/jsoncpp/Makefile.am 2013-09-09 02:53:57.575708599 +0200 +@@ -4,7 +4,7 @@ + src/lib_json/json_value.cpp \ + src/lib_json/json_writer.cpp + +-INCLUDES=-Iinclude/ ++INCLUDES=-I$(srcdir)/include/ + + $(LIB): libjsoncpp.la + cp -f .libs/libjsoncpp.a .