wok-next view libkscreen/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | c0521c689857 |
children | d5aab818505e |
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="libkscreen-dev"
18 compile_rules() {
19 mkdir build; cd build
20 cmake \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_INSTALL_LIBDIR=lib \
24 -DBUILD_TESTING=OFF \
25 -Wno-dev \
26 .. &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libkscreen)
34 copy @std
35 DEPENDS="kwayland qt5-base qt5-x11extras xorg-libxcb"
36 ;;
37 *-dev)
38 copy @dev
39 ;;
40 esac
41 }