22 lines
764 B
Bash
22 lines
764 B
Bash
# Template file for 'merkaartor'
|
|
pkgname=merkaartor
|
|
version=0.18.3
|
|
revision=9
|
|
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=d6b3e4d982b2c7b82331bc5bc8d993d733c443250f02919c3c4dbd6924e6e947
|
|
|
|
CXXFLAGS="-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-svg-devel qt5-webkit-devel"
|
|
fi
|