diff --git a/srcpkgs/qtile-wayland b/srcpkgs/qtile-wayland new file mode 120000 index 00000000000..37d4345d533 --- /dev/null +++ b/srcpkgs/qtile-wayland @@ -0,0 +1 @@ +qtile \ No newline at end of file diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template index 3f16eada0cd..7b466061079 100644 --- a/srcpkgs/qtile/template +++ b/srcpkgs/qtile/template @@ -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 " @@ -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 + } +}