diff options
Diffstat (limited to 'gnome-extra')
-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-50.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest b/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest index 54792c6fda7d..14084460dc22 100644 --- a/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest +++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest @@ -1,2 +1,3 @@ DIST gnome-shell-extension-bing-wallpaper-48.tar.gz 5407779 BLAKE2B bf3a10389ae5d2bdaab11c9927ca0227e453a25d9719a903dfdf136d3fe4746efc88d44fa1f935ef40e401deea2a6fffa45ded56f8aa4fe06e2ebb55c0792c74 SHA512 27a46bb2aca38c7fde5f793ca1190ec24cf363e2b01eb7fe79d19dbe2cadf269e709c5e5a090a4d966d9359cbd20f035f10b7bfdcc34ea39b8aa8346e89663e0 DIST gnome-shell-extension-bing-wallpaper-49.tar.gz 5408566 BLAKE2B 7fa60cc5d3a2b1f10dd5c364a24a38f76f9891f17fa72638cfe58ceac5c9503a0d556078a49f060c297bd940d9998497b73785d3ea33a24ce3050a91c509a977 SHA512 c0dbf7d900d019b588d8188b03554bb26b95202efa270dd697259d3921f96aeec78ef70a3f84db60680a8c1844c48b98184c4f8a2205fb69db7c6cb5fa117d62 +DIST gnome-shell-extension-bing-wallpaper-50.tar.gz 1603868 BLAKE2B 227424fffaa4ceeb40f104bdead0d51585731f580bbd2d2201c2b51d44fd4b0515e2984ae2a5d9a69df86e70188f67bbfd54c407f9a96ab6ba1f6bb75bf1c9bb SHA512 e53368c78f45c2949d39282b56ad2f7214fe4dd1c8fa67dad22b82d3ae68433c77faea13e6fd7a78a0e829ace81484382fc3204973f117c5d826aca67a0c1ace diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-50.ebuild b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-50.ebuild new file mode 100644 index 000000000000..c5c1f694b082 --- /dev/null +++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-50.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome2-utils + +DESCRIPTION="Change 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" +S="${WORKDIR}/bing-wallpaper-gnome-extension-${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/glib:2 + app-eselect/eselect-gnome-shell-extensions + >=gnome-base/gnome-shell-45 + net-libs/libsoup:3.0 +" + +extension_uuid="BingWallpaper@ineffable-gmail.com" + +PATCHES=( + # https://github.com/neffo/bing-wallpaper-gnome-extension/issues/113 + "${FILESDIR}/${PN}-44-unlock-screen.patch" +) + +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 +} |