diff options
author | Pacho Ramos <pacho@gentoo.org> | 2023-01-24 17:35:43 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-01-24 18:26:30 +0100 |
commit | a4462f22aa41ab32c651d63180c653eb9752b5ba (patch) | |
tree | 2da6a9c0e0ae71650cf1d54fa01f68635e027b8b | |
parent | x11-misc/redshift: Switch to dev-libs/libayatana-appindicator (diff) | |
download | gentoo-a4462f22aa41ab32c651d63180c653eb9752b5ba.tar.gz gentoo-a4462f22aa41ab32c651d63180c653eb9752b5ba.tar.bz2 gentoo-a4462f22aa41ab32c651d63180c653eb9752b5ba.zip |
gnome-extra/gnome-shell-extension-bing-wallpaper: add 44
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
3 files changed, 66 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest b/gnome-extra/gnome-shell-extension-bing-wallpaper/Manifest index 8ae7ca6bb3ad..255215a82e85 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-41.tar.gz 6811709 BLAKE2B ecde577d2c7a8be1644e8eddf88541a705085139af1c1c0a4e9036cadd88d26c6e07cc30d135c34a5c7289d3b1ecce9a381b439eac0059d19616493793f94795 SHA512 2d48c1c0916bca70ae47ff366690dbaef5337a74fd2d3d5b51e6ba297f3df85b3b2fedc6bdb4065b431aff286ebf0b7105168bead8c1843de5a4a2ef049a8eb5 DIST gnome-shell-extension-bing-wallpaper-43.tar.gz 6816279 BLAKE2B d73f6247e41762d36095afb2602d768dac4997c911384ee57df2b2d27301395a98f8d00b94b4163d2bce5d2d43c783f181dda5f610eabd446bf9e130d905b85d SHA512 89cef18340f20d7c80764cdaea233479bf419d479349326feaa890847acce3b964e119a63cca29caa061711b7754e5861d19314082b95f394275c40cafe4065f +DIST gnome-shell-extension-bing-wallpaper-44.tar.gz 6821608 BLAKE2B ddc29bee60cbf457eb853ad8d0caa1c9e0660782d021fda03e4eaf2f2d50ec72cdafe225ebfe57abbb1ac8d506ff409d84c74c629765e176ff35991ef52d04dd SHA512 8402862affeca913aaf67ee771df3152309a23335e99cd6c2fc7c6f0b293f8fa4e593fc2c9a4e1366e340ab956d2ee623780bc02654dbbff46b00b30232a70dc diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/files/gnome-shell-extension-bing-wallpaper-44-unlock-screen.patch b/gnome-extra/gnome-shell-extension-bing-wallpaper/files/gnome-shell-extension-bing-wallpaper-44-unlock-screen.patch new file mode 100644 index 000000000000..e0792e6b9223 --- /dev/null +++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/files/gnome-shell-extension-bing-wallpaper-44-unlock-screen.patch @@ -0,0 +1,10 @@ +--- a/metadata.json.old 2023-01-24 17:24:07.124529927 +0100 ++++ b/metadata.json 2023-01-24 17:24:19.852913263 +0100 +@@ -6,5 +6,6 @@ + "description": "Sync your wallpaper to today's Microsoft Bing image of the day (the image you see when you visit Bing.com).\n\n *Disclaimer*: this extension is unofficial and not affiliated with Bing or Microsoft in any way. Images are protected by copyright and are licensed only for use as wallpapers.\n\nFeatures:\n* UHD resolution wallpapers\n* Automatically fetches current Bing wallpaper of the day and sets as both lock screen and desktop wallpaper (user selectable on GNOME versions that support it)\n* Doesn't poll continuously - only once per day and on startup (schedules a refresh when Bing is due to update)\n * random mode (from previously downloaded wallpapers)\n *NEW: select/cycle wallpaper through previously downloaded images\n* Language support: English (en), German (de), Dutch (nl), Italian (it), Polish (pl), Chinese (zh_CN, zh_TW), French (fr_FR), Portuguese (pt, pt_BR), Ukrainian (uk), Russian (ru_RU), Spanish (es), Korean (ko), Indonesian (id), Catalan (ca), Norwegian Bokmål (nb) & Nynorsk (ni), Swedish (sv), Arabic (ar), Hungarian (hu) and Japanese (ja) - a HUGE thanks to the translators\n\nThis extension was forked from the NASA APOD extension by Elinvention (https://github.com/Elinvention) and inspired by Bing Desktop Wallpaper Changer by Utkarsh Gupta (https://github.com/UtkarshGpta).\n\nAlways restart GNOME after manually updating extensions. Please report bugs to the GitHub page below:", + "version": "44", + "url": "https://github.com/neffo/bing-wallpaper-gnome-extension", +- "gettext-domain": "BingWallpaper" ++ "gettext-domain": "BingWallpaper", ++ "session-modes": ["user", "unlock-dialog"] + } diff --git a/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-44.ebuild b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-44.ebuild new file mode 100644 index 000000000000..c449d1c4f90f --- /dev/null +++ b/gnome-extra/gnome-shell-extension-bing-wallpaper/gnome-shell-extension-bing-wallpaper-44.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 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.36 +" +DEPEND="" +BDEPEND="" + +S="${WORKDIR}/bing-wallpaper-gnome-extension-${PV}" +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 +} |