From 19d6d65daa80e483796649a0704f83689238e86f Mon Sep 17 00:00:00 2001 From: Zoh-j02r Date: Mon, 19 Dec 2022 13:32:02 -0300 Subject: [PATCH 1/2] New package: newm-0.3alpha --- srcpkgs/newm/template | 46 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 srcpkgs/newm/template diff --git a/srcpkgs/newm/template b/srcpkgs/newm/template new file mode 100644 index 000000000000..cd8f5f3c0e47 --- /dev/null +++ b/srcpkgs/newm/template @@ -0,0 +1,46 @@ +# Template file for 'newm' +pkgname=newm +version=0.3alpha +revision=1 +create_wrksrc=yes +hostmakedepends="python3-devel wayland-protocols pkg-config meson ninja git" +makedepends="pango-devel cairo-devel pixman-devel wayland-devel libevdev-devel libinput-devel glslang-devel wlroots-devel Vulkan-Headers vulkan-loader libseat-devel libxkbcommon-devel libxcb-devel xorg-server-xwayland" +depends="xorg-server-xwayland python3-evdev python3-imageio python3-cairo python3-psutil python3-pam python3-pyfiglet python3-thefuzz python3-cairo" +short_desc="Wayland compositor written with laptops and touchpads in mind" +maintainer=" Zoh-j02r " +license="MIT" +homepage="https://github.com/jbuchermn/newm" + +_wlroots_commit=e279266f714c7122e9ad97d56d047313f78cfdbe + +distfiles=" ${homepage}/archive/refs/tags/v${version}.tar.gz + https://github.com/jbuchermn/pywm/archive/refs/tags/v${version}.zip + https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/${_wlroots_commit}.tar.gz" + +checksum=" 989f7c02cc4ecc3f9f390caef97a2d2713af3b6a391a895ca7e1253076102645 + 2297c3bb32f716a95f0846d0fd351a3e39a00a0fa0f078d48427605a484e28e1 + e09dd1bcd08bed22b1bc61b6992511be0dc1d31f019b93e118a97882c30d65cd" + +post_extract() { + cd $wrksrc/pywm-${version} + rmdir subprojects/wlroots + mv -v $wrksrc/wlroots-${_wlroots_commit} subprojects/wlroots +} + +do_build() { + cd $wrksrc/pywm-${version} + python3 setup.py build + cd $wrksrc/newm-${version} + python3 setup.py build +} + +do_install() { + cd $wrksrc/pywm-${version} + python3 setup.py install --root="${DESTDIR}" + cd $wrksrc/newm-${version} + python3 setup.py install --root="${DESTDIR}" +} + +post_install() { + vlicense $wrksrc/newm-${version}/LICENSE +} From 9ae8878aa43c76339579d0b4b44c60ec45b5d6bd Mon Sep 17 00:00:00 2001 From: Zoh-j02r Date: Tue, 20 Dec 2022 08:59:28 -0300 Subject: [PATCH 2/2] New Package: newm-0.2 --- srcpkgs/newm/template | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/srcpkgs/newm/template b/srcpkgs/newm/template index cd8f5f3c0e47..ae3ebba72ecf 100644 --- a/srcpkgs/newm/template +++ b/srcpkgs/newm/template @@ -1,6 +1,6 @@ # Template file for 'newm' pkgname=newm -version=0.3alpha +version=0.2 revision=1 create_wrksrc=yes hostmakedepends="python3-devel wayland-protocols pkg-config meson ninja git" @@ -11,15 +11,15 @@ maintainer=" Zoh-j02r " license="MIT" homepage="https://github.com/jbuchermn/newm" -_wlroots_commit=e279266f714c7122e9ad97d56d047313f78cfdbe +_wlroots_commit=0855cdacb2eeeff35849e2e9c4db0aa996d78d10 distfiles=" ${homepage}/archive/refs/tags/v${version}.tar.gz https://github.com/jbuchermn/pywm/archive/refs/tags/v${version}.zip - https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/${_wlroots_commit}.tar.gz" + https://github.com/swaywm/wlroots/archive/${_wlroots_commit}.tar.gz" +checksum=" a03e9a4dd51b767059f9c53049597ac6e754cee11029f66b00d32031128310b4 + 4df9bcb4c98aea1f4c452a29805d96a3066109a1424612298cc7e83f4d0ae771 + c012482fafdad9bd4d9d75dcb5b61e28e5d60eb9f77ba0bec7c15ac2870fb70a" -checksum=" 989f7c02cc4ecc3f9f390caef97a2d2713af3b6a391a895ca7e1253076102645 - 2297c3bb32f716a95f0846d0fd351a3e39a00a0fa0f078d48427605a484e28e1 - e09dd1bcd08bed22b1bc61b6992511be0dc1d31f019b93e118a97882c30d65cd" post_extract() { cd $wrksrc/pywm-${version}