00fd796a2e
Fix previous version not building anymore, as seen on v21.03 branch: https://builds.sr.ht/~postmarketos/job/433826
40 lines
1.4 KiB
Text
40 lines
1.4 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=mapbox-gl-native
|
|
pkgver=1.6.0
|
|
pkgrel=0
|
|
pkgdesc="Mapbox GL Native"
|
|
url="https://github.com/mapbox/mapbox-gl-native"
|
|
arch="all !armhf"
|
|
license="BSD-2-Clause"
|
|
makedepends="
|
|
cmake
|
|
qt5-qtbase-dev
|
|
icu-dev
|
|
"
|
|
source="https://github.com/pmsourcedump/tarballs/raw/master/mapbox-gl-native-vendored-1.6.0.tar.bz2
|
|
0001-add-support-for-qmapboxgl-installation.patch
|
|
0002-versioned-libraries.patch
|
|
"
|
|
options="!check" # No tests
|
|
subpackages="$pkgname-dev"
|
|
|
|
build() {
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DMBGL_WITH_WERROR=OFF \
|
|
-DMBGL_WITH_QT=ON \
|
|
-DMBGL_WITH_QT_LIB_ONLY=ON \
|
|
-DMBGL_WITH_QT_HEADLESS=OFF
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="c4698c5d36f3f629f18d3b546f9a2aee4209723ccec0c552dbe3e6f44c84462f1a87e862ea012309a04caf85a1d59ba85c18814de79b577a3d1a45a3f9d50909 mapbox-gl-native-vendored-1.6.0.tar.bz2
|
|
8383f99c49b26f66c72080864e05a4216f3f2e03045a2ad3aca1ff9ed9c16f214236ef3fcd71f85ade071da000eca07cec75d4411400d5d5112f1e45d3a2a769 0001-add-support-for-qmapboxgl-installation.patch
|
|
433c0a8bc6fc34cc86184e2c979fb6bd5a88dbbf69ed383eccb38d99dcbb6d67c5f9ccb615a8b347680a48bd74a4d387172fffd9cf12d089f6ffa27420587cf5 0002-versioned-libraries.patch"
|