void-packages/srcpkgs/merkaartor/template

22 lines
764 B
Bash

# Template file for 'merkaartor'
pkgname=merkaartor
version=0.18.4
revision=1
build_style=qmake
configure_args="SYSTEM_QUAZIP=1 SYSTEM_QUAZIP_LDFLAGS=-lquazip5"
hostmakedepends="qt5-qmake libgdal-tools qt5-host-tools"
makedepends="libgdal-devel proj-devel qt5-declarative-devel qt5-svg-devel
qt5-tools-devel qt5-webkit-devel quazip-devel"
short_desc="Openstreetmap map editor"
maintainer="John <johnz@posteo.net>"
license="GPL-2.0-or-later"
homepage="http://merkaartor.be"
distfiles="https://github.com/openstreetmap/merkaartor/archive/${version}.tar.gz"
checksum=16e790507a5bb54e4b3c09ea063ebb095a4b014ce8ba937b771706d4c940976a
CXXFLAGS="-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-svg-devel qt5-webkit-devel"
fi