blob: 55a08703e8420739ccb8f1e2335eba97136cd107 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils optfeature readme.gentoo-r1
# Make sure to check upstream README.md for recommendations on which branch
# to use for which Gnome shell version.
EGIT_COMMIT="6fd8c039a081e8ad7bbd40ef7883ec6e5fc2a3f8"
DESCRIPTION="Keyboard-driven layer for GNOME Shell with tiling support"
HOMEPAGE="https://github.com/pop-os/shell"
SRC_URI="https://github.com/pop-os/shell/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/shell-${EGIT_COMMIT}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~ppc64"
RDEPEND="
app-eselect/eselect-gnome-shell-extensions
>=gnome-base/gnome-shell-46
sys-apps/fd
"
BDEPEND="dev-lang/typescript"
DOC_CONTENTS="To configure keybindings run /usr/lib/pop-shell/scripts/configure.sh as user"
src_install() {
default
insinto /usr/share/glib-2.0/schemas
doins schemas/org.gnome.shell.extensions.pop-shell.gschema.xml
exeinto /usr/lib/pop-shell/scripts
doexe scripts/configure.sh
insinto /usr/share/gnome-control-center/keybindings
doins keybindings/*.xml
readme.gentoo_create_doc
}
pkg_postinst() {
ebegin "Updating list of installed extensions"
eselect gnome-shell-extensions update
eend $?
gnome2_schemas_update
readme.gentoo_print_elog
optfeature "better tiling via native-window-placement" gnome-extra/gnome-shell-extensions
}
pkg_postrm() {
ebegin "Updating list of installed extensions"
eselect gnome-shell-extensions update
eend $?
gnome2_schemas_update
}
|