wok-next annotate kidletime/receipt @ rev 21707

updated grooms (1.0.5 -> 1.0.9)
author Hans-G?nter Theisgen
date Mon Jul 06 15:15:04 2020 +0100 (2020-07-06)
parents d5aab818505e
children
rev   line source
al@19989 1 # SliTaz package receipt v2.
al@19989 2
al@19989 3 PACKAGE="kidletime"
al@19989 4 VERSION="5.37.0"
al@19989 5 CATEGORY="system-tools"
al@21020 6 SHORT_DESC="Report idle time of user and system"
al@19989 7 MAINTAINER="al.bobylev@gmail.com"
al@19989 8 LICENSE="LGPL2.1"
al@19989 9 WEB_SITE="https://github.com/KDE/kidletime"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/lxqt-kidletime.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@21017 19 mkdir build
al@21017 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 -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 kidletime)
al@19989 34 copy @std
al@21078 35 DEPENDS="qt5-base qt5-x11extras libx11 libxext \
al@21078 36 libxcb"
al@19989 37 ;;
al@19989 38 *-dev)
al@19989 39 copy @dev
al@19989 40 ;;
al@19989 41 esac
al@19989 42 }