2019-02-11 16:26:08 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=qmlkonsole
|
2020-11-12 10:36:08 +00:00
|
|
|
pkgver=0_git20201001
|
2020-06-18 09:16:38 +00:00
|
|
|
pkgrel=0
|
2020-11-12 10:36:08 +00:00
|
|
|
_commit="d34cab3771e1327f7b91a02c4bd49037c770d4e4"
|
2019-02-11 16:26:08 +00:00
|
|
|
pkgdesc="Terminal app for Plasma Mobile"
|
2020-07-30 16:02:20 +00:00
|
|
|
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
|
2020-11-12 10:36:08 +00:00
|
|
|
url="https://invent.kde.org/plasma-mobile/qmlkonsole"
|
2019-02-11 16:26:08 +00:00
|
|
|
license="GPL-3.0-or-later"
|
2020-11-12 10:36:08 +00:00
|
|
|
depends="
|
|
|
|
qmltermwidget
|
|
|
|
kirigami2
|
|
|
|
"
|
|
|
|
makedepends="
|
|
|
|
extra-cmake-modules
|
|
|
|
ki18n-dev
|
|
|
|
kirigami2-dev
|
|
|
|
qt5-qtbase-dev
|
|
|
|
qt5-qtdeclarative-dev
|
|
|
|
qt5-qtquickcontrols2-dev
|
|
|
|
qt5-qtsvg-dev
|
|
|
|
"
|
2020-06-18 09:16:38 +00:00
|
|
|
source="https://invent.kde.org/plasma-mobile/qmlkonsole/-/archive/$_commit/qmlkonsole-$_commit.tar.gz"
|
2019-09-07 21:43:42 +00:00
|
|
|
options="!check" # No tests
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
2019-02-11 16:26:08 +00:00
|
|
|
|
2020-09-11 13:40:04 +00:00
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
|
|
|
|
# qmlplugindump fails for armv7+qemu (pmb#1970). This is purely for
|
|
|
|
# packager knowledge and doesn't affect runtime, so we can disable it.
|
|
|
|
if [ "$CARCH" = "armv7" ]; then
|
|
|
|
sed -i "s/ecm_find_qmlmodule/# ecm_find_qmlmodule/g" CMakeLists.txt
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2019-02-11 16:26:08 +00:00
|
|
|
build() {
|
2020-06-18 09:16:38 +00:00
|
|
|
cmake -B build \
|
|
|
|
-DCMAKE_BUILD_TYPE=None \
|
2019-09-07 21:43:42 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2020-06-18 09:16:38 +00:00
|
|
|
cmake --build build
|
2019-02-11 16:26:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-06-18 09:16:38 +00:00
|
|
|
DESTDIR="$pkgdir" cmake --build build --target install
|
2019-02-11 16:26:08 +00:00
|
|
|
}
|
|
|
|
|
2020-11-12 10:36:08 +00:00
|
|
|
sha512sums="17905ea6cb85b5361cda68c07930069fd5aa7339e44849c25b14e99148489669c3d49613c829d8e7c12449fa1aa2ee21d3d73e352aa80aed60225954ed57eca3 qmlkonsole-d34cab3771e1327f7b91a02c4bd49037c770d4e4.tar.gz"
|