From e2e0c4d5f7fad2aee37cc916ca3df2eed08a515d Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Tue, 7 Mar 2023 13:25:00 +0100 Subject: gnome-extra/gnome-shell-extension-dash-to-panel: add 53 Signed-off-by: Pacho Ramos --- .../gnome-shell-extension-dash-to-panel/Manifest | 1 + .../gnome-shell-extension-dash-to-panel-53.ebuild | 74 ++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-53.ebuild (limited to 'gnome-extra/gnome-shell-extension-dash-to-panel') diff --git a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest index 43417436d4b0..c1fb0697a406 100644 --- a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest +++ b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest @@ -1,2 +1,3 @@ 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 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-53.ebuild b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-53.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-53.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 +} -- cgit v1.2.3-65-gdbad