mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
app-accessibility/onboard: new package, add 1.4.4.3
Signed-off-by: Alexander Weber <web.alexander@web.de>
This commit is contained in:
1
app-accessibility/onboard/Manifest
Normal file
1
app-accessibility/onboard/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST onboard-v1.4.4-3.tar.gz 12002965 BLAKE2B 1e0f6c778284e6afe9582f05a3705c0103ec722c383b422c54d951621583fde528574c74b04b2ab9f9366f5403cd956afa83d98044204e245d02c7af4519e73a SHA512 885eddfc2244a4fb4b0736818df5e41c1beec2213010a1f260b126f16710fcdd42d6312e401492793c52576dcd0a10ca619e08e4b9b50fdcaf63bc934b0d375e
|
||||
12
app-accessibility/onboard/metadata.xml
Normal file
12
app-accessibility/onboard/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>web.alexander@web.de</email>
|
||||
<name>Alexander Weber</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="launchpad">onboard</remote-id>
|
||||
<remote-id type="github">onboard-osk/onboard</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
97
app-accessibility/onboard/onboard-1.4.4.3.ebuild
Normal file
97
app-accessibility/onboard/onboard-1.4.4.3.ebuild
Normal file
@@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_EXT=1
|
||||
PYTHON_COMPAT=( python3_{8..14} )
|
||||
|
||||
inherit distutils-r1 gnome2-utils udev xdg
|
||||
|
||||
DESCRIPTION="An onscreen keyboard useful for tablet PC users and for mobility impaired users"
|
||||
HOMEPAGE="https://launchpad.net/onboard https://github.com/onboard-osk/onboard"
|
||||
|
||||
VER1="${PV%.*}"
|
||||
VER2="${PV##*.}"
|
||||
UPSTREAM_VER="${VER1}-${VER2}"
|
||||
|
||||
SRC_URI="https://github.com/onboard-osk/${PN}/archive/refs/tags/v${UPSTREAM_VER}.tar.gz -> ${PN}-v${UPSTREAM_VER}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${UPSTREAM_VER}"
|
||||
# po/* are licensed under BSD 3-clause
|
||||
LICENSE="GPL-3+ BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64"
|
||||
IUSE="+accessibility wayland X"
|
||||
|
||||
COMMON_DEPEND="app-text/hunspell:=
|
||||
dev-libs/dbus-glib
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||
dev-python/python-distutils-extra[${PYTHON_USEDEP}]
|
||||
gnome-base/dconf
|
||||
gnome-base/gsettings-desktop-schemas
|
||||
gnome-base/librsvg
|
||||
media-libs/libcanberra
|
||||
x11-libs/gtk+:3[introspection]
|
||||
X? (
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
x11-libs/libXtst
|
||||
x11-libs/libwnck:3
|
||||
)
|
||||
x11-libs/pango"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/intltool"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-text/iso-codes
|
||||
accessibility? (
|
||||
app-accessibility/at-spi2-core:2
|
||||
gnome-extra/mousetweaks
|
||||
)
|
||||
wayland? (
|
||||
app-accessibility/at-spi2-core:2
|
||||
gui-libs/gtk-layer-shell
|
||||
)
|
||||
X? (
|
||||
x11-libs/libxkbfile
|
||||
)"
|
||||
|
||||
RESTRICT="mirror test"
|
||||
|
||||
python_prepare_all() {
|
||||
gnome2_environment_reset
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export FAKEROOTKEY=gentoo-ebuild
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
mv "${D}"/usr/share/doc/onboard "${D}"/usr/share/doc/"${P}"
|
||||
|
||||
insinto /etc/xdg/autostart/
|
||||
doins "${S}"/build/share/autostart/onboard-autostart.desktop
|
||||
|
||||
if use wayland; then
|
||||
insinto /usr/lib/udev/rules.d/
|
||||
doins "${S}"/data/72-onboard-uinput.rules
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
gnome2_schemas_update
|
||||
udev_reload
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_pkg_postrm
|
||||
gnome2_schemas_update
|
||||
udev_reload
|
||||
}
|
||||
Reference in New Issue
Block a user