diff options
author | Pacho Ramos <pacho@gentoo.org> | 2023-09-29 13:20:17 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-09-29 13:30:26 +0200 |
commit | 829addace2b9199f42e78c62e6c014e6352feb5b (patch) | |
tree | b4cee1fc1882d049089dc4c22c716d346d2d7dbd /gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen | |
parent | gnome-extra/gnome-shell-extension-applications-overview-tooltip: stabilize 17... (diff) | |
download | gentoo-829addace2b9199f42e78c62e6c014e6352feb5b.tar.gz gentoo-829addace2b9199f42e78c62e6c014e6352feb5b.tar.bz2 gentoo-829addace2b9199f42e78c62e6c014e6352feb5b.zip |
gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen: add 20230905
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen')
2 files changed, 56 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/Manifest b/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/Manifest index 92af23e5c254..1e62384c688a 100644 --- a/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/Manifest +++ b/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/Manifest @@ -1 +1,2 @@ DIST gnome-shell-extension-control-blur-effect-on-lock-screen-20230408.tar.gz 18303 BLAKE2B e15c4cb3274e0c295162dbb4788f9668d16b17f38bff0f8c45716202470c29986d28df19efdeda707365dc3b229a1dccb4c7b9fe4cfab7868d6286ac7ccf561b SHA512 4167587a1786f06a559975a393c2dac7fd54f4abeab902adbbd9637ef7a2399ad1e8e5a52f881559766599c8905ce501a3febb020f0b300b0a1ce5450d04052d +DIST gnome-shell-extension-control-blur-effect-on-lock-screen-20230905.tar.gz 18422 BLAKE2B dd3b81152bdd860896026c07ba0f7a215806e98d70c7d1d5f15679063c7793d7a7176faecccc2793289cdf1608d9e53b19ff76ea9e11c5c8782f455791c1728f SHA512 432e59ba1b6a9816c634356a070532af66710b4575d31909150bba924a94c6afeb2ce20abb773f8fa8446924c1192b351cd9bc179b0b549498d29faa71be3653 diff --git a/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/gnome-shell-extension-control-blur-effect-on-lock-screen-20230905.ebuild b/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/gnome-shell-extension-control-blur-effect-on-lock-screen-20230905.ebuild new file mode 100644 index 000000000000..3f973349faf1 --- /dev/null +++ b/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/gnome-shell-extension-control-blur-effect-on-lock-screen-20230905.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="Control the blur effect on gnome-shell lock screen" +HOMEPAGE="https://github.com/PRATAP-KUMAR/Control_Blur_Effect_On_Lock_Screen" +COMMIT="5e03c3bfbc0d52009c74a08c5c02ffdcb044eb1b" +SRC_URI="https://github.com/PRATAP-KUMAR/Control_Blur_Effect_On_Lock_Screen/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# glib for glib-compile-schemas at build time, needed at runtime anyways +COMMON_DEPEND=" + dev-libs/glib:2 +" +RDEPEND="${COMMON_DEPEND} + app-eselect/eselect-gnome-shell-extensions + >=gnome-base/gnome-shell-45 +" +DEPEND="${COMMON_DEPEND}" +BDEPEND="" + +extension_uuid="ControlBlurEffectOnLockScreen@pratap.fastmail.fm" +S="${WORKDIR}/${PN/gnome-shell-extension-/}-${COMMIT}" + +src_compile() { :; } + +src_install() { + einstalldocs + insinto /usr/share/glib-2.0/schemas + doins schemas/*.xml + rm -rf LICENSE README.md 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 +} |