From 86b457e205ba64814e70271c698f4801f3f855f1 Mon Sep 17 00:00:00 2001 From: Bruno Henrique Date: Tue, 29 Nov 2022 12:42:09 -0300 Subject: [PATCH 1/4] Added python-pywayland as a package --- srcpkgs/python-pywayland/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/python-pywayland/template diff --git a/srcpkgs/python-pywayland/template b/srcpkgs/python-pywayland/template new file mode 100644 index 000000000000..4be85ca1bb9a --- /dev/null +++ b/srcpkgs/python-pywayland/template @@ -0,0 +1,24 @@ +# Template file for 'python-pywayland' +pkgname=python-pywayland +version=0.4.14 +revision=1 +hostmakedepends="pkg-config" +makedepends="python3-devel python3-cffi wayland-devel python3-setuptools" +depends="python3 python3-cffi wayland" +build_style=python3-module +short_desc="Python bindings for the libwayland library" +maintainer="Bruno Henrique " +license="Apache-2.0" +homepage="https://github.com/flacjacket/pywayland" +distfiles="https://github.com/flacjacket/pywayland/archive/refs/tags/v${version}.tar.gz" +checksum="3d5ce72781e57ece36cdf6a012122bddc5153b4de7be41224d04279a2f28aa00" + +configure() { + python3 -m pywayland.scanner + python3 pywayland/ffi_build.py +} + +install() { + mkdir -p ${PKGDESTDIR}/usr/lib + python3 setup.py install +} From b2c788bf745e864bb302ed1be320bf104fc0dba2 Mon Sep 17 00:00:00 2001 From: Bruno Henrique Date: Tue, 29 Nov 2022 12:55:36 -0300 Subject: [PATCH 2/4] Added the package python-xkbcommon --- srcpkgs/python-xkbcommon/template | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 srcpkgs/python-xkbcommon/template diff --git a/srcpkgs/python-xkbcommon/template b/srcpkgs/python-xkbcommon/template new file mode 100644 index 000000000000..f5c2e6ed9b72 --- /dev/null +++ b/srcpkgs/python-xkbcommon/template @@ -0,0 +1,13 @@ +# Template file for 'python-xkbcommon' +pkgname=python-xkbcommon +version=0.4 +revision=1 +makedepends="python3-devel python3-cffi libxkbcommon-devel python3-setuptools" +depends="python3 python3-cffi libxkbcommon" +build_style=python3-module +short_desc="Python bindings for libxkbcommon using cffi" +maintainer="Bruno Henrique " +license="MIT" +homepage="https://github.com/sde1000/python-xkbcommon" +distfiles="https://github.com/sde1000/python-xkbcommon/archive/refs/tags/v${version}.tar.gz" +checksum="a6df3745dbce77dde020e1125e4d6b66ce0db3eb8b704eeb8cf1d3a63003fddb" From 2db8ba5627434b0b35af4330683c3db16f00cdc0 Mon Sep 17 00:00:00 2001 From: Bruno Henrique Date: Tue, 29 Nov 2022 13:23:13 -0300 Subject: [PATCH 3/4] Added pywlroots package --- srcpkgs/pywlroots/template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/pywlroots/template diff --git a/srcpkgs/pywlroots/template b/srcpkgs/pywlroots/template new file mode 100644 index 000000000000..c465ef7506ce --- /dev/null +++ b/srcpkgs/pywlroots/template @@ -0,0 +1,17 @@ +# Template file for 'pywlroots' +pkgname=pywlroots +version=0.15.24 +revision=1 +makedepends="wlroots-devel python3-devel python3-cffi python-pywayland python-xkbcommon python3-setuptools" +depends="wlroots python3 python3-cffi python-pywayland python-xkbcommon" +build_style=python3-module +short_desc="Python binding to the wlroots library using cffi" +maintainer="Bruno Henrique " +license="NCSA" +homepage="https://github.com/flacjacket/pywlroots" +distfiles="https://github.com/flacjacket/pywlroots/archive/refs/tags/v${version}.tar.gz" +checksum="306a3f8e1e686ddf1da439934968e40f4161ec7dd9f8f7887fa851b19b652a23" + +configure() { + python3 wlroots/ffi_build.py +} From f5f9e091e09dd66c4de642b7f66f0827b3cf53fa Mon Sep 17 00:00:00 2001 From: Bruno Henrique Date: Tue, 29 Nov 2022 13:31:36 -0300 Subject: [PATCH 4/4] Added pywlroots as a dependency on qtile --- srcpkgs/qtile/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template index 3f16eada0cda..2d8b35c58cd9 100644 --- a/srcpkgs/qtile/template +++ b/srcpkgs/qtile/template @@ -1,11 +1,11 @@ # 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" -depends="python3-cairocffi python3-xcffib pango gdk-pixbuf" +depends="python3-cairocffi python3-xcffib pango gdk-pixbuf pywlroots" short_desc="Full-featured tiling window manager written and configured in Python" maintainer="Kai Stian Olstad " license="MIT"