blob: 53dcab76dce6cd257b7ac8779ebc9f460bf93ec2 (
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CRATES="
atk@0.7.0
atk-sys@0.9.1
bitflags@1.2.1
cairo-rs@0.7.1
cairo-sys-rs@0.9.2
cc@1.0.68
clap@2.33.3
dtoa@0.4.8
fragile@0.3.0
gdk@0.11.0
gdk-pixbuf@0.7.0
gdk-pixbuf-sys@0.9.1
gdk-sys@0.9.1
gio@0.7.0
gio-sys@0.9.1
glib@0.8.2
glib-sys@0.9.1
gobject-sys@0.9.1
gtk@0.7.0
gtk-sys@0.9.2
lazy_static@1.4.0
libc@0.2.97
linked-hash-map@0.5.4
maplit@1.0.2
memmap@0.7.0
pango@0.7.0
pango-sys@0.9.1
pkg-config@0.3.19
proc-macro2@1.0.27
quote@1.0.9
regex@1.3.9
regex-syntax@0.6.25
serde@1.0.126
serde_derive@1.0.126
serde_yaml@0.8.17
syn@1.0.73
textwrap@0.11.0
unicode-width@0.1.8
unicode-xid@0.2.2
winapi@0.3.9
winapi-i686-pc-windows-gnu@0.4.0
winapi-x86_64-pc-windows-gnu@0.4.0
xkbcommon@0.4.0
yaml-rust@0.4.5
"
inherit cargo gnome2-utils meson toolchain-funcs xdg
DESCRIPTION="Virtual keyboard supporting Wayland, built primarily for the Librem 5 phone"
HOMEPAGE="https://gitlab.gnome.org/World/Phosh/squeekboard"
SRC_URI="
https://gitlab.gnome.org/World/Phosh/squeekboard/-/archive/v${PV}/squeekboard-v${PV}.tar.gz -> ${P}.tar.gz
${CARGO_CRATE_URIS}
"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
${PYTHON_DEPS}
dev-libs/feedbackd
dev-libs/wayland
dev-libs/wayland-protocols
gnome-base/gnome-desktop
media-fonts/noto-emoji
x11-libs/gtk+:3[wayland]
"
BDEPEND="
dev-util/gtk-doc
dev-util/intltool
virtual/pkgconfig
"
QA_FLAGS_IGNORED="/usr/bin/squeekboard-test-layout"
src_install() {
CC="$(tc-getCC)"
meson_src_install
insinto /usr/bin
doins "${S}/tools/squeekboard-restyled"
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}
|