void-packages/srcpkgs/OpenOrienteering-Mapper/template

21 lines
950 B
Bash

# Template file for 'OpenOrienteering-Mapper'
pkgname=OpenOrienteering-Mapper
version=0.8.4
revision=3
wrksrc="mapper-${version}"
build_style=cmake
hostmakedepends="doxygen qt5-host-tools qt5-plugin-sqlite qt5-qmake qt5-tools"
makedepends="qt5-devel clipper-devel proj-devel zlib-devel libgdal-devel
qt5-tools-devel sqlite-devel cups-devel $(vopt_if location qt5-location-devel)
$(vopt_if sensors qt5-sensors-devel)
qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
short_desc="Orienteering mapmaking program"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://www.openorienteering.org/apps/mapper/"
distfiles="https://github.com/OpenOrienteering/mapper/archive/v${version}.tar.gz"
checksum=d39c05a84ad222ed278231c89c353174f35682c79f92467cb08d8f101debd8fd
build_options="location sensors"
build_options_default="location sensors"
CXXFLAGS="-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1"