diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-06 00:00:52 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-06 00:00:52 +0100 |
commit | 43c2a85d4e20318dd3d35872e348707900870067 (patch) | |
tree | f863318f1d5bf6641145c6eb96a25818842ba87f /x11-misc/menulibre | |
parent | b594445f39d99066071d80fc8efeba5c8f72cc35 (diff) |
gentoo auto-resync : 06:05:2024 - 00:00:51
Diffstat (limited to 'x11-misc/menulibre')
-rw-r--r-- | x11-misc/menulibre/Manifest | 2 | ||||
-rw-r--r-- | x11-misc/menulibre/menulibre-2.4.0.ebuild | 52 |
2 files changed, 54 insertions, 0 deletions
diff --git a/x11-misc/menulibre/Manifest b/x11-misc/menulibre/Manifest index 87ab7c599174..a41f22d034a3 100644 --- a/x11-misc/menulibre/Manifest +++ b/x11-misc/menulibre/Manifest @@ -1,3 +1,5 @@ DIST menulibre-2.2.3.tar.gz 488117 BLAKE2B 2bb157f6f8fb1af8c5059bfa2f93dbf99eb3a0cf9b3072cae28284d50c6a7d847da7a7dc5905ff59386f7d69029f7ffd7c39cb9137e029355fea2f52741283c6 SHA512 bd554606ad35cdd41272ed656427ae3f610d6aacfc9e91e4de6ed342034e1bb6070812017a1372d04b0df4008ae1cd7207ca243142a874b6abb0a00893740da3 +DIST menulibre-2.4.0.tar.gz 520920 BLAKE2B c55dbb077db2af477dc9c1882449981ff15cb66b9c12ea4433ed11a1649f9dedfa8c743ca15f54b5cfd9993c8d8ae3398fd0c87c4b5e3199f5e291029f9c81af SHA512 0c520d9cab6d9eccaa9119c4ff771dbef913909202b3f2d600f4b71f5b2db87c71df35c6d8374099fda07b33b6c02686bd6b53ca0fa3d4dbd439b3c5cdcb2839 EBUILD menulibre-2.2.3.ebuild 1315 BLAKE2B c1e297299c8db6f4e0ac1b980ee02df86ce3d0b2eec5231ce7a653b6967b21ed2786cfa9af15d9c9fb8aa567381e9f3562b21fa2fbc896b6e164918589c364b0 SHA512 996edfa5b0527df130cda9cbc1cd97e672aca8aeb3072c98069d967fc7471c096890ab50402ca054cfcc0974e14fc79969a897837062d3751bc98466fe5b5100 +EBUILD menulibre-2.4.0.ebuild 1324 BLAKE2B fac175e311090d92bef4c8bcd33904fac255d841a5995ec738271f35c3886e3623ad37b4260a8306235731c7f228334408d43cfa7f6156ddd67132515ef709f6 SHA512 5fe3cc9c000f8f11abaee8075527c24e3284b705b0ed5b8d23a7d51a9ba302117ee2b13355d5246e5af734c398088b0228413c3accc8773498e161ab23964cd9 MISC metadata.xml 276 BLAKE2B 5ae33ec24b361408186426738ecfc12a6a3ae761e023050d59a02b6bdf5f4dd788ac33ef6c9ff0c0c27e415fb369aa3cf8118bdc6268d95c3a33e75a5341140e SHA512 f186b9f746afb87c00b913f67250ed8a6f9563df447b2caab6717b212c7a8e09ae78b7dcce76bf4acdff238ff12d1faf3b997991a38ba34beae17f734b37b060 diff --git a/x11-misc/menulibre/menulibre-2.4.0.ebuild b/x11-misc/menulibre/menulibre-2.4.0.ebuild new file mode 100644 index 000000000000..b3658ab5b65b --- /dev/null +++ b/x11-misc/menulibre/menulibre-2.4.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="xml(+)" +inherit distutils-r1 xdg + +DESCRIPTION="Advanced freedesktop.org compliant menu editor" +HOMEPAGE="https://bluesabre.org/projects/menulibre" +SRC_URI="https://github.com/bluesabre/menulibre/releases/download/${P}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + gnome-base/gnome-menus:3[introspection] + x11-libs/gdk-pixbuf:2[introspection] + x11-libs/gtk+:3[introspection] + x11-themes/hicolor-icon-theme +" +BDEPEND=" + $(python_gen_cond_dep ' + dev-python/python-distutils-extra[${PYTHON_USEDEP}] + ') + dev-util/intltool +" + +python_prepare_all() { + distutils-r1_python_prepare_all + + # show desktop entry in all DEs + sed -i '/^OnlyShowIn/d' menulibre.desktop.in || die + + # workaround incorrect behavior when LINGUAS is set to an empty string + # https://bugs.launchpad.net/python-distutils-extra/+bug/1133594 + ! [[ -v LINGUAS && -z ${LINGUAS} ]] || rm po/*.po || die +} + +python_install_all() { + distutils-r1_python_install_all + + rm -r "${ED}"/usr/share/doc/${PN} || die +} |