2017-08-03 20:14:04 +00:00
|
|
|
pkgname=solid
|
2017-08-14 23:23:23 +00:00
|
|
|
pkgver=5.37.0
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Hardware integration and detection'
|
|
|
|
arch="all"
|
|
|
|
url='https://community.kde.org/Frameworks'
|
|
|
|
license="LGPL"
|
2017-08-17 16:19:36 +00:00
|
|
|
depends="qt5-qtdeclarative upower eudev"
|
2017-08-14 23:23:23 +00:00
|
|
|
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"
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
prepare() {
|
2017-08-14 23:23:23 +00:00
|
|
|
mkdir -p "$srcdir"/build
|
2017-08-03 20:14:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2017-08-14 23:23:23 +00:00
|
|
|
cd "$srcdir"/build
|
2017-08-03 20:14:04 +00:00
|
|
|
cmake "$srcdir"/${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_TESTING=OFF \
|
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-08-14 23:23:23 +00:00
|
|
|
cd "$srcdir"/build
|
2017-08-03 20:14:04 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
2017-08-14 23:23:23 +00:00
|
|
|
sha512sums="11cebe83b19f488804fc2608c1dd5c8a3da8ba63f10ccfe445f3c9ca19de2252857791c520f55d08edc87dfc9459d340ea81fc598b10fea2b1080cb03a24d18d solid-5.37.0.tar.xz"
|