summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2022-03-26 21:00:04 +0100
committerPacho Ramos <pacho@gentoo.org>2022-03-26 21:00:47 +0100
commitde5d1f246a089c890efc6b58fe4a719d2b09de58 (patch)
tree038aaf38acca65d67f8406cae47c91997325c417 /gnome-extra/gnome-shell-extension-bing-wallpaper
parentx11-themes/fedora-backgrounds: add 36.0.2 (diff)
downloadgentoo-de5d1f246a089c890efc6b58fe4a719d2b09de58.tar.gz
gentoo-de5d1f246a089c890efc6b58fe4a719d2b09de58.tar.bz2
gentoo-de5d1f246a089c890efc6b58fe4a719d2b09de58.zip
gnome-extra/gnome-shell-extension-bing-wallpaper: add 39
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-39.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest b/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest
index 63efe7eabaaa..d0703f4c2fbc 100644
--- a/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest
+++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest
@@ -1 +1,2 @@
DIST gnome-shell-extension-bing-wallpaper-37.tar.gz 6798688 BLAKE2B 9dd8e651905f2b90848bd416d222667aa528994d3d06ddc180926efc603670346513270d588be85aefc62b9c85986e5913441d643e399c1384fd6996b1cfdfc2 SHA512 1c75ff6a6068232c9be717018b93a3bc8810e6dd1b446d9dbe4cc77beecb34a35ed3d6a9904f68b3d2d4487f45f2eccee03379f1abe4f8b351642b75411d5adc
+DIST gnome-shell-extension-bing-wallpaper-39.tar.gz 6802966 BLAKE2B 262db45ef1eef37f750b502a9421d8c3052cd0f791f75f8398ed72c32867296698d2acf57a1b68c5044e7568d88a432c70ca07b4d90322d97633d55b6e3da307 SHA512 dec835098409a50ebbdb553103b7492a689135c52a74d031fa46995603d939beb1ccac232f29932e6e600e644f4d19c1c2b1b3442d3fb4ea6158671a009f655e
diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-39.ebuild b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-39.ebuild
new file mode 100644
index 000000000000..70b321cdbe92
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-39.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+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
+}