wok-next annotate kwayland/receipt @ rev 19989
Up LXQt (WIP, to be continued...)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 20 06:08:44 2017 +0300 (2017-10-20) |
parents | |
children | e6d548803bb4 |
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 } |
al@19989 | 42 |
al@19989 | 43 # libQt5Concurrent.so.5 |
al@19989 | 44 # libQt5Core.so.5 |
al@19989 | 45 # libQt5Gui.so.5 |