aboutsummaryrefslogtreecommitdiffstats
path: root/community/kamera/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kamera/APKBUILD')
-rw-r--r--community/kamera/APKBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/community/kamera/APKBUILD b/community/kamera/APKBUILD
index 835d2fccc3a..ce2299f06ab 100644
--- a/community/kamera/APKBUILD
+++ b/community/kamera/APKBUILD
@@ -1,17 +1,19 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
-# Maintainer: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: team/kde <bribbers@disroot.org>
+
+# The group tag is just to easily find this APKBUILD by some scripts for automation
+# group=kde-applications
pkgname=kamera
-pkgver=21.12.1
+pkgver=24.02.2
pkgrel=0
# armhf blocked by extra-cmake-modules
-# s390x blocked by exif
-# mips64 and riscv64 blocked by polkit -> kio
-arch="all !armhf !s390x !mips64 !riscv64"
+arch="all !armhf"
url="https://kde.org/applications/graphics"
pkgdesc="KDE integration for gphoto2 cameras"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="
extra-cmake-modules
+ kcmutils-dev
kconfig-dev
kconfigwidgets-dev
kdoctools-dev
@@ -19,23 +21,23 @@ makedepends="
kio-dev
kxmlgui-dev
libgphoto2-dev
- qt5-qtbase-dev
+ qt6-qtbase-dev
+ samurai
"
+_repo_url="https://invent.kde.org/graphics/kamera.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kamera-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
-options="!check" # No tests
build() {
- cmake -B build \
- -DCMAKE_BUILD_TYPE=None \
+ cmake -B build -G Ninja \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
- cd build
- CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+ ctest --test-dir build --output-on-failure
}
package() {
@@ -43,5 +45,5 @@ package() {
}
sha512sums="
-d5f11ba76c42fd2ed10ed3d997c8922f4b4560dacb7041703e70371b0f27ae09b2ca8c78f0e729635c530e12a81c9fad5aa4ef2b8ac0f313f638325833232663 kamera-21.12.1.tar.xz
+e816bbd52102d118a221230c28c0e8191779757b02fe79a39e8698091bc08ea070c7a0ea7e1a04b4e4a78dd62ce11ce21f523a3ab070ff069a1bc20cc669f853 kamera-24.02.2.tar.xz
"