Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/jsonrpc-glib/
Date: Sat, 18 Mar 2023 02:28:53
Message-Id: 1679106525.3c945a6c8a19c11e5fd332160f6546e70c813365.mattst88@gentoo
1 commit: 3c945a6c8a19c11e5fd332160f6546e70c813365
2 Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 14 13:50:49 2023 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 18 02:28:45 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c945a6c
7
8 dev-libs/jsonrpc-glib: Version bump to 3.44.0
9
10 Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 dev-libs/jsonrpc-glib/Manifest | 1 +
14 dev-libs/jsonrpc-glib/jsonrpc-glib-3.44.0.ebuild | 58 ++++++++++++++++++++++++
15 2 files changed, 59 insertions(+)
16
17 diff --git a/dev-libs/jsonrpc-glib/Manifest b/dev-libs/jsonrpc-glib/Manifest
18 index d968af50bdc9..3a9a92ed4380 100644
19 --- a/dev-libs/jsonrpc-glib/Manifest
20 +++ b/dev-libs/jsonrpc-glib/Manifest
21 @@ -1 +1,2 @@
22 DIST jsonrpc-glib-3.42.0.tar.xz 42420 BLAKE2B a60ebebfee652ea694cd2884e057522534826cbca506d04847d29a23dd3035e9a1043912c9a434d4b8b58a6fcb91ba05cc8c76cf380e6205f3d89f9387800bf6 SHA512 615e446dba2b1bbefe1bf8891449de9d39e3486fefda590781f59469ea50e6affa487bcb260bd3e21ca30e696b1dec7a761c8d93ec9c0894d9bb4c3d65f106dc
23 +DIST jsonrpc-glib-3.44.0.tar.xz 42580 BLAKE2B 7a72aefc092eb0a17c6935323e9157c7bc07cfec766ede11c369651da95b5ff77ead09977f38b7c91b4bbcd04e7adb81d95e9eefe976f739502c1720a477efec SHA512 85962af18cb62af7c4dfa37289cf53ba9c905ee00994cc6bcc2679f1e0f79ea0b134386179dd2417e6166777d65f025959d6d258aa279bbfb1f4cacceeede7af
24
25 diff --git a/dev-libs/jsonrpc-glib/jsonrpc-glib-3.44.0.ebuild b/dev-libs/jsonrpc-glib/jsonrpc-glib-3.44.0.ebuild
26 new file mode 100644
27 index 000000000000..87b915ae6bf9
28 --- /dev/null
29 +++ b/dev-libs/jsonrpc-glib/jsonrpc-glib-3.44.0.ebuild
30 @@ -0,0 +1,58 @@
31 +# Copyright 1999-2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit gnome.org meson vala
37 +
38 +DESCRIPTION="JSON-RPC library for GLib"
39 +HOMEPAGE="https://gitlab.gnome.org/GNOME/jsonrpc-glib"
40 +
41 +LICENSE="LGPL-2.1+"
42 +SLOT="0/1"
43 +KEYWORDS="~amd64 ~x86"
44 +
45 +IUSE="gtk-doc +introspection test vala"
46 +REQUIRED_USE="
47 + gtk-doc? ( introspection )
48 + vala? ( introspection )
49 +"
50 +RESTRICT="!test? ( test )"
51 +
52 +RDEPEND="
53 + dev-libs/glib:2
54 + dev-libs/json-glib[introspection?]
55 + introspection? ( dev-libs/gobject-introspection:= )
56 +"
57 +DEPEND="${RDEPEND}"
58 +BDEPEND="
59 + vala? ( $(vala_depend) )
60 + dev-util/glib-utils
61 + virtual/pkgconfig
62 + gtk-doc? ( dev-util/gi-docgen )
63 +"
64 +
65 +src_prepare() {
66 + default
67 + use vala && vala_setup
68 +}
69 +
70 +src_configure() {
71 + local emesonargs=(
72 + -Denable_profiling=false # -pg passing
73 + $(meson_use introspection with_introspection)
74 + $(meson_use vala with_vapi)
75 + $(meson_use gtk-doc enable_gtk_doc)
76 + $(meson_use test enable_tests)
77 + )
78 + meson_src_configure
79 +}
80 +
81 +src_install() {
82 + meson_src_install
83 +
84 + if use gtk-doc; then
85 + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
86 + mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/gtk-doc/html/ || die
87 + fi
88 +}