1 |
commit: ffe60f726372b91fc5b191ca8dd425e9f957c99b |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 18 09:43:57 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 18 09:46:10 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe60f72 |
7 |
|
8 |
dev-libs/json-glib: bump to 1.4.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
dev-libs/json-glib/Manifest | 1 + |
13 |
dev-libs/json-glib/json-glib-1.4.4.ebuild | 57 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/json-glib/Manifest b/dev-libs/json-glib/Manifest |
17 |
index 8d183985410..804b4c352ca 100644 |
18 |
--- a/dev-libs/json-glib/Manifest |
19 |
+++ b/dev-libs/json-glib/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST json-glib-1.2.8.tar.xz 604336 BLAKE2B c85b7dcdb8d409afc1c0261e97e271f5be67a4dbc21d1ac2f6ace656106ca437f3330fda90f5add8371118b0c233f2dcd2bb9b6bc20c6452c1f85a44895eb008 SHA512 85d8ad431363b8698d71684927b8aa38749d99ea7236334ec09fd81482489f1ab9cb12dabcbe13f6b6ffd7e5d70ade47a36b511e275915d4aa858af647db90ba |
22 |
+DIST json-glib-1.4.4.tar.xz 165584 BLAKE2B 0cdb518cd139b8dbdbf31c9bc00ddedca6385d7132843455a7898f3544fb43b62d6626d49944e83ef10ab9a555cf21c7e4548df7d784bcb4020f4026e0f3045e SHA512 cf56a99dce3938b5c0075810f105719836fac65392da33a49b26ebf33aee1fab89ca9fac58059a2008d688ecc75a3e524de60621a5b027d566963541f38b971f |
23 |
|
24 |
diff --git a/dev-libs/json-glib/json-glib-1.4.4.ebuild b/dev-libs/json-glib/json-glib-1.4.4.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..c33625601ed |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/json-glib/json-glib-1.4.4.ebuild |
29 |
@@ -0,0 +1,57 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+inherit gnome.org meson multilib-minimal xdg-utils |
35 |
+ |
36 |
+DESCRIPTION="Library providing GLib serialization and deserialization for the JSON format" |
37 |
+HOMEPAGE="https://wiki.gnome.org/Projects/JsonGlib" |
38 |
+ |
39 |
+LICENSE="LGPL-2.1+" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
42 |
+IUSE="gtk-doc +introspection" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ >=dev-libs/glib-2.44.0:2[${MULTILIB_USEDEP}] |
46 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.5:= ) |
47 |
+" |
48 |
+# TODO: Can we use a newer docbook-xml-dtd, or is one needed at all? |
49 |
+DEPEND="${RDEPEND} |
50 |
+ ~app-text/docbook-xml-dtd-4.1.2 |
51 |
+ app-text/docbook-xsl-stylesheets |
52 |
+ dev-libs/libxslt |
53 |
+ dev-util/glib-utils |
54 |
+ gtk-doc? ( >=dev-util/gtk-doc-1.20 ) |
55 |
+ >=sys-devel/gettext-0.18 |
56 |
+ virtual/pkgconfig[${MULTILIB_USEDEP}] |
57 |
+" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ xdg_environment_reset |
61 |
+ default |
62 |
+ # Disable installed-tests; this also indirectly removes build_aux/gen-installed-test.py calls, thus not needing python-any-r1.eclass |
63 |
+ sed -e 's/install: true/install: false/g' -i json-glib/tests/meson.build || die |
64 |
+ sed -e '/install_data/d' -i json-glib/tests/meson.build || die |
65 |
+} |
66 |
+ |
67 |
+multilib_src_configure() { |
68 |
+ local emesonargs=( |
69 |
+ -Dintrospection=$(multilib_native_usex introspection true false) |
70 |
+ -Ddocs=$(multilib_native_usex gtk-doc true false) |
71 |
+ -Dman=true |
72 |
+ ) |
73 |
+ meson_src_configure |
74 |
+} |
75 |
+ |
76 |
+multilib_src_compile() { |
77 |
+ meson_src_compile |
78 |
+} |
79 |
+ |
80 |
+multilib_src_install() { |
81 |
+ meson_src_install |
82 |
+} |
83 |
+ |
84 |
+multilib_src_test() { |
85 |
+ meson_src_test |
86 |
+} |