aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-05-17 14:23:52 +0200
committerBart Ribbers <bribbers@disroot.org>2021-05-17 15:36:46 +0200
commit78271554b3169942be47177509a4189de631dc64 (patch)
treebfc687b20839806e5ca70f3347af5a4373cc4277
parent9154199aefb06292965a2e9a75cd945636d253d4 (diff)
downloadaports-78271554b3169942be47177509a4189de631dc64.tar.gz
aports-78271554b3169942be47177509a4189de631dc64.tar.bz2
aports-78271554b3169942be47177509a4189de631dc64.tar.xz
testing/asteroid-camera: upgrade to 0_git20210517
-rw-r--r--testing/asteroid-camera/APKBUILD35
1 files changed, 15 insertions, 20 deletions
diff --git a/testing/asteroid-camera/APKBUILD b/testing/asteroid-camera/APKBUILD
index 9c213b45d6..523c8fe6b2 100644
--- a/testing/asteroid-camera/APKBUILD
+++ b/testing/asteroid-camera/APKBUILD
@@ -1,42 +1,37 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=asteroid-camera
-pkgver=0_git20190731
+pkgver=0_git20210517
pkgrel=0
-_commit="a9d1b1dbc55f910f0e60d9e587b860def78dba73"
+_commit="da9b1e4a2378aa4a423c0126be94def6c3174a29"
pkgdesc="Default camerae app for AsteroidOS"
url="https://github.com/AsteroidOS/asteroid-camera"
-arch="all"
+# armhf blocked by extra-cmake-modules
+arch="all !armhf"
license="GPL-3.0-or-later"
depends="mapplauncherd"
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-camera/archive/$_commit/asteroid-camera-$_commit.tar.gz
- fix-build.patch
+ qt5-qtmultimedia-dev
"
+source="https://github.com/AsteroidOS/asteroid-camera/archive/$_commit/asteroid-camera-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
build() {
- qmake-qt5 \
- PREFIX=/usr
- make
-
- i18n/generate-desktop.sh . asteroid-camera.desktop
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
}
package() {
- INSTALL_ROOT="$pkgdir" make install
-
- install -Dm644 asteroid-camera.desktop -t "$pkgdir"/usr/share/applications
+ DESTDIR="$pkgdir" cmake --install build
}
-sha512sums="5ccb3f8e084a580c8b3ac0a81bbbb234992c6e21c38baf90320be613fced1f5afb83ddc47da0ca4845b8542b7602f8b97780359e5e936f2a418ebf597aa6eb51 asteroid-camera-a9d1b1dbc55f910f0e60d9e587b860def78dba73.tar.gz
-8e009f2165801c7fb108dee460dd59b286b0780063520000865e6a0ba2b8a5b8886a131ed0a63006c36376ed9850d477d3493373ec7040e68e5d16111c788397 fix-build.patch"
+sha512sums="
+cbbfca8487694a26d555b169329f7aa7673cc3f2ca4025ac1954aad1c041f5215c82cfd38ff42805e57ba07bb697de02a3c70175754bd774e8160b505fc9b3ed asteroid-camera-da9b1e4a2378aa4a423c0126be94def6c3174a29.tar.gz
+"