aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-05-17 14:36:21 +0200
committerBart Ribbers <bribbers@disroot.org>2021-05-17 15:36:47 +0200
commitef06cd9e9585510030a9047f9c52cf3c3c92eda2 (patch)
tree434a8670f31a607f009b5fcb73de0358edf8a91c
parent78271554b3169942be47177509a4189de631dc64 (diff)
downloadaports-ef06cd9e9585510030a9047f9c52cf3c3c92eda2.tar.gz
aports-ef06cd9e9585510030a9047f9c52cf3c3c92eda2.tar.bz2
aports-ef06cd9e9585510030a9047f9c52cf3c3c92eda2.tar.xz
testing/asteroid-calendar: upgrade to 0_git20210517
-rw-r--r--testing/asteroid-calendar/APKBUILD43
1 files changed, 12 insertions, 31 deletions
diff --git a/testing/asteroid-calendar/APKBUILD b/testing/asteroid-calendar/APKBUILD
index 7143188121..68d183aa4f 100644
--- a/testing/asteroid-calendar/APKBUILD
+++ b/testing/asteroid-calendar/APKBUILD
@@ -1,60 +1,41 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=asteroid-calendar
-pkgver=0_git20200922
+pkgver=0_git20210517
pkgrel=0
-_commit="98e3fa1d85a87355d819d1c48ac09e55e94e64a2"
+_commit="9d0241fc65466f17b9260b3bca8db319b0093d42"
pkgdesc="Default calendar app for AsteroidOS"
url="https://github.com/AsteroidOS/asteroid-calendar"
# armhf blocked by nemo-qml-plugin-calendar
arch="all !armhf"
license="GPL-3.0-or-later"
depends="
- $pkgname-lang
mapplauncherd
nemo-qml-plugin-calendar
nemo-qml-plugin-time
qt5-qtvirtualkeyboard
"
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-calendar/archive/$_commit/asteroid-calendar-$_commit.tar.gz
- fix-build.patch
"
+source="https://github.com/AsteroidOS/asteroid-calendar/archive/$_commit/asteroid-calendar-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
build() {
- qmake-qt5 \
- PREFIX=/usr
- make
-
- i18n/generate-desktop.sh . asteroid-calendar.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-calendar.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="cb5bf2e014fbbf75e36e3e4eb0992153edbf39d78de9a3b10e12b4d20383a7649a888e0428d66ea80f63744bcf76cd8b647e766959ca784c9a08f55e00a9418c asteroid-calendar-98e3fa1d85a87355d819d1c48ac09e55e94e64a2.tar.gz
-65192dc6c171b0ae51f033442dd4697cf0ee676fc5e17e079ccaae3ecb8f321ffea12acef0a1038a40afdd1d7b85a8cd982c263cf8dcf7c3105da88a9fa6e6de fix-build.patch"
+sha512sums="
+0e3f7598fad35bf837dcaa385db8c9de7c12dd53439db80938c5be2f9e4fa7dba77d894654979f2e722b162f10ff76ff93f7380795dfe22229ad220d1a4c2ecc asteroid-calendar-9d0241fc65466f17b9260b3bca8db319b0093d42.tar.gz
+"