summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2020-08-21 14:55:47 +0200
committerPacho Ramos <pacho@gentoo.org>2020-08-21 14:55:47 +0200
commit42521a5c45195b7da17d1f910d3a77e74af8cd68 (patch)
tree10fab9e63bd49ec1bd31a66dadb87b26656a9484 /gnome-extra/gnome-shell-extension-bing-wallpaper
parentfeatures/selinux/package.mask: mask for gnome-shell-extension (diff)
downloadgentoo-42521a5c45195b7da17d1f910d3a77e74af8cd68.tar.gz
gentoo-42521a5c45195b7da17d1f910d3a77e74af8cd68.tar.bz2
gentoo-42521a5c45195b7da17d1f910d3a77e74af8cd68.zip
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@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-shell-extension-bing-wallpaper')
-rw-r--r--gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest1
-rw-r--r--gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-27.ebuild50
-rw-r--r--gnome-extra/gnome-shell-extension-bing-wallpaper/metadata.xml7
3 files changed, 58 insertions, 0 deletions
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 000000000000..b5cc1d0be1f1
--- /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 000000000000..e8f218093449
--- /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="BingWallpaper@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 000000000000..020b40648ee8
--- /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>pacho@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>