aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-04-09 06:51:02 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-04-09 07:02:50 +0500
commit2e467f2d63f9dc878b112305b3233a45265ae4fb (patch)
treed1ab5771ca935839a8dd5ca9a4cf10905a8e03a5 /phosh-base
parentgui-wm/phoc: add 0.38.0 (diff)
downloadguru-2e467f2d63f9dc878b112305b3233a45265ae4fb.tar.gz
guru-2e467f2d63f9dc878b112305b3233a45265ae4fb.tar.bz2
guru-2e467f2d63f9dc878b112305b3233a45265ae4fb.zip
phosh-base/phosh-osk-stub: add 0.38.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/phosh-osk-stub-0.36.0.ebuild2
-rw-r--r--phosh-base/phosh-osk-stub/phosh-osk-stub-0.38.0.ebuild90
3 files changed, 93 insertions, 1 deletions
diff --git a/phosh-base/phosh-osk-stub/Manifest b/phosh-base/phosh-osk-stub/Manifest
index c65ea17dd..82ef296f4 100644
--- a/phosh-base/phosh-osk-stub/Manifest
+++ b/phosh-base/phosh-osk-stub/Manifest
@@ -1,2 +1,4 @@
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
+DIST phosh-osk-stub-0.38.0.tar.xz 310460 BLAKE2B 2d7b24bc35975af5a0646897a4a97868dc4ef97bfe3b573765e228e73e6c093726ed188c22908a9352346be2b92f7b5d3e75059ecf591b819937c01522ede433 SHA512 6f16c606d03263c23ba4081b323104d04efb9d750c725750c46b9dc34819cf38bb032a55d6213891b7579d2bc9776641567488ac39fed63913c37af77f7b162f
+DIST phosh-osk-stub-0.38.0.tar.xz.asc 833 BLAKE2B c1e5bd79c68d83e004f11fec25879279d251c95a24c80e10bac8549e4cbf6dfbcc68daba2223d7a8033b709357c162be9a7a64c86119aac798f08c9e41459266 SHA512 03b3d2b0f984b9ddc4d989e78ff2707e41401dc7682c29c6bc3d8d0ad8ff3d4e2ffbbf167b4b70b24d77d38328d1a806f46131405fea50370c647019d41ea556
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
index 952492066..63f124e5a 100644
--- 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
@@ -51,7 +51,7 @@ BDEPEND="
verify-sig? ( sec-keys/openpgp-keys-phosh )
"
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/phosh.asc"
+VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/phosh.asc"
QA_DESKTOP_FILE="usr/share/applications/sm.puri.Phosh.OskStub.desktop"
diff --git a/phosh-base/phosh-osk-stub/phosh-osk-stub-0.38.0.ebuild b/phosh-base/phosh-osk-stub/phosh-osk-stub-0.38.0.ebuild
new file mode 100644
index 000000000..63f124e5a
--- /dev/null
+++ b/phosh-base/phosh-osk-stub/phosh-osk-stub-0.38.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="/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
+}