kodi-addon-inputstream-adaptive: -> 2.6.16

This commit is contained in:
Tim Biermann 2021-05-21 12:07:21 +00:00
parent 30acea75c4
commit 2047b21aa1
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 21 deletions

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30kzLb1BvEqBkpG/zyEDImHqH6ZDEbn09VJjndiJyMA3foqm5WyG6UvSV/zS0gli4Uc6+yHUzz7bija53M5bHg8=
SHA256 (Pkgfile) = a919b325928582be44e1ceb4df1954205fd010bd07fcb27cfc4188614fab174b
RWSagIOpLGJF32pyutov09f1UkoAC4+291g41gotwoAXbjOfVraafiUKpniSDdsIMXUNl7EBBt+9MU0se5f1fev7Yv54SZHGsQ4=
SHA256 (Pkgfile) = 8c20b762b300c6cf9ef1feaafefa4ccf6754a79dc780bd8816ee822ec993c69c
SHA256 (.footprint) = e1251b9881153ca94e8005cfd7e09d2b95c3cd3d9d646ec1697e849ff91ce048
SHA256 (kodi-addon-inputstream-adaptive-2.6.16.tar.gz) = 49b9971973a8df16faa2a7a46d81156484a27c98930eae56dad12d466910db13
SHA256 (release-1.10.0.tar.gz) = 9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb

View File

@ -8,32 +8,17 @@ version=2.6.16
release=1
_codename=Matrix
_gtest_ver=1.10.0
source=(https://github.com/peak3d/inputstream.adaptive/archive/$version-$_codename/$name-$version.tar.gz
https://github.com/google/googletest/archive/refs/tags/release-$_gtest_ver.tar.gz)
_build_gtest() {
cmake -S googletest-release-$_gtest_ver -B _build-gtest -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D BUILD_SHARED_LIBS=OFF
cmake --build _build-gtest
DESTDIR=$SRC/static-gtest cmake --install _build-gtest
}
source=(https://github.com/peak3d/inputstream.adaptive/archive/$version-$_codename/$name-$version.tar.gz)
build() {
_build_gtest
export PATH=$SRC/static-gtest/bin:$PATH
export PKG_CONFIG_PATH="$SRC/static-gtest/usr/lib/pkgconfig:$PKG_CONFIG_PATH"
cmake -S inputstream.adaptive-$version-$_codename -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-D BUILD_SHARED_LIBS=1 \
-D BUILD_SHARED_LIBS=ON \
-D BUILD_TESTING=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build