commit: 079b3dbe354cfd0ef24d256107b3b2c4e6cabe35 Author: Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com> AuthorDate: Sat Apr 1 14:37:28 2023 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Sat Apr 1 14:38:55 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=079b3dbe
app-misc/nwg-look: new package, add 0.2.1 Signed-off-by: Remigiusz Micielski <remigiusz.micielski <AT> gmail.com> app-misc/nwg-look/Manifest | 2 ++ app-misc/nwg-look/metadata.xml | 12 +++++++++ app-misc/nwg-look/nwg-look-0.2.1.ebuild | 45 +++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) diff --git a/app-misc/nwg-look/Manifest b/app-misc/nwg-look/Manifest new file mode 100644 index 000000000..6a120e691 --- /dev/null +++ b/app-misc/nwg-look/Manifest @@ -0,0 +1,2 @@ +DIST nwg-look-0.2.1-vendor.tar.xz 657808 BLAKE2B 979e1547e9f43696251d12c1c86cfef6c8c8a2c23b58bb3dfd3ff89cdd8328bc6805e56a99be67e2832bb301ce5707ecfe9b5d372b56d62e904373ea18ddce79 SHA512 34beffb4edbb51ebc48d25d25fdbbc91d7eaf3942c26999665510542ac1baa38f043d9d2771644696876a18d26edca81a7e51fdad59d273826e915e2513aa661 +DIST nwg-look-0.2.1.tar.gz 21610 BLAKE2B 17fdeb383302f453b035538d66ca0dd287d2d19a3f3c60e02808409359037795c82519d581990f0b19e8b52352d19ffb59c3f2b2a08c030a28bdf5491b3d81a2 SHA512 2282bd8fb81a85dc739939cc501ef868def6bf01315910e9e8543b16c9d049cc248e4a642a3f31ae51e3e04fddbdeb17d9d2e6313eb4c29af71df28e058eb57a diff --git a/app-misc/nwg-look/metadata.xml b/app-misc/nwg-look/metadata.xml new file mode 100644 index 000000000..f15579d39 --- /dev/null +++ b/app-misc/nwg-look/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Remigiusz Micielski</name> + </maintainer> + <upstream> + <bugs-to>https://gitlab.com/nwg-piotr/nwg-look/issues</bugs-to> + <remote-id type="github">nwg-piotr/nwg-look</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/nwg-look/nwg-look-0.2.1.ebuild b/app-misc/nwg-look/nwg-look-0.2.1.ebuild new file mode 100644 index 000000000..8a99b55de --- /dev/null +++ b/app-misc/nwg-look/nwg-look-0.2.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="GTK3 settings editor adapted to work in the sway / wlroots environment" +HOMEPAGE="https://github.com/nwg-piotr/nwg-look" +SRC_URI="https://github.com/nwg-piotr/nwg-look/archive/refs/tags/v${PV}.tar.gz -> nwg-look-${PV}.tar.gz + https://github.com/micielski/nwg-look-vendor/releases/download/${PV}/nwg-look-${PV}-vendor.tar.xz +" + +inherit go-module xdg-utils desktop + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + ego build +} + +src_install() { + dobin nwg-look + insinto /usr/share/nwg-look + doins -r langs + doins stuff/main.glade + insinto /usr/share/pixmaps + doins stuff/nwg-look.svg + domenu stuff/nwg-look.desktop +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +}
