diff options
author | Karel Kočí <cynerd@email.cz> | 2019-10-30 21:05:12 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2019-10-30 21:05:12 +0100 |
commit | 2d14cbbb61973e0886456169fcdef569cb00c2c2 (patch) | |
tree | 0e35716718d085b3275f5a4fcd2e4029e9e5c0c8 | |
parent | 1718d9cffae11039bf3930f0a599ea35d3fb6c0f (diff) | |
download | gentoo-personal-overlay-2d14cbbb61973e0886456169fcdef569cb00c2c2.tar.gz gentoo-personal-overlay-2d14cbbb61973e0886456169fcdef569cb00c2c2.tar.bz2 gentoo-personal-overlay-2d14cbbb61973e0886456169fcdef569cb00c2c2.zip |
Add gnome-pie package
-rw-r--r-- | x11-misc/gnome-pie/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/gnome-pie/files/pieWindow-hint-to-be-popup-menu-instead-of-dock-to-n.patch | 26 | ||||
-rw-r--r-- | x11-misc/gnome-pie/gnome-pie-0.7.2-r1.ebuild | 31 |
3 files changed, 58 insertions, 0 deletions
diff --git a/x11-misc/gnome-pie/Manifest b/x11-misc/gnome-pie/Manifest new file mode 100644 index 0000000..124dd96 --- /dev/null +++ b/x11-misc/gnome-pie/Manifest @@ -0,0 +1 @@ +DIST gnome-pie-0.7.2.tar.gz 230935 BLAKE2B b89e996e27ba64e21478ed1bcb5e474c1d48a7efcfd5c2d02b11dadb46b3d6991962950968cfe4368a03156db435a75ffb7082b50838ca5f7a62d5a63e235d6e SHA512 30307cd11b889620a30e7e72de4158583a94d52e6a590b8e519dfd27fd1b7521b6a641ff1b22d15532647ff76d129e937f05f2e0d6c08289563443f6834c637b diff --git a/x11-misc/gnome-pie/files/pieWindow-hint-to-be-popup-menu-instead-of-dock-to-n.patch b/x11-misc/gnome-pie/files/pieWindow-hint-to-be-popup-menu-instead-of-dock-to-n.patch new file mode 100644 index 0000000..e43036b --- /dev/null +++ b/x11-misc/gnome-pie/files/pieWindow-hint-to-be-popup-menu-instead-of-dock-to-n.patch @@ -0,0 +1,26 @@ +From 39cd46bc9e4eb029529ee74ddb0091add3e62fe8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz> +Date: Wed, 30 Oct 2019 20:28:02 +0100 +Subject: [PATCH] pieWindow: hint to be popup menu instead of dock to not + manage by i3 + +--- + src/renderers/pieWindow.vala | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/renderers/pieWindow.vala b/src/renderers/pieWindow.vala +index 6d258d8..9d1ae51 100644 +--- a/src/renderers/pieWindow.vala ++++ b/src/renderers/pieWindow.vala +@@ -124,7 +124,7 @@ public class PieWindow : Gtk.Window { + this.set_skip_taskbar_hint(true); + this.set_skip_pager_hint(true); + this.set_keep_above(true); +- this.set_type_hint(Gdk.WindowTypeHint.DOCK); ++ this.set_type_hint(Gdk.WindowTypeHint.POPUP_MENU); + this.set_decorated(false); + this.set_resizable(false); + this.icon_name = "gnome-pie"; +-- +2.23.0 + diff --git a/x11-misc/gnome-pie/gnome-pie-0.7.2-r1.ebuild b/x11-misc/gnome-pie/gnome-pie-0.7.2-r1.ebuild new file mode 100644 index 0000000..37d9e57 --- /dev/null +++ b/x11-misc/gnome-pie/gnome-pie-0.7.2-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils vala + +DESCRIPTION="A pie menu launcher for linux" +HOMEPAGE="http://schneegans.github.io/gnome-pie.html" +SRC_URI="https://github.com/Schneegans/Gnome-Pie/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/Gnome-Pie-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="x11-libs/libwnck dev-libs/libgee gnome-base/gnome-menus" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare() { + eapply "${FILESDIR}/pieWindow-hint-to-be-popup-menu-instead-of-dock-to-n.patch" + sed -i "s/NAMES valac/NAMES valac-$(vala_best_api_version)/" cmake/vala/FindVala.cmake || die "Vala version tweak failed" + + cmake-utils_src_prepare +} + +src_compile() { + ./resources/locale/compile-po.sh + cmake-utils_src_compile +} |