From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 88BC81382C5 for ; Fri, 12 Mar 2021 10:31:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF690E0ADB; Fri, 12 Mar 2021 10:31:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9323E0ADB for ; Fri, 12 Mar 2021 10:31:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4BC8C335D02 for ; Fri, 12 Mar 2021 10:31:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F158583 for ; Fri, 12 Mar 2021 10:31:34 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1615545058.24f3f99f93f6ed4313e9aedfcc14c35aaa4215b3.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/viking/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-geosciences/viking/viking-1.8-r1.ebuild X-VCS-Directories: sci-geosciences/viking/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 24f3f99f93f6ed4313e9aedfcc14c35aaa4215b3 X-VCS-Branch: master Date: Fri, 12 Mar 2021 10:31:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d8f6376e-3ce8-4c19-8aeb-b40bd5b80ed4 X-Archives-Hash: ef0446e6c155b0dc8b76a1e56af22eca commit: 24f3f99f93f6ed4313e9aedfcc14c35aaa4215b3 Author: Andrey Grozin gentoo org> AuthorDate: Fri Mar 12 10:30:58 2021 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Fri Mar 12 10:30:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f3f99f sci-geosciences/viking: depend on sqlite unconditionally 1.8 still does not compile with USE=-sqlite, so, make it mandatory Closes: https://bugs.gentoo.org/676086 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrey Grozin gentoo.org> sci-geosciences/viking/viking-1.8-r1.ebuild | 100 ++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) diff --git a/sci-geosciences/viking/viking-1.8-r1.ebuild b/sci-geosciences/viking/viking-1.8-r1.ebuild new file mode 100644 index 00000000000..fc94ad90452 --- /dev/null +++ b/sci-geosciences/viking/viking-1.8-r1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools xdg-utils + +DESCRIPTION="GPS data editor and analyzer" +HOMEPAGE="https://github.com/viking-gps/viking/" +IUSE="doc +exif libexif geoclue gps +magic nls oauth" +SRC_URI=" + https://github.com/viking-gps/${PN}/archive/${P}.tar.gz + doc? ( https://github.com/viking-gps/${PN}/releases/download/${P}/${PN}.pdf )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +COMMONDEPEND=" + app-arch/bzip2 + >=dev-tcltk/expect-5.45.4 + dev-db/sqlite:3 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nettle + net-misc/curl + sys-libs/zlib + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + geoclue? ( >=app-misc/geoclue-2.4.4:2.0 ) + gps? ( >=sci-geosciences/gpsd-3.20 ) + exif? ( libexif? ( media-libs/libexif ) !libexif? ( media-libs/gexiv2 ) ) + magic? ( sys-apps/file ) + oauth? ( net-libs/liboauth ) +" +RDEPEND="${COMMONDEPEND} + sci-geosciences/gpsbabel +" +DEPEND="${COMMONDEPEND} + app-text/gnome-doc-utils + dev-util/intltool + dev-util/gtk-doc + dev-util/gtk-doc-am + app-text/rarian + dev-libs/libxslt + virtual/pkgconfig + sys-devel/gettext +" + +PATCHES=( "${FILESDIR}/${PN}-1.7-no-common.patch" ) + +S="${WORKDIR}/${PN}-${P}" + +src_prepare() +{ + default + eautoreconf +} + +src_configure() { + econf \ + --disable-deprecations \ + --with-libcurl \ + --with-expat \ + --enable-google \ + --enable-nettle \ + --enable-terraserver \ + --enable-expedia \ + --enable-openstreetmap \ + --enable-bluemarble \ + --enable-geonames \ + --enable-geocaches \ + --disable-dem24k \ + --disable-mapnik \ + --enable-mbtiles \ + $(use_enable exif geotag) \ + $(use_with libexif ) \ + $(use_enable geoclue) \ + $(use_enable gps realtime-gps-tracking) \ + $(use_enable magic) \ + $(use_enable nls) \ + $(use_enable oauth) +} + +src_install() { + default + if use doc; then + dodoc "${DISTDIR}"/${PN}.pdf + fi +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}