aports/community/kamoso/APKBUILD
2025-04-24 20:45:31 +02:00

60 lines
1.5 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
maintainer="team/kde <bribbers@disroot.org>"
pkgname=kamoso
pkgver=25.04.0
pkgrel=0
# armhf blocked by extra-cmake-modules
# ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -> purpose
arch="all !armhf !ppc64le !s390x !riscv64"
url="https://kde.org/applications/multimedia/org.kde.kamoso"
pkgdesc="An application to take pictures and videos out of your webcam"
license="GPL-2.0-or-later AND LGPL-2.1-only"
depends="
gst-plugins-bad
gst-plugins-good
kirigami2
purpose5
qt5-qtquickcontrols
"
makedepends="
extra-cmake-modules
glib-dev
gobject-introspection-dev
gst-plugins-base-dev
gstreamer-dev
kconfig5-dev
kdoctools5-dev
ki18n5-dev
kio5-dev
knotifications5-dev
purpose5-dev
qt5-qtbase-dev
samurai
"
subpackages="$pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/multimedia/kamoso.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/kamoso-$pkgver.tar.xz"
options="!check" # Broken
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
5d2b67e2233df1bd58e5bab3e1ba732a322e7375cbed00fcfc0cd665e04ae6684f2e00aab14e086116165e738e9a71a9b3934640efa02dbef78d04528a108d8c kamoso-25.04.0.tar.xz
"