wok-next view kwindowsystem/receipt @ rev 20113
Add some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 09:29:31 2017 +0100 (2017-10-30) |
parents | 4c3ee4d2d357 |
children | c0521c689857 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="kwindowsystem"
4 VERSION="5.37.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Access to the windowing system"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/KDE/kwindowsystem"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-kwindowsystem.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://download.kde.org/stable/frameworks/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="cmake qt5-dev extra-cmake-modules mesa17-dev \
16 xorg-xcb-util-keysyms-dev"
17 SPLIT="kwindowsystem-dev"
19 compile_rules() {
20 mkdir build; cd build
21 cmake \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DBUILD_TESTING=OFF \
25 -Wno-dev \
26 .. &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 kwindowsystem)
34 copy @std
35 DEPENDS="qt5-base qt5-x11extras xorg-libX11 xorg-libXext \
36 xorg-libXfixes xorg-libXrender xorg-libxcb xorg-xcb-util-keysyms"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }