summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-06-03 23:15:47 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-06-03 23:20:09 -0700
commit103b483972b7c6fd4e6dd1aa2f1768bfd99693b9 (patch)
tree648d06d4dd4ed011184ca76e33994b5632697e16 /gnome-extra
parentprofiles/features/selinux: mask pop-shell (diff)
downloadgentoo-103b483972b7c6fd4e6dd1aa2f1768bfd99693b9.tar.gz
gentoo-103b483972b7c6fd4e6dd1aa2f1768bfd99693b9.tar.bz2
gentoo-103b483972b7c6fd4e6dd1aa2f1768bfd99693b9.zip
gnome-extra/gnome-shell-extension-pop-shell: initial import
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-shell-extension-pop-shell/Manifest1
-rw-r--r--gnome-extra/gnome-shell-extension-pop-shell/gnome-shell-extension-pop-shell-1.2.0_p20210603.ebuild62
-rw-r--r--gnome-extra/gnome-shell-extension-pop-shell/metadata.xml12
3 files changed, 75 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-pop-shell/Manifest b/gnome-extra/gnome-shell-extension-pop-shell/Manifest
new file mode 100644
index 000000000000..50d536ce905a
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-pop-shell/Manifest
@@ -0,0 +1 @@
+DIST gnome-shell-extension-pop-shell-1.2.0_p20210603.tar.gz 1018667 BLAKE2B d09becddcab7f24b8efcdb8a6c3b9a121de1654d54c792865e28a08412feeb58d3bbd7698811b840eb7873d3ca7854469f96d1b43bc806b2b3e680b2493beffe SHA512 72cb8a71560d97c92a44d988e8eb0293012565d4eea7b49d6d83be6b844f182db22c7c9d41e68ea3fd272ef7f8b88d97afbce3f867e899e162032507be082a40
diff --git a/gnome-extra/gnome-shell-extension-pop-shell/gnome-shell-extension-pop-shell-1.2.0_p20210603.ebuild b/gnome-extra/gnome-shell-extension-pop-shell/gnome-shell-extension-pop-shell-1.2.0_p20210603.ebuild
new file mode 100644
index 000000000000..3a9c7f3ff47a
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-pop-shell/gnome-shell-extension-pop-shell-1.2.0_p20210603.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome2-utils optfeature
+
+EGIT_COMMIT="f7cbe060e8d293bfe3b0b759032a85773b542645"
+
+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"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE=""
+
+RDEPEND="
+ app-eselect/eselect-gnome-shell-extensions
+ >=gnome-base/gnome-shell-40.1
+"
+
+DEPEND=""
+BDEPEND="dev-lang/typescript"
+
+S="${WORKDIR}/shell-${EGIT_COMMIT}"
+
+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
+}
+
+pkg_postinst() {
+ ebegin "Updating list of installed extensions"
+ eselect gnome-shell-extensions update
+ eend $?
+
+ gnome2_schemas_update
+
+ echo
+ einfo "To configure keybindings run /usr/lib/pop-shell/scripts/configure.sh"
+ echo
+
+ optfeature gnome-extra/gnome-shell-extensions "better tiling via native-window-placement"
+}
+
+pkg_postinst() {
+ ebegin "Updating list of installed extensions"
+ eselect gnome-shell-extensions update
+ eend $?
+
+ gnome2_schemas_update
+}
diff --git a/gnome-extra/gnome-shell-extension-pop-shell/metadata.xml b/gnome-extra/gnome-shell-extension-pop-shell/metadata.xml
new file mode 100644
index 000000000000..89f0ba8679cb
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-pop-shell/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gyakovlev@gentoo.org</email>
+ <name>Georgy Yakovlev</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">pop-os/shell</remote-id>
+ </upstream>
+ <stabilize-allarches/>
+</pkgmetadata>