aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-02-06 21:49:50 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-02-08 12:09:46 +0500
commit767fd1f87fdd37ce5eb1d324920942ef5a99b028 (patch)
tree9283dc274a5b0f1c82965820d15333a93b4813e7 /phosh-base
parentgnome-extra/extension-manager: Drop 0.4.2 (diff)
downloadguru-767fd1f87fdd37ce5eb1d324920942ef5a99b028.tar.gz
guru-767fd1f87fdd37ce5eb1d324920942ef5a99b028.tar.bz2
guru-767fd1f87fdd37ce5eb1d324920942ef5a99b028.zip
phosh-base/phosh-osk-stub: new package, add 0.36.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'phosh-base')
-rw-r--r--phosh-base/phosh-osk-stub/Manifest2
-rw-r--r--phosh-base/phosh-osk-stub/metadata.xml11
-rw-r--r--phosh-base/phosh-osk-stub/phosh-osk-stub-0.36.0.ebuild90
3 files changed, 103 insertions, 0 deletions
diff --git a/phosh-base/phosh-osk-stub/Manifest b/phosh-base/phosh-osk-stub/Manifest
new file mode 100644
index 000000000..c65ea17dd
--- /dev/null
+++ b/phosh-base/phosh-osk-stub/Manifest
@@ -0,0 +1,2 @@
+DIST phosh-osk-stub-0.36.0.tar.xz 304016 BLAKE2B 279e1dd69e5a7b63bf4c7fb42d415a3a306b57121020add96050eebd98053c18592ca994d098e2018216e926e7d78cc38992586beeff9bd3a1d41c9beaf9cabb SHA512 8482a1d6f6c94c7a73a1c7359f786fc0d30da4e7506413a2390c483e294cda7af708916dc55ea8e352ef115490b7ba187499c0c8e64aec9e2bc9a6c6e7142d85
+DIST phosh-osk-stub-0.36.0.tar.xz.asc 833 BLAKE2B 61ad2f9d3511bad7c6423c851bae5738c2b7d4e023a550f4fb06a94df975c9b3a58ffdbb59ffbb5281e7e38d81f910fee8f262a06c4291fb7bc02fca8e449daa SHA512 9f842c0e944c5a1f2db89efc32661b4e9c4ec919760d44cb172101549418a698a152689c3fa29ae0d3cad43f6deb11e955971dc8158555c159b0d5e8e9546023
diff --git a/phosh-base/phosh-osk-stub/metadata.xml b/phosh-base/phosh-osk-stub/metadata.xml
new file mode 100644
index 000000000..1cd34823e
--- /dev/null
+++ b/phosh-base/phosh-osk-stub/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gnome-gitlab">guidog/phosh-osk-stub</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/phosh-base/phosh-osk-stub/phosh-osk-stub-0.36.0.ebuild b/phosh-base/phosh-osk-stub/phosh-osk-stub-0.36.0.ebuild
new file mode 100644
index 000000000..952492066
--- /dev/null
+++ b/phosh-base/phosh-osk-stub/phosh-osk-stub-0.36.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome2-utils meson virtualx verify-sig xdg
+
+DESCRIPTION="On-screen keyboard stub"
+HOMEPAGE="https://gitlab.gnome.org/guidog/phosh-osk-stub"
+SRC_URI="https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz
+ verify-sig? ( https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz.asc )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="elogind gtk-doc man test"
+RESTRICT="!test? ( test )"
+
+# TODO: package govarnam
+# TODO: hunspell is automagic
+COMMON_DEPEND="
+ app-shells/fzf
+ app-text/hunspell:=
+ >=dev-libs/glib-2.66:2
+ dev-libs/feedbackd
+ dev-libs/json-glib
+ >=dev-libs/wayland-1.14
+ >=gnome-base/gnome-desktop-3.26:3
+ >=gui-libs/libhandy-1.1.90:1
+ >=x11-libs/gtk+-3.22:3[wayland]
+ x11-libs/libxkbcommon[wayland]
+ elogind? ( >=sys-auth/elogind-241 )
+ !elogind? ( >=sys-apps/systemd-241:= )
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-libs/wayland-protocols-1.12
+"
+RDEPEND="${COMMON_DEPEND}
+ gnome-base/gsettings-desktop-schemas
+"
+BDEPEND="
+ dev-libs/glib:2
+ dev-libs/libxml2:2
+ dev-util/gdbus-codegen
+ dev-util/glib-utils
+ dev-util/wayland-scanner
+ sys-devel/gettext
+ gtk-doc? ( dev-util/gi-docgen )
+ man? ( dev-python/docutils )
+ test? ( dev-libs/json-glib )
+ verify-sig? ( sec-keys/openpgp-keys-phosh )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/phosh.asc"
+
+QA_DESKTOP_FILE="usr/share/applications/sm.puri.Phosh.OskStub.desktop"
+
+src_configure() {
+ local emesonargs=(
+ -Ddefault_osk=false
+ $(meson_use gtk-doc gtk_doc)
+ $(meson_use man)
+ $(meson_use test tests)
+ )
+
+ meson_src_configure
+}
+
+src_test() {
+ virtx meson_src_test
+}
+
+src_install() {
+ meson_src_install
+
+ if use gtk-doc; then
+ mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
+ mv "${ED}"/usr/share/doc/pos-${SLOT} "${ED}"/usr/share/gtk-doc/html/ || die
+ fi
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}