summaryrefslogtreecommitdiff
path: root/geography/viking/Makefile
blob: 86afdb18258b300bbb1ce1475ae8d0edb9c5cc63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# $NetBSD: Makefile,v 1.127 2022/10/26 10:31:30 wiz Exp $
#

VERSION=		1.10
DISTNAME=		viking-${VERSION}
PKGREVISION=		4
CATEGORIES=		geography
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=viking/}${VERSION}/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		gdt@NetBSD.org
HOMEPAGE=		https://sourceforge.net/projects/viking/
COMMENT=		Viking manages GPS data, supports OpenStreetMap and geocaching
LICENSE=		gnu-gpl-v2

TOOL_DEPENDS+=		docbook-xsl-[0-9]*:../../textproc/docbook-xsl

# viking says it "will" use c++11, and mapnik (not yet included) needs
# c++11.
USE_LANGUAGES=		c c++

USE_TOOLS+=		gmake intltool msgfmt pkg-config
USE_TOOLS+=		itstool

GNU_CONFIGURE=		yes

TEST_TARGET=		check

# For each option, "\todo RESOLVE" means: Decide to make default, or
# to turn off, or to make an option, and explain why.

# \todo RESOLVE
CONFIGURE_ARGS+=	--disable-geoclue

# \todo RESOLVE
CONFIGURE_ARGS+=	--disable-magic

# \todo RESOLVE
CONFIGURE_ARGS+=	--disable-mapnik
# \todo README says icu is required.  However, it seems to be
# dependency of mapnik, not necessarily actually used by viking.

# \todo RESOLVE
CONFIGURE_ARGS+=	--disable-oauth

# \todo RESOLVE
CONFIGURE_ARGS+=	--disable-zip
#.include "../../archivers/libzip/buildlink3.mk"

# Perhaps optionize use of gpsd (remove bl3, add this).
# CONFIGURE_ARGS+=	--disable-realtime-gps-tracking

# Building docs fails with a unicode error.
# old: Building docs fails because mapnik being optional is not respected.
# \todo Resolve.
#CONFIGURE_ARGS+=	--enable-gtk-doc
#.include "../../textproc/gtk-doc/buildlink3.mk"

# According to upstream, gpsbabel is merely recommended.  gpsbabel
# depends on qt, and is thus really large.  Users can install it and
# use it at runtime, so don't depend on it at build time.
#DEPENDS+=		gpsbabel-[0-9]*:../../geography/gpsbabel

.include "../../sysutils/desktop-file-utils/desktopdb.mk"

.include "../../archivers/bzip2/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
.include "../../graphics/gexiv2/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../geography/gpsd/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../mk/omf-scrollkeeper.mk"
# Avoids internal MD5, and betterintegration with thumbmail cache.
.include "../../security/nettle/buildlink3.mk"
# gnome-doc-utils is needed even if not building documentation
.include "../../textproc/gnome-doc-utils/buildlink3.mk"
.include "../../textproc/json-glib/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../x11/gtk3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"