wok-next annotate libkscreen/receipt @ rev 20889
Check Repology info from y* to z* packages: complete
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 15 10:27:39 2018 +0300 (2018-07-15) |
parents | e6d548803bb4 |
children | f48456621a9d |
rev | line source |
---|---|
al@19989 | 1 # SliTaz package receipt v2. |
al@19989 | 2 |
al@19989 | 3 PACKAGE="libkscreen" |
al@19989 | 4 VERSION="5.10.5" |
al@19989 | 5 CATEGORY="system-tools" |
al@19989 | 6 SHORT_DESC="KDE's screen management software" |
al@19989 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19989 | 8 LICENSE="GPL2" |
al@19989 | 9 WEB_SITE="https://github.com/KDE/libkscreen" |
al@19989 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-libkscreen.html" |
al@19989 | 11 |
al@19989 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19989 | 13 WGET_URL="http://download.kde.org/stable/plasma/$VERSION/$TARBALL" |
al@19989 | 14 |
al@20502 | 15 BUILD_DEPENDS="cmake extra-cmake-modules qt5-dev mesa-dev kwayland-dev" |
al@19989 | 16 SPLIT="libkscreen-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 -DCMAKE_INSTALL_LIBDIR=lib \ |
al@19989 | 24 -DBUILD_TESTING=OFF \ |
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 libkscreen) |
al@19989 | 34 copy @std |
al@19989 | 35 DEPENDS="kwayland qt5-base qt5-x11extras xorg-libxcb" |
al@19989 | 36 ;; |
al@19989 | 37 *-dev) |
al@19989 | 38 copy @dev |
al@19989 | 39 ;; |
al@19989 | 40 esac |
al@19989 | 41 } |