summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
author Jeremy Hansen2023-03-24 03:48:25 +0100
committer Willy Sudiarto Raharjo2023-04-01 04:14:23 +0200
commitfe753b4feb422899c50bb032c309a306eb8d2b7a (patch)
tree396a28d32f21e5bb6f9bea4d519dd5e68042a0e1 /multimedia
parent5fc941e57b0776fedf1f88e24d33a0fec89a04cb (diff)
downloadslackbuilds-fe753b4feb422899c50bb032c309a306eb8d2b7a.tar.gz
multimedia/inputstream.adaptive: Updated for version 20.3.5.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/inputstream.adaptive/inputstream.adaptive.SlackBuild20
-rw-r--r--multimedia/inputstream.adaptive/inputstream.adaptive.info8
2 files changed, 19 insertions, 9 deletions
diff --git a/multimedia/inputstream.adaptive/inputstream.adaptive.SlackBuild b/multimedia/inputstream.adaptive/inputstream.adaptive.SlackBuild
index 31c09c9308..2a22366fd5 100644
--- a/multimedia/inputstream.adaptive/inputstream.adaptive.SlackBuild
+++ b/multimedia/inputstream.adaptive/inputstream.adaptive.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for inputstream.adaptive
-# Copyright 2022 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
+# Copyright 2022-2023 Jeremy Hansen <jebrhansen+SBo -at- gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,9 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=inputstream.adaptive
-CODNAM=Matrix
-VERSION=${VERSION:-19.0.7}
+CODNAM=Nexus
+VERSION=${VERSION:-20.3.5}
+BENTO4VER=${BENTO4VER:-1.6.0-639-6-Nexus}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,10 +80,17 @@ find -L . \
mkdir -p build
cd build
+
+ # Requires internal bento4 as it won't work with external bento4
+ # when built with apps.
+ # See https://github.com/xbmc/inputstream.adaptive/issues/859#issuecomment-1429396200
+
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -Wno-deprecated-declarations" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-deprecated-declarations" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_INTERNAL_BENTO4=ON \
+ -DBENTO4_URL=$CWD/Bento4-$BENTO4VER.tar.gz \
-DCMAKE_BUILD_TYPE=Release ..
make
make install/strip DESTDIR=$PKG
@@ -95,7 +103,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- LICENSE.GPL README.md \
+ LICENSE.md README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/multimedia/inputstream.adaptive/inputstream.adaptive.info b/multimedia/inputstream.adaptive/inputstream.adaptive.info
index f6e585c9b3..cd07db63a4 100644
--- a/multimedia/inputstream.adaptive/inputstream.adaptive.info
+++ b/multimedia/inputstream.adaptive/inputstream.adaptive.info
@@ -1,8 +1,10 @@
PRGNAM="inputstream.adaptive"
-VERSION="19.0.7"
+VERSION="20.3.5"
HOMEPAGE="https://github.com/xbmc/inputstream.adaptive/"
-DOWNLOAD="https://github.com/xbmc/inputstream.adaptive/archive/19.0.7-Matrix/inputstream.adaptive-19.0.7-Matrix.tar.gz"
-MD5SUM="679d70dbca94e14360dfcf0261cfe032"
+DOWNLOAD="https://github.com/xbmc/inputstream.adaptive/archive/20.3.5-Nexus/inputstream.adaptive-20.3.5-Nexus.tar.gz \
+ https://github.com/xbmc/Bento4/archive/refs/tags/1.6.0-639-6-Nexus/Bento4-1.6.0-639-6-Nexus.tar.gz"
+MD5SUM="88a6fff88504aa0e3d83ba28cb6ac420 \
+ 4322bd0076bf1fde49b389e73b821efa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="kodi pycryptodomex"