gjdwebserver-overlay/sci-geosciences/gnome-maps/gnome-maps-40.ebuild

83 lines
1.8 KiB
Bash
Raw Normal View History

2021-02-28 20:33:20 +01:00
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gnome.org gnome2-utils meson xdg
DESCRIPTION="A map application for GNOME"
HOMEPAGE="https://wiki.gnome.org/Apps/Maps"
LICENSE="GPL-2+ LGPL-2+ MIT CC-BY-3.0 CC-BY-SA-3.0"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~x86 ~arm64"
EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/${PN}.git"
if [[ ${PV} != 9999 ]]; then
EGIT_COMMIT="tags/gnome-${PV}.beta"
#EGIT_COMMIT="8616d62239a20b3702bf86f38c59804f5ac1e44a"
else
KEYWORDS=""
fi
# Pure introspection dependencies found by grepping imports.gi in ${S}
RDEPEND="
>=dev-libs/glib-2.44.0:2
x11-libs/pango[introspection]
>=dev-libs/gjs-1.50.0
>=dev-libs/gobject-introspection-0.10.1:=
>=x11-libs/gtk+-3.22:3[introspection]
>=app-misc/geoclue-0.12.99:2.0[introspection]
>=dev-libs/libgee-0.16:0.8[introspection]
>=dev-libs/folks-0.10
>=sci-geosciences/geocode-glib-3.15.2[introspection]
>=media-libs/libchamplain-0.12.14:0.12[gtk,introspection]
dev-libs/libxml2:2
>=net-libs/rest-0.7.90:0.7[introspection]
app-crypt/libsecret[introspection]
dev-libs/libgweather[introspection]
media-libs/clutter-gtk:1.0[introspection]
media-libs/clutter:1.0[introspection]
net-libs/gnome-online-accounts[introspection]
net-libs/libgfbgraph[introspection]
net-libs/libsoup:2.4[introspection]
net-libs/webkit-gtk:4[introspection]
"
DEPEND="${RDEPEND}"
BDEPEND="
dev-util/glib-utils
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
"
src_prepare() {
vala_src_prepare
xdg_src_prepare
}
src_configure() {
local emesonargs=(
-Dcontractor=disabled
-Dvaladoc=disabled
-Dprofile=release
-Drevno="${PR}"
)
meson_src_configure
}
src_test() {
virtx meson_src_test
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}