summaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/kodi/README3
-rw-r--r--multimedia/kodi/README.python26
-rw-r--r--multimedia/kodi/kodi.SlackBuild6
-rw-r--r--multimedia/kodi/kodi.info6
4 files changed, 35 insertions, 6 deletions
diff --git a/multimedia/kodi/README b/multimedia/kodi/README
index 3f040551f7..a78fb1fab7 100644
--- a/multimedia/kodi/README
+++ b/multimedia/kodi/README
@@ -17,3 +17,6 @@ shairplay - Airplay Support
NOTE:
Kodi can be compiled with jdk11 instead of zulu-openjdk11.
+
+ADDITIONAL NOTE:
+If you are having issues with addons crashing, please see README.python
diff --git a/multimedia/kodi/README.python b/multimedia/kodi/README.python
new file mode 100644
index 0000000000..5efb8161da
--- /dev/null
+++ b/multimedia/kodi/README.python
@@ -0,0 +1,26 @@
+# If you run into crashing when running addons, the problem is with the
+# python3 version that was released with 15.0 (3.9.12). This has been
+# fixed in a newer release, but it hasn't made it to 15.0 yet. You can
+# either deal with the crashes and wait until it's updated in 15.0 or
+# build your own updated package using the newer source tarball. The
+# instructions to do that are below.
+
+# NOTE: This README has been designed to allow you to run it as root
+# and have it build and upgrade the python3 package.
+# Run at your own risk.
+#
+# As root:
+# sh /usr/doc/kodi-19.4/README.python
+
+lftp -c "mirror -e -X *.tar.xz* -X *.tar.bz2 https://mirror.slackbuilds.org/slackware/slackware64-15.0/source/d/python3/"
+cd python3
+
+# Remove older versions then download newer ones
+wget https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tar.xz
+wget https://docs.python.org/3.9/archives/python-3.9.13-docs-text.tar.bz2
+
+# Run the SlackBuild
+BUILD=1_bass sh python3.SlackBuild
+
+# Install the newer package
+upgradepkg --reinstall --install-new /tmp/python3-3.9.13-*-1_bass.txz
diff --git a/multimedia/kodi/kodi.SlackBuild b/multimedia/kodi/kodi.SlackBuild
index 0d89e50cb9..4adeffbe62 100644
--- a/multimedia/kodi/kodi.SlackBuild
+++ b/multimedia/kodi/kodi.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for kodi
# Copyright 2009-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2022 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -40,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -100,6 +98,7 @@ cd $TMP/$PRGNAM-build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DAPP_RENDER_SYSTEM=gl \
-DCORE_PLATFORM_NAME="x11" \
-DENABLE_INTERNAL_FSTRCMP=ON \
@@ -150,6 +149,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat tools/EventClients/README.txt > $PKG/usr/doc/$PRGNAM-$VERSION/Event-Client-README.txt
fi
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+ cat $CWD/README.python > $PKG/usr/doc/$PRGNAM-$VERSION/README.python
)
mkdir -p $PKG/install
diff --git a/multimedia/kodi/kodi.info b/multimedia/kodi/kodi.info
index dff859eb76..088fdf01df 100644
--- a/multimedia/kodi/kodi.info
+++ b/multimedia/kodi/kodi.info
@@ -17,6 +17,6 @@ MD5SUM="a668854505eff3ca5ed9f33e3ac91c80 \
cb71fa46a29183e01692e9fe738ec373"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="zulu-openjdk11 libass flatbuffers fmt rapidjson spdlog tinyxml shairplay gtest"
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+REQUIRES="zulu-openjdk11 libass flatbuffers fmt rapidjson spdlog tinyxml gtest"
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"