wok-next annotate kwayland/receipt @ rev 21340

Up ipxe (1.20.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 21 08:52:35 2020 +0100 (2020-01-21)
parents f48456621a9d
children
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@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@20502 15 BUILD_DEPENDS="cmake extra-cmake-modules qt5-dev mesa-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
al@19989 17
al@19989 18 compile_rules() {
al@21020 19 mkdir build
al@21020 20 cd build
al@19989 21 cmake \
al@19989 22 -DCMAKE_BUILD_TYPE=Release \
al@19989 23 -DCMAKE_INSTALL_PREFIX=/usr \
al@19989 24 -DBUILD_TESTING=OFF \
al@19989 25 -DECM_MKSPECS_INSTALL_DIR=/usr/share/mkspecs/modules \
al@19989 26 -Wno-dev \
al@19989 27 .. &&
al@19989 28 make &&
al@19989 29 make install
al@19989 30 }
al@19989 31
al@19989 32 genpkg_rules() {
al@19989 33 case $PACKAGE in
al@19989 34 kwayland)
al@19989 35 copy @std
al@20502 36 DEPENDS="mesa-libegl qt5-base wayland"
al@19989 37 ;;
al@19989 38 *-dev)
al@19989 39 copy @dev
al@19989 40 ;;
al@19989 41 esac
al@19989 42 }