aports/community/mauikit/APKBUILD
Bart Ribbers 44ce39a091 */*: remove unnecessary --output-on-failure
We set OUTPUT_ON_FAILURE by default nowadays so this argument is
unnecessary
2025-03-19 15:41:30 +00:00

60 lines
1.3 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: team/kde <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=maui
pkgname=mauikit
pkgver=4.0.0
pkgrel=0
pkgdesc="Kit for developing MAUI Apps"
# armhf blocked by qt5-qtdeclarative
arch="all !armhf"
url="https://mauikit.org/"
license="GPL-2.0-or-later"
depends="kirigami"
depends_dev="
$pkgname=$pkgver-r$pkgrel
kconfig-dev
kconfigwidgets-dev
kdeclarative-dev
kdecoration-dev
ki18n-dev
kio-dev
knotifications-dev
kservice-dev
libplasma-dev
mauiman-dev
qt6-qtbase-dev
qt6-qtdeclarative-dev
qt6-qtsvg-dev
syntax-highlighting-dev
xcb-util-wm-dev
"
makedepends="$depends_dev
extra-cmake-modules
samurai
"
_repo_url="https://invent.kde.org/maui/mauikit.git"
source="https://download.kde.org/stable/maui/mauikit/$pkgver/mauikit-$pkgver.tar.xz"
subpackages="$pkgname-dev"
options="!check" # no tests were found
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
ctest --test-dir build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
f6333464c15ab538752fdd16bb3c806bf545b48cf723df37a9d0a42269153ae4e1469dc4d927e1ad3ff285f8c57d7c1fd05a9fe71c9d01288d9b7cba6e5cf6db mauikit-4.0.0.tar.xz
"