OpenOrienteering-Mapper: fix build

This commit is contained in:
Đoàn Trần Công Danh 2023-08-26 22:06:39 +07:00
parent ad48cabf6d
commit a8a0c42624

View file

@ -6,7 +6,7 @@ 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)
$(vopt_if sensors qt5-sensors-devel) $(vopt_if serialport qt5-serialport-devel)
qt5-plugin-mysql qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds"
short_desc="Orienteering mapmaking program"
maintainer="John <me@johnnynator.dev>"
@ -15,9 +15,13 @@ homepage="https://www.openorienteering.org/apps/mapper/"
distfiles="https://github.com/OpenOrienteering/mapper/archive/v${version}.tar.gz"
checksum=619152ca01a370875c15e1930918ce961284ccbf5d2371c147d50caf5e5c2f00
build_options="location sensors"
build_options="location sensors serialport"
build_options_default="location sensors"
post_patch() {
vsed -i -e '/add_subdirectory.*doc.licensing/d' CMakeLists.txt
}
do_check() {
cd build