commit: ab510e2c16d54d79096401f7b1b873b357978827 Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> AuthorDate: Sun Jan 28 19:00:30 2024 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Sun Jan 28 19:00:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab510e2c
gui-apps/nwg-icon-picker: add 0.1.1 Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de> gui-apps/nwg-icon-picker/Manifest | 1 + .../nwg-icon-picker/nwg-icon-picker-0.1.1.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/gui-apps/nwg-icon-picker/Manifest b/gui-apps/nwg-icon-picker/Manifest index c59f042fb8..f667098a44 100644 --- a/gui-apps/nwg-icon-picker/Manifest +++ b/gui-apps/nwg-icon-picker/Manifest @@ -1 +1,2 @@ DIST nwg-icon-picker-0.1.0.tar.gz 5616 BLAKE2B e725947cb524ebb74259d99ea46a432773ac25fb7ad4e14fc022c9be0e5a3b138f179943adc85cecd8fcb287ca817fd302b0b155ae6e23caef291d36020db9e5 SHA512 5192e8b06340b2ecf6ab5d1a343440f398299451362d63bb75eabd574c44c9c5c08f76122d38c426594bedd24443944b86ceeb9e779a9db2a4610d36b0aff1bb +DIST nwg-icon-picker-0.1.1.tar.gz 5807 BLAKE2B 7a11a9231246841d8453f5336108264387ed3216e1cba542f7c58efeec691783cfb7faff4c579a88e7f709c99600cdacd7a1c799b8243a5e009f0be32503da70 SHA512 acad6452dc7e6313a0c16519eabd8d1cb719044443bdda361fc9fc35352f49207cfa5c838e28e34587492068d8f97491cf436b1a8208c0cf177556a3d82e8d93 diff --git a/gui-apps/nwg-icon-picker/nwg-icon-picker-0.1.1.ebuild b/gui-apps/nwg-icon-picker/nwg-icon-picker-0.1.1.ebuild new file mode 100644 index 0000000000..992d7ee1da --- /dev/null +++ b/gui-apps/nwg-icon-picker/nwg-icon-picker-0.1.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit desktop distutils-r1 xdg-utils + +if [[ "${PV}" == 9999 ]] +then + inherit git-r3 + EGIT_REPO_URI="https://github.com/nwg-piotr/nwg-icon-picker.git" +else + SRC_URI="https://github.com/nwg-piotr/nwg-icon-picker/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="GTK icon chooser with a text search option" +HOMEPAGE="https://github.com/nwg-piotr/nwg-icon-picker" +LICENSE="MIT" + +SLOT="0" + +RDEPEND=" + x11-libs/gtk+:3 + dev-python/pygobject[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND}" + +python_install_all() { + distutils-r1_python_install_all + domenu nwg-icon-picker.desktop + doicon nwg-icon-picker.svg +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}