diff options
Diffstat (limited to 'gnome-extra/gnome-shell-extension-bing-wallpaper')
-rw-r--r-- | gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest | 1 | ||||
-rw-r--r-- | gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-35.ebuild | 50 |
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 ff5571612f23..a5d70ad886cf 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-34.tar.gz 4308799 BLAKE2B 5c14895fbb42fb726e1b6d93924eebfd7b93ccea893075bfd698476579962a88f8e0008d7e935304d56caba1db1f8afc8fee3498f63044e4a9da13f568025e84 SHA512 7e1e26b5494a9e66d74c3d1045827445935d1a0ed20b095cb72b3b06b622ae5fda7980313dcddedf25c5ed3b40717a8e322bc80764f502c5eb7fe7155ec84ca7 +DIST gnome-shell-extension-bing-wallpaper-35.tar.gz 6060072 BLAKE2B cc37ccfc193b10d7e9e96bae7684ba4c247fc625876b2ffaedb56f7212bf211a4ebe5b33b6a1d072ddcda0a5be7ce026d1e05549f6d7d40f38b02bc0aa69fdd9 SHA512 65cafd6da9788e705d3a52c4e461fcd199455b2a90e431cf455cf2460f772eef54fcc6be78397f34f34d710f20e3fce1f18cde9312aba56efdb438e47e417958 diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-35.ebuild b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-35.ebuild new file mode 100644 index 000000000000..c31bdf512404 --- /dev/null +++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-35.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 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 +} |