main/qmltermwidget: fix build
This commit is contained in:
parent
b7c6e1634c
commit
bd4209177e
2 changed files with 24 additions and 5 deletions
15
main/qmltermwidget/0001-fix-missing-include.patch
Normal file
15
main/qmltermwidget/0001-fix-missing-include.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
diff -U4 -r qmltermwidget-0.2.0--orig/lib/TerminalCharacterDecoder.cpp qmltermwidget-0.2.0--patched/lib/TerminalCharacterDecoder.cpp
|
||||
--- qmltermwidget-0.2.0--orig/lib/TerminalCharacterDecoder.cpp 2018-11-24 22:06:16.000000000 +0100
|
||||
+++ qmltermwidget-0.2.0--patched/lib/TerminalCharacterDecoder.cpp 2020-01-31 10:03:00.168118919 +0100
|
||||
@@ -21,8 +21,11 @@
|
||||
|
||||
// Own
|
||||
#include "TerminalCharacterDecoder.h"
|
||||
|
||||
+// stdlib
|
||||
+#include <cwctype>
|
||||
+
|
||||
// Qt
|
||||
#include <QTextStream>
|
||||
|
||||
// KDE
|
|
@ -1,14 +1,17 @@
|
|||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=qmltermwidget
|
||||
pkgver=0.2.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
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"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/swordfish90/qmltermwidget/archive/$pkgver.tar.gz"
|
||||
options="!check" # Requires X11 running
|
||||
checkdepends="xvfb-run qt5-qtquickcontrols"
|
||||
source="https://github.com/swordfish90/qmltermwidget/archive/$pkgver/qmltermwidget-$pkgver.tar.gz
|
||||
0001-fix-missing-include.patch
|
||||
"
|
||||
options="!check" # Requires itself to be installed
|
||||
|
||||
build() {
|
||||
qmake-qt5
|
||||
|
@ -16,10 +19,11 @@ build() {
|
|||
}
|
||||
|
||||
check() {
|
||||
/usr/lib/qt5/bin/qmlscene -l . test-app/test-app.qml
|
||||
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"
|
||||
sha512sums="544d57296de6999b86bf2b921d1d93ac5d7eddd02eea436df4ecea0966c82389e716310fd7e4d13dd918bc1b3fd2d02f953c713dc5b4abcfc56d3f3f617adf43 qmltermwidget-0.2.0.tar.gz
|
||||
8cd39957dbad653269fe215dcaad392a541cfac75d27ac5b3bba4b1ab20ac9f32a0d2a5a173135b2cad73764525088f4c76517e5d67b9466094b2471bb275bea 0001-fix-missing-include.patch"
|
||||
|
|
Loading…
Reference in a new issue