commit: 476deabe1f8cf1151cd2880af3fb5e9ff55da434 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Sun Apr 21 12:48:21 2024 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Sun Apr 21 12:48:21 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=476deabe
dev-libs/gmobile: new package, add 0.1.0 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> dev-libs/gmobile/Manifest | 2 ++ dev-libs/gmobile/gmobile-0.1.0.ebuild | 51 +++++++++++++++++++++++++++++++++++ dev-libs/gmobile/metadata.xml | 15 +++++++++++ 3 files changed, 68 insertions(+) diff --git a/dev-libs/gmobile/Manifest b/dev-libs/gmobile/Manifest new file mode 100644 index 0000000000..b1e9d98e42 --- /dev/null +++ b/dev-libs/gmobile/Manifest @@ -0,0 +1,2 @@ +DIST gmobile-0.1.0.tar.xz 45044 BLAKE2B 90d9efaf4383392fc55c15540ae7b600cea486750885d22df467fb20ade748d28784856301fbdd614a9148dbc40f015a8f8a8369dff310f54e95e1468b8c966d SHA512 eb17d0b39d5dbe197a2502fe974af37076317094c4759bbc4924d951fdb1bdb1fe8f13a85419dad756954c165bbd6dfca4ce555f6e3f5a3def4bac8bc913ab1a +DIST gmobile-0.1.0.tar.xz.asc 833 BLAKE2B 30c6a97e78cb03beda468e1759d73d55892f61785adcde390195b0089df039a2c50882e0f22d2db925a324af0869d659d6c9dc71f405bfd608a07521481e261b SHA512 a90ff042dcd6e26508e9927a92c3ab537ca9556a758e2064d0a480c11b83c1355f6422f9e2ee0a51dc4e28355ef9b626b0c0388ed59363c42581037d5b781080 diff --git a/dev-libs/gmobile/gmobile-0.1.0.ebuild b/dev-libs/gmobile/gmobile-0.1.0.ebuild new file mode 100644 index 0000000000..b2b4831722 --- /dev/null +++ b/dev-libs/gmobile/gmobile-0.1.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +VALA_USE_DEPEND="vapigen" + +inherit meson verify-sig + +DESCRIPTION="Mobile related helpers for glib based projects" +HOMEPAGE="https://gitlab.gnome.org/World/Phosh/gmobile/" +SRC_URI="https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz + verify-sig? ( https://sources.phosh.mobi/releases/${PN}/${P}.tar.xz.asc )" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="gtk-doc +introspection test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/glib-2.66:2 + >=dev-libs/json-glib-1.6.2 + introspection? ( dev-libs/gobject-introspection ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + gtk-doc? ( >=dev-util/gi-docgen-2021.1 ) + verify-sig? ( sec-keys/openpgp-keys-phosh ) +" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/phosh.asc" + +src_configure() { + local emesonargs=( + -Dexamples=false + $(meson_use gtk-doc gtk_doc) + $(meson_use introspection) + $(meson_use test tests) + ) + meson_src_configure +} + +src_install() { + meson_src_install + + if use gtk-doc; then + local gtkdocdir="${ED}/usr/share/gtk-doc/html/" + mkdir -p "${gtkdocdir}" || die + mv "${ED}"/usr/share/doc/${PN}-${SLOT} "${gtkdocdir}" || die + fi +} diff --git a/dev-libs/gmobile/metadata.xml b/dev-libs/gmobile/metadata.xml new file mode 100644 index 0000000000..bb5f425f3a --- /dev/null +++ b/dev-libs/gmobile/metadata.xml @@ -0,0 +1,15 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cyber+gen...@sysrq.in</email> + <name>Anna</name> + </maintainer> + <upstream> + <maintainer> + <name>Guido Günther</name> + <email>a...@sigxcpu.org</email> + </maintainer> + <remote-id type="gnome-gitlab">World/Phosh</remote-id> + </upstream> +</pkgmetadata>