33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# Template file for 'qtile'
|
|
pkgname=qtile
|
|
version=0.26.0
|
|
revision=1
|
|
build_style=python3-pep517
|
|
_wlroots=0.17
|
|
hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel
|
|
pkg-config python3-pywlroots 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>"
|
|
license="MIT"
|
|
homepage="http://www.qtile.org/"
|
|
changelog="https://raw.githubusercontent.com/qtile/qtile/master/CHANGELOG"
|
|
distfiles="${PYPI_SITE}/q/qtile/qtile-${version}.tar.gz"
|
|
checksum=2c806f94dbf67a8ce1e0cd3fa425b95e3fdc5258e28d766dfecd866a7f5806b5
|
|
|
|
post_install() {
|
|
vinstall resources/qtile.desktop 644 usr/share/xsessions
|
|
vinstall resources/qtile-wayland.desktop 644 usr/share/wayland-sessions
|
|
vlicense LICENSE
|
|
}
|
|
|
|
qtile-wayland_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}
|
|
python3-pywlroots python3-pywayland python3-xkbcommon"
|
|
pkg_install() {
|
|
vmove ${py3_sitelib}/libqtile/backend/wayland
|
|
vmove usr/share/wayland-sessions
|
|
}
|
|
}
|