gnome-extra/gnome-shell-extension-lockscreen-studio: new package, add 1.1.2

Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos
2026-07-14 15:03:56 +02:00
parent 0b9c5f72bd
commit dbd8d53b2a
3 changed files with 57 additions and 0 deletions
@@ -0,0 +1 @@
DIST gnome-shell-extension-lockscreen-studio-1.1.2.tar.gz 870331 BLAKE2B 2d172b6cc63a50818a8445bb1c4dd71d24feaa6a377b42e4b46950640f94b89de64df6d3e591b77961667a4a0648df3b88ef699fcd444940cb773ef115475d8e SHA512 ca4ba1dc01b269e3f80021d13abf7ec0e3b4ab2239c51c3f34300fbf1336634132ae681fa5ba49dabab516f2906289297e1d595651001815bb3b8512d91eb82c
@@ -0,0 +1,45 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils
DESCRIPTION="Customization extension for the gnome-shell lock screen"
HOMEPAGE="https://github.com/phenrique-coder/lockscreen-studio"
SRC_URI="https://github.com/phenrique-coder/lockscreen-studio/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P/gnome-shell-extension-}"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-libs/glib:2
app-eselect/eselect-gnome-shell-extensions
>=gnome-base/gnome-shell-45
"
extension_uuid="lockscreen-studio@pedro.projects"
src_install() {
einstalldocs
insinto /usr/share/glib-2.0/schemas
doins schemas/*.xml
insinto /usr/share/gnome-shell/extensions/"${extension_uuid}"
doins metadata.json extension.js prefs.js
}
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
}
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>pacho@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">phenrique-coder/lockscreen-studio</remote-id>
</upstream>
</pkgmetadata>