# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit autotools gnome2 DESCRIPTION="A GTK+ widget for displaying OpenStreetMap tiles" HOMEPAGE="https://nzjrs.github.io/osm-gps-map/" SRC_URI="https://github.com/nzjrs/${PN}/releases/download/${PV}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 arm64 ~ppc64 ~x86" IUSE="static-libs" RDEPEND=">=dev-libs/glib-2.16.0:2 >=net-libs/libsoup-2.4.0:2.4 >=x11-libs/cairo-1.8.0 >=x11-libs/gtk+-3.0:3[introspection] dev-libs/gobject-introspection" DEPEND="${RDEPEND} gnome-base/gnome-common:3" BDEPEND="dev-build/gtk-doc-am virtual/pkgconfig" PATCHES=( "${FILESDIR}/${PN}-1.1.0-gtk-doc-module.patch" "${FILESDIR}/${PN}-1.1.0-no-maintainer-mode.patch" ) src_prepare() { gnome2_src_prepare AT_NOELIBTOOLIZE=yes eautoreconf } src_configure() { gnome2_src_configure $(use_enable static-libs static) }