summaryrefslogtreecommitdiff
path: root/x11-misc/gnome-pie/gnome-pie-0.7.2-r1.ebuild
blob: 37d9e5749f6192503598805c2baacdec3f4307f2 (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
# 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
}