blob: 85ecbd6877800c3e5e18153e47c50ce89703e01a (
plain)
1 # Description: kodi inputstream addon for several manifest types
2 # URL: https://github.com/peak3d/inputstream.adaptive
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: kodi
5
6 name=kodi-addon-inputstream-adaptive
7 version=19.0.0
8 release=1
9
10 _codename=Matrix
11
12 source=(https://github.com/peak3d/inputstream.adaptive/archive/$version-$_codename/$name-$version.tar.gz)
13
14 build() {
15 cmake -S inputstream.adaptive-$version-$_codename -B build -G Ninja \
16 -D CMAKE_INSTALL_PREFIX=/usr \
17 -D CMAKE_BUILD_TYPE=Release \
18 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
19 -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
20 -D BUILD_SHARED_LIBS=ON \
21 -D BUILD_TESTING=OFF \
22 -Wno-dev
23 cmake --build build
24 DESTDIR=$PKG cmake --install build
25 }
|