[crux-commits] ports/contrib (3.6): kodi-addon-inputstream-adaptive: 2.6.8 -> 2.6.13

crux at crux.nu crux at crux.nu
Mon Apr 12 20:43:55 UTC 2021


commit e30ae235bb55666cb406cb4416037970d741d616
Author: Tim Biermann <tbier at posteo.de>
Date:   Mon Apr 12 20:40:50 2021 +0000

    kodi-addon-inputstream-adaptive: 2.6.8 -> 2.6.13

diff --git a/kodi-addon-inputstream-adaptive/.signature b/kodi-addon-inputstream-adaptive/.signature
index 08028f9db..127e49f72 100644
--- a/kodi-addon-inputstream-adaptive/.signature
+++ b/kodi-addon-inputstream-adaptive/.signature
@@ -1,5 +1,6 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3zIG3i0vNhu72LZPWda+7Cx0z3EF6ia7/balUm1aUk3Mz0T6b0+HUqVbawSXfl7s10dZNcdwQxuOBP+DDnyw/wk=
-SHA256 (Pkgfile) = 77196f02ceed3f4acc7361e626afbc78983f5f150119a3008ed5c28118351361
+RWSagIOpLGJF3z05sUHwsOGXJ10jqDbE+W/a/irzxUNtiTtcYYUkhG7VU0+Q+wjkfdesR2euPOSHvL9rMr/OY6A/SrNgNmEXYQ0=
+SHA256 (Pkgfile) = ad68c9348b035b163dfb19fce52cf37342727aba48da7f71f81c79da54108782
 SHA256 (.footprint) = 9c0e8ab0fa0182e0b2f2112bc7030e9844b701f8c7bb7336b7a31807817f80b0
-SHA256 (kodi-addon-inputstream-adaptive-2.6.8.tar.gz) = 6407a95140b728b959321512d5bdc8512b01d60030415459cf861ddae193e3e9
+SHA256 (kodi-addon-inputstream-adaptive-2.6.13.tar.gz) = 83ffa1f5047782e049b54b94e7e9615638147f751980533bf4616140901129c9
+SHA256 (release-1.10.0.tar.gz) = 9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb
diff --git a/kodi-addon-inputstream-adaptive/Pkgfile b/kodi-addon-inputstream-adaptive/Pkgfile
index ec090bba2..7af09666f 100644
--- a/kodi-addon-inputstream-adaptive/Pkgfile
+++ b/kodi-addon-inputstream-adaptive/Pkgfile
@@ -4,12 +4,30 @@
 # Depends on: kodi
 
 name=kodi-addon-inputstream-adaptive
-version=2.6.8
-_codename=Matrix
+version=2.6.13
 release=1
-source=(https://github.com/peak3d/inputstream.adaptive/archive/$version-$_codename/$name-$version.tar.gz)
+
+_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
+}
 
 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 \


More information about the crux-commits mailing list