wok-next view lxqt-globalkeys/receipt @ rev 21336

updated lighttpd-ssl (1.4.35 -> 1.5.54)
author Hans-G?nter Theisgen
date Fri Dec 13 14:49:06 2019 +0100 (2019-12-13)
parents 5ffe59e2de3a
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxqt-globalkeys"
4 VERSION="0.12.0"
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/lxqt/lxqt-globalkeys"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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 mesa-dev lxqt-build-tools liblxqt-dev \
16 kwindowsystem-dev"
17 SPLIT="$PACKAGE-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 libx11 libxext"
43 ;;
44 *-dev)
45 copy @dev
46 DEPENDS="lxqt-globalkeys qt5-dev"
47 ;;
48 esac
49 TAGS="LXQt"
50 }