aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-05-17 14:50:56 +0200
committerBart Ribbers <bribbers@disroot.org>2021-05-17 15:38:15 +0200
commit0f6eb5e46389bedcbe35d2010b1279ce46065209 (patch)
tree213de05f6aa3dc6ee5c097ea750a71f0f3ec2906
parentd3f8f73e6540c5ff4a448c361f30c468c0473969 (diff)
downloadaports-0f6eb5e46389bedcbe35d2010b1279ce46065209.tar.gz
aports-0f6eb5e46389bedcbe35d2010b1279ce46065209.tar.bz2
aports-0f6eb5e46389bedcbe35d2010b1279ce46065209.tar.xz
testing/asteroid-hrm: upgrade to 0_git20210517
-rw-r--r--testing/asteroid-hrm/APKBUILD31
1 files changed, 12 insertions, 19 deletions
diff --git a/testing/asteroid-hrm/APKBUILD b/testing/asteroid-hrm/APKBUILD
index 41f5316656..96071c8223 100644
--- a/testing/asteroid-hrm/APKBUILD
+++ b/testing/asteroid-hrm/APKBUILD
@@ -1,9 +1,9 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=asteroid-hrm
-pkgver=0_git20190723
+pkgver=0_git20210517
pkgrel=0
-_commit="88b476c6d9126d241a733950190509864ad60095"
+_commit="6d3c74f37162281026ca3f70c6b2a08de4fc655f"
pkgdesc="Default heart-rate-monitor app for AsteroidOS"
url="https://github.com/AsteroidOS/asteroid-hrm"
# armhf blocked by qt5-qtsensors
@@ -14,33 +14,26 @@ depends="
qt5-qtsensors
"
makedepends="
- bash
- grep
+ extra-cmake-modules
qml-asteroid-dev
qt5-qtbase-dev
qt5-qtdeclarative-dev
- qt5-qttools-dev
- qtchooser
- "
-source="https://github.com/AsteroidOS/asteroid-hrm/archive/$_commit/asteroid-hrm-$_commit.tar.gz
- fix-build.patch
"
+source="https://github.com/AsteroidOS/asteroid-hrm/archive/$_commit/asteroid-hrm-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
build() {
- qmake-qt5 \
- PREFIX=/usr
- make
-
- i18n/generate-desktop.sh . asteroid-hrm.desktop
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
}
package() {
- INSTALL_ROOT="$pkgdir" make install
-
- install -Dm644 asteroid-hrm.desktop -t "$pkgdir"/usr/share/applications
+ DESTDIR="$pkgdir" cmake --install build
}
-sha512sums="998217cda76c326531829c25c2a26395126eee9a13fa6cec1b2dbbb1522065088e9611eb99f6dc93611a563465983a73efbd72fb74ac37526837c808a321086a asteroid-hrm-88b476c6d9126d241a733950190509864ad60095.tar.gz
-feb97a06b13e7a5b89176456940d87fe6dc714c5d51d40019d42fa13c3d10dfc079ef17caaaaee98f7d7c2779f4931d201ce9535e721bb4043f2debeab4ef6ac fix-build.patch"
+sha512sums="
+8ab873896753c513d5d7335a6b8cde70ae562be486b9b54926371412c3b23a004afeb42be12548a10e72eb850a48deac7244e51c69fe546252689b5215a293fd asteroid-hrm-6d3c74f37162281026ca3f70c6b2a08de4fc655f.tar.gz
+"