aboutsummaryrefslogtreecommitdiff
path: root/desktop/picom/picom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/picom/picom.SlackBuild')
-rw-r--r--desktop/picom/picom.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/picom/picom.SlackBuild b/desktop/picom/picom.SlackBuild
index ae0c179715..8e11216657 100644
--- a/desktop/picom/picom.SlackBuild
+++ b/desktop/picom/picom.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for picom
-# Copyright 2020-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2020-2025 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=picom
-VERSION=${VERSION:-10.2}
+VERSION=${VERSION:-12.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +38,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
@@ -79,6 +76,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson build . -D with_docs=true -D b_ndebug=true --prefix=/usr --mandir=/usr/man