wok-next view kwindowsystem/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
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/svn/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 mesa-dev \
16 xorg-xcb-util-keysyms-dev"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 mkdir build
21 cd build
22 cmake \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DBUILD_TESTING=OFF \
26 -Wno-dev \
27 .. &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 kwindowsystem)
35 copy @std
36 DEPENDS="qt5-base qt5-x11extras xorg-libX11 xorg-libXext \
37 xorg-libXfixes xorg-libXrender xorg-libxcb xorg-xcb-util-keysyms"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 esac
43 }