commit:     42521a5c45195b7da17d1f910d3a77e74af8cd68
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 21 12:55:47 2020 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Aug 21 12:55:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42521a5c

gnome-extra/gnome-shell-extension-bing-wallpaper: Add new extension

Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 .../gnome-shell-extension-bing-wallpaper/Manifest  |  1 +
 .../gnome-shell-extension-bing-wallpaper-27.ebuild | 50 ++++++++++++++++++++++
 .../metadata.xml                                   |  7 +++
 3 files changed, 58 insertions(+)

diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest 
b/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest
new file mode 100644
index 00000000000..b5cc1d0be1f
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest
@@ -0,0 +1 @@
+DIST gnome-shell-extension-bing-wallpaper-27.tar.gz 7202160 BLAKE2B 
bb908ccf0c67a06f80ef34edaed6257c5ae1b00570d6f3ab15a9a9c330368a2ae658f019943bf1806c1c97573cc5612b3c7dd22720d3048d628fcc2c15336420
 SHA512 
eaedbcf7e442d86b06f13745ac7796789bd5c7ccb0e64a4fbe10d4f6a2917ef9b4b9c1733d56c6620e0e8b4c4ef1281fd0d48151938519dd28249f07d54382f2

diff --git 
a/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-27.ebuild
 
b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-27.ebuild
new file mode 100644
index 00000000000..e8f21809344
--- /dev/null
+++ 
b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-27.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit gnome2-utils
+
+DESCRIPTION="Changes your wallpaper daily to the bing.com background image"
+HOMEPAGE="https://github.com/neffo/bing-wallpaper-gnome-extension";
+SRC_URI="https://github.com/neffo/bing-wallpaper-gnome-extension/archive/v${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       dev-libs/glib:2
+       app-eselect/eselect-gnome-shell-extensions
+       >=gnome-base/gnome-shell-3.28
+"
+DEPEND=""
+BDEPEND=""
+
+S="${WORKDIR}/bing-wallpaper-gnome-extension-${PV}"
+extension_uuid="bingwallpa...@ineffable-gmail.com"
+
+src_install() {
+       einstalldocs
+       rm -f README.md LICENSE || die
+       insinto /usr/share/glib-2.0/schemas
+       doins schemas/*.xml
+       rm -rf schemas
+       insinto /usr/share/gnome-shell/extensions/"${extension_uuid}"
+       doins -r *
+}
+
+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
+}

diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/metadata.xml 
b/gnome-extra/gnome-shell-extension-bing-wallpaper/metadata.xml
new file mode 100644
index 00000000000..020b40648ee
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>pa...@gentoo.org</email>
+       </maintainer>
+</pkgmetadata>

Reply via email to