From 52753dae34d928d67d79c35cf20fb258ed3771ec Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Mon, 30 Mar 2015 00:19:53 +0300 Subject: [PATCH] kodi-addon-xvdr: update to kodi-addon-xvdr-c5eff57 @sraue next time pls dont cherry-pick my stuff to stables without testing. while the 'broken' xvdr was 'fine' on master. it's NOT fine on 5.0. If I wanted it there, I would push myself (if it was a crashandburn fix) or open a PR.. now you've got shitstorm of existing xvdr users crash-looping after upgrade to 5.0.7.. enjoy. ref #4055 --- .../mediacenter/kodi-addon-xvdr/package.mk | 2 +- tools/mkpkg/mkpkg_kodi-addon-xvdr-helix | 43 +++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100755 tools/mkpkg/mkpkg_kodi-addon-xvdr-helix diff --git a/packages/mediacenter/kodi-addon-xvdr/package.mk b/packages/mediacenter/kodi-addon-xvdr/package.mk index 28ec931961..f70926479c 100644 --- a/packages/mediacenter/kodi-addon-xvdr/package.mk +++ b/packages/mediacenter/kodi-addon-xvdr/package.mk @@ -17,7 +17,7 @@ ################################################################################ PKG_NAME="kodi-addon-xvdr" -PKG_VERSION="39d66cd" +PKG_VERSION="c5eff57" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" diff --git a/tools/mkpkg/mkpkg_kodi-addon-xvdr-helix b/tools/mkpkg/mkpkg_kodi-addon-xvdr-helix new file mode 100755 index 0000000000..14c49443cb --- /dev/null +++ b/tools/mkpkg/mkpkg_kodi-addon-xvdr-helix @@ -0,0 +1,43 @@ +#!/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 +################################################################################ + +echo "getting sources..." + if [ ! -d kodi-addon-xvdr.git ]; then + git clone git://github.com/pipelka/xbmc-addon-xvdr.git -b kodi-helix kodi-addon-xvdr.git + fi + + cd kodi-addon-xvdr.git + git pull + GIT_REV=`git log -n1 --format=%h` + cd .. + +echo "copying sources..." + rm -rf kodi-addon-xvdr-$GIT_REV + cp -R kodi-addon-xvdr.git kodi-addon-xvdr-$GIT_REV + +echo "cleaning sources..." + rm -rf kodi-addon-xvdr-$GIT_REV/.git + +echo "packing sources..." + tar cvJf kodi-addon-xvdr-$GIT_REV.tar.xz kodi-addon-xvdr-$GIT_REV + +echo "remove temporary sourcedir..." + rm -rf kodi-addon-xvdr-$GIT_REV