gjdwebserver-overlay/x11-misc/squeekboard/squeekboard-1.18.0.ebuild

116 lines
2.0 KiB
Bash
Raw Normal View History

2022-01-02 15:46:01 +01:00
# Copyright 1999-2022 Gentoo Authors
2022-07-10 19:16:00 +02:00
# Distributed under the terms of the GNU General Public License-2
2021-07-21 15:10:25 +02:00
EAPI=7
2022-07-11 11:38:58 +02:00
CRATES="
pkg-config-0.3.25
libc-0.2.126
proc-macro2-1.0.40
unicode-ident-1.0.1
quote-1.0.20
syn-1.0.98
bitflags-1.2.1
serde_derive-1.0.138
serde-1.0.138
lazy_static-1.4.0
gio-0.7.0
cairo-rs-0.7.1
fragile-0.3.0
autocfg-1.1.0
gdk-pixbuf-0.7.0
pango-0.7.0
gdk-0.11.0
atk-0.7.0
nix-0.17.0
void-1.0.2
cfg-if-0.1.10
linked-hash-map-0.5.6
hashbrown-0.12.2
unicode-width-0.1.9
gtk-0.7.0
byteorder-1.4.3
scoped-tls-1.0.0
ryu-1.0.10
fastrand-1.7.0
maplit-1.0.2
glib-sys-0.9.1
gobject-sys-0.9.1
gio-sys-0.9.1
gdk-pixbuf-sys-0.9.1
pango-sys-0.9.1
cairo-sys-rs-0.9.2
atk-sys-0.9.1
gdk-sys-0.9.1
gtk-sys-0.9.2
textwrap-0.11.0
yaml-rust-0.4.5
indexmap-1.9.1
clap-2.33.4
memmap-0.7.0
xkbcommon-0.4.0
glib-0.8.2
enumflags2_derive-0.6.4
serde_repr-0.1.8
zvariant_derive-2.0.0
derivative-2.2.0
toml-0.5.9
enumflags2-0.6.4
serde_yaml-0.8.25
zvariant-2.0.1
proc-macro-crate-0.1.5
zbus_macros-1.0.0
zbus-1.0.0
serde_derive-1.0.139
serde-1.0.139
"
2021-07-21 15:10:25 +02:00
inherit cargo gnome2-utils meson toolchain-funcs xdg
DESCRIPTION="Virtual keyboard supporting Wayland, built primarily for the Librem 5 phone"
2022-02-07 11:18:37 +01:00
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"
2022-07-11 11:38:58 +02:00
SRC_URI+=" $(cargo_crate_uris ${CRATES})"
2021-07-21 15:10:25 +02:00
LICENSE="GPL-3"
SLOT="0"
2022-07-11 11:38:58 +02:00
KEYWORDS="~arm ~arm64"
2022-07-10 22:00:05 +02:00
2021-07-21 15:10:25 +02:00
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
virtual/rust
"
2022-02-02 13:15:57 +01:00
S="${WORKDIR}/${PN}-v${PV}"
2021-07-21 15:10:25 +02:00
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
}