From 417c14d649d2bff64ef03245381845096c671ebb Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Wed, 6 Feb 2019 23:56:32 +0000 Subject: kodi-addon-pvr-mythtv: initial inclusion. replaced kodi-addon-pvr-mythtv-git --- abs/extra/kodi-addon-pvr-mythtv-git/PKGBUILD | 64 --- abs/extra/kodi-addon-pvr-mythtv-git/__changelog | 4 - .../kodi-addon-pvr-mythtv-git/p8-platform.patch | 509 --------------------- abs/extra/kodi-addon-pvr-mythtv/PKGBUILD | 41 ++ 4 files changed, 41 insertions(+), 577 deletions(-) delete mode 100644 abs/extra/kodi-addon-pvr-mythtv-git/PKGBUILD delete mode 100644 abs/extra/kodi-addon-pvr-mythtv-git/__changelog delete mode 100644 abs/extra/kodi-addon-pvr-mythtv-git/p8-platform.patch create mode 100644 abs/extra/kodi-addon-pvr-mythtv/PKGBUILD diff --git a/abs/extra/kodi-addon-pvr-mythtv-git/PKGBUILD b/abs/extra/kodi-addon-pvr-mythtv-git/PKGBUILD deleted file mode 100644 index cee5f2d..0000000 --- a/abs/extra/kodi-addon-pvr-mythtv-git/PKGBUILD +++ /dev/null @@ -1,64 +0,0 @@ -# Maintainer: Westin Miller -# Contributor: Michael Lass - -pkgname=kodi-addon-pvr-mythtv-git -pkgver=r543.fd91be1 -pkgrel=1 -API=16 -if [ -z "$API" ]; then - error "No API Version Defined, defaulting to 16. 15 = Isengard, 16 = Jarvis, 99 = git master" -fi -API=${API:-16} - -_branch=$( - case "${API}" in - 15) echo "Isengard";; - 16) echo "Jarvis";; - 99) echo "master";; - *) error "Unknown API version.";; - esac -) -pkgdesc='MythTV PVR client addon for Kodi' -arch=('armv7h' 'i686' 'x86_64') -url="https://github.com/kodi-pvr/pvr.hts" -license=('GPL') -makedepends=('cmake' 'git' 'kodi-platform') -if [ "$API" -eq "99" ]; then - depends=("kodi-git") -else - depends=("kodi>=$API.0" "kodi<$[$API+1].0") -fi -provides=('kodi-addon-pvr-mythtv') -conflicts=('kodi-addon-pvr-mythtv' 'kodi-pvr-addons') -source=("${pkgname}::git+https://github.com/kodi-pvr/pvr.mythtv.git#branch=${_branch}" - 'p8-platform.patch') - -pkgver() { - cd "$pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -build() { - cd kodi-addon-pvr-mythtv-git/ - patch -p1 -i ${srcdir}/p8-platform.patch - cd .. - - echo "API Version $API" - echo "Branch version $_branch" - mkdir -p "$pkgname/build" - cd "$pkgname/build" - - cmake \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=/usr/lib/kodi \ - -DCMAKE_BUILD_TYPE=Release \ - .. - make -} - -package() { - cd "$pkgname/build" - make DESTDIR="$pkgdir" install -} -md5sums=('SKIP' - 'a3cf865a74564f1c07b16c20265174d2') diff --git a/abs/extra/kodi-addon-pvr-mythtv-git/__changelog b/abs/extra/kodi-addon-pvr-mythtv-git/__changelog deleted file mode 100644 index 2094284..0000000 --- a/abs/extra/kodi-addon-pvr-mythtv-git/__changelog +++ /dev/null @@ -1,4 +0,0 @@ -PKGBUILD: - - Add p8-platform.patch - - force API=16 - - change dep kodi-platform-git to kodi-platform diff --git a/abs/extra/kodi-addon-pvr-mythtv-git/p8-platform.patch b/abs/extra/kodi-addon-pvr-mythtv-git/p8-platform.patch deleted file mode 100644 index 87fb73f..0000000 --- a/abs/extra/kodi-addon-pvr-mythtv-git/p8-platform.patch +++ /dev/null @@ -1,509 +0,0 @@ -From 5aaf171deb1e31c7e3df173d109eb114499e5f45 Mon Sep 17 00:00:00 2001 -From: "h.udo" -Date: Wed, 6 Jan 2016 15:08:54 +0000 -Subject: [PATCH 1/2] [src] Update to p8-platform - ---- - src/categories.cpp | 2 +- - src/cppmyth/MythScheduleHelper75.cpp | 2 +- - src/cppmyth/MythScheduleHelperNoHelper.cpp | 10 +++++----- - src/cppmyth/MythScheduleHelperNoHelper.h | 2 +- - src/cppmyth/MythScheduleManager.cpp | 2 +- - src/cppmyth/MythScheduleManager.h | 4 ++-- - src/demux.cpp | 4 ++-- - src/demux.h | 12 ++++++------ - src/demuxer/tsDemuxer.cpp | 26 +++++++++++++------------- - src/demuxer/tsDemuxer.h | 4 ++-- - src/fileOps.cpp | 2 +- - src/fileOps.h | 8 ++++---- - src/filestreaming.cpp | 2 +- - src/pvrclient-mythtv.cpp | 2 +- - src/pvrclient-mythtv.h | 8 ++++---- - src/tools.h | 2 +- - 16 files changed, 46 insertions(+), 46 deletions(-) - -diff --git a/src/categories.cpp b/src/categories.cpp -index 1a10f9c..03d1867 100644 ---- a/src/categories.cpp -+++ b/src/categories.cpp -@@ -22,7 +22,7 @@ - - #include "categories.h" - #include "client.h" --#include -+#include - - #define CATEGORIES_FILENAME "eit_categories.txt" - #define CATEGORIES_MAXLINESIZE 255 -diff --git a/src/cppmyth/MythScheduleHelper75.cpp b/src/cppmyth/MythScheduleHelper75.cpp -index 58f0a87..be8beb9 100644 ---- a/src/cppmyth/MythScheduleHelper75.cpp -+++ b/src/cppmyth/MythScheduleHelper75.cpp -@@ -34,7 +34,7 @@ using namespace ADDON; - - MythTimerTypeList MythScheduleHelper75::GetTimerTypes() const - { -- PLATFORM::CLockObject lock(m_lock); -+ P8PLATFORM::CLockObject lock(m_lock); - if (!m_timerTypeListInit) - { - m_timerTypeListInit = true; -diff --git a/src/cppmyth/MythScheduleHelperNoHelper.cpp b/src/cppmyth/MythScheduleHelperNoHelper.cpp -index 26358fc..751b895 100644 ---- a/src/cppmyth/MythScheduleHelperNoHelper.cpp -+++ b/src/cppmyth/MythScheduleHelperNoHelper.cpp -@@ -40,7 +40,7 @@ MythScheduleHelperNoHelper::MythScheduleHelperNoHelper() - - MythTimerTypeList MythScheduleHelperNoHelper::GetTimerTypes() const - { -- PLATFORM::CLockObject lock(m_lock); -+ P8PLATFORM::CLockObject lock(m_lock); - return m_timerTypeList; - } - -@@ -103,7 +103,7 @@ static inline uint32_t expiration_key(const MythScheduleHelperNoHelper::RuleExpi - - int MythScheduleHelperNoHelper::GetRuleExpirationId(const RuleExpiration& expiration) const - { -- PLATFORM::CLockObject lock(m_lock); -+ P8PLATFORM::CLockObject lock(m_lock); - if (!m_expirationByKeyInit) - { - m_expirationByKeyInit = true; -@@ -119,7 +119,7 @@ int MythScheduleHelperNoHelper::GetRuleExpirationId(const RuleExpiration& expira - - MythScheduleHelperNoHelper::RuleExpiration MythScheduleHelperNoHelper::GetRuleExpiration(int id) const - { -- PLATFORM::CLockObject lock(m_lock); -+ P8PLATFORM::CLockObject lock(m_lock); - static RuleExpiration _empty(false, 0, false); - RuleExpirationMap::const_iterator it = GetRuleExpirationMap().find(id); - if (it != m_expirationMap.end()) -@@ -129,7 +129,7 @@ MythScheduleHelperNoHelper::RuleExpiration MythScheduleHelperNoHelper::GetRuleEx - - int MythScheduleHelperNoHelper::GetRuleRecordingGroupId(const std::string& name) const - { -- PLATFORM::CLockObject lock(m_lock); -+ P8PLATFORM::CLockObject lock(m_lock); - if (!m_recGroupByNameInit) - { - m_recGroupByNameInit = true; -@@ -145,7 +145,7 @@ int MythScheduleHelperNoHelper::GetRuleRecordingGroupId(const std::string& name) - - std::string MythScheduleHelperNoHelper::GetRuleRecordingGroupName(int id) const - { -- PLATFORM::CLockObject lock(m_lock); -+ P8PLATFORM::CLockObject lock(m_lock); - static std::string _empty = ""; - if (!m_recGroupByIdInit) - { -diff --git a/src/cppmyth/MythScheduleHelperNoHelper.h b/src/cppmyth/MythScheduleHelperNoHelper.h -index 686c770..e3ec012 100644 ---- a/src/cppmyth/MythScheduleHelperNoHelper.h -+++ b/src/cppmyth/MythScheduleHelperNoHelper.h -@@ -73,7 +73,7 @@ class MythScheduleHelperNoHelper : public MythScheduleManager::VersionHelper - virtual const MythTimerType::AttributeList& GetRuleExpirationNameList() const; - virtual const MythTimerType::AttributeList& GetRuleRecordingGroupList() const; - -- mutable PLATFORM::CMutex m_lock; -+ mutable P8PLATFORM::CMutex m_lock; - - mutable bool m_timerTypeListInit; - mutable MythTimerTypeList m_timerTypeList; -diff --git a/src/cppmyth/MythScheduleManager.cpp b/src/cppmyth/MythScheduleManager.cpp -index 3381496..7466ac6 100644 ---- a/src/cppmyth/MythScheduleManager.cpp -+++ b/src/cppmyth/MythScheduleManager.cpp -@@ -32,7 +32,7 @@ - #include - - using namespace ADDON; --using namespace PLATFORM; -+using namespace P8PLATFORM; - - enum - { -diff --git a/src/cppmyth/MythScheduleManager.h b/src/cppmyth/MythScheduleManager.h -index 00b0b6b..3106c2d 100644 ---- a/src/cppmyth/MythScheduleManager.h -+++ b/src/cppmyth/MythScheduleManager.h -@@ -26,7 +26,7 @@ - #include "MythChannel.h" - - #include --#include -+#include - - #include - #include -@@ -209,7 +209,7 @@ class MythScheduleManager - static uint32_t MakeIndex(const MythRecordingRule& rule); - - private: -- mutable PLATFORM::CMutex m_lock; -+ mutable P8PLATFORM::CMutex m_lock; - Myth::Control *m_control; - - int m_protoVersion; -diff --git a/src/demux.cpp b/src/demux.cpp -index 452f786..98243fb 100644 ---- a/src/demux.cpp -+++ b/src/demux.cpp -@@ -20,7 +20,7 @@ - * - */ - --#include -+#include - #include - #include - -@@ -34,7 +34,7 @@ - #define READAV_TIMEOUT 10000 // 10 secs - - using namespace ADDON; --using namespace PLATFORM; -+using namespace P8PLATFORM; - - void DemuxLog(int level, char *msg) - { -diff --git a/src/demux.h b/src/demux.h -index f86e27a..b84c1bc 100644 ---- a/src/demux.h -+++ b/src/demux.h -@@ -25,9 +25,9 @@ - #include "client.h" - - #include --#include --#include --#include -+#include -+#include -+#include - #include - - #include -@@ -35,7 +35,7 @@ - - #define AV_BUFFER_SIZE 131072 - --class Demux : public TSDemux::TSDemuxer, PLATFORM::CThread -+class Demux : public TSDemux::TSDemuxer, P8PLATFORM::CThread - { - public: - Demux(Myth::Stream *file); -@@ -56,8 +56,8 @@ class Demux : public TSDemux::TSDemuxer, PLATFORM::CThread - private: - Myth::Stream *m_file; - uint16_t m_channel; -- PLATFORM::SyncedBuffer m_demuxPacketBuffer; -- PLATFORM::CMutex m_mutex; -+ P8PLATFORM::SyncedBuffer m_demuxPacketBuffer; -+ P8PLATFORM::CMutex m_mutex; - ADDON::XbmcStreamProperties m_streams; - - bool get_stream_data(TSDemux::STREAM_PKT* pkt); -diff --git a/src/demuxer/tsDemuxer.cpp b/src/demuxer/tsDemuxer.cpp -index 00e40c1..fc283a8 100644 ---- a/src/demuxer/tsDemuxer.cpp -+++ b/src/demuxer/tsDemuxer.cpp -@@ -56,7 +56,7 @@ AVContext::AVContext(TSDemuxer* const demux, uint64_t pos, uint16_t channel) - - void AVContext::Reset(void) - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - pid = 0xffff; - transport_error = false; -@@ -75,7 +75,7 @@ uint16_t AVContext::GetPID() const - - PACKET_TYPE AVContext::GetPIDType() const - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - if (packet) - return packet->packet_type; -@@ -84,7 +84,7 @@ PACKET_TYPE AVContext::GetPIDType() const - - uint16_t AVContext::GetPIDChannel() const - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - if (packet) - return packet->channel; -@@ -93,7 +93,7 @@ uint16_t AVContext::GetPIDChannel() const - - bool AVContext::HasPIDStreamData() const - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - // PES packets append frame buffer of elementary stream until next start of unit - // On new unit start, flag is held -@@ -109,7 +109,7 @@ bool AVContext::HasPIDPayload() const - - ElementaryStream* AVContext::GetPIDStream() - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - if (packet && packet->packet_type == PACKET_TYPE_PES) - return packet->stream; -@@ -118,7 +118,7 @@ ElementaryStream* AVContext::GetPIDStream() - - std::vector AVContext::GetStreams() - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - std::vector v; - for (std::map::iterator it = packets.begin(); it != packets.end(); ++it) -@@ -129,7 +129,7 @@ std::vector AVContext::GetStreams() - - void AVContext::StartStreaming(uint16_t pid) - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - std::map::iterator it = packets.find(pid); - if (it != packets.end()) -@@ -138,7 +138,7 @@ void AVContext::StartStreaming(uint16_t pid) - - void AVContext::StopStreaming(uint16_t pid) - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - std::map::iterator it = packets.find(pid); - if (it != packets.end()) -@@ -147,7 +147,7 @@ void AVContext::StopStreaming(uint16_t pid) - - ElementaryStream* AVContext::GetStream(uint16_t pid) const - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - std::map::const_iterator it = packets.find(pid); - if (it != packets.end()) -@@ -157,7 +157,7 @@ ElementaryStream* AVContext::GetStream(uint16_t pid) const - - uint16_t AVContext::GetChannel(uint16_t pid) const - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - std::map::const_iterator it = packets.find(pid); - if (it != packets.end()) -@@ -167,7 +167,7 @@ uint16_t AVContext::GetChannel(uint16_t pid) const - - void AVContext::ResetPackets() - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - for (std::map::iterator it = packets.begin(); it != packets.end(); ++it) - { -@@ -391,7 +391,7 @@ uint64_t AVContext::GetPosition() const - */ - int AVContext::ProcessTSPacket() - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - int ret = AVCONTEXT_CONTINUE; - std::map::iterator it; -@@ -516,7 +516,7 @@ int AVContext::ProcessTSPacket() - */ - int AVContext::ProcessTSPayload() - { -- PLATFORM::CLockObject lock(mutex); -+ P8PLATFORM::CLockObject lock(mutex); - - if (!this->packet) - return AVCONTEXT_CONTINUE; -diff --git a/src/demuxer/tsDemuxer.h b/src/demuxer/tsDemuxer.h -index 2efbb58..ebb779e 100644 ---- a/src/demuxer/tsDemuxer.h -+++ b/src/demuxer/tsDemuxer.h -@@ -24,7 +24,7 @@ - - #include "tsPacket.h" - #include "elementaryStream.h" --#include -+#include - - #include - #include -@@ -102,7 +102,7 @@ namespace TSDemux - int parse_ts_pes(); - - // Critical section -- mutable PLATFORM::CMutex mutex; -+ mutable P8PLATFORM::CMutex mutex; - - // AV stream owner - TSDemuxer* m_demux; -diff --git a/src/fileOps.cpp b/src/fileOps.cpp -index 80d6462..71a71f9 100644 ---- a/src/fileOps.cpp -+++ b/src/fileOps.cpp -@@ -34,7 +34,7 @@ - #define FILEOPS_RECORDING_DUMMY_ICON "recording.png" - - using namespace ADDON; --using namespace PLATFORM; -+using namespace P8PLATFORM; - - FileOps::FileOps(FileConsumer *consumer, const std::string& server, unsigned wsapiport, const std::string& wsapiSecurityPin) - : CThread() -diff --git a/src/fileOps.h b/src/fileOps.h -index 58081f4..90c023b 100644 ---- a/src/fileOps.h -+++ b/src/fileOps.h -@@ -25,7 +25,7 @@ - #include "cppmyth/MythProgramInfo.h" - - #include --#include -+#include - - #include - #include -@@ -39,7 +39,7 @@ class FileConsumer - virtual void HandleCleanedCache() = 0; - }; - --class FileOps : public PLATFORM::CThread -+class FileOps : public P8PLATFORM::CThread - { - public: - enum FileType -@@ -152,7 +152,7 @@ class FileOps : public PLATFORM::CThread - int m_errorCount; - }; - -- PLATFORM::CMutex m_lock; -- PLATFORM::CEvent m_queueContent; -+ P8PLATFORM::CMutex m_lock; -+ P8PLATFORM::CEvent m_queueContent; - std::list m_jobQueue; - }; -diff --git a/src/filestreaming.cpp b/src/filestreaming.cpp -index d25680e..eeaa672 100644 ---- a/src/filestreaming.cpp -+++ b/src/filestreaming.cpp -@@ -22,7 +22,7 @@ - - #include "filestreaming.h" - #include "client.h" --#include -+#include - - #define MAX_READ_SIZE 131072 - -diff --git a/src/pvrclient-mythtv.cpp b/src/pvrclient-mythtv.cpp -index 5901d55..f0ed353 100644 ---- a/src/pvrclient-mythtv.cpp -+++ b/src/pvrclient-mythtv.cpp -@@ -31,7 +31,7 @@ - #include - - using namespace ADDON; --using namespace PLATFORM; -+using namespace P8PLATFORM; - - PVRClientMythTV::PVRClientMythTV() - : m_connectionError(CONN_ERROR_NO_ERROR) -diff --git a/src/pvrclient-mythtv.h b/src/pvrclient-mythtv.h -index e9efc64..561fee3 100644 ---- a/src/pvrclient-mythtv.h -+++ b/src/pvrclient-mythtv.h -@@ -28,7 +28,7 @@ - #include "filestreaming.h" - - #include --#include -+#include - #include - #include - #include -@@ -162,7 +162,7 @@ class PVRClientMythTV : public Myth::EventSubscriber, FileConsumer - // Backend - FileOps *m_fileOps; - MythScheduleManager *m_scheduleManager; -- PLATFORM::CMutex m_lock; -+ P8PLATFORM::CMutex m_lock; - - // Categories - Categories m_categories; -@@ -182,7 +182,7 @@ class PVRClientMythTV : public Myth::EventSubscriber, FileConsumer - PVRChannelGroupMap m_PVRChannelGroups; - typedef std::map PVRChannelMap; - PVRChannelMap m_PVRChannelUidById; -- mutable PLATFORM::CMutex m_channelsLock; -+ mutable P8PLATFORM::CMutex m_channelsLock; - int FillChannelsAndChannelGroups(); - MythChannel FindChannel(uint32_t channelId) const; - int FindPVRChannelUid(uint32_t channelId) const; -@@ -192,7 +192,7 @@ class PVRClientMythTV : public Myth::EventSubscriber, FileConsumer - - // Recordings - ProgramInfoMap m_recordings; -- mutable PLATFORM::CMutex m_recordingsLock; -+ mutable P8PLATFORM::CMutex m_recordingsLock; - unsigned m_recordingChangePinCount; - bool m_recordingsAmountChange; - int m_recordingsAmount; -diff --git a/src/tools.h b/src/tools.h -index 45666bf..7ad3af9 100644 ---- a/src/tools.h -+++ b/src/tools.h -@@ -21,7 +21,7 @@ - * - */ - --#include -+#include - #include - - #ifdef __WINDOWS__ - -From 960830c023c74b54883ed558763275877088be90 Mon Sep 17 00:00:00 2001 -From: "h.udo" -Date: Wed, 6 Jan 2016 15:21:40 +0000 -Subject: [PATCH 2/2] [cmake] Update to p8-platform - ---- - CMakeLists.txt | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 79d1b98..95fdbbb 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -9,10 +9,10 @@ enable_language(C) - - find_package(kodi REQUIRED) - find_package(kodiplatform REQUIRED) --find_package(platform REQUIRED) -+find_package(p8-platform REQUIRED) - - include_directories(${kodiplatform_INCLUDE_DIRS} -- ${platform_INCLUDE_DIRS} -+ ${p8-platform_INCLUDE_DIRS} - ${KODI_INCLUDE_DIR} - ${PROJECT_SOURCE_DIR}/lib/cppmyth/src) - -@@ -54,7 +54,7 @@ set(MYTHTV_SOURCES src/avinfo.cpp - - add_subdirectory(lib/cppmyth) - --set(DEPLIBS ${platform_LIBRARIES} cppmyth) -+set(DEPLIBS ${p8-platform_LIBRARIES} cppmyth) - if(WIN32) - list(APPEND DEPLIBS ws2_32) - else() diff --git a/abs/extra/kodi-addon-pvr-mythtv/PKGBUILD b/abs/extra/kodi-addon-pvr-mythtv/PKGBUILD new file mode 100644 index 0000000..6a1d8fa --- /dev/null +++ b/abs/extra/kodi-addon-pvr-mythtv/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Jameson Pugh + +pkgname=kodi-addon-pvr-mythtv +pkgver=5.10.5 +_kodiver=18.0 +_codename=Leia +pkgrel=1 +pkgdesc='MythTV PVR client addon for Kodi' +arch=('armv7h' 'i686' 'x86_64') +url="http://janbar.github.io/pvr.mythtv/" +license=('GPL') +makedepends=('cmake' 'git') +depends=("kodi") +source=("https://github.com/janbar/pvr.mythtv/archive/${pkgver}-$_codename.tar.gz" + "https://github.com/xbmc/xbmc/archive/${_kodiver}-$_codename.tar.gz") + +build() { + mkdir -p "pvr.mythtv-${pkgver}/build" + cd "pvr.mythtv-${pkgver}/build" + + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DADDONS_TO_BUILD=pvr.mythtv \ + -DADDONS_SRC_PREFIX=../.. \ + ../../xbmc-${_kodiver}-$_codename/cmake/addons + make +} + +package() { + cd "pvr.mythtv-${pkgver}/build/build/depends" + install -d "${pkgdir}/usr/lib/kodi/addons/" + cp -r ./lib/kodi/addons/pvr.mythtv "${pkgdir}/usr/lib/kodi/addons" + install -d "${pkgdir}/usr/share/kodi/addons/" + cp -r ./share/kodi/addons/pvr.mythtv "${pkgdir}/usr/share/kodi/addons" +} + +# vim:set ts=2 sw=2 et: + +md5sums=('6f76c68fdaa24cb6c5c6fca4a898e554' + '010eefd71ffe789dcee0daf0c692123d') -- cgit v0.12