commit: 457ee98a6906b462e1c1f30f3f7139782ca2c633 Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> AuthorDate: Tue Feb 6 15:53:50 2018 +0000 Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> CommitDate: Tue Feb 6 15:53:50 2018 +0000 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=457ee98a
sci-geosciences/geocode-glib: version bump tests still not working... Package-Manager: Portage-2.3.23, Repoman-2.3.6 Manifest-Sign-Key: 0x7DF238CF0AA182E1 .../geocode-glib/geocode-glib-3.25.4.1.ebuild | 47 ++++++++++++++++++++++ sci-geosciences/geocode-glib/metadata.xml | 8 ++++ 2 files changed, 55 insertions(+) diff --git a/sci-geosciences/geocode-glib/geocode-glib-3.25.4.1.ebuild b/sci-geosciences/geocode-glib/geocode-glib-3.25.4.1.ebuild new file mode 100644 index 00000000..21b1cd1b --- /dev/null +++ b/sci-geosciences/geocode-glib/geocode-glib-3.25.4.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome-meson + +DESCRIPTION="GLib geocoding library that uses the Yahoo! Place Finder service" +HOMEPAGE="https://git.gnome.org/browse/geocode-glib" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="+introspection test" + +RDEPEND=" + >=dev-libs/glib-2.44:2 + >=dev-libs/json-glib-0.99.2[introspection?] + gnome-base/gvfs[http] + >=net-libs/libsoup-2.42:2.4[introspection?] + introspection? ( >=dev-libs/gobject-introspection-0.6.3:= ) +" +DEPEND="${RDEPEND} + dev-util/gtk-doc + >=sys-devel/gettext-0.19.6 + virtual/pkgconfig + test? ( sys-apps/dbus ) +" +# eautoreconf requires: +# dev-libs/gobject-introspection-common + +# FIXME: need network #424719, recheck +# need various locales to be present +RESTRICT="test" + +src_configure() { + gnome-meson_src_configure \ + $(meson_use test enable-installed-tests) \ + $(meson_use introspection enable-introspection) \ + -Denable-gtk-doc=true +} + +src_test() { + export GVFS_DISABLE_FUSE=1 + export GIO_USE_VFS=gvfs + ewarn "Tests require network access to http://where.yahooapis.com" + dbus-launch meson_src_test || die "tests failed" +} diff --git a/sci-geosciences/geocode-glib/metadata.xml b/sci-geosciences/geocode-glib/metadata.xml new file mode 100644 index 00000000..39980802 --- /dev/null +++ b/sci-geosciences/geocode-glib/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata>
