diff options
author | Pacho Ramos <pacho@gentoo.org> | 2023-03-16 12:39:41 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-03-16 13:17:31 +0100 |
commit | 4e806a8c7fc38a757631153600b9a8b6db675326 (patch) | |
tree | 27a9a9227d1b3e8f646f58c06cd9e288117d78f8 /gnome-extra | |
parent | gnome-extra/gnome-shell-extension-appindicator: drop 49 (diff) | |
download | gentoo-4e806a8c7fc38a757631153600b9a8b6db675326.tar.gz gentoo-4e806a8c7fc38a757631153600b9a8b6db675326.tar.bz2 gentoo-4e806a8c7fc38a757631153600b9a8b6db675326.zip |
gnome-extra/gnome-shell-extension-dash-to-panel: add 55
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r-- | gnome-extra/gnome-shell-extension-dash-to-panel/Manifest | 1 | ||||
-rw-r--r-- | gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-55.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest index c1fb0697a406..4f8b1cdfef6e 100644 --- a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest +++ b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest @@ -1,3 +1,4 @@ DIST gnome-shell-extension-dash-to-panel-52.tar.gz 21167738 BLAKE2B d3a53daf218f9c9e5eebdaa94c86e31d2eff54ec46ea1d31d31967f431b3d40f5a5349e9d8d9ea4cc31a780cd4683a25edfaf2917f4754c3ded291ee1655208a SHA512 be7b650c7cc2d91fe1dd5d58165fc485e3d19112821529ab4ed34bb2c957e9b14199eab3dbc372c54d1726fc8fa44053f8288b18849629066c2f4094255ed0ac DIST gnome-shell-extension-dash-to-panel-53.tar.gz 21206375 BLAKE2B 53c5a9de423924c50734ad4a9d2c9363aebbf14fc63f59e1f15c39e4a3e88f73828c57695c115ac2a2f0c9d79e1de264b1bffda8f05331fe3bbff15b1aee53c5 SHA512 aec7fea713ab7ed2b2ccf21ca8b01794401265435b6a3836843337155776869fe22a5a8659f95c8a7d4d20b6e3b5710824e8e805fa46440c354cd99f4694bb3c +DIST gnome-shell-extension-dash-to-panel-55.tar.gz 21206159 BLAKE2B 76a3f0b9ba90b84ff175f48d0896cb5e0db55bcac242a8581801bae0a755be98384408a3c55d0057121d1bd97df3006a7c3c5ca7fd615fd623ca69f794bb5750 SHA512 a3aa47c6c881a2adc1498a84b1592e0d4b0782bfbc59e9d1a08916ccc75304625d875c3ba59908a2bcacd386941ec3ffe9d0c4f842d77b85b4073e327b6803c0 DIST tango-gentoo-v1.1.tar.gz 29322 BLAKE2B 83fa2bf37727e60851dd679054fe1b153ebfea58c9a9a40f891f7d68d3b047b02e8effa1d1b4e08d64500a2072ce7200f159c92a352da7124de27e1b05bb6027 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045 diff --git a/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-55.ebuild b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-55.ebuild new file mode 100644 index 000000000000..e52e3ff25663 --- /dev/null +++ b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-55.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome2-utils + +MY_PN="${PN/gnome-shell-extension-/}" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="An icon taskbar for the Gnome Shell" +HOMEPAGE="https://github.com/home-sweet-gnome/dash-to-panel" +SRC_URI=" + https://github.com/home-sweet-gnome/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + branding? ( https://www.mail-archive.com/tango-artists@lists.freedesktop.org/msg00043/tango-gentoo-v1.1.tar.gz ) +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="branding" + +COMMON_DEPEND="dev-libs/glib:2" +RDEPEND="${COMMON_DEPEND} + app-eselect/eselect-gnome-shell-extensions + >=gnome-base/gnome-shell-42 +" +DEPEND="${COMMON_DEPEND}" +BDEPEND=" + dev-util/intltool + sys-devel/gettext +" + +S="${WORKDIR}/${MY_P}" +extension_uuid="dash-to-panel@jderose9.github.com" + +src_prepare() { + default + + # Set correct version + export VERSION="${PV}" + + # Don't install README and COPYING in unwanted locations + sed -i -e 's/COPYING//g' -e 's/README.md//g' Makefile || die + + # Provide fancy Gentoo icon when requested + use branding && eapply "${FILESDIR}"/${PN}-26-branding.patch +} + +src_install() { + default + if use branding; then + insinto /usr/share/gnome-shell/extensions/dash-to-panel@jderose9.github.com/img + doins "${WORKDIR}/tango-gentoo-v1.1/scalable/gentoo.svg" + fi + + # Install schemas system-wide + dodir /usr/share/glib-2.0/schemas + mv "${ED}/usr/share/gnome-shell/extensions/${extension_uuid}"/schemas/ "${ED}/usr/share/glib-2.0" || die + 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 +} |