wok-next view lxqt-globalkeys/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | d394530f7404 |
children | f48456621a9d |
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/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 mesa-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 }