mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
app-accessibility/onboard: update HOMEPAGE
Signed-off-by: Alexander Weber <web.alexander@web.de>
This commit is contained in:
@@ -6,7 +6,6 @@
|
|||||||
<name>Alexander Weber</name>
|
<name>Alexander Weber</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="launchpad">onboard</remote-id>
|
|
||||||
<remote-id type="github">onboard-osk/onboard</remote-id>
|
<remote-id type="github">onboard-osk/onboard</remote-id>
|
||||||
</upstream>
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|||||||
@@ -5,25 +5,23 @@ EAPI=8
|
|||||||
|
|
||||||
DISTUTILS_USE_PEP517=setuptools
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
DISTUTILS_EXT=1
|
DISTUTILS_EXT=1
|
||||||
PYTHON_COMPAT=( python3_{8..14} )
|
PYTHON_COMPAT=( python3_{12..14} )
|
||||||
|
|
||||||
inherit distutils-r1 gnome2-utils udev xdg
|
inherit distutils-r1 optfeature gnome2 udev xdg
|
||||||
|
|
||||||
DESCRIPTION="An onscreen keyboard useful for tablet PC users and for mobility impaired users"
|
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"
|
HOMEPAGE="https://github.com/onboard-osk/onboard"
|
||||||
|
|
||||||
VER1="${PV%.*}"
|
MY_PV=$(ver_rs 3 '-')
|
||||||
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"
|
SRC_URI="https://github.com/onboard-osk/${PN}/archive/refs/tags/v${MY_PV}.tar.gz -> ${PN}-v${MY_PV}.tar.gz"
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}-${UPSTREAM_VER}"
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||||
# po/* are licensed under BSD 3-clause
|
# po/* are licensed under BSD 3-clause
|
||||||
LICENSE="GPL-3+ BSD"
|
LICENSE="GPL-3+ BSD"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~arm64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
IUSE="+accessibility wayland X"
|
IUSE="wayland X"
|
||||||
|
|
||||||
COMMON_DEPEND="app-text/hunspell:=
|
COMMON_DEPEND="app-text/hunspell:=
|
||||||
dev-libs/dbus-glib
|
dev-libs/dbus-glib
|
||||||
@@ -47,10 +45,6 @@ DEPEND="${COMMON_DEPEND}
|
|||||||
dev-util/intltool"
|
dev-util/intltool"
|
||||||
RDEPEND="${COMMON_DEPEND}
|
RDEPEND="${COMMON_DEPEND}
|
||||||
app-text/iso-codes
|
app-text/iso-codes
|
||||||
accessibility? (
|
|
||||||
app-accessibility/at-spi2-core:2
|
|
||||||
gnome-extra/mousetweaks
|
|
||||||
)
|
|
||||||
wayland? (
|
wayland? (
|
||||||
app-accessibility/at-spi2-core:2
|
app-accessibility/at-spi2-core:2
|
||||||
gui-libs/gtk-layer-shell
|
gui-libs/gtk-layer-shell
|
||||||
@@ -66,6 +60,10 @@ python_prepare_all() {
|
|||||||
distutils-r1_python_prepare_all
|
distutils-r1_python_prepare_all
|
||||||
}
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
distutils-r1_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
export FAKEROOTKEY=gentoo-ebuild
|
export FAKEROOTKEY=gentoo-ebuild
|
||||||
distutils-r1_src_compile
|
distutils-r1_src_compile
|
||||||
@@ -73,7 +71,7 @@ src_compile() {
|
|||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
distutils-r1_src_install
|
distutils-r1_src_install
|
||||||
mv "${D}"/usr/share/doc/onboard "${D}"/usr/share/doc/"${P}"
|
mv "${D}"/usr/share/doc/onboard "${D}"/usr/share/doc/"${P}" || die
|
||||||
|
|
||||||
insinto /etc/xdg/autostart/
|
insinto /etc/xdg/autostart/
|
||||||
doins "${S}"/build/share/autostart/onboard-autostart.desktop
|
doins "${S}"/build/share/autostart/onboard-autostart.desktop
|
||||||
@@ -85,13 +83,12 @@ src_install() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
xdg_pkg_postinst
|
gnome2_pkg_postinst
|
||||||
gnome2_schemas_update
|
|
||||||
udev_reload
|
udev_reload
|
||||||
|
optfeature "Mouse accessibility enhancements for the GNOME desktop" gnome-extra/mousetweaks
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postrm() {
|
pkg_postrm() {
|
||||||
xdg_pkg_postrm
|
gnome2_pkg_postrm
|
||||||
gnome2_schemas_update
|
|
||||||
udev_reload
|
udev_reload
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user