wok-next view kwayland/receipt @ rev 21044
Change tags a bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 24 12:56:54 2018 +0200 (2018-11-24) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="kwayland"
4 VERSION="5.37.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Qt-style Client and Server library wrapper for the Wayland libraries"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/KDE/kwayland"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/lxqt-kwayland.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://download.kde.org/stable/frameworks/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="cmake extra-cmake-modules qt5-dev mesa-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DBUILD_TESTING=OFF \
25 -DECM_MKSPECS_INSTALL_DIR=/usr/share/mkspecs/modules \
26 -Wno-dev \
27 .. &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 kwayland)
35 copy @std
36 DEPENDS="mesa-libegl qt5-base wayland"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }