aboutsummaryrefslogtreecommitdiffstats
path: root/community/plasma-bigscreen/APKBUILD
blob: ad4fc164f0ddee3d62c75cbda25797b0bd050644 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-bigscreen
pkgver=0_git20220118
pkgrel=0
_commit="883ed1241933f5245017297d484d9aa065a5f50c"
pkgdesc="A 10-feet interface made for TVs"
url="https://invent.kde.org/plasma/plasma-bigscreen/"
# armhf blocked by qt5-qtdeclarative
# s390x and riscv64 blocked by polkit -> plasma-nano
arch="all !armhf !s390x !riscv64"
license="LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL"
depends="
	kdeconnect
	kirigami2
	plasma-nano
	plasma-nm
	plasma-pa
	plasma-settings
	plasma-workspace
	py3-libcec
	py3-psutil
	py3-uinput
	"
makedepends="
	extra-cmake-modules
	kactivities-dev
	kactivities-stats-dev
	kcmutils-dev
	kdeclarative-dev
	ki18n-dev
	kio-dev
	kirigami2-dev
	knotifications-dev
	kwayland-dev
	kwindowsystem-dev
	plasma-framework-dev
	plasma-workspace-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	qt5-qtmultimedia-dev
	"
source="https://invent.kde.org/plasma/plasma-bigscreen/-/archive/$_commit/plasma-bigscreen-$_commit.tar.gz
	0001-cec-daemon.patch
	uinput.conf
	"
builddir="$srcdir/plasma-bigscreen-$_commit"

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 --install build

	install -Dm644 -t "$pkgdir"/etc/modules-load.d \
		"$srcdir"/uinput.conf
}

sha512sums="
d760d75675733914b582fc86baa9ae05aeac152372316e1911573492a5ed2fe025b5336e2a4bc18ace7c7688fa82dea4d42db37e56511431ef17463169b3d362  plasma-bigscreen-883ed1241933f5245017297d484d9aa065a5f50c.tar.gz
21ace2d31f78e643e4c786ceffd05b0cd2aba215f0deaaade525e4eb3e2ccb684d4a34e13184da3411c49d2196ce0033d282c7af236644fde1b98c9c4eb899a5  0001-cec-daemon.patch
a9b069ed121ffeee887e0583d8cb46035ecf1fa90a26a4ecb3aa11ff03178b2b08621f6676db6b2350f290694c04aabcf36f2ce3e0813a76dde9a33555edb112  uinput.conf
"