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
|
|
|
|
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"
|
2021-07-21 15:10:25 +02:00
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
2022-02-02 13:15:57 +01:00
|
|
|
KEYWORDS="~arm64"
|
2021-07-21 15:10:25 +02:00
|
|
|
|
2022-07-10 22:00:05 +02:00
|
|
|
RESTRICT="network-sandbox"
|
|
|
|
|
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
|
|
|
|
}
|