2020-05-21 13:42:55 +00:00
|
|
|
# Description: kodi inputstream addon for several manifest types
|
|
|
|
# URL: https://github.com/peak3d/inputstream.adaptive
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: kodi
|
|
|
|
|
|
|
|
name=kodi-addon-inputstream-adaptive
|
2021-12-11 16:03:45 +01:00
|
|
|
version=19.0.1
|
2021-10-10 12:24:33 +02:00
|
|
|
release=1
|
2021-04-12 20:40:50 +00:00
|
|
|
|
|
|
|
_codename=Matrix
|
|
|
|
|
2021-05-21 12:07:21 +00:00
|
|
|
source=(https://github.com/peak3d/inputstream.adaptive/archive/$version-$_codename/$name-$version.tar.gz)
|
2020-05-21 13:42:55 +00:00
|
|
|
|
|
|
|
build() {
|
2020-11-08 16:59:59 +00:00
|
|
|
cmake -S inputstream.adaptive-$version-$_codename -B build -G Ninja \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
2020-12-07 12:32:16 +00:00
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
2021-05-21 12:07:21 +00:00
|
|
|
-D BUILD_SHARED_LIBS=ON \
|
|
|
|
-D BUILD_TESTING=OFF \
|
2020-11-08 16:59:59 +00:00
|
|
|
-Wno-dev
|
2020-05-21 13:42:55 +00:00
|
|
|
cmake --build build
|
2020-07-08 13:01:36 +00:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2020-05-21 13:42:55 +00:00
|
|
|
}
|