wok-next annotate kwayland/receipt @ rev 20219

memtest: shrink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 05 13:03:25 2017 +0100 (2017-11-05)
parents 4c3ee4d2d357
children c0521c689857
rev   line source
al@19989 1 # SliTaz package receipt v2.
al@19989 2
al@19989 3 PACKAGE="kwayland"
al@19989 4 VERSION="5.37.0"
al@19989 5 CATEGORY="system-tools"
al@19989 6 SHORT_DESC="Qt-style Client and Server library wrapper for the Wayland libraries"
al@19989 7 MAINTAINER="al.bobylev@gmail.com"
al@19989 8 LICENSE="LGPL2.1"
al@19989 9 WEB_SITE="https://github.com/KDE/kwayland"
al@19989 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-kwayland.html"
al@19989 11
al@19989 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19989 13 WGET_URL="http://download.kde.org/stable/frameworks/${VERSION%.*}/$TARBALL"
al@19989 14
al@19989 15 BUILD_DEPENDS="cmake extra-cmake-modules qt5-dev mesa17-dev"
al@19989 16 SPLIT="kwayland-dev"
al@19989 17
al@19989 18 compile_rules() {
al@19989 19 mkdir build; cd build
al@19989 20 cmake \
al@19989 21 -DCMAKE_BUILD_TYPE=Release \
al@19989 22 -DCMAKE_INSTALL_PREFIX=/usr \
al@19989 23 -DBUILD_TESTING=OFF \
al@19989 24 -DECM_MKSPECS_INSTALL_DIR=/usr/share/mkspecs/modules \
al@19989 25 -Wno-dev \
al@19989 26 .. &&
al@19989 27 make &&
al@19989 28 make install
al@19989 29 }
al@19989 30
al@19989 31 genpkg_rules() {
al@19989 32 case $PACKAGE in
al@19989 33 kwayland)
al@19989 34 copy @std
al@19989 35 DEPENDS="mesa17-libegl qt5-base wayland"
al@19989 36 ;;
al@19989 37 *-dev)
al@19989 38 copy @dev
al@19989 39 ;;
al@19989 40 esac
al@19989 41 }