gnome-extra/gnome-shell-extension-no-screenshot-box: new package, add 20260716

Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Pacho Ramos
2026-11-01 11:58:06 +01:00
parent daffd98a6c
commit f0ed2b69fe
3 changed files with 66 additions and 0 deletions
@@ -0,0 +1 @@
DIST gnome-shell-extension-no-screenshot-box-20260716.tar.gz 15870 BLAKE2B 07c11c37219592b7755b1e1d5d66bc88cf8fe77bbfff5f81324b358a27693bb68def9b7a883a7bc6f0318c6db023b96218b46010c4d93f1ee6ba0e6cb7e9809c SHA512 5146694c867bb46f6d99ac822ee8c97d1565e460541fa79420dd95e684507018e85b687e6ece2e7ff5bd70a3eba6e91a62aef9ca617c71ec7c961fd1f3850420
@@ -0,0 +1,54 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils
DESCRIPTION="Customize the GNOME Shell screenshot area selector"
HOMEPAGE="https://github.com/abdallah-alkanani/no-screenshot-box"
COMMIT="049690c3a003afd005fad5459f783ba3f46cdb81"
SRC_URI="https://github.com/abdallah-alkanani/no-screenshot-box/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
extension_uuid="no-screenshot-box@screenshot"
S="${WORKDIR}/no-screenshot-box-${COMMIT}"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
# 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}"
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
}
@@ -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">abdallah-alkanani/no-screenshot-box</remote-id>
</upstream>
</pkgmetadata>