1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/mapbox-gl-qml/APKBUILD
2021-04-16 11:09:17 +00:00

34 lines
924 B
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mapbox-gl-qml
pkgver=1.7.6
pkgrel=0
pkgdesc="QML bindings for Mapbox"
url="https://github.com/rinigus/mapbox-gl-qml"
# armhf blocked by qt5-qtdeclarative
arch="all !armhf"
license="LGPL-3.0-only"
makedepends="
cmake
mapbox-gl-native-dev
qt5-qtbase-dev
qt5-qtdeclarative-dev
qt5-qtlocation-dev
"
source="https://github.com/rinigus/mapbox-gl-qml/archive/$pkgver/mapbox-gl-qml-$pkgver.tar.gz"
options="!check" # No tests
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DUSE_CURL_SSL=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="2c6b21d0793cbe2aaed4ba8c2d44f661807c398ff0f4705f1b2b214124b9937d3aace021f03f7447b9e567ed45163502fdff98f9a7e1ade33b9ed61b75e736fe mapbox-gl-qml-1.7.6.tar.gz"