void-packages/srcpkgs/viking/template
2021-10-26 20:59:14 +02:00

28 lines
1.1 KiB
Bash

# Template file for 'viking'
pkgname=viking
version=1.9
revision=1
build_style=gnu-configure
configure_args="--disable-realtime-gps-tracking --disable-bluemarble
--disable-bing --disable-terraserver --disable-spotmaps
--disable-expedia --disable-mapnik --enable-magic --enable-bzip2
--enable-mbtiles --with-libexif"
hostmakedepends="docbook-xsl gdk-pixbuf-devel glib-devel itstool intltool libxslt pkg-config"
makedepends="file-devel glib-devel gnome-doc-utils gtk+-devel
libcurl-devel libexif-devel libgexiv2-devel sqlite-devel bzip2-devel
geoclue2-devel liboauth-devel nettle-devel"
checkdepends="python3-lxml yelp-tools"
short_desc="Open/source GPS data editor and analyzer"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://sourceforge.net/projects/viking"
distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2"
checksum=fe4acf3d24121d6f3097d17ea704b42c0336a8f693151886b8b26e308dbfcb3b
CFLAGS="-fcommon"
post_patch() {
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' \
-e '/localedir=.*eval/s,=.*,=/usr/share/locale,' \
configure
}