diff options
2 files changed, 57 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 3cb8eb877582..ececc1f37759 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-20200713.tar.gz 3431 BLAKE2B 6355135f9027d53b10ba1f02f2fdf90dc0acbd090be8905addc78f22f7b136464831985152d8a112febc8891bbd18ea42aedd8009c7db4afc52ba48b6d502511 SHA512 322da0bc511bbb6943713fd3fc3d75d8f32b9872ced9eeb611acc77756392d0b9c9dc1311bdb4e255d131637de6a17a3d0a76f1cebcc71218d67d2ef6078a4d1 +DIST gnome-shell-extension-control-blur-effect-on-lock-screen-20200901.tar.gz 15697 BLAKE2B e689b1cb09dd7a84b8c542a78fcc45dcf09af16725f44aa325d68009f189d4cd72ee435b8b66989cd18c6d1d33cda5d7a2408533f32a8da93a9b8cdd2f4f0bd0 SHA512 db29ea4ad68ed945857e2aef3c5afcc8449b5eb5163a7940487fa2fe174ab036a2a436a35dac345e3a3d96ec075460afe3ba48f5f460f14ed033ad5307ae5969 diff --git a/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/gnome-shell-extension-control-blur-effect-on-lock-screen-20200901.ebuild b/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/gnome-shell-extension-control-blur-effect-on-lock-screen-20200901.ebuild new file mode 100644 index 000000000000..8d72170e4b9e --- /dev/null +++ b/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/gnome-shell-extension-control-blur-effect-on-lock-screen-20200901.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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="df16335b2b7f4bbbd22b9e95a16f074ae405b3a3" +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-3.36.4 +" +DEPEND="${COMMON_DEPEND}" +BDEPEND="" + +S="${WORKDIR}/Control_Blur_Effect_On_Lock_Screen-${COMMIT}" +extension_uuid="ControlBlurEffectOnLockScreen@pratap.fastmail.fm" + +src_compile() { :; } + +src_install() { + einstalldocs + cd "${extension_uuid}" + 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 +} |