blob: 66531964ed7b3645ab14ade4e7833c18925009d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: thepasto <thepasto@gmail.com>
pkgname=kodi-addon-pvr-iptvsimple
pkgver=21.9.4
pkgrel=1
pkgdesc='IPTV Simple PVR client addon for Kodi'
_koditarget=Omega
_gitname=pvr.iptvsimple
_kodiver=21.0
arch=('armv6h' 'armv7h' 'aarch64' 'i686' 'x86_64')
url="https://github.com/kodi-pvr/${_gitname}"
license=('GPL')
groups=('kodi')
makedepends=('cmake' 'kodi-platform' 'kodi-dev' 'pugixml')
conflicts=('kodi-addon-pvr-iptvsimple-git');
depends=('kodi')
source=("https://github.com/kodi-pvr/${_gitname}/archive/${pkgver}-${_koditarget}.tar.gz")
sha256sums=('d64e3c2f9c421f6617d56befd3574d4e9a495b68b94ee2b3e0d38781efece7be')
#prepare() {
#cd xbmc-${_kodiver}-${_koditarget}
#patch -p1 cmake/scripts/common/HandleDepends.cmake ${srcdir}/8f714dcc7f1a1dfa9b57ef18c3f4accc62cb0652.diff
#sed -i "s|-p1 -i|--binary -p1 -i|" cmake/scripts/common/HandleDepends.cmake
#sed -i 's/GIT_SHALLOW 1/GIT_SHALLOW ""/g' cmake/scripts/common/HandleDepends.cmake
#}
build() {
mkdir -p "${_gitname}-${pkgver}-${_koditarget}/build"
cd "${_gitname}-${pkgver}-${_koditarget}/build"
CFLAGS="$CFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"
CXXFLAGS="$CXXFLAGS -Wp,-U_GLIBCXX_ASSERTIONS"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
..
make
}
package() {
cd "${_gitname}-${pkgver}-${_koditarget}/build"
make DESTDIR="${pkgdir}" install
}
|