aboutsummaryrefslogtreecommitdiff
blob: 66a9f888fae2c9e8cd8d69a7c34ec316c53351a1 (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
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit gnome2 meson

DESCRIPTION="Show keys you typed on screen."
HOMEPAGE="https://showmethekey.alynx.one/"
SRC_URI="https://github.com/AlynxZhou/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	dev-libs/glib
	dev-libs/json-glib
	dev-libs/libevdev
	dev-libs/libinput
	dev-util/gtk-update-icon-cache
	gui-libs/gtk:4
	gui-libs/libadwaita
	virtual/udev
	x11-libs/cairo
	x11-libs/libxkbcommon
	x11-libs/pango
"

RDEPEND="
	${DEPEND}
	x11-libs/libX11
"

src_prepare() {
	default
	sed -i 's/gtk4-update-icon-/gtk-update-icon-/g' meson.build || die
}