dev-libs/json-glib: Version bump
authorPacho Ramos <pacho@gentoo.org>
Sun, 3 Apr 2016 11:09:17 +0000 (13:09 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 3 Apr 2016 12:40:47 +0000 (14:40 +0200)
Package-Manager: portage-2.2.28

dev-libs/json-glib/Manifest
dev-libs/json-glib/json-glib-1.2.0.ebuild [new file with mode: 0644]

index b169f60b9d296db6fde4070b1508f33d74e30b96..c9080d317542b1422d8e0d2f8af49ee4391b4d7b 100644 (file)
@@ -1,2 +1,3 @@
 DIST json-glib-1.0.4.tar.xz 557236 SHA256 80f3593cb6bd13f1465828e46a9f740e2e9bd3cd2257889442b3e62bd6de05cd SHA512 491a2353b7a82015516b5029d400874f35ba9d8ad914eb3f97e6106eaf2daa300147725ffbaaf5a67a6bf0da192beb47cd4edee47ecdb6a4be7dfd5f51463e5b WHIRLPOOL 337bdbd8108c5f94d212c0cb249f514aef10d5cc373ad24687cd52d115fd6c148d50aecfe664423c21f486b8ce2e88d4b8dffd18ac7d3a15332177c5aac88c25
 DIST json-glib-1.1.2.tar.xz 585396 SHA256 e00f84018306e1aa234285d77b6c2b5d57c1e1d4dabc4dfc62d30b9670941bda SHA512 be0503048d64e163e3c4126d8e2088aec8b073e50f77a9c2e84f1a28d1757903a6ae79ae5e4b302e3b9ee9ce9ec2cbf65d2615df7636626af22e8ee4ae60b843 WHIRLPOOL ba365fbe70d869686168ef51529d7476b1ae97135ecfc26f0fc4726023ba25ad24c68574354bb1cb25d2c4c6255e4f80d9ca3b75e3891c254f282d7e9d6fa98f
+DIST json-glib-1.2.0.tar.xz 585548 SHA256 99d6dfbe49c08fd7529f1fe8dcb1893b810a1bb222f1e7b65f41507658b8a7d3 SHA512 83202ca38ca72bda40f2ba1eb73603fb57a4801f06cddd15107ce69a79957b5f49753c22d708d74949f61219e38dbc37335b49930635631139889cd8df56abc0 WHIRLPOOL 8166181e3aa8b266f3d8eeed181ee75636da1e54e920e00b131999003469345bbf065918e05d6a0e21b5c57c1985e55cbe5d6ca9ade9b5b905fb5c0067d8d664
diff --git a/dev-libs/json-glib/json-glib-1.2.0.ebuild b/dev-libs/json-glib/json-glib-1.2.0.ebuild
new file mode 100644 (file)
index 0000000..df3b64e
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+GCONF_DEBUG="no"
+
+inherit gnome2 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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="debug +introspection"
+
+RDEPEND="
+       >=dev-libs/glib-2.37.6:2[${MULTILIB_USEDEP}]
+       introspection? ( >=dev-libs/gobject-introspection-0.9.5:= )
+"
+DEPEND="${RDEPEND}
+       ~app-text/docbook-xml-dtd-4.1.2
+       app-text/docbook-xsl-stylesheets
+       dev-libs/libxslt
+       >=dev-util/gtk-doc-am-1.20
+       >=sys-devel/gettext-0.18
+       virtual/pkgconfig[${MULTILIB_USEDEP}]
+"
+
+src_prepare() {
+       # Do not touch CFLAGS
+       sed -e 's/CFLAGS -g/CFLAGS/' -i "${S}"/configure || die
+       gnome2_src_prepare
+}
+
+multilib_src_configure() {
+       # Coverage support is useless, and causes runtime problems
+       ECONF_SOURCE=${S} \
+       gnome2_src_configure \
+               --enable-man \
+               --disable-gcov \
+               $(usex debug --enable-debug=yes --enable-debug=minimum) \
+               $(multilib_native_use_enable introspection)
+
+       if multilib_is_native_abi; then
+               ln -s "${S}"/doc/reference/html doc/reference/html || die
+       fi
+}
+
+multilib_src_compile() {
+       gnome2_src_compile
+}
+
+multilib_src_install() {
+       gnome2_src_install
+}