2017-08-03 20:14:04 +00:00
|
|
|
pkgname=threadweaver
|
2017-08-14 23:23:23 +00:00
|
|
|
pkgver=5.37.0
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='High-level multithreading framework'
|
|
|
|
arch="all"
|
|
|
|
url='https://community.kde.org/Frameworks'
|
|
|
|
license="LGPL"
|
|
|
|
depends="qt5-qtbase"
|
2017-08-17 16:19:36 +00:00
|
|
|
makedepends="extra-cmake-modules mesa-dev qt5-qttools-dev doxygen qt5-qtdeclarative-dev"
|
2017-08-03 20:14:04 +00:00
|
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
2017-08-14 23:23:23 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2017-08-14 23:23:23 +00:00
|
|
|
sha512sums="8679a65b59a787884c3aed01d7fb06dbb9e91a6f60ff4db952e1cba50022db430f3bb3f3411d7ecdf0f47b469be0d2d32b4d4a7879a976c96ac4c0efe688efd7 threadweaver-5.37.0.tar.xz"
|