From f4501c566e1667dc8e99dbb82e471713b6747f19 Mon Sep 17 00:00:00 2001 From: Torsten Kurbad Date: Thu, 28 Sep 2023 17:22:18 +0200 Subject: [PATCH] Updates --- .../Manifest | 4 +- ...ome-shell-extension-appindicator-35.ebuild | 38 --------------- ...ome-shell-extension-appindicator-56.ebuild | 47 +++++++++++++++++++ 3 files changed, 49 insertions(+), 40 deletions(-) delete mode 100644 gnome-extra/gnome-shell-extension-appindicator/gnome-shell-extension-appindicator-35.ebuild create mode 100644 gnome-extra/gnome-shell-extension-appindicator/gnome-shell-extension-appindicator-56.ebuild diff --git a/gnome-extra/gnome-shell-extension-appindicator/Manifest b/gnome-extra/gnome-shell-extension-appindicator/Manifest index d441f39..98ba6bc 100644 --- a/gnome-extra/gnome-shell-extension-appindicator/Manifest +++ b/gnome-extra/gnome-shell-extension-appindicator/Manifest @@ -1,3 +1,3 @@ -DIST gnome-shell-extension-appindicator-35.tar.gz 39663 BLAKE2B 1aa50745e601fc907c5e7372dea64a42a145799eda945c6b1d720bb05bf729ec9ea6c74b28d3e9724aea9ec196d3b059a412fc6eacdb0323d1d201c4bb7fbab3 SHA512 4a69c5aa000ceee2d85af115238a1cf4f3f1709057b34cf6c400dd233434475183b3338e3c2abb8c05abf2a088ad119f60a05e049134a019cd6158d30130dc24 -EBUILD gnome-shell-extension-appindicator-35.ebuild 899 BLAKE2B 3827e3dff875e238cf07e61be9caabccd2d04f1b515cf2c3697595f163da0e5865bcf2eb9f88bb1d239f04b84b7846b2382761976c7e16df069ed45e95846671 SHA512 49f7bba575fbf669f12595328349958aee645d1e7ef3572f1ffebcb8c5fa6b8896afa7c6fcab4f12391fe3834002e15b2e081db4b2e470dad3ae9808103015ee +DIST gnome-shell-extension-appindicator-56.tar.gz 67239 BLAKE2B 9f4a4706e2555dd20d2328415058d006f26e422ff199d0fbb692168a3618a34c51a5fe5a49656201f60e6f8a245ae2fea19b64a3a2411c74633747fcc4050d94 SHA512 1f69d7f714aff9296a3a56bbffd5f5f12baaaf9ab645463f757d18861edfcae993d5ec1f9228c7486c74beefb8c31835ebca868734f41a5495020501573ed422 +EBUILD gnome-shell-extension-appindicator-56.ebuild 1050 BLAKE2B 04e38f392aa27d7aff691291cfdf6eae1dfd871dacd04b04f542e1cb2925a78ecf613c956833afa0c12f682948472083473707119f7aa7da0f5fd8eb6ad983a4 SHA512 b9e92fb613f7dbd38d3702f722c8d5625cae0875bbd0404f1d403b9456f5d6dc6a2cd3f736a672c9f250207b8e1dbf645df34081f73d7793e6804baad5accafe MISC metadata.xml 240 BLAKE2B 63b29b3fa5f9613689cca20017685c7b8fda461b37bd79b15deb70b8691afdbb1a262dac93cb3520a9d9e9c49ba745f8c797b269bb41933391a5a94667bb1c24 SHA512 2d1e63e0f72d6332021e3c9bdacb1e2b203a31b907c5a93c305e4f7b0eeef0856fb0cca37bc0d7d3d1ba77b08f81c7626f834239e3484e13032cedf59304239e diff --git a/gnome-extra/gnome-shell-extension-appindicator/gnome-shell-extension-appindicator-35.ebuild b/gnome-extra/gnome-shell-extension-appindicator/gnome-shell-extension-appindicator-35.ebuild deleted file mode 100644 index b94cde3..0000000 --- a/gnome-extra/gnome-shell-extension-appindicator/gnome-shell-extension-appindicator-35.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Support Ubuntu AppIndicators and KStatusNotifierItems in Gnome" -HOMEPAGE="https://github.com/ubuntu/gnome-shell-extension-appindicator" -SRC_URI="https://github.com/ubuntu/gnome-shell-extension-appindicator/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND=" - app-eselect/eselect-gnome-shell-extensions - dev-libs/libappindicator:3 - >=gnome-base/gnome-shell-3.34 -" -DEPEND="" -BDEPEND="" - -src_compile () { :; } - -src_install() { - einstalldocs - dodoc AUTHORS.md - rm -f AUTHORS.md LICENSE Makefile README.md || die - - insinto /usr/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com - doins -r * -} - -pkg_postinst() { - ebegin "Updating list of installed extensions" - eselect gnome-shell-extensions update - eend $? -} diff --git a/gnome-extra/gnome-shell-extension-appindicator/gnome-shell-extension-appindicator-56.ebuild b/gnome-extra/gnome-shell-extension-appindicator/gnome-shell-extension-appindicator-56.ebuild new file mode 100644 index 0000000..575809b --- /dev/null +++ b/gnome-extra/gnome-shell-extension-appindicator/gnome-shell-extension-appindicator-56.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome2-utils meson + +DESCRIPTION="Support legacy, AppIndicators and KStatusNotifierItems in Gnome" +HOMEPAGE="https://github.com/ubuntu/gnome-shell-extension-appindicator" +SRC_URI="https://github.com/ubuntu/gnome-shell-extension-appindicator/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" + +RDEPEND=" + app-eselect/eselect-gnome-shell-extensions + >=gnome-base/gnome-shell-3.34 +" +BDEPEND=" + app-misc/jq +" + +#src_prepare() { +# default +# # https://github.com/ubuntu/gnome-shell-extension-appindicator/issues/419 +# eapply -R "${FILESDIR}/${P}-41a8e9c.patch" +#} + +src_install() { + meson_src_install + rm "${ED}"/usr/share/glib-2.0/schemas/gschemas.compiled || die +} + +pkg_preinst() { + gnome2_schemas_savelist +} + +pkg_postinst() { + gnome2_schemas_update + ebegin "Updating list of installed extensions" + eselect gnome-shell-extensions update + eend $? +} + +pkg_postrm() { + gnome2_schemas_update +}