2015-02-23 07:23:41 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/kwayland
|
2014-10-23 03:29:25 +08:00
|
|
|
source ../plasma.conf
|
|
|
|
|
|
|
|
pkgname=kwayland
|
|
|
|
pkgver=${PVersion}
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Qt-style Client and Server library wrapper for the Wayland libraries'
|
|
|
|
arch=('x86_64')
|
|
|
|
url='http://www.kde.org'
|
|
|
|
license=('LGPL')
|
2015-02-23 07:23:41 +08:00
|
|
|
depends=('qt5-base')
|
2014-10-23 03:29:25 +08:00
|
|
|
makedepends=('extra-cmake-modules')
|
|
|
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
2014-12-01 13:27:04 +08:00
|
|
|
options=('debug')
|
2014-10-23 03:29:25 +08:00
|
|
|
sha256sums=( $(getSum ${pkgname}) )
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd build
|
2015-02-23 07:23:41 +08:00
|
|
|
cmake_kf5 ../$pkgname-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DLIB_INSTALL_DIR=lib \
|
|
|
|
-DBUILD_TESTING=OFF
|
2014-10-23 03:29:25 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd build
|
|
|
|
make DESTDIR="$pkgdir" install
|
2014-12-01 13:27:04 +08:00
|
|
|
}
|