wok-next view lxqt-globalkeys/receipt @ rev 20194
Up irrlicht (1.8.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 11:27:16 2017 +0100 (2017-11-03) |
parents | 4c3ee4d2d357 |
children | d394530f7404 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxqt-globalkeys"
4 VERSION="0.11.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Daemon used to register global keyboard shortcuts"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxde/lxqt-globalkeys"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-globalkeys.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://github.com/lxde/lxqt-globalkeys/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="cmake qt5-dev mesa17-dev lxqt-build-tools liblxqt-dev \
16 kwindowsystem-dev"
17 SPLIT="lxqt-globalkeys-dev"
19 compile_rules() {
20 # fix undefined variable
21 sed -i "/#define DEFAULT_CONFIG/a #define LXQT_VERSION \"$VERSION\"" \
22 daemon/main.cpp
24 mkdir build; cd build
25 cmake \
26 -DCMAKE_BUILD_TYPE=Release \
27 -DCMAKE_INSTALL_PREFIX=/usr \
28 -DCMAKE_INSTALL_LIBDIR=lib \
29 -DPULL_TRANSLATIONS=no \
30 \
31 -DLXQT_VERSION=$VERSION -DLXQT_MAJOR_VERSION=${VERSION%%.*} \
32 .. &&
33 make &&
34 make install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 lxqt-globalkeys)
40 copy @std
41 DEPENDS="kwindowsystem liblxqt libqtxdg qt5-base qt5-svg \
42 qt5-x11extras xorg-libX11 xorg-libXext"
43 ;;
44 *-dev)
45 copy @dev
46 DEPENDS="lxqt-globalkeys qt5-dev"
47 ;;
48 esac
49 TAGS="LXQt"
50 }