aports/community/solid/APKBUILD
2025-04-24 20:33:45 +02:00

52 lines
1.2 KiB
Text

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-frameworks
maintainer="team/kde <bribbers@disroot.org>"
pkgname=solid
pkgver=6.13.0
pkgrel=0
pkgdesc="Hardware integration and detection"
arch="all"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-only OR LGPL-3.0-only"
case "$CARCH" in
armhf) ;;
*) depends_dev="qt6-qtdeclarative-dev" ;;
esac
makedepends="$depends_dev
bison
doxygen
eudev-dev
extra-cmake-modules
flex-dev
graphviz
libimobiledevice-dev
qt6-qttools-dev
samurai
udisks2-dev
upower-dev
"
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/frameworks/solid.git"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/solid-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
cmake --build build
}
check() {
# solidmttest is broken
ctest --test-dir build -E "solidmttest"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
7ae9d2cbfae6aa25272a2382d814730584b6ac915d09d8aebef364baee548b4059271b9913e51e10fc90f888492ccdf71c3a42339cf53ec23f463d135c9c09cc solid-6.13.0.tar.xz
"