pmaports/kde/solid/APKBUILD

33 lines
907 B
Text
Raw Normal View History

pkgname=solid
pkgver=5.37.0
pkgrel=1
pkgdesc='Hardware integration and detection'
arch="all"
url='https://community.kde.org/Frameworks'
license="LGPL"
depends="qt5-qtdeclarative upower eudev"
makedepends="extra-cmake-modules qt5-qttools-dev doxygen eudev-dev flex-dev bison"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
prepare() {
mkdir -p "$srcdir"/build
}
build() {
cd "$srcdir"/build
cmake "$srcdir"/${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF \
-DBUILD_QCH=ON
make
}
package() {
cd "$srcdir"/build
make DESTDIR="${pkgdir}" install
}
sha512sums="11cebe83b19f488804fc2608c1dd5c8a3da8ba63f10ccfe445f3c9ca19de2252857791c520f55d08edc87dfc9459d340ea81fc598b10fea2b1080cb03a24d18d solid-5.37.0.tar.xz"