commit: 88cbc38575d33a5b5fe9ed98432375d7cb45f9a1 Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> AuthorDate: Tue Jan 30 15:34:36 2018 +0000 Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> CommitDate: Tue Jan 30 15:34:36 2018 +0000 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=88cbc385
dev-libs/json-glib: version bump to 1.4.2 Package-Manager: Portage-2.3.21, Repoman-2.3.6 Manifest-Sign-Key: 0x7DF238CF0AA182E1 dev-libs/json-glib/json-glib-1.4.2.ebuild | 46 +++++++++++++++++++++++++++++++ dev-libs/json-glib/metadata.xml | 15 ++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-libs/json-glib/json-glib-1.4.2.ebuild b/dev-libs/json-glib/json-glib-1.4.2.ebuild new file mode 100644 index 00000000..781b862d --- /dev/null +++ b/dev-libs/json-glib/json-glib-1.4.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome.org gnome-meson multilib-minimal + +DESCRIPTION="Library providing GLib serialization and deserialization for the JSON format" +HOMEPAGE="https://wiki.gnome.org/Projects/JsonGlib" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="doc +introspection" + +RDEPEND=" + >=dev-libs/glib-2.44:2[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) +" +DEPEND="${RDEPEND} + doc? ( + ~app-text/docbook-xml-dtd-4.1.2 + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + dev-util/gtk-doc + ) + >=sys-devel/gettext-0.18 + virtual/pkgconfig[${MULTILIB_USEDEP}] +" + +multilib_src_configure() { + gnome-meson_src_configure \ + -Ddocs=true \ + $(meson_use introspection) +} + +multilib_src_compile() { + gnome-meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + gnome-meson_src_install +} diff --git a/dev-libs/json-glib/metadata.xml b/dev-libs/json-glib/metadata.xml new file mode 100644 index 00000000..0aa1782a --- /dev/null +++ b/dev-libs/json-glib/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Bernard Cafarelli</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <longdescription>JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation (JSON) format described by RFC 4627. Many high-level languages already provide native modules for parsing, generating and manipulating JSON data streams. JSON-GLib is a C library based on GLib and released under the terms of the GNU Lesser General Public License version 2.1. It provides a parser and a generator GObject classes and various wrappers for the complex data types employed by JSON, such as arrays and objects. + +JSON-GLib uses GLib native data types and the generic value container GValue for ease of development. It also provides integration with the GObject classes for direct serialization into, and deserialization from, JSON data streams.</longdescription> +</pkgmetadata>
