aboutsummaryrefslogtreecommitdiffstats
path: root/community/kamoso/APKBUILD
blob: 19593356ce04d1afddf75a0aa143b90e4c2fd174 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kamoso
pkgver=20.12.1
pkgrel=0
# armhf blocked by kirigami2
# mips64 and s390x blocked by kio
arch="all !armhf !mips64 !s390x"
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
	qt5-qtquickcontrols2
	"
makedepends="
	extra-cmake-modules
	glib-dev
	gobject-introspection-dev
	gst-plugins-base-dev
	gstreamer-dev
	kconfig-dev
	kdoctools-dev
	ki18n-dev
	kio-dev
	knotifications-dev
	purpose-dev
	qt5-qtbase-dev
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/kamoso-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # Broken

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="c25edb9b4e82b9167e1066afe0f195c49d859def859eff61ddccf279239ef2171e804cd979dcc8c6fc4d88f464fa65db74df7c9f89bbba68574d2e525d810940  kamoso-20.12.1.tar.xz"