desktop/qtile: Update for 0.22.1

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Isaac Yu 2022-09-22 22:32:21 -07:00 committed by Willy Sudiarto Raharjo
parent 56a4199cf7
commit 1805780f0a
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 14 additions and 9 deletions

View file

@ -11,4 +11,5 @@ It sends notifications through dbus - please additionally install a
notification daemon such as dunst for displaying notifications on qtile.
pywlroots (another optional dependency) provides experimental Wayland
support.
support. If pywlroots is installed, then this SlackBuild will also
install a Wayland .desktop session file.

View file

@ -26,8 +26,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qtile
VERSION=${VERSION:-0.21.0}
BUILD=${BUILD:-3}
VERSION=${VERSION:-0.22.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -89,11 +89,15 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/etc/X11/xinit
install -m 0755 $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/xinitrc.$PRGNAM
# Install desktop file
# Install Xsession file
mkdir -p $PKG/usr/share/xsessions
install -D -m644 resources/$PRGNAM.desktop $PKG/usr/share/xsessions/$PRGNAM.desktop
mkdir -p $PKG/usr/share/wayland-sessions
install -D -m644 resources/$PRGNAM-wayland.desktop $PKG/usr/share/wayland-sessions/$PRGNAM-wayland.desktop
# If pywlroots is installed, install Wayland session file
if $(python3 -c 'import pkgutil; exit(not pkgutil.find_loader("wlroots"))'); then
mkdir -p $PKG/usr/share/wayland-sessions
install -D -m644 resources/$PRGNAM-wayland.desktop $PKG/usr/share/wayland-sessions/$PRGNAM-wayland.desktop
fi
# example for default config file maybe installed ~/$USER/.config/qtile
CONFIG="libqtile/resources/default_config.py"

View file

@ -1,8 +1,8 @@
PRGNAM="qtile"
VERSION="0.21.0"
VERSION="0.22.1"
HOMEPAGE="http://qtile.org"
DOWNLOAD="https://files.pythonhosted.org/packages/a4/7e/4f3921eda7e3912aa7487b0455e1993a638d99cf6075205de3cf8a13f291/qtile-0.21.0.tar.gz"
MD5SUM="91a9691e69459bc690c335a2f4b4e18a"
DOWNLOAD="https://files.pythonhosted.org/packages/source/q/qtile/qtile-0.22.1.tar.gz"
MD5SUM="504e17bca60ef78bdbdb0b706809dd8b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-xcffib cairocffi"