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

128 lines
2.3 KiB
Bash
Raw Normal View History

2022-10-25 22:56:15 +02:00
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License-2
EAPI=8
CRATES="
2022-10-26 19:09:09 +02:00
cfg-if-0.1.10
2022-10-26 19:07:26 +02:00
cfg-if-1.0.0
2022-10-26 18:40:48 +02:00
ryu-1.0.10
2022-10-26 16:35:04 +02:00
proc-macro-crate-0.1.5
scoped-tls-1.0.0
yaml-rust-0.4.5
zbus_macros-1.0.0
zbus-1.0.0
zvariant_derive-2.0.0
toml-0.5.9
2022-10-26 18:52:50 +02:00
syn-1.0.98
2022-10-26 16:35:04 +02:00
byteorder-1.4.3
zvariant-2.0.1
enumflags2_derive-0.6.4
enumflags2-0.6.4
maplit-1.0.2
glib-sys-0.9.1
gobject-sys-0.9.1
atk-sys-0.9.1
linked-hash-map-0.5.6
memmap-0.7.0
gdk-pixbuf-sys-0.9.1
pango-sys-0.9.1
gtk-sys-0.9.2
gio-0.7.0
cairo-sys-rs-0.9.2
2022-10-26 18:26:57 +02:00
libc-0.2.126
2022-10-26 16:35:04 +02:00
gtk-0.7.0
gio-sys-0.9.1
gdk-sys-0.9.1
nix-0.17.0
gdk-0.11.0
cairo-rs-0.7.1
atk-0.7.0
lazy_static-1.4.0
2022-10-26 18:38:09 +02:00
indexmap-1.8.2
2022-10-26 18:55:04 +02:00
hashbrown-0.11.2
2022-10-26 16:35:04 +02:00
pango-0.7.0
glib-0.8.2
gdk-pixbuf-0.7.0
bitflags-1.2.1
clap-2.33.4
2022-10-26 18:43:16 +02:00
fastrand-1.7.0
2022-10-26 16:35:04 +02:00
derivative-2.2.0
autocfg-1.1.0
2022-10-26 18:08:00 +02:00
serde_yaml-0.8.24
2022-10-26 18:17:25 +02:00
xkbcommon-0.4.0
2022-10-26 18:31:29 +02:00
unicode-width-0.1.9
2022-10-26 19:04:20 +02:00
unicode-ident-1.0.1
2022-10-26 16:35:04 +02:00
textwrap-0.11.0
2022-10-26 18:45:40 +02:00
serde_repr-0.1.8
2022-10-26 17:58:32 +02:00
serde_derive-1.0.137
serde-1.0.137
2022-10-26 18:47:41 +02:00
proc-macro2-1.0.40
2022-10-26 18:29:38 +02:00
pkg-config-0.3.25
2022-10-26 18:34:10 +02:00
fragile-0.3.0
2022-10-26 18:36:02 +02:00
cc-1.0.73
2022-10-26 18:50:57 +02:00
quote-1.0.20
2022-10-26 18:57:05 +02:00
winapi-0.3.9
winapi-i686-pc-windows-gnu-0.4.0
winapi-x86_64-pc-windows-gnu-0.4.0
2022-10-26 18:59:35 +02:00
regex-1.3.9
regex-syntax-0.6.25
dtoa-0.4.8
instant-0.1.12
2022-10-26 19:01:46 +02:00
void-1.0.2
2022-10-25 22:56:15 +02:00
"
inherit cargo gnome2-utils meson toolchain-funcs xdg
DESCRIPTION="Virtual keyboard supporting Wayland, built primarily for the Librem 5 phone"
2023-02-27 18:53:15 +01:00
HOMEPAGE="https://gitlab.gnome.org/World/Phosh/squeekboardZ"
2022-10-26 16:35:04 +02:00
SRC_URI="https://gitlab.gnome.org/World/Phosh/squeekboard/-/archive/v${PV}/squeekboard-${PV}.tar.gz -> ${P}.tar.gz"
2022-10-25 22:56:15 +02:00
SRC_URI+=" $(cargo_crate_uris ${CRATES})"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~arm ~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
virtual/rust
"
S="${WORKDIR}/${PN}-v${PV}"
QA_FLAGS_IGNORED="/usr/bin/squeekboard-test-layout"
src_prepare() {
default
eapply "${FILESDIR}"/0001-Removing-online-deps-since-they-keep-breaking.patch
}
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
}