diff --git a/srcpkgs/azote/template b/srcpkgs/azote/template index ed25a74e0969e1..ab5f913f41b5ac 100644 --- a/srcpkgs/azote/template +++ b/srcpkgs/azote/template @@ -1,10 +1,10 @@ # Template file for 'azote' pkgname=azote version=1.16.0 -revision=3 +revision=4 build_style=python3-module hostmakedepends="python3-setuptools" -depends="gtk+3 feh libayatana-appindicator python3 python3-cairo python3-gobject +depends="gtk+3 feh libayatana-appindicator-glib python3 python3-cairo python3-gobject python3-Pillow python3-send2trash python3-yaml" short_desc="Wallpaper & color manager for Sway, i3 and other WMs" maintainer="cinerea0 " diff --git a/srcpkgs/nwg-bar/template b/srcpkgs/nwg-bar/template index 0ee1adbdc978ae..e45276674e0d33 100644 --- a/srcpkgs/nwg-bar/template +++ b/srcpkgs/nwg-bar/template @@ -15,5 +15,12 @@ distfiles="https://github.com/nwg-piotr/nwg-bar/archive/refs/tags/v${version}.ta checksum=badc232f9eef1a225776c7f0fe2534b49ac0a957f1a81dc24acb8f341b7719d4 post_install() { + for f in images/*; do + vinstall "$f" 644 usr/share/nwg-bar + done + for f in config/*; do + vinstall "$f" 644 usr/share/nwg-bar + done + vdoc README.md vlicense LICENSE } diff --git a/srcpkgs/nwg-clipman/template b/srcpkgs/nwg-clipman/template new file mode 100644 index 00000000000000..a616bd924ef214 --- /dev/null +++ b/srcpkgs/nwg-clipman/template @@ -0,0 +1,23 @@ +# Template file for 'nwg-clipman' +pkgname=nwg-clipman +version=0.2.8 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools cliphist wl-clipboard python3-wheel" +makedepends="python3-gobject-devel gtk+3-devel gtk-layer-shell-devel" +depends="cliphist gtk-layer-shell gtk+3 python3 python3-gobject xdg-utils wl-clipboard" +short_desc="GTK based GUI for cliphist - nwg-shell clipboard manager" +maintainer="zenobit " +license="MIT" +homepage="https://github.com/nwg-piotr/nwg-clipman" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-clipman/archive/refs/tags/v${version}.tar.gz" +checksum=61d98d605d5125f0dfc9804117908f110e3300b82ed97657cd9556df8b79b315 +make_check=no # No checks provided + +post_install() { + vinstall nwg-clipman.svg 644 usr/share/pixmaps + vinstall nwg-clipman.desktop 644 usr/share/applications + vdoc README.md + vlicense LICENSE +} diff --git a/srcpkgs/nwg-displays/template b/srcpkgs/nwg-displays/template new file mode 100644 index 00000000000000..573facb0162036 --- /dev/null +++ b/srcpkgs/nwg-displays/template @@ -0,0 +1,26 @@ +# Template file for 'nwg-displays' +pkgname=nwg-displays +version=0.5.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +makedepends="python3-gobject-devel gtk+3-devel gtk-layer-shell-devel" +depends="python3-gobject gtk+3 gtk-layer-shell" +short_desc="Intuitive GUI to manage multiple displays for wayland" +maintainer="zenobit " +license="MIT" +homepage="https://nwg-piotr.github.io/nwg-shell/nwg-displays" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-displays/archive/refs/tags/v${version}.tar.gz" +checksum=28dfe825e7a6a18df62d36aa1b6b7d232ab86b7f06f99994ad00c04e8b4ccfbc +make_check=no # No checks provided + +post_install() { + for f in nwg_displays/langs/*.json; do + vinstall "$f" 644 usr/share/nwg-displays/langs + done + vinstall nwg-displays.svg 644 usr/share/pixmaps + vinstall nwg-displays.desktop 644 usr/share/applications + vdoc README.md + vlicense LICENSE +} diff --git a/srcpkgs/nwg-dock/template b/srcpkgs/nwg-dock/template new file mode 100644 index 00000000000000..ae2689daa657e4 --- /dev/null +++ b/srcpkgs/nwg-dock/template @@ -0,0 +1,27 @@ +# Template file for 'nwg-dock' +pkgname=nwg-dock +version=0.4.3 +revision=1 +build_style=go +go_import_path="github.com/nwg-piotr/nwg-dock" +hostmakedepends="pkg-config" +makedepends="pkg-config gtk+3-devel gtk-layer-shell-devel" +short_desc="GTK based dock for sway" +maintainer="zenobit " +license="MIT" +homepage="https://nwg-piotr.github.io/nwg-shell/nwg-dock" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-dock/archive/refs/tags/v${version}.tar.gz" +checksum=e4c617ae1b4c6ebca623d728a130591d3240750132f3fdfc8e1c0bcc19c572f2 +make_check=no # No checks provided + +post_install() { + for f in images/*; do + vinstall "$f" 644 usr/share/nwg-dock + done + for f in config/*; do + vinstall "$f" 644 usr/share/nwg-dock + done + vdoc README.md + vlicense LICENSE +} diff --git a/srcpkgs/nwg-drawer/template b/srcpkgs/nwg-drawer/template new file mode 100644 index 00000000000000..6428cbf818aba5 --- /dev/null +++ b/srcpkgs/nwg-drawer/template @@ -0,0 +1,24 @@ +# Template file for 'nwg-drawer' +pkgname=nwg-drawer +version=0.7.5 +revision=1 +build_style=go +go_import_path=github.com/nwg-piotr/nwg-drawer +hostmakedepends="pkg-config" +makedepends="cairo-devel gdk-pixbuf-devel gtk+3-devel pango-devel + gtk-layer-shell-devel libgirepository-devel libglib-devel" +short_desc="Application drawer for wlroots-based Wayland compositors" +maintainer="zenobit " +license="MIT" +homepage="https://nwg-piotr.github.io/nwg-shell/nwg-drawer" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-drawer/archive/refs/tags/v${version}.tar.gz" +checksum=af6bfbee17ab4dec300545c83c89a25e09b5f63e7ce06fa8627e0a04cf11d6e8 + +post_install() { + vinstall drawer.css 644 usr/share/nwg-drawer + vcopy desktop-directories usr/share/nwg-drawer + vcopy img usr/share/nwg-drawer + vdoc README.md + vlicense LICENSE +} diff --git a/srcpkgs/nwg-hello/template b/srcpkgs/nwg-hello/template new file mode 100644 index 00000000000000..12b0cf6b6ec386 --- /dev/null +++ b/srcpkgs/nwg-hello/template @@ -0,0 +1,29 @@ +# Template file for 'nwg-hello' +pkgname=nwg-hello +version=0.5.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools" +depends="greetd gtk+3 gtk-layer-shell gnome-themes-extra python3 python3-gobject" +short_desc="GTK based greeter for greetd written in python" +maintainer="zenobit " +license="MIT" +homepage="https://github.com/nwg-piotr/nwg-hello" +changelog="https://github.com/nwg-piotr/nwg-hello/releases" +distfiles="https://github.com/nwg-piotr/nwg-hello/archive/refs/tags/v${version}.tar.gz" +checksum=929a6ff88e714af8b755f803a6014746d36a30e0709de02d7d0d8f62064d3056 +make_check=no # No test provided + +post_install() { + for f in img/*.svg; do + vinstall "$f" 644 usr/share/nwg-hello + done + vinstall nwg.jpg 644 usr/share/nwg-hello + vinstall nwg-hello-default.json 644 etc/nwg-hello + vinstall nwg-hello-default.css 644 etc/nwg-hello + vinstall hyprland.conf 644 etc/nwg-hello + vinstall sway-config 644 etc/nwg-hello + vinstall cache.json 664 var/cache/nwg-hello + vdoc README.md + vlicense LICENSE +} diff --git a/srcpkgs/nwg-icon-picker/template b/srcpkgs/nwg-icon-picker/template new file mode 100644 index 00000000000000..fe33c6cc64181b --- /dev/null +++ b/srcpkgs/nwg-icon-picker/template @@ -0,0 +1,23 @@ +# Template file for 'nwg-icon-picker' +pkgname=nwg-icon-picker +version=0.1.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +makedepends="python3-gobject-devel gtk+3-devel gtk-layer-shell-devel" +depends="gtk+3 python3-gobject" +short_desc="GTK icon chooser with a text search option" +maintainer="zenobit " +license="MIT" +homepage="https://github.com/nwg-piotr/nwg-icon-picker" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-icon-picker/archive/refs/tags/v${version}.tar.gz" +checksum=264df7a4fa3ab8e9bfeecb2505b5ef4c58d3b5f9d1e7d8e1255f95f4bc869ffc +make_check=no # No checks provided + +post_install() { + vinstall nwg-icon-picker.svg 644 usr/share/pixmaps + vinstall nwg-icon-picker.desktop 644 usr/share/applications + vdoc README.md + vlicense LICENSE +} diff --git a/srcpkgs/nwg-look/template b/srcpkgs/nwg-look/template index d55dfeb82f4c49..c2bbe280797041 100644 --- a/srcpkgs/nwg-look/template +++ b/srcpkgs/nwg-look/template @@ -1,28 +1,27 @@ # Template file for 'nwg-look' pkgname=nwg-look -version=1.1.1 -revision=2 +version=1.2.1 +revision=1 build_style=go go_import_path=github.com/nwg-piotr/nwg-look hostmakedepends="pkg-config" makedepends="cairo-devel gtk+3-devel libglib-devel pango-devel" depends="xcur2png" short_desc="GTK settings editor adapted to work in the wlroots environment" -maintainer="Orphaned " +maintainer="zenobit " license="MIT" homepage="https://github.com/nwg-piotr/nwg-look" changelog="https://github.com/nwg-piotr/nwg-look/releases" distfiles="https://github.com/nwg-piotr/nwg-look/archive/refs/tags/v${version}.tar.gz" -checksum=568c5efe443892d74ffce6cf8ac7db2aea6071be70d97d3ba7c5efd8b351e601 +checksum=1c66053f559f1756b18b615987a450433117c6b6c08759debdef94b6fd906480 post_install() { - vinstall stuff/main.glade 644 /usr/share/nwg-look - vinstall stuff/nwg-look.desktop 644 /usr/share/applications - vinstall stuff/nwg-look.svg 644 /usr/share/pixmaps - for lang in langs/*.json; do - vinstall ${lang} 644 /usr/share/nwg-look/langs + vinstall ${lang} 644 usr/share/nwg-look/langs done - + vinstall stuff/main.glade 644 usr/share/nwg-look + vinstall stuff/nwg-look.desktop 644 usr/share/applications + vinstall stuff/nwg-look.svg 644 usr/share/pixmaps + vdoc README.md vlicense LICENSE } diff --git a/srcpkgs/nwg-menu/template b/srcpkgs/nwg-menu/template new file mode 100644 index 00000000000000..322518306e45e3 --- /dev/null +++ b/srcpkgs/nwg-menu/template @@ -0,0 +1,24 @@ +# Template file for 'nwg-menu' +pkgname=nwg-menu +version=0.1.9 +revision=1 +build_style=go +go_import_path=github.com/nwg-piotr/nwg-menu +hostmakedepends="pkg-config" +makedepends="cairo-devel gdk-pixbuf-devel glib-devel gtk+3-devel + gtk-layer-shell-devel pango-devel" +short_desc="MenuStart plugin to nwg-panel, also capable of working standalone" +maintainer="zenobit " +license="MIT" +homepage="https://nwg-piotr.github.io/nwg-shell/nwg-menu" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-menu/archive/refs/tags/v${version}.tar.gz" +checksum=ec4f6ffe27c3dc28d6756bda5ae6b852a1e12fbb37b37cff4b682a4726ff2911 + +post_install() { + vinstall menu-start.css 644 usr/share/nwg-menu + vcopy desktop-directories usr/share/nwg-menu + #vbin nwg-menu + vdoc README.md + vlicense LICENSE +} diff --git a/srcpkgs/nwg-panel/template b/srcpkgs/nwg-panel/template new file mode 100644 index 00000000000000..1176b0ba50e87f --- /dev/null +++ b/srcpkgs/nwg-panel/template @@ -0,0 +1,26 @@ +# Template file for 'nwg-panel' +pkgname=nwg-panel +version=0.12.3 +revision=1 +build_style=python3-pep517 +hostmakedepends="pkg-config python3-setuptools python3-wheel python3-dasbus" +makedepends="cairo-devel python3-cairo-devel" +depends="python3-gobject python3-i3ipc python3-psutil python3-requests" +short_desc="GTK based panel for sway and Hyprland Wayland compositors" +maintainer="zenobit " +license="MIT" +homepage="https://nwg-piotr.github.io/nwg-shell/nwg-panel" +distfiles="https://github.com/nwg-piotr/nwg-panel/archive/refs/tags/v${version}.tar.gz" +checksum=545de0ef6623987152e3f510ce06afb67e1fc983f915cbff2a19436d25a5aceb +make_check=no # No checks provided + +post_install() { + for f in *.svg; do + vinstall "$f" 644 usr/share/pixmaps + done + for f in *.desktop; do + vinstall "$f" 644 usr/share/applications + done + vdoc README.md + vlicense LICENSE +} diff --git a/srcpkgs/nwg-readme-browser/template b/srcpkgs/nwg-readme-browser/template new file mode 100644 index 00000000000000..5e337483f81f80 --- /dev/null +++ b/srcpkgs/nwg-readme-browser/template @@ -0,0 +1,28 @@ +# Template file for 'nwg-readme-browser' +pkgname=nwg-readme-browser +version=0.1.7 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +depends="gtk-layer-shell gtk+3 python3-docutils python3-gobject + python3-markdown2 libwebkit2gtk41" +#checkdepends="python3-markdown2 python3-gobject gtk+3 libwebkit2gtk41 python3-docutils python3-pytest" +short_desc="WebKitGTK based README file browser" +maintainer="zenobit " +license="MIT" +homepage="https://nwg-piotr.github.io/nwg-shell/nwg-readme-browser" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-readme-browser/archive/refs/tags/v${version}.tar.gz" +checksum=d5f3cd29dcd987badae6fe8bb1a1ed79ca4cf221d9f5052d7d9594bdb73c020d +make_check=no # No checks provided + +post_install() { + for f in *.svg; do + vinstall "$f" 644 usr/share/pixmaps + done + for f in *.desktop; do + vinstall "$f" 644 usr/share/applications + done + vdoc README.md + vlicense LICENSE +} diff --git a/srcpkgs/nwg-shell-config/files/nwg-system-update b/srcpkgs/nwg-shell-config/files/nwg-system-update new file mode 100644 index 00000000000000..fe0ba93cf9f038 --- /dev/null +++ b/srcpkgs/nwg-shell-config/files/nwg-system-update @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +case "$2" in + "-xbps") sudo xbps-install -Syu ;; +esac +echo "$1"; read -r; diff --git a/srcpkgs/nwg-shell-config/template b/srcpkgs/nwg-shell-config/template new file mode 100644 index 00000000000000..1318dcaa4c0ccc --- /dev/null +++ b/srcpkgs/nwg-shell-config/template @@ -0,0 +1,28 @@ +# Template file for 'nwg-shell-config' +pkgname=nwg-shell-config +version=0.5.65 +revision=1 +build_style=python3-pep517 +hostmakedepends="pkg-config python3-setuptools python3-wheel python3-geopy python3-requests" +depends="python3 gtklock noto-fonts-ttf playerctl python3-geopy + python3-gobject python3-i3ipc wlsunset" +short_desc="Graphical user interface for configuring sway and Hyprland" +maintainer="zenobit " +license="MIT" +homepage="https://nwg-piotr.github.io/nwg-shell/nwg-shell-config" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-shell-config/archive/refs/tags/v${version}.tar.gz" +checksum=fe032bfe84f0aa9781818a0247baf4a2aea7074586abba3fb4791736b576b921 +make_check=no # No checks provided + +post_install() { + for f in *.svg; do + vinstall "$f" 644 usr/share/pixmaps + done + for f in *.desktop; do + vinstall "$f" 644 usr/share/applications + done + vbin "${FILESDIR}/nwg-system-update" + vdoc README.md + vlicense LICENSE +} diff --git a/srcpkgs/nwg-shell-wallpapers/template b/srcpkgs/nwg-shell-wallpapers/template new file mode 100644 index 00000000000000..fbaa3f8fe13e13 --- /dev/null +++ b/srcpkgs/nwg-shell-wallpapers/template @@ -0,0 +1,23 @@ +# Template file for 'nwg-shell-wallpapers' +pkgname=nwg-shell-wallpapers +version=1.5 +revision=1 +short_desc="Selection of wallpapers contributed to the nwg-shell project" +maintainer="zenobit " +license="CC0-1.0" +homepage="https://github.com/nwg-piotr/nwg-shell-wallpapers" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-shell-wallpapers/archive/refs/tags/v${version}.tar.gz" +checksum=8717eabe4fb755885c52507e34a0b6e6eb278b7c31a39b86eee4b29618f72171 + +do_install() { + ./install.sh +} + +post_install() { + for f in wallpapers/*; do + vinstall "$f" 644 usr/share/backgrounds/nwg-shell + done + vinstall logo.svg 644 usr/share/icons nwg-shell.svg + vdoc README.md +} diff --git a/srcpkgs/nwg-shell/template b/srcpkgs/nwg-shell/template new file mode 100644 index 00000000000000..d893d8c5ee5636 --- /dev/null +++ b/srcpkgs/nwg-shell/template @@ -0,0 +1,63 @@ +# Template file for 'nwg-shell' +pkgname=nwg-shell +version=0.5.50 +revision=1 +build_style=python3-pep517 +hostmakedepends="go python3-setuptools" +makedepends="python3-gobject-devel gtk+3-devel gtk-layer-shell-devel" +depends=" + azote + nwg-bar + nwg-clipman + nwg-displays + nwg-dock + nwg-drawer + nwg-hello + nwg-look + nwg-menu + nwg-panel + nwg-readme-browser + nwg-shell-config + nwg-shell-wallpapers + dejavu-fonts-ttf + gnome-themes-extra + grim + gtklock + ImageMagick + jq + libayatana-appindicator + network-manager-applet + papirus-icon-theme + playerctl + polkit-gnome + python3-geopy + python3-netifaces + python3-requests + python3-yaml + slurp + swappy + swaybg + swayidle + swaylock + SwayNotificationCenter + wl-clipboard + wlsunset + xorg-server-xwayland" +short_desc="GTK based shell for sway and Hyprland Wayland compositors" +maintainer="zenobit " +license="MIT" +homepage="https://nwg-piotr.github.io/nwg-shell" +changelog="https://github.com/nwg-piotr/nwg-shell/discussions/categories/changelog" +distfiles="https://github.com/nwg-piotr/nwg-shell/archive/refs/tags/v${version}.tar.gz" +checksum=a2c561735c3120328db8d0bd14a240980614b1129d64f51e2728f097631e1905 +make_check=no # No checks provided + +post_install() { + for f in scripts/*; do + vbin "$f" + done + vinstall nwg-shell.jpg 644 usr/share/backgrounds + vinstall nwg-readme.desktop 644 usr/share/applications + vdoc README.md + vlicense LICENSE +} diff --git a/srcpkgs/python3-geographiclib/template b/srcpkgs/python3-geographiclib/template new file mode 100644 index 00000000000000..cead6c608204b0 --- /dev/null +++ b/srcpkgs/python3-geographiclib/template @@ -0,0 +1,19 @@ +# Template file for 'python3-geographiclib' +pkgname=python3-geographiclib +version=2.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +checkdepends="python3-pytest" +short_desc="Python implementation of the geodesic routines" +maintainer="zenobit " +license="MIT" +homepage="https://geographiclib.sourceforge.io/" +changelog="https://geographiclib.sourceforge.io/Python/doc/_sources/package.rst.txt" +distfiles="https://github.com/geographiclib/geographiclib-python/archive/refs/tags/v${version}.tar.gz" +checksum=a6d32de8fa8fc9d44d6d469e2ec43a8bae532fd7a1d7611e3417500c1768b599 +provides="py3:geographiclib-${version}_${revision}" + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-geopy/template b/srcpkgs/python3-geopy/template new file mode 100644 index 00000000000000..38a754d03ba5f4 --- /dev/null +++ b/srcpkgs/python3-geopy/template @@ -0,0 +1,27 @@ +# Template file for 'python3-geopy' +pkgname=python3-geopy +version=2.5.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="pkg-config python3-setuptools python3-wheel python3-pip + python3-docutils python3-geographiclib" +depends="python3-geographiclib" +checkdepends="python3-aiohttp python3-pytest-asyncio python3-pytest-aiohttp + python3-pytest python3-pytz python3-requests python3-urllib3 geocode-glib" +short_desc="Geocoding library for Python" +maintainer="zenobit " +license="MIT" +homepage="https://github.com/geopy/geopy" +distfiles="https://github.com/geopy/geopy/archive/refs/tags/${version}.tar.gz" +checksum=b4c5adc5189e792ec8d286f370d1328c7ec5532ba1b01f68999ed00db0138dc5 + +# Rate-limited requests auto-skip +# Skip flaky tests that depend on volatile upstream OSM data +do_check() { + python3 -m pytest test -v \ + -k "not test_reverse_near_zero and not test_osm_tag" +} + +post_install() { + vlicense LICENSE +}