wok-next annotate lxqt-globalkeys/receipt @ rev 21203
updated airgeddon (3.31 -> 8.12)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 07:58:03 2019 +0100 (2019-12-02) |
parents | 5ffe59e2de3a |
children |
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@21032 | 9 WEB_SITE="https://github.com/lxqt/lxqt-globalkeys" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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@20502 | 15 BUILD_DEPENDS="cmake qt5-dev mesa-dev lxqt-build-tools liblxqt-dev \ |
al@19989 | 16 kwindowsystem-dev" |
al@21020 | 17 SPLIT="$PACKAGE-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@21078 | 42 qt5-x11extras libx11 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 } |