aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-05-17 14:43:46 +0200
committerBart Ribbers <bribbers@disroot.org>2021-05-17 15:37:40 +0200
commita7525d9dee5ae8d41006754ef1ec3411a35cd0e8 (patch)
tree6964ad147608989972da637a3fe27f583a28afc8
parent363783e7b3e9f9929435fe4273c1523ccbd24fdd (diff)
downloadaports-a7525d9dee5ae8d41006754ef1ec3411a35cd0e8.tar.gz
aports-a7525d9dee5ae8d41006754ef1ec3411a35cd0e8.tar.bz2
aports-a7525d9dee5ae8d41006754ef1ec3411a35cd0e8.tar.xz
testing/asteroid-stopwatch: upgrade to 0_git20210517
-rw-r--r--testing/asteroid-stopwatch/APKBUILD50
1 files changed, 15 insertions, 35 deletions
diff --git a/testing/asteroid-stopwatch/APKBUILD b/testing/asteroid-stopwatch/APKBUILD
index ec749d397e..a3f0c5348e 100644
--- a/testing/asteroid-stopwatch/APKBUILD
+++ b/testing/asteroid-stopwatch/APKBUILD
@@ -1,56 +1,36 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=asteroid-stopwatch
-pkgver=0_git20210214
+pkgver=0_git20210517
pkgrel=0
-_commit="99181a545188e25d7396fe5cb805b4adc96b1a88"
+_commit="fdc71d176c3d2c3e569c1d26998d4def12d9d1c3"
pkgdesc="Default stopwatch app for AsteroidOS"
url="https://github.com/AsteroidOS/asteroid-stopwatch"
-arch="all"
+# armhf blocked by qml-asteroid
+arch="all !armhf"
license="GPL-3.0-or-later"
-depends="
- $pkgname-lang
- mapplauncherd
- "
+depends="mapplauncherd"
makedepends="
- bash
- grep
+ extra-cmake-modules
qml-asteroid-dev
qt5-qtbase-dev
qt5-qtdeclarative-dev
- qt5-qttools-dev
- qtchooser
- "
-subpackages="$pkgname-lang"
-source="https://github.com/AsteroidOS/asteroid-stopwatch/archive/$_commit/asteroid-stopwatch-$_commit.tar.gz
- fix-build.patch
"
+source="https://github.com/AsteroidOS/asteroid-stopwatch/archive/$_commit/asteroid-stopwatch-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
build() {
- qmake-qt5 \
- PREFIX=/usr
- make
-
- i18n/generate-desktop.sh . asteroid-stopwatch.desktop
-
- cd i18n
- lrelease -idbased ./*.ts
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
}
package() {
- INSTALL_ROOT="$pkgdir" make install
-
- install -Dm644 asteroid-stopwatch.desktop -t "$pkgdir"/usr/share/applications
-}
-
-lang() {
- cd "$builddir"/i18n
- find . -name "*.ts" | while read -r i; do
- install -Dm644 ${i/ts/qm} -t "$subpkgdir"/usr/share/translations
- done
+ DESTDIR="$pkgdir" cmake --install build
}
-sha512sums="d739babb8a199b53522b5ae3d5c8983eaadfab03a7efb8923ff1be7e80ca92b2755b430e201e580c4e34d6f942ee9da65d56439d185a10a5e5207d2e25563e9b asteroid-stopwatch-99181a545188e25d7396fe5cb805b4adc96b1a88.tar.gz
-1d63be9c5ccb0957856f95f41b5490c2ada58ced22003de0d2f106436e252fbd646ef4c16c96fc728338407bd94289a53936e4a0a691aaedd2de9b6955262211 fix-build.patch"
+sha512sums="
+c0037dedbeaf7b0a82c7a3d905a963617be14e7f988c776b310f6600deab5c175d66c32a11729001b871f57a56747afbffb17287ef295700c1edfdd688767f5d asteroid-stopwatch-fdc71d176c3d2c3e569c1d26998d4def12d9d1c3.tar.gz
+"