aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Sell <quarkyalice@disroot.org>2022-07-07 13:04:48 -0700
committerAlice Sell <quarkyalice@disroot.org>2022-07-07 13:08:00 -0700
commit8ac2e455c466f3fc136da27a15a66069ac3e48fc (patch)
tree548234a333b9695ffc6152978b2d8390d584d804 /app-accessibility
downloadalicela1n-8ac2e455c466f3fc136da27a15a66069ac3e48fc.tar.gz
alicela1n-8ac2e455c466f3fc136da27a15a66069ac3e48fc.tar.bz2
alicela1n-8ac2e455c466f3fc136da27a15a66069ac3e48fc.zip
initial commit
Signed-off-by: Alice Sell <quarkyalice@disroot.org>
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/onboard/Manifest4
-rw-r--r--app-accessibility/onboard/files/onboard-1.4.1-remove-duplicated-docs.patch18
-rw-r--r--app-accessibility/onboard/metadata.xml18
-rw-r--r--app-accessibility/onboard/onboard-1.4.1-r1.ebuild79
4 files changed, 119 insertions, 0 deletions
diff --git a/app-accessibility/onboard/Manifest b/app-accessibility/onboard/Manifest
new file mode 100644
index 0000000..170c85e
--- /dev/null
+++ b/app-accessibility/onboard/Manifest
@@ -0,0 +1,4 @@
+AUX onboard-1.4.1-remove-duplicated-docs.patch 1225 BLAKE2B 8d09b823a4fd6fa45e37cf470d037f7558ca707957ed961f863f064a383cbd37d7a73104d1d70dd61bb7b53c1978f005319c45aa96776ab2c0069327f4cb01da SHA512 c870029ba862a057bc51213392e4e1c5ab731735af9e647228bb5b8a57753b3d171a19127e0c76339a6fb1d29c7d03edb82d13d2aeb2ccc775f329dbb6121772
+DIST onboard-1.4.1.tar.gz 9703285 BLAKE2B 9833cda373b4df28a8e4a0c9ae81069633903ec04ad22208390f3cc21b5540ae225aae553ef1b934832b6ba7ab1ba76e6e1c2c5d10cdc16b06dc2f5ac8d152b8 SHA512 ed75c1dce893e3420ecf532faffb15efc9fba56cf6622b03fe5e1cebb88d32304636b0268e4b8b75dc0eb6d7bfc8602c4a93a90bdeb8cd960d3447d16acc7463
+EBUILD onboard-1.4.1-r1.ebuild 1914 BLAKE2B 57358b846485f87a54a76329e0215d64c1a7fab54e1756fe24f8f23758767b01575d509071a61291964ee50580fe730f43b374218a37008d103a02c198c87edb SHA512 24adb12a4a989dd2d56645eed25af93cc920f927173afb15f99d1c92c9da4d1990b84fe76c3696bef3ca83d050680090e92a0ddb11238bbb6203503775c7a8e1
+MISC metadata.xml 516 BLAKE2B 3e1f486d7cbdca1d0c22a90d78ac456f28ee041addcce11b3e8153c698737f32499713f9535d9895c87666f94ead95b530262b37d66e90b32465a9e8fdf4e202 SHA512 ab9acb3e14e899ec3b82b7d6ba5fa7197cef220347fd2c0df5361a3563aaf27fb1c6863f3d1d1919e04b8b3ed7991d4eb7bbf68959d749afb14bded13182c917
diff --git a/app-accessibility/onboard/files/onboard-1.4.1-remove-duplicated-docs.patch b/app-accessibility/onboard/files/onboard-1.4.1-remove-duplicated-docs.patch
new file mode 100644
index 0000000..1a1eecc
--- /dev/null
+++ b/app-accessibility/onboard/files/onboard-1.4.1-remove-duplicated-docs.patch
@@ -0,0 +1,18 @@
+diff -ur --unidirectional-new-file -urN onboard-1.4.1.orig/setup.py onboard-1.4.1/setup.py
+--- onboard-1.4.1.orig/setup.py 2017-04-05 12:07:31.491000000 +0000
++++ onboard-1.4.1/setup.py 2017-04-05 12:10:31.453000000 +0000
+@@ -396,14 +396,6 @@
+
+ data_files = [('share/glib-2.0/schemas', glob.glob('data/*.gschema.xml')),
+ ('share/dbus-1/services', glob.glob('data/org.onboard.Onboard.service')),
+- ('share/onboard', glob.glob('AUTHORS')),
+- ('share/onboard', glob.glob('CHANGELOG')),
+- ('share/onboard', glob.glob('COPYING*')),
+- ('share/onboard', glob.glob('HACKING')),
+- ('share/onboard', glob.glob('NEWS')),
+- ('share/onboard', glob.glob('README')),
+- ('share/onboard', glob.glob('onboard-defaults.conf.example')),
+- ('share/onboard', glob.glob('onboard-default-settings.gschema.override.example')),
+ ('share/icons/hicolor/16x16/apps', glob.glob('icons/hicolor/16/*')),
+ ('share/icons/hicolor/22x22/apps', glob.glob('icons/hicolor/22/*')),
+ ('share/icons/hicolor/24x24/apps', glob.glob('icons/hicolor/24/*')),
diff --git a/app-accessibility/onboard/metadata.xml b/app-accessibility/onboard/metadata.xml
new file mode 100644
index 0000000..bfdb37d
--- /dev/null
+++ b/app-accessibility/onboard/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>wjn@aol.jp</email>
+</maintainer>
+<maintainer type="person">
+ <email>sakaki@deciban.com</email>
+ <name>sakaki</name>
+</maintainer>
+<upstream>
+ <remote-id type="launchpad">onboard</remote-id>
+</upstream>
+<longdescription>
+ An onscreen keyboard, useful for tablet or touchscreen users,
+ and for mobility impaired users.
+</longdescription>
+</pkgmetadata>
diff --git a/app-accessibility/onboard/onboard-1.4.1-r1.ebuild b/app-accessibility/onboard/onboard-1.4.1-r1.ebuild
new file mode 100644
index 0000000..5ce0a21
--- /dev/null
+++ b/app-accessibility/onboard/onboard-1.4.1-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# Ebuild from: https://bitbucket.org/wjn/wjn-overlay (thanks!)
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1 gnome2-utils versionator
+
+DESCRIPTION="Onscreen keyboard for everybody who can't use a hardware keyboard"
+HOMEPAGE="https://launchpad.net/onboard"
+SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
+
+# po/* are licensed under BSD 3-clause
+LICENSE="GPL-3+ BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~arm ~arm64"
+IUSE=""
+
+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
+ sys-apps/dbus
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3[introspection]
+ 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-accessibility/at-spi2-core
+ app-text/iso-codes
+ gnome-extra/mousetweaks
+ x11-libs/libxkbfile"
+
+RESTRICT="mirror"
+
+# These are using a functionality of distutils-r1.eclass
+DOCS=( AUTHORS CHANGELOG HACKING NEWS README onboard-defaults.conf.example
+ onboard-default-settings.gschema.override.example )
+PATCHES=( "${FILESDIR}/${P}-remove-duplicated-docs.patch" )
+
+src_prepare() {
+ distutils-r1_src_prepare
+ eapply_user
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ # Delete duplicated docs installed by original dustutils
+ rm "${D}"/usr/share/doc/onboard/*
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}