wok-next view libkscreen/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libkscreen"
4 VERSION="5.10.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="KDE's screen management software"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/KDE/libkscreen"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/lxqt-libkscreen.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://download.kde.org/stable/plasma/$VERSION/$TARBALL"
15 BUILD_DEPENDS="cmake extra-cmake-modules qt5-dev mesa-dev kwayland-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 -DCMAKE_INSTALL_LIBDIR=lib \
25 -DBUILD_TESTING=OFF \
26 -Wno-dev \
27 .. &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libkscreen)
35 copy @std
36 DEPENDS="kwayland qt5-base qt5-x11extras xorg-libxcb"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }