alarm/kodi-rbp-git to 15.20150720-2: rebuild for libcec 3.0.1

This commit is contained in:
David Beauchamp 2015-07-24 13:46:23 -04:00
parent 2d266ac98f
commit 690085d905

View file

@ -11,7 +11,7 @@ pkgname=('kodi-rbp-git' 'kodi-rbp-git-eventclients')
pkgver=15.20150720
_commit=0aa930b54834a41a7708094b2d2824dcfc9bc684
pkgrel=1
pkgrel=2
pkgdesc="A software media player and entertainment hub for digital media for the Raspberry Pi"
arch=('armv6h' 'armv7h')
url="http://kodi.tv"
@ -25,19 +25,14 @@ makedepends=('hicolor-icon-theme' 'fribidi' 'lzo2' 'smbclient' 'libtiff' 'libva'
'udisks' 'upower' 'git' 'autoconf' 'java-environment')
source=("kodi-${_commit}.tar.gz::https://github.com/xbmc/xbmc/archive/${_commit}.tar.gz"
'kodi.service'
'polkit.rules'
'https://github.com/xbmc/xbmc/commit/be8f33d1468a295612b914eca8b59aa87cb67e8d.patch')
'polkit.rules')
sha256sums=('7fd4dc89f80f6fd95fce883be78cd46b13ba02e0c97332659ad7d4a64584adf3'
'5235068d5800d69f0287087815990e7fe8d6572733d60c8800546d35f608e87f'
'9ea592205023ba861603d74b63cdb73126c56372a366dc4cb7beb379073cbb96'
'17a86b204d139d0772e67a5a960ca5ed86a270825de6dbe8a093a156c76b4e79')
'9ea592205023ba861603d74b63cdb73126c56372a366dc4cb7beb379073cbb96')
prepare() {
cd "$srcdir/xbmc-${_commit}"
# Revert libcec3.0 requirement until it is officially added to repos.
patch -Np1 -R -i ../be8f33d1468a295612b914eca8b59aa87cb67e8d.patch || true
find -type f -name *.py -exec sed 's|^#!.*python$|#!/usr/bin/python2|' -i "{}" +
sed 's|^#!.*python$|#!/usr/bin/python2|' -i tools/depends/native/rpl-native/rpl
sed 's/python/python2/' -i tools/Linux/kodi.sh.in