qtile: add subpkg for wayland dependencies

This commit is contained in:
Đoàn Trần Công Danh 2023-08-07 14:33:53 +07:00 committed by Đoàn Trần Công Danh
parent 235bb03670
commit 1b672e9294
2 changed files with 14 additions and 3 deletions

1
srcpkgs/qtile-wayland Symbolic link
View File

@ -0,0 +1 @@
qtile

View File

@ -1,10 +1,12 @@
# Template file for 'qtile'
pkgname=qtile
version=0.22.0
revision=2
revision=3
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel pkg-config"
makedepends="python3-devel libffi-devel pulseaudio-devel"
_wlroots=0.15
hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel
pkg-config python3-pywlroots-${_wlroots} python3-pywayland python3-xkbcommon"
makedepends="python3-devel libffi-devel pulseaudio-devel wlroots${_wlroots}-devel"
depends="python3-cairocffi python3-xcffib pango gdk-pixbuf"
short_desc="Full-featured tiling window manager written and configured in Python"
maintainer="Kai Stian Olstad <void@olstad.com>"
@ -18,3 +20,11 @@ post_install() {
vinstall resources/qtile.desktop 644 usr/share/xsessions
vlicense LICENSE
}
qtile-wayland_package() {
depends="${sourcepkg}>=${version}_${revision}
python3-pywlroots-${_wlroots} python3-pywayland python3-xkbcommon"
pkg_install() {
vmove ${py3_sitelib}/libqtile/backend/wayland
}
}