aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-03-07 20:21:17 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-08 09:46:13 +0700
commitaaafded303ac9463d808358041c47264ce7e7f65 (patch)
tree1cb9e1ab704ec5a3a8552ca18b9244558ca58059
parent0496382b8f0ee9dd0471edc9ecfeeed0007306f2 (diff)
multimedia/kodi: Avoid downloading things while building.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--multimedia/kodi/kodi.SlackBuild8
-rw-r--r--multimedia/kodi/kodi.info16
2 files changed, 21 insertions, 3 deletions
diff --git a/multimedia/kodi/kodi.SlackBuild b/multimedia/kodi/kodi.SlackBuild
index 57083cf36f56f..093682504e7d0 100644
--- a/multimedia/kodi/kodi.SlackBuild
+++ b/multimedia/kodi/kodi.SlackBuild
@@ -71,7 +71,7 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION-$CODNAM
+rm -rf $SRCNAM-$VERSION-$CODNAM $PRGNAM-build
tar xvf $CWD/$SRCNAM-$VERSION-$CODNAM.tar.gz
cd $SRCNAM-$VERSION-$CODNAM
chown -R root:root .
@@ -112,6 +112,12 @@ cd $TMP/$PRGNAM-build
-DENABLE_LIRCCLIENT=$LIRC \
-DENABLE_MICROHTTPD=$WEBSERVER \
-DENABLE_NFS=$NFS \
+ -Dlibdvdcss_URL=$CWD/libdvdcss-1.4.2-Leia-Beta-5.tar.gz \
+ -Dlibdvdnav_URL=$CWD/libdvdnav-6.0.0-Leia-Alpha-3.tar.gz \
+ -Dlibdvdread_URL=$CWD/libdvdread-6.0.0-Leia-Alpha-3.tar.gz \
+ -DCROSSGUID_URL=$CWD/crossguid-8f399e8bd4.tar.gz \
+ -DFSTRCMP_URL=$CWD/fstrcmp-0.7.D001.tar.gz \
+ -DUDFREAD_URL=$CWD/libudfread-1.1.0.tar.gz \
-DCMAKE_BUILD_TYPE=Release ../$SRCNAM-$VERSION-$CODNAM
make
make install/strip DESTDIR=$PKG
diff --git a/multimedia/kodi/kodi.info b/multimedia/kodi/kodi.info
index 534d2a0627e14..dff859eb76acd 100644
--- a/multimedia/kodi/kodi.info
+++ b/multimedia/kodi/kodi.info
@@ -1,8 +1,20 @@
PRGNAM="kodi"
VERSION="19.4"
HOMEPAGE="https://kodi.tv/"
-DOWNLOAD="https://github.com/xbmc/xbmc/archive/19.4-Matrix/xbmc-19.4-Matrix.tar.gz"
-MD5SUM="a668854505eff3ca5ed9f33e3ac91c80"
+DOWNLOAD="https://github.com/xbmc/xbmc/archive/19.4-Matrix/xbmc-19.4-Matrix.tar.gz \
+ https://ponce.cc/slackware/sources/repo/kodi/19.4/libdvdcss-1.4.2-Leia-Beta-5.tar.gz \
+ https://ponce.cc/slackware/sources/repo/kodi/19.4/libdvdnav-6.0.0-Leia-Alpha-3.tar.gz \
+ https://ponce.cc/slackware/sources/repo/kodi/19.4/libdvdread-6.0.0-Leia-Alpha-3.tar.gz \
+ https://ponce.cc/slackware/sources/repo/kodi/19.4/crossguid-8f399e8bd4.tar.gz \
+ https://ponce.cc/slackware/sources/repo/kodi/19.4/fstrcmp-0.7.D001.tar.gz \
+ https://ponce.cc/slackware/sources/repo/kodi/19.4/libudfread-1.1.0.tar.gz"
+MD5SUM="a668854505eff3ca5ed9f33e3ac91c80 \
+ fb2824210a4eab2efeef36e7501e4979 \
+ 2aec5f8c790449126118abc6bb3cb5cd \
+ f3244e7b002d37f91cc6a77461c4f619 \
+ 7de3be575744da5f1098295485ef0741 \
+ 9c440bbdfcad9fd22e38f2388715b0cc \
+ cb71fa46a29183e01692e9fe738ec373"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="zulu-openjdk11 libass flatbuffers fmt rapidjson spdlog tinyxml shairplay gtest"