aboutsummaryrefslogtreecommitdiffstats
path: root/community/qmltermwidget/APKBUILD
blob: f7ba1715ebd09e8604df1e648dd94cd9406adef1 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qmltermwidget
pkgver=0.2.0
pkgrel=1
arch="all"
url="https://github.com/swordfish90/qmltermwidget"
license="GPL-2.0-or-later"
pkgdesc="QML port of qtermwidget"
makedepends="
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	"
checkdepends="
	qt5-qtquickcontrols
	xvfb-run
	"
source="https://github.com/swordfish90/qmltermwidget/archive/$pkgver/qmltermwidget-$pkgver.tar.gz
	0001-fix-missing-include.patch
	0002-Rename-KProcess-to-KTermProcess-to-not-BIC-KF5CoreAddons-KProcess.patch
	"
options="!check" # Requires itself to be installed

build() {
	qmake-qt5
	make
}

check() {
	xvfb-run /usr/lib/qt5/bin/qmlscene -l . test-app/test-app.qml
}

package() {
	INSTALL_ROOT="$pkgdir" make install
}
sha512sums="
544d57296de6999b86bf2b921d1d93ac5d7eddd02eea436df4ecea0966c82389e716310fd7e4d13dd918bc1b3fd2d02f953c713dc5b4abcfc56d3f3f617adf43  qmltermwidget-0.2.0.tar.gz
8cd39957dbad653269fe215dcaad392a541cfac75d27ac5b3bba4b1ab20ac9f32a0d2a5a173135b2cad73764525088f4c76517e5d67b9466094b2471bb275bea  0001-fix-missing-include.patch
3663f0d030d07d09a5dd397f2a26a50300c49411de87a8e32da1803e859c1db463ebefc9032bd4a9f04f3f0cc84ac912f9fbe053458ac8b613b0bbfac46d930c  0002-Rename-KProcess-to-KTermProcess-to-not-BIC-KF5CoreAddons-KProcess.patch
"