diff options
author | Mart Raudsepp <leio@gentoo.org> | 2018-08-26 03:34:52 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2018-08-30 00:56:37 +0300 |
commit | e75d4d186855f89c2070d8ec28b819ff2672520e (patch) | |
tree | 2143dd383fc0d19abd48d1a737552d3fa90e7b32 /dev-libs/jsonrpc-glib | |
parent | dev-libs/libdazzle: New package with fancy features for gtk+ (diff) | |
download | gentoo-e75d4d186855f89c2070d8ec28b819ff2672520e.tar.gz gentoo-e75d4d186855f89c2070d8ec28b819ff2672520e.tar.bz2 gentoo-e75d4d186855f89c2070d8ec28b819ff2672520e.zip |
dev-libs/jsonrpc-glib: New package for JSON-RPC with GLib
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'dev-libs/jsonrpc-glib')
-rw-r--r-- | dev-libs/jsonrpc-glib/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/jsonrpc-glib/jsonrpc-glib-3.28.1.ebuild | 44 | ||||
-rw-r--r-- | dev-libs/jsonrpc-glib/metadata.xml | 11 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-libs/jsonrpc-glib/Manifest b/dev-libs/jsonrpc-glib/Manifest new file mode 100644 index 000000000000..bda018de9636 --- /dev/null +++ b/dev-libs/jsonrpc-glib/Manifest @@ -0,0 +1 @@ +DIST jsonrpc-glib-3.28.1.tar.xz 40328 BLAKE2B 36b512e27c46836fc8285bf4d6a6f8e39bdd748a09475af151d9a07f05e92dafe269d7675f8ff0253b21485405776d9348b38b067d73f75d6bdc3203fb876ea1 SHA512 874791c898d8fd6f8c6401b8ae219dc08e34e207ba214add1f14bb28b407581dc372487398d276395ddbe2f349d5b04f2ffb78fc73398d85975df40d3409f352 diff --git a/dev-libs/jsonrpc-glib/jsonrpc-glib-3.28.1.ebuild b/dev-libs/jsonrpc-glib/jsonrpc-glib-3.28.1.ebuild new file mode 100644 index 000000000000..1a70d33d2b6c --- /dev/null +++ b/dev-libs/jsonrpc-glib/jsonrpc-glib-3.28.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome.org meson xdg vala + +DESCRIPTION="JSON-RPC library for GLib" +HOMEPAGE="https://gitlab.gnome.org/GNOME/jsonrpc-glib" + +LICENSE="LGPL-2.1+" +SLOT="0/1" +KEYWORDS="~amd64" + +IUSE="gtk-doc +introspection test vala" +REQUIRED_USE="vala? ( introspection )" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/glib:2 + dev-libs/json-glib[introspection?] + introspection? ( dev-libs/gobject-introspection:= ) +" +DEPEND="${RDEPEND} + vala? ( $(vala_depend) ) + virtual/pkgconfig + gtk-doc? ( dev-util/gtk-doc ) +" + +src_prepare() { + use vala && vala_src_prepare + xdg_src_prepare +} + +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 +} diff --git a/dev-libs/jsonrpc-glib/metadata.xml b/dev-libs/jsonrpc-glib/metadata.xml new file mode 100644 index 000000000000..15582ff4dce7 --- /dev/null +++ b/dev-libs/jsonrpc-glib/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <longdescription>Jsonrpc-GLib is a JSON-RPC library for GLib. It includes support for + communicating as both a JSON-RPC client and server. Additionally, it + supports upgrating connections to use GVariant for less runtime overhead.</longdescription> +</pkgmetadata> |