From a6d909c873ff8074e2bdc9ec4f505a136b4dda0d Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Wed, 4 Sep 2019 14:12:10 +0200 Subject: [PATCH] main/mapbox-gl-native: new aport (MR 593) --- main/mapbox-gl-native/APKBUILD | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 main/mapbox-gl-native/APKBUILD diff --git a/main/mapbox-gl-native/APKBUILD b/main/mapbox-gl-native/APKBUILD new file mode 100644 index 000000000..cc4013358 --- /dev/null +++ b/main/mapbox-gl-native/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +pkgname=mapbox-gl-native +pkgver=1.5.0.3 +pkgrel=0 +_commit="0d63f5661ed15d43fbbf0462d82c85e634a2e8d7" +_commit_mapbox="974c87bd9cc25b7f0a2fc31adcc51df4db694270" +pkgdesc="Mapbox GL Native" +url="https://github.com/rinigus/pkg-mapbox-gl-native" +arch="all !armhf" +license="MIT" +makedepends="qt5-qtbase-dev icu-dev" +source="mapbox-gl-native-lib-$_commit.pro::https://raw.githubusercontent.com/rinigus/pkg-mapbox-gl-native/$_commit/mapbox-gl-native-lib.pro + $pkgname-$_commit_mapbox.tar.gz::https://github.com/rinigus/mapbox-gl-native/archive/$_commit_mapbox.tar.gz" +options="!check" # No tests +subpackages="$pkgname-dev" +builddir="$srcdir/$pkgname-$_commit_mapbox" + +prepare() { + default_prepare + + mv "$srcdir"/mapbox-gl-native-lib-$_commit.pro \ + "$builddir"/mapbox-gl-native-lib.pro +} + +build() { + qmake-qt5 "CONFIG+=posix" mapbox-gl-native-lib.pro + make +} + +package() { + INSTALL_ROOT="$pkgdir" make install +} + +sha512sums="e12b3be5d302fffe88f02a9e1a8858a6c4603924fc6faab4b2706bc9b5f792222c4b16da835fe773fadc50192f49e53f92ebf0d71088b1af299acb63fbaf3b09 mapbox-gl-native-lib-0d63f5661ed15d43fbbf0462d82c85e634a2e8d7.pro +86d50d52a2f3c8c9929e556498de6cf4cd955fd366455f533567e0d2fb35c24e03f597ea3d06821042b1ee8387c1ba23a4e3e0f70046183a84330e351251721a mapbox-gl-native-974c87bd9cc25b7f0a2fc31adcc51df4db694270.tar.gz"