From 29aabba0ea759c6a2864ff5631735b67ee38e5e0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 5 Feb 2020 18:44:56 +0000 Subject: gentoo resync : 05.02.2020 --- x11-misc/menulibre/Manifest | 2 +- x11-misc/menulibre/menulibre-2.2.1-r1.ebuild | 67 ++++++++++++++++++++++++++++ x11-misc/menulibre/menulibre-2.2.1.ebuild | 66 --------------------------- 3 files changed, 68 insertions(+), 67 deletions(-) create mode 100644 x11-misc/menulibre/menulibre-2.2.1-r1.ebuild delete mode 100644 x11-misc/menulibre/menulibre-2.2.1.ebuild (limited to 'x11-misc/menulibre') diff --git a/x11-misc/menulibre/Manifest b/x11-misc/menulibre/Manifest index eda2a33fd16c..bebcd49456fc 100644 --- a/x11-misc/menulibre/Manifest +++ b/x11-misc/menulibre/Manifest @@ -3,5 +3,5 @@ DIST menulibre-2.2.0.tar.gz 430567 BLAKE2B 7910f9f8e23b2ca3254b5a83a7c16315620be DIST menulibre-2.2.1.tar.gz 453217 BLAKE2B 86b3d2d8b20bfc7dcfcba380f656ec1e99f1d5dbc3779eadb9e7cc3a2b8c96afc0c2efe72802d0c93833f6c705c67d05a4ba6cc6cf9b95e0c9b9850ae4424fee SHA512 cf1425d604af26b7bde92106aa758a1f7dcc66ad1fbcdcd4c23db90bc7b6de5fe1160b917035f1d949daa1af8ba6b1145d7376ae637c8937a25cb108bf8cd15f EBUILD menulibre-2.1.3.ebuild 1717 BLAKE2B 468e64d1c96d0d32c127795dd9dbf5e133806868ef3c30b2d7cb03572ed27ef3654509559b467a544901376aab71360bef1cb1ad24faa577b6d1ae5981e9795c SHA512 ea0726869f8ef164ee0babdc6fcc976ddf4ab3557bc88798e50573242e68edfaa016b0e7d5abd7e9d93a8ce8652304d14a6d6bde0fdb96bb41126dda805f6837 EBUILD menulibre-2.2.0.ebuild 1743 BLAKE2B 67db6f33c8cdf804133357962238dec8fcca7ec860516a5414b45af49d847c0d50bb5ae1d57b7525bb9e498c5d98363233327ad9bb63345b50aa9299e6a9562c SHA512 c9d4c9a0031dcac581eadfa60ca9130cbb1d66b63d368e19e082bb653a5253cdec8924a8678755a13e0d417d48b59ba6a32e6ea71d7f2e11a9cbc20ec63a0158 -EBUILD menulibre-2.2.1.ebuild 1704 BLAKE2B b3382ae8b5e5cfed9759091386c8acabdfcdc85939017e5d1869df483d6c0a75b4dcdb4be42a349257b3ea65aa4e5f8b65c65424f816ac47a3ab68f6da9c75ca SHA512 dcc59ca9b391f63de30c0d81e75a94157b723b230f08e1ff37cf6c01be89c544261a20c1d981d1dcb19606b1fb9f6c6f65b51f2b674774f9dea8c7d59ad17420 +EBUILD menulibre-2.2.1-r1.ebuild 1721 BLAKE2B eb66414a140e9c6164a83942b5be814c90451d8fe274158e40788da1c895fdf9432096ca041576dd8af1ea2330896408b48caa64d01e039a36544bee11d45106 SHA512 26b47e0fc065cd0d5779f2c4c88e89db4e14300f2c5c236aeb41b54ab1d0d0aa65ab2d246a3794d646dcdbcd3c7b3a6ab962a72b9e948bb024c62a482189103a MISC metadata.xml 353 BLAKE2B 6064836036ff045dce0bc62fe8b822aefcd75b1cbb5746e12c2a2c5399802c1412b4f6bb9f9582785d5f8cff63d61f9f0c71505fd593e649e26c30f7c7019d6a SHA512 256e7ca3b20708caea270d07348c477b3d9e8300739092ad80468f4ab60e5e85b21246cf906d51a1929e627d27ed62bcf23136a3b8edc684c4ba1b53e3282454 diff --git a/x11-misc/menulibre/menulibre-2.2.1-r1.ebuild b/x11-misc/menulibre/menulibre-2.2.1-r1.ebuild new file mode 100644 index 000000000000..22d9bf1344ac --- /dev/null +++ b/x11-misc/menulibre/menulibre-2.2.1-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 ) +PYTHON_REQ_USE="xml" +DISTUTILS_IN_SOURCE_BUILD=1 +inherit desktop distutils-r1 xdg-utils + +DESCRIPTION="Advanced freedesktop.org compliant menu editor" +HOMEPAGE="https://bluesabre.org/projects/menulibre/" +SRC_URI="https://launchpad.net/${PN}/$(ver_cut 1-2)/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + dev-python/python-distutils-extra[${PYTHON_USEDEP}] +" +RDEPEND=" + dev-libs/gobject-introspection + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + gnome-base/gnome-menus[introspection] + x11-libs/gdk-pixbuf[X,introspection] + x11-libs/gtk+:3[X,introspection] + x11-libs/gtksourceview:3.0[introspection] + x11-themes/hicolor-icon-theme +" + +python_prepare_all() { + # too many categories + sed -i \ + -e 's/X-GNOME-Settings-Panel;X-GNOME-PersonalSettings;DesktopSettings;X-XFCE;//' \ + -e '/^OnlyShowIn/d' \ + menulibre.desktop.in || die + + local i + # fix incorrect behavior when LINGUAS is set to an empty string + # https://bugs.launchpad.net/python-distutils-extra/+bug/1133594 + if [[ -n "${LINGUAS+x}" ]] ; then # if LINGUAS is set + for i in $(cd "${S}"/po ; for p in *.po ; do echo ${p%.po} ; done) ; do # for every supported language + if ! has ${i} ${LINGUAS} ; then # if language is disabled + rm po/${i}.po || die + fi + done + fi + + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + python_optimize + rm -r "${ED}"/usr/share/doc/${PN} || die +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/x11-misc/menulibre/menulibre-2.2.1.ebuild b/x11-misc/menulibre/menulibre-2.2.1.ebuild deleted file mode 100644 index 95d8dcfbf47a..000000000000 --- a/x11-misc/menulibre/menulibre-2.2.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_6 ) -PYTHON_REQ_USE="xml" -DISTUTILS_IN_SOURCE_BUILD=1 -inherit desktop distutils-r1 xdg-utils - -DESCRIPTION="Advanced freedesktop.org compliant menu editor" -HOMEPAGE="https://bluesabre.org/projects/menulibre/" -SRC_URI="https://launchpad.net/${PN}/$(ver_cut 1-2)/${PV}/+download/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - dev-python/python-distutils-extra[${PYTHON_USEDEP}] -" -RDEPEND=" - dev-libs/gobject-introspection - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - gnome-base/gnome-menus[introspection] - x11-libs/gdk-pixbuf[X,introspection] - x11-libs/gtk+:3[X,introspection] - x11-libs/gtksourceview:3.0[introspection] - x11-themes/hicolor-icon-theme -" - -python_prepare_all() { - # too many categories - sed -i \ - -e 's/X-GNOME-Settings-Panel;X-GNOME-PersonalSettings;DesktopSettings;X-XFCE;//' \ - -e '/^OnlyShowIn/d' \ - menulibre.desktop.in || die - - local i - # fix incorrect behavior when LINGUAS is set to an empty string - # https://bugs.launchpad.net/python-distutils-extra/+bug/1133594 - if [[ -n "${LINGUAS+x}" ]] ; then # if LINGUAS is set - for i in $(cd "${S}"/po ; for p in *.po ; do echo ${p%.po} ; done) ; do # for every supported language - if ! has ${i} ${LINGUAS} ; then # if language is disabled - rm po/${i}.po || die - fi - done - fi - - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - rm -r "${ED}"/usr/share/doc/${PN} || die -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} -- cgit v1.2.3