aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-05-17 14:46:50 +0200
committerBart Ribbers <bribbers@disroot.org>2021-05-17 15:37:59 +0200
commit6b5a02bd6481f3e6a881405fecd4973417c2640f (patch)
tree7154db24570ee3b3006c659e2bab65d6190a27ec
parenta7525d9dee5ae8d41006754ef1ec3411a35cd0e8 (diff)
downloadaports-6b5a02bd6481f3e6a881405fecd4973417c2640f.tar.gz
aports-6b5a02bd6481f3e6a881405fecd4973417c2640f.tar.bz2
aports-6b5a02bd6481f3e6a881405fecd4973417c2640f.tar.xz
testing/asteroid-timer: upgrade to 0_git20210517
-rw-r--r--testing/asteroid-timer/APKBUILD46
1 files changed, 14 insertions, 32 deletions
diff --git a/testing/asteroid-timer/APKBUILD b/testing/asteroid-timer/APKBUILD
index 3786b71a9c..01c70d535c 100644
--- a/testing/asteroid-timer/APKBUILD
+++ b/testing/asteroid-timer/APKBUILD
@@ -1,57 +1,39 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=asteroid-timer
-pkgver=0_git20210411
+pkgver=0_git20210517
pkgrel=0
-_commit="aec4ce23d00e4f7fad1dfdd83d305b772b12cf59"
+_commit="7a7e9475f7032dec63cea1bdb943828fadac363f"
pkgdesc="Default timer app for AsteroidOS"
url="https://github.com/AsteroidOS/asteroid-timer"
-arch="all"
+# armhf blocked by qml-asteroid
+arch="all !armhf"
license="GPL-3.0-or-later"
depends="
- $pkgname-lang
mapplauncherd
nemo-qml-plugin-alarms
"
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-timer/archive/$_commit/asteroid-timer-$_commit.tar.gz
- fix-build.patch
"
+source="https://github.com/AsteroidOS/asteroid-timer/archive/$_commit/asteroid-timer-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
build() {
- qmake-qt5 \
- PREFIX=/usr
- make
-
- i18n/generate-desktop.sh . asteroid-timer.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-timer.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="e819d4f8139903bdb8c74d5cb8ebcb692deb70c9f86668f87f74c074e217f3e980072fbb410ed7b96062e05416ce948d73f0883080ecd35d7083735e3dabc9a1 asteroid-timer-aec4ce23d00e4f7fad1dfdd83d305b772b12cf59.tar.gz
-c332d3f67cbea68d698ecb43b292f02edc39aade632616241c6f96cb5f72a81198211fd55e7e8aab751b96fcf776fda6cdbdad11db0b6be091b6e970f5475c46 fix-build.patch"
+sha512sums="
+ddc5610385f896b093bf8bde497890520c939418b022c5cd4cb1e5990fb3bb609c967ea842bc59b29f7d018fb9e2bc2e031406d2c73767bddc395bee87401df0 asteroid-timer-7a7e9475f7032dec63cea1bdb943828fadac363f.tar.gz
+"