2018-10-08 06:50:31 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=mauikit
|
2019-10-03 13:50:44 +00:00
|
|
|
pkgver=0_git20191002
|
2020-02-28 14:00:45 +00:00
|
|
|
pkgrel=2
|
2019-10-03 13:50:44 +00:00
|
|
|
_commit="c7c58eab40317fd1fc48a9a407a0715d68c60b62"
|
2018-10-08 06:50:31 +00:00
|
|
|
pkgdesc="Kit for developing MAUI Apps"
|
2020-01-06 02:30:56 +00:00
|
|
|
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
|
2019-06-21 14:24:36 +00:00
|
|
|
url="https://invent.kde.org/kde/mauikit"
|
|
|
|
license="GPL-2.0-or-later"
|
2020-02-28 14:00:45 +00:00
|
|
|
depends="kquicksyntaxhighlighter kirigami2"
|
2019-10-03 13:50:44 +00:00
|
|
|
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev qt5-qtwebengine-dev ki18n-dev knotifications-dev kconfig-dev kservice-dev kio-dev syntax-highlighting-dev"
|
2018-10-08 06:50:31 +00:00
|
|
|
makedepends="$depends_dev extra-cmake-modules"
|
2019-10-03 13:50:44 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/mauikit/-/archive/$_commit.tar.gz"
|
2018-10-08 06:50:31 +00:00
|
|
|
subpackages="$pkgname-dev"
|
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake \
|
2019-06-21 14:24:36 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
2018-10-08 06:50:31 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2019-02-11 13:36:33 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2018-10-08 06:50:31 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-06-21 14:24:36 +00:00
|
|
|
DESTDIR="$pkgdir" make install
|
2018-10-08 06:50:31 +00:00
|
|
|
}
|
2019-10-03 13:50:44 +00:00
|
|
|
sha512sums="ea792d7c9ec31dfe2e999d06c8ec9e01d5bcba8df07bc1b9e08fc2d19ea2581944903bc53635dfb48a3e262a5baa94484b411052b126ec46aac31fe9e89cc67c mauikit-c7c58eab40317fd1fc48a9a407a0715d68c60b62.tar.gz"
|