summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-07-31 09:45:42 +0200
committerPacho Ramos <pacho@gentoo.org>2019-07-31 09:45:42 +0200
commitcfeafd61cb8a7d1a71dcf0a2dfb804427fad7b0a (patch)
treee0310e5af127eb1fb8d8d8854d6b3c5de78e4b5e /gnome-extra/gnome-shell-extension-dash-to-panel
parentmedia-sound/pulseaudio-modules-bt: Rebuild needed with fdk-aac subslot bump (diff)
downloadgentoo-cfeafd61cb8a7d1a71dcf0a2dfb804427fad7b0a.tar.gz
gentoo-cfeafd61cb8a7d1a71dcf0a2dfb804427fad7b0a.tar.bz2
gentoo-cfeafd61cb8a7d1a71dcf0a2dfb804427fad7b0a.zip
gnome-extra/gnome-shell-extension-dash-to-panel: Bump to v20
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-shell-extension-dash-to-panel')
-rw-r--r--gnome-extra/gnome-shell-extension-dash-to-panel/Manifest1
-rw-r--r--gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-20.ebuild54
2 files changed, 55 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 6e5ea8825757..27db6c747f55 100644
--- a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
+++ b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
@@ -1 +1,2 @@
DIST gnome-shell-extension-dash-to-panel-19.tar.gz 21031128 BLAKE2B f2df2fa7f4967b03cb99e86740f0738ec805427ef13d7dd1e86296b4ffd1dd2a154ffb7eb8c6a36a8d589b16635fe8f608182ebc11f2708eb1436bdf72097b01 SHA512 f5ab8d5aa397dbf4a7fc5d9e4584016fc5382c026cef6f58649923edf28f0c1f46cb1ec6ff32466ee4cb84b6b0ed30eac1b1924608ad02f34b1c24ec7bb91635
+DIST gnome-shell-extension-dash-to-panel-20.tar.gz 21070416 BLAKE2B 139571ff33413827624c566dd636766d3362b790c55b151dc666446a1719b4c848d2b5bb83822683cfc567f46b71e8ab99faede0c373979ccb941a032187d528 SHA512 42c9c84f05fc5de8bbe425c3dd3ea25c84ed2f670e165c77e53ff97a5e674d5bf04ab8b0b7bf766b91ecd4ae5e7f496e05de0c78ff5a45f980ee456f6389e479
diff --git a/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-20.ebuild b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-20.ebuild
new file mode 100644
index 000000000000..9fcfa4e12844
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-20.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+COMMON_DEPEND="dev-libs/glib:2"
+RDEPEND="${COMMON_DEPEND}
+ app-eselect/eselect-gnome-shell-extensions
+ >=gnome-base/gnome-shell-3.18.0
+"
+DEPEND="${COMMON_DEPEND}"
+BDEPEND="
+ dev-util/intltool
+ sys-devel/gettext
+"
+
+S="${WORKDIR}/${MY_P}"
+
+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
+}
+
+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
+}