From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CD7101382C5 for ; Thu, 20 May 2021 12:37:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7BC0E0919; Thu, 20 May 2021 12:37:22 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8EE10E0919 for ; Thu, 20 May 2021 12:37:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6CE11340D35 for ; Thu, 20 May 2021 12:37:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0421E796 for ; Thu, 20 May 2021 12:37:18 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1621514221.6ec58a51dd5ee5197c4f5bdb4c3d767c545cb56d.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/gnome-shell-extension-control-blur-effect-on-lock-screen-20201211-r1.ebuild X-VCS-Directories: gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 6ec58a51dd5ee5197c4f5bdb4c3d767c545cb56d X-VCS-Branch: master Date: Thu, 20 May 2021 12:37:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f67e63eb-2bd5-43d7-8f59-2f3bb949ba03 X-Archives-Hash: 02683f3909b1690c24ee0aac3145c9de commit: 6ec58a51dd5ee5197c4f5bdb4c3d767c545cb56d Author: Pacho Ramos gentoo org> AuthorDate: Thu May 20 12:18:28 2021 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Thu May 20 12:37:01 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ec58a51 gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen: Support newer gnome versions Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Pacho Ramos gentoo.org> ...l-blur-effect-on-lock-screen-20201211-r1.ebuild | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/gnome-shell-extension-control-blur-effect-on-lock-screen-20201211-r1.ebuild b/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/gnome-shell-extension-control-blur-effect-on-lock-screen-20201211-r1.ebuild new file mode 100644 index 00000000000..2f485afe467 --- /dev/null +++ b/gnome-extra/gnome-shell-extension-control-blur-effect-on-lock-screen/gnome-shell-extension-control-blur-effect-on-lock-screen-20201211-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 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="748b95e931b6b1548b90ceeee7a5883da3e0529f" +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" + +PATCHES=( + # https://github.com/PRATAP-KUMAR/Control_Blur_Effect_On_Lock_Screen/issues/3 + "${FILESDIR}/${P}-metadata.patch" +) + +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 +}