051a33e2e9
Fix #377
34 lines
905 B
Text
34 lines
905 B
Text
pkgname=kwayland
|
|
pkgver=5.37.0
|
|
pkgrel=1
|
|
pkgdesc='Qt-style Client and Server library wrapper for the Wayland libraries'
|
|
arch="all"
|
|
url='https://www.kde.org'
|
|
license="LGPL"
|
|
depends="qt5-qtbase wayland"
|
|
makedepends="extra-cmake-modules doxygen qt5-qttools-dev"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
|
|
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 \
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
-DBUILD_TESTING=OFF \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="764ae59472b29a7a8066bb8bae87580a5d68b2aa8f29f284999d2e77e7b32f0c2d80d318fcb820a577138785d8b302c1c6d86b36b5b34a37a13ab80c628f6fa8 kwayland-5.37.0.tar.xz"
|