void-packages/srcpkgs/viking/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

27 lines
1,002 B
Bash

# Template file for 'viking'
pkgname=viking
version=1.8
revision=2
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="gdk-pixbuf-devel intltool pkg-config"
makedepends="file-devel gnome-doc-utils gtk+-devel libcurl-devel libexif-devel
libgexiv2-devel sqlite-devel bzip2-devel geoclue2-devel liboauth-devel
nettle-devel"
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=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8
CFLAGS="-fcommon"
post_patch() {
vsed -i -e '/DATADIRNAME=/s/=.*/=share/' \
-e '/localedir=.*eval/s,=.*,=/usr/share/locale,' \
configure
}