diff --git a/srcpkgs/nwg-bar/template b/srcpkgs/nwg-bar/template new file mode 100644 index 00000000000000..00a61cb566ce83 --- /dev/null +++ b/srcpkgs/nwg-bar/template @@ -0,0 +1,20 @@ +# Template file for 'nwg-bar' +pkgname=nwg-bar +version=0.1.6 +revision=1 +build_style=go +go_import_path=github.com/nwg-piotr/nwg-bar +hostmakedepends="pkg-config" +makedepends="python3-gobject-devel gtk+3-devel gtk-layer-shell-devel" +depends="gtk-layer-shell gtk+3 zlib pango libharfbuzz atk cairo gdk-pixbuf glib gtk-layer-shell fontconfig freetype glibc" +short_desc="GTK3-based button bar for wlroots-based compositors" +maintainer="zenobit " +license="MIT" +homepage="https://github.com/nwg-piotr/nwg-bar" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-bar/archive/refs/tags/v${version}.tar.gz" +checksum=badc232f9eef1a225776c7f0fe2534b49ac0a957f1a81dc24acb8f341b7719d4 + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/nwg-clipman/template b/srcpkgs/nwg-clipman/template new file mode 100644 index 00000000000000..1cc8c6062ec249 --- /dev/null +++ b/srcpkgs/nwg-clipman/template @@ -0,0 +1,23 @@ +# Template file for 'nwg-clipman' +pkgname=nwg-clipman +version=0.2.1 +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" +checkdepends="python3-wheel" +short_desc="GTK3-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=4be365f8dd3ebda5eb3cbc9f8351fedac048d86d07729076941fb22c7f229ed1 + +post_install() { + vinstall nwg-clipman.svg 644 /usr/share/pixmaps + vinstall nwg-clipman.desktop 644 /usr/share/applications + vinstall README.md 644 /usr/share/doc/nwg-clipman + vlicense LICENSE +} diff --git a/srcpkgs/nwg-displays/template b/srcpkgs/nwg-displays/template new file mode 100644 index 00000000000000..f4ed3d51811113 --- /dev/null +++ b/srcpkgs/nwg-displays/template @@ -0,0 +1,28 @@ +# Template file for 'nwg-displays' +pkgname=nwg-displays +version=0.3.18 +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" +checkdepends="python3-wheel" +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=0c522cf45998ae4816df63ea661906a9c2a7eb8a8490167419933e89ca1117f2 + +post_install() { + vinstall nwg-displays.svg 644 /usr/share/pixmaps + vinstall nwg-displays.desktop 644 /usr/share/applications + vinstall README.md 644 /usr/share/doc/nwg-displays + + for lang in nwg_displays/langs/*.json; do + vinstall "${lang}" 644 /usr/share/nwg-displays/langs + done + + vlicense LICENSE +} diff --git a/srcpkgs/nwg-dock-hyprland/template b/srcpkgs/nwg-dock-hyprland/template new file mode 100644 index 00000000000000..64bae9127edfc0 --- /dev/null +++ b/srcpkgs/nwg-dock-hyprland/template @@ -0,0 +1,20 @@ +# Template file for 'nwg-dock-hyprland' +pkgname=nwg-dock-hyprland +version=0.1.8 +revision=1 +build_style=go +go_import_path="nwg-dock-hyprland" +hostmakedepends="pkg-config" +makedepends="gtk+3-devel gtk-layer-shell-devel" +depends="nwg-drawer glibc gtk+3 zlib pango libharfbuzz atk cairo gdk-pixbuf glib gtk-layer-shell fontconfig freetype" +short_desc="GTK3-based dock for Hyprland" +maintainer="zenobit " +license="MIT" +homepage="https://nwg-piotr.github.io/nwg-shell/nwg-dock-hyprland" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-dock-hyprland/archive/refs/tags/v${version}.tar.gz" +checksum=ba7a3cf8df382ccccca19883a2f52284e0daa11ca291630a1296f8981a4ceac5 + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/nwg-dock/template b/srcpkgs/nwg-dock/template new file mode 100644 index 00000000000000..34529e8e77bb91 --- /dev/null +++ b/srcpkgs/nwg-dock/template @@ -0,0 +1,20 @@ +# Template file for 'nwg-dock' +pkgname=nwg-dock +version=0.3.9 +revision=1 +build_style=go +go_import_path="github.com/nwg-piotr/nwg-dock" +hostmakedepends="pkg-config" +makedepends="gtk+3-devel gtk-layer-shell-devel" +depends="gtk-layer-shell gtk+3 zlib pango libharfbuzz atk gdk-pixbuf glib fontconfig freetype glibc" +short_desc="GTK3-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=a8655aa0f1fa9da0a23d3612c4ee5f773ed9e8a463408aca1690ce3488b10214 + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/nwg-drawer/template b/srcpkgs/nwg-drawer/template new file mode 100644 index 00000000000000..5827db04761603 --- /dev/null +++ b/srcpkgs/nwg-drawer/template @@ -0,0 +1,20 @@ +# Template file for 'nwg-drawer' +pkgname=nwg-drawer +version=0.4.7 +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 gtk-layer-shell-devel pango-devel" +depends="gtk+3 zlib pango libharfbuzz atk cairo gdk-pixbuf glib gtk-layer-shell glibc fontconfig freetype" +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=4463841382061ef4a2d6f7fec8b9a846886edf55885cd6b2337874b5cf904e14 + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/nwg-icon-picker/template b/srcpkgs/nwg-icon-picker/template new file mode 100644 index 00000000000000..f6011ebfa419a7 --- /dev/null +++ b/srcpkgs/nwg-icon-picker/template @@ -0,0 +1,22 @@ +# 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 + +post_install() { + vinstall nwg-icon-picker.svg 644 /usr/share/pixmaps + vinstall nwg-icon-picker.desktop 644 /usr/share/applications + vinstall README.md 644 /usr/share/doc/nwg-icon-picker + vlicense LICENSE +} diff --git a/srcpkgs/nwg-menu/template b/srcpkgs/nwg-menu/template new file mode 100644 index 00000000000000..3aa317af722dae --- /dev/null +++ b/srcpkgs/nwg-menu/template @@ -0,0 +1,28 @@ +# Template file for 'nwg-menu' +pkgname=nwg-menu +version=0.1.3 +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" +depends="gtk+3 zlib pango libharfbuzz atk cairo gdk-pixbuf glib gtk-layer-shell glibc fontconfig freetype" +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=1d25b2ad799eea4b74a6cd260497c9383c1a34148833051cf0c8907443d5dd3e + +post_install() { + for dir in desktop-directories/*.directory; do + vinstall ${dir} 644 /usr/share/nwg-menu/desktop-directories + done + + vinstall menu-start.css 644 /usr/share/nwg-menu + vbin nwg-menu + + vinstall README.md 644 /usr/share/doc/nwg-menu + vlicense LICENSE +} diff --git a/srcpkgs/nwg-panel/template b/srcpkgs/nwg-panel/template new file mode 100644 index 00000000000000..2f74d4e34c5c7d --- /dev/null +++ b/srcpkgs/nwg-panel/template @@ -0,0 +1,20 @@ +# Template file for 'nwg-panel' +pkgname=nwg-panel +version=0.9.31 +revision=1 +build_style=python3-pep517 +hostmakedepends="pkg-config python3-setuptools python3-wheel python3-dasbus" +makedepends="cairo-devel python3-cairo-devel" +depends="bluez brightnessctl gtk-layer-shell gtk+3 playerctl python3 python3-cairo python3-gobject python3-i3ipc python3-netifaces python3-psutil python3-requests ddcutil SwayNotificationCenter upower wlr-randr" +checkdepends="python3-pytest python3-pip python3-wheel cmake python3-gobject gtk+3 gtk-layer-shell python3-psutil playerctl python3-requests python3-i3ipc libdbusmenu-gtk3" +short_desc="GTK3-based panel for sway and Hyprland Wayland compositors" +maintainer="zenobit " +license="MIT" +homepage="https://nwg-piotr.github.io/nwg-shell/nwg-panel" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-panel/archive/refs/tags/v${version}.tar.gz" +checksum=709a301cd38339ab453a157fc3a3b63132bb988f90670a59a30841da0c2aa69a + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/nwg-readme-browser/template b/srcpkgs/nwg-readme-browser/template new file mode 100644 index 00000000000000..f7efdee38d1a9d --- /dev/null +++ b/srcpkgs/nwg-readme-browser/template @@ -0,0 +1,19 @@ +# Template file for 'nwg-readme-browser' +pkgname=nwg-readme-browser +version=0.1.5 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +depends="gtk-layer-shell gtk+3 python3-docutils python3-gobject python3-markdown2 webkit2gtk" +checkdepends="python3-markdown2 python3-gobject gtk+3 webkit2gtk python3-docutils" +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=e12eb2affc9683a5ae13ec1509b0927e8d0d76e2fc89c3b1966019aeb772ddce + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/nwg-shell-config/template b/srcpkgs/nwg-shell-config/template new file mode 100644 index 00000000000000..7b7a8563da0ea9 --- /dev/null +++ b/srcpkgs/nwg-shell-config/template @@ -0,0 +1,51 @@ +# Template file for 'nwg-shell-config' +pkgname=nwg-shell-config +version=0.5.37 +revision=1 +build_style=python3-pep517 +hostmakedepends="pkg-config python3-setuptools python3-wheel python3-geopy python3-requests" +#makedepends="python3-gobject-devel gtk+3-devel gtk-layer-shell-devel" +depends="python3 gtklock noto-fonts-ttf playerctl python3-geopy python3-gobject python3-i3ipc wlsunset" +#checkdepends="" +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=0a38365cbc8f2edb15626dc136c85397c68a196dca82c9d6e9fd4fa073a35510 + +#do_install() { +# python3 setup.py --help +# python3 setup.py -m installer --root="build" --optimize=1 +#} + +post_install() { + vinstall nwg-shell-config.svg 644 /usr/share/pixmaps + vinstall nwg-shell-config.svg 644 /usr/share/pixmaps + vinstall nwg-shell-update.svg 644 /usr/share/pixmaps + vinstall nwg-shell-translate.svg 644 /usr/share/pixmaps + vinstall nwg-update-noupdate.svg 644 /usr/share/pixmaps + vinstall nwg-update-available.svg 644 /usr/share/pixmaps + vinstall nwg-update-checking.svg 644 /usr/share/pixmaps + vinstall nwg-screenshot.svg 644 /usr/share/pixmaps + vinstall nwg-1.svg 644 /usr/share/pixmaps + vinstall nwg-2.svg 644 /usr/share/pixmaps + vinstall nwg-3.svg 644 /usr/share/pixmaps + vinstall nwg-shell-config.desktop 644 /usr/share/applications + vinstall README.md 644 /usr/share/doc/nwg-shell-config + vbin nwg-system-update + + #vinstall usr/bin/nwg-autotiling 644 /usr/bin + #vbin usr/bin/nwg-autotranslate + #vbin usr/bin/nwg-lock + #vbin usr/bin/nwg-screenshot-applet + #vbin usr/bin/nwg-shell-config + #vbin usr/bin/nwg-shell-config-hyprland + #vbin usr/bin/nwg-shell-config-sway + #vbin usr/bin/nwg-shell-help + #vbin usr/bin/nwg-shell-translate + #vbin usr/bin/nwg-shell-updater + #vbin usr/bin/nwg-update-indicator + vlicense LICENSE +} diff --git a/srcpkgs/nwg-shell/template b/srcpkgs/nwg-shell/template new file mode 100644 index 00000000000000..8df2584214555b --- /dev/null +++ b/srcpkgs/nwg-shell/template @@ -0,0 +1,38 @@ +# Template file for 'nwg-shell' +pkgname=nwg-shell +version=0.5.34 +revision=1 +build_style=python3-pep517 +hostmakedepends="go python3-setuptools python3-wheel nwg-shell-config nwg-bar nwg-clipman nwg-displays nwg-dock nwg-drawer nwg-look nwg-menu nwg-panel python3-geopy python3-yaml python3-requests python3-netifaces" +makedepends="python3-gobject-devel gtk+3-devel gtk-layer-shell-devel" +depends="azote gnome-themes-extra grim gtklock ImageMagick jq + libayatana-appindicator network-manager-applet nwg-bar nwg-clipman + nwg-displays nwg-dock nwg-dock-hyprland nwg-drawer nwg-look nwg-menu + nwg-panel nwg-readme-browser nwg-shell-config papirus-icon-theme + playerctl polkit-gnome slurp swappy sway swaybg swayidle swaylock + SwayNotificationCenter dejavu-fonts-ttf wl-clipboard wlsunset + xorg-server-xwayland python3-geopy python3-yaml python3-requests + python3-netifaces" +# nwg-shell-wallpapers +checkdepends="python3-wheel python3-pytest" +short_desc="GTK3-based shell for sway and Hyprland Wayland compositors" +maintainer="zenobit " +license="MIT" +homepage="https://nwg-piotr.github.io/nwg-shell" +#changelog="" +distfiles="https://github.com/nwg-piotr/nwg-shell/archive/refs/tags/v${version}.tar.gz" +checksum=5b197ffcfed47be6bdddc58a8dbe52fe8603eb769ea29b6be447aa15d0090659 + +#do_install() { +# python3 setup.py install --optimize=1 +#} + +post_install() { + #for file in scripts/*; do + # vbin ${file} + #done + #vinstall nwg-shell.jpg 644 /usr/share/backgrounds + #vinstall nwg-readme.desktop 644 /usr/share/applications + vinstall README.md 644 /usr/share/doc/nwg-shell + vlicense LICENSE +} diff --git a/srcpkgs/python3-dasbus/template b/srcpkgs/python3-dasbus/template new file mode 100644 index 00000000000000..cd1066ab0cb0ee --- /dev/null +++ b/srcpkgs/python3-dasbus/template @@ -0,0 +1,16 @@ +# Template file for 'python3-dasbus' +pkgname=python3-dasbus +version=1.7 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +makedepends="cairo-devel python3-gobject-devel python3-cairo-devel python3-dbus-devel" +depends="python3-gobject" +checkdepends="python3-pytest" +short_desc="DBus library in Python 3" +maintainer="zenobit " +license="LGPL-2.1-only" +homepage="https://github.com/dasbus-project/dasbus" +#changelog="" +distfiles="https://github.com/dasbus-project/dasbus/archive/refs/tags/v${version}.tar.gz" +checksum=442a8df9330d4f55704c92cbed066cf0918378418be89d6fff67721d3cba5590 diff --git a/srcpkgs/python3-geographiclib/template b/srcpkgs/python3-geographiclib/template new file mode 100644 index 00000000000000..6ff59cdee39949 --- /dev/null +++ b/srcpkgs/python3-geographiclib/template @@ -0,0 +1,25 @@ +# Template file for 'python3-geographiclib' +pkgname=python3-geographiclib +version=2.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +#makedepends="" +depends="python3>=3.7" +checkdepends="python3-pytest" +short_desc="Python implementation of the geodesic routines" +maintainer="zenobit " +license="MIT" +homepage="https://geographiclib.sourceforge.io/" +#changelog="" +#distfiles="https://github.com/geographiclib/geographiclib-python/archive/refs/tags/v${version}.tar.gz" +#distfiles="${SOURCEFORGE_SITE}/geographiclib/files/distrib-Python/geographiclib-${version}.tar.gz" +distfiles="https://sourceforge.net/projects/geographiclib/files/distrib-Python/geographiclib-${version}.tar.gz" +checksum=f7f41c85dc3e1c2d3d935ec86660dc3b2c848c83e17f9a9e51ba9d5146a15859 + +# TODO: Skip for now to test if is only show stopper +make_check=ci-skip + +post_install() { + vlicense LICENSE +} diff --git a/srcpkgs/python3-geopy/template b/srcpkgs/python3-geopy/template new file mode 100644 index 00000000000000..9a8e6876b1c491 --- /dev/null +++ b/srcpkgs/python3-geopy/template @@ -0,0 +1,21 @@ +# Template file for 'python3-geopy' +pkgname=python3-geopy +version=2.4.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="pkg-config python3-setuptools python3-wheel python3-pip python3-docutils python3-geographiclib" +checkdepends="python3-pytest python3-pytest-asyncio python3-pytz python3-urllib3 geocode-glib-libsoup2" +short_desc="Geocoding library for Python" +maintainer="zenobit " +license="MIT" +homepage="https://github.com/geopy/geopy" +#changelog="" +distfiles="https://github.com/geopy/geopy/archive/refs/tags/${version}.tar.gz" +checksum=a231629d166b58b0d557fc453374374d1fe0f3aff205b34bd8196e62ec285c55 + +# CI skipped: Missing geocoder credentials +make_check=ci-skip + +post_install() { + vlicense LICENSE +}