27 lines
1.1 KiB
Bash
27 lines
1.1 KiB
Bash
# Template file for 'ktouch'
|
|
pkgname=ktouch
|
|
version=20.08.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules kconfig kcoreaddons kdoctools
|
|
pkg-config qt5-declarative qt5-qmake qt5-host-tools gettext"
|
|
makedepends="libxkbfile-devel kdeclarative-devel kcmutils-devel
|
|
qt5-xmlpatterns-devel qt5-tools-devel kio-devel qt5-plugin-mysql qt5-plugin-tds
|
|
qt5-declarative-devel qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite
|
|
qt5-quickcontrols2-devel"
|
|
depends="kqtquickcharts qt5-quickcontrols2 qt5-graphicaleffects"
|
|
short_desc="Learn and practive touch typing"
|
|
maintainer="1is7ac3 <isaac.qa13@gmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://kde.org/applications/en/education/org.kde.ktouch"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/ktouch-${version}.tar.xz"
|
|
checksum=c4b218f672c0cb86930cdadf622d758a42b54732319e8ea86405b7f9b3281802
|
|
|
|
post_configure() {
|
|
sed -e 's|/usr/bin/qmlcachegen|/usr/bin/qmlcachegen-qt5|g' \
|
|
-i build/src/CMakeFiles/ktouch.dir/build.make
|
|
|
|
# Fix path for qmlcachegen on cross builds
|
|
sed -e "s|${XBPS_CROSS_BASE}/usr/bin/qmlcachegen-qt5|/usr/bin/qmlcachegen-qt5|g" \
|
|
-i build/src/CMakeFiles/ktouch.dir/build.make
|
|
}
|