Gentoo Archives: gentoo-commits

From: Sobhan Mohammadpour <sobhan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: dev-libs/json-glib/
Date: Tue, 30 Jan 2018 15:35:07
Message-Id: 1517326476.88cbc38575d33a5b5fe9ed98432375d7cb45f9a1.sobhan@gentoo
1 commit: 88cbc38575d33a5b5fe9ed98432375d7cb45f9a1
2 Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 30 15:34:36 2018 +0000
4 Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 30 15:34:36 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=88cbc385
7
8 dev-libs/json-glib: version bump to 1.4.2
9
10 Package-Manager: Portage-2.3.21, Repoman-2.3.6
11 Manifest-Sign-Key: 0x7DF238CF0AA182E1
12
13 dev-libs/json-glib/json-glib-1.4.2.ebuild | 46 +++++++++++++++++++++++++++++++
14 dev-libs/json-glib/metadata.xml | 15 ++++++++++
15 2 files changed, 61 insertions(+)
16
17 diff --git a/dev-libs/json-glib/json-glib-1.4.2.ebuild b/dev-libs/json-glib/json-glib-1.4.2.ebuild
18 new file mode 100644
19 index 00000000..781b862d
20 --- /dev/null
21 +++ b/dev-libs/json-glib/json-glib-1.4.2.ebuild
22 @@ -0,0 +1,46 @@
23 +# Copyright 1999-2018 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +inherit gnome.org gnome-meson multilib-minimal
28 +
29 +DESCRIPTION="Library providing GLib serialization and deserialization for the JSON format"
30 +HOMEPAGE="https://wiki.gnome.org/Projects/JsonGlib"
31 +
32 +LICENSE="LGPL-2.1+"
33 +SLOT="0"
34 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
35 +IUSE="doc +introspection"
36 +
37 +RDEPEND="
38 + >=dev-libs/glib-2.44:2[${MULTILIB_USEDEP}]
39 + introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
40 +"
41 +DEPEND="${RDEPEND}
42 + doc? (
43 + ~app-text/docbook-xml-dtd-4.1.2
44 + app-text/docbook-xsl-stylesheets
45 + dev-libs/libxslt
46 + dev-util/gtk-doc
47 + )
48 + >=sys-devel/gettext-0.18
49 + virtual/pkgconfig[${MULTILIB_USEDEP}]
50 +"
51 +
52 +multilib_src_configure() {
53 + gnome-meson_src_configure \
54 + -Ddocs=true \
55 + $(meson_use introspection)
56 +}
57 +
58 +multilib_src_compile() {
59 + gnome-meson_src_compile
60 +}
61 +
62 +multilib_src_test() {
63 + meson_src_test
64 +}
65 +
66 +multilib_src_install() {
67 + gnome-meson_src_install
68 +}
69
70 diff --git a/dev-libs/json-glib/metadata.xml b/dev-libs/json-glib/metadata.xml
71 new file mode 100644
72 index 00000000..0aa1782a
73 --- /dev/null
74 +++ b/dev-libs/json-glib/metadata.xml
75 @@ -0,0 +1,15 @@
76 +<?xml version="1.0" encoding="UTF-8"?>
77 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
78 +<pkgmetadata>
79 + <maintainer type="person">
80 + <email>voyageur@g.o</email>
81 + <name>Bernard Cafarelli</name>
82 + </maintainer>
83 + <maintainer type="project">
84 + <email>gnome@g.o</email>
85 + <name>Gentoo GNOME Desktop</name>
86 + </maintainer>
87 + <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.
88 +
89 +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>
90 +</pkgmetadata>