mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-libs/jsonrpc-glib: add 3.44.1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST jsonrpc-glib-3.44.0.tar.xz 42580 BLAKE2B 7a72aefc092eb0a17c6935323e9157c7bc07cfec766ede11c369651da95b5ff77ead09977f38b7c91b4bbcd04e7adb81d95e9eefe976f739502c1720a477efec SHA512 85962af18cb62af7c4dfa37289cf53ba9c905ee00994cc6bcc2679f1e0f79ea0b134386179dd2417e6166777d65f025959d6d258aa279bbfb1f4cacceeede7af
|
||||
DIST jsonrpc-glib-3.44.1.tar.xz 42600 BLAKE2B ffd13e1e8d16cf8146747160095f2feabd1225741649b5f19465fe2fd5ee3c0792b695ab1459123f1c72c13ffeb71e14a9c6f7cfa085349388f7d148ce73cbbc SHA512 1f03ba046fc2853d433e37f97fa2c105020c4f01000213ff1135e4bfcc9d194806f8af375f437cdf6ef5043b01909f8502212e437a94b4b2748d6f05d2a3bbff
|
||||
|
||||
58
dev-libs/jsonrpc-glib/jsonrpc-glib-3.44.1.ebuild
Normal file
58
dev-libs/jsonrpc-glib/jsonrpc-glib-3.44.1.ebuild
Normal file
@@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome.org meson vala
|
||||
|
||||
DESCRIPTION="JSON-RPC library for GLib"
|
||||
HOMEPAGE="https://gitlab.gnome.org/GNOME/jsonrpc-glib"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
IUSE="gtk-doc +introspection test vala"
|
||||
REQUIRED_USE="
|
||||
gtk-doc? ( introspection )
|
||||
vala? ( introspection )
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-libs/json-glib[introspection?]
|
||||
introspection? ( dev-libs/gobject-introspection:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
vala? ( $(vala_depend) )
|
||||
dev-util/glib-utils
|
||||
virtual/pkgconfig
|
||||
gtk-doc? ( dev-util/gi-docgen )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
use vala && vala_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
-Denable_profiling=false # -pg passing
|
||||
$(meson_use introspection with_introspection)
|
||||
$(meson_use vala with_vapi)
|
||||
$(meson_use gtk-doc enable_gtk_doc)
|
||||
$(meson_use test enable_tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
|
||||
if use gtk-doc; then
|
||||
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/gtk-doc/html/ || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user