wok-next annotate lxqt-globalkeys/receipt @ rev 20358
Update libunwind, strace; pcmanfm-qt: update dependencies; shrink icu (less 2MB comparing to the *-full version); add awf.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 22 21:52:02 2017 +0200 (2017-11-22) |
parents | e6d548803bb4 |
children | c0521c689857 |
rev | line source |
---|---|
al@19989 | 1 # SliTaz package receipt v2. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="lxqt-globalkeys" |
al@20318 | 4 VERSION="0.12.0" |
al@17516 | 5 CATEGORY="system-tools" |
al@16833 | 6 SHORT_DESC="Daemon used to register global keyboard shortcuts" |
al@16833 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16833 | 8 LICENSE="LGPL2.1" |
al@16833 | 9 WEB_SITE="https://github.com/lxde/lxqt-globalkeys" |
al@19989 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-globalkeys.html" |
al@16833 | 11 |
al@19989 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19989 | 13 WGET_URL="https://github.com/lxde/lxqt-globalkeys/releases/download/$VERSION/$TARBALL" |
al@16833 | 14 |
al@19989 | 15 BUILD_DEPENDS="cmake qt5-dev mesa17-dev lxqt-build-tools liblxqt-dev \ |
al@19989 | 16 kwindowsystem-dev" |
al@19989 | 17 SPLIT="lxqt-globalkeys-dev" |
al@19989 | 18 |
al@19989 | 19 compile_rules() { |
al@19989 | 20 # fix undefined variable |
al@19989 | 21 sed -i "/#define DEFAULT_CONFIG/a #define LXQT_VERSION \"$VERSION\"" \ |
al@19989 | 22 daemon/main.cpp |
al@19989 | 23 |
al@16833 | 24 mkdir build; cd build |
al@19989 | 25 cmake \ |
al@19989 | 26 -DCMAKE_BUILD_TYPE=Release \ |
al@19989 | 27 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@19989 | 28 -DCMAKE_INSTALL_LIBDIR=lib \ |
al@19989 | 29 -DPULL_TRANSLATIONS=no \ |
al@19989 | 30 \ |
al@19989 | 31 -DLXQT_VERSION=$VERSION -DLXQT_MAJOR_VERSION=${VERSION%%.*} \ |
al@19989 | 32 .. && |
al@16833 | 33 make && |
al@19989 | 34 make install |
al@16833 | 35 } |
al@16833 | 36 |
al@19989 | 37 genpkg_rules() { |
al@19989 | 38 case $PACKAGE in |
al@19989 | 39 lxqt-globalkeys) |
al@19989 | 40 copy @std |
al@19989 | 41 DEPENDS="kwindowsystem liblxqt libqtxdg qt5-base qt5-svg \ |
al@19989 | 42 qt5-x11extras xorg-libX11 xorg-libXext" |
al@19989 | 43 ;; |
al@19989 | 44 *-dev) |
al@19989 | 45 copy @dev |
al@19989 | 46 DEPENDS="lxqt-globalkeys qt5-dev" |
al@19989 | 47 ;; |
al@19989 | 48 esac |
al@19989 | 49 TAGS="LXQt" |
al@16833 | 50 } |