Added new version
This commit is contained in:
		@@ -0,0 +1 @@
 | 
			
		||||
DIST gnome-shell-extension-bing-wallpaper-46.tar.gz 5408142 BLAKE2B cb3a1145bca49b9fe77e44ca7a61eca70c6cc8568970092a1a178d6b93cf8a951f22f6e28f7f215c99a1d657b616a7209a201bf2523be63a52c081406b8af8c9 SHA512 d18c88d077c55cc4bdd1277d1ab1ff99f91ab02625290364f8cc4c696def3820366200af11307b284c68825105ec8b01c22ce32c0ec43d348443b4b5366c8d9d
 | 
			
		||||
@@ -0,0 +1,56 @@
 | 
			
		||||
# 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
 | 
			
		||||
	net-libs/libsoup:2.4
 | 
			
		||||
"
 | 
			
		||||
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
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user