wok-next view lxqt-panel/receipt @ rev 21721

created recipes for efivar and efibootmgr
author Hans-G?nter Theisgen
date Tue Sep 01 10:09:15 2020 +0100 (2020-09-01)
parents 5ffe59e2de3a
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxqt-panel"
4 VERSION="0.12.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="The LXQt desktop panel"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/lxqt/lxqt-panel"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxqt/lxqt-panel.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
15 BUILD_DEPENDS="cmake qt5-dev mesa-dev kwindowsystem-dev liblxqt-dev \
16 lxqt-build-tools lxqt-globalkeys-dev libstatgrab-dev solid-dev menu-cache-dev \
17 lm-sensors-dev libsysstat-dev libdbusmenu-qt-dev libxcomposite-dev \
18 libxrender-dev alsa-lib-dev libxkbcommon-dev xcb-util-dev \
19 pulseaudio-dev"
20 SPLIT="$PACKAGE-sensors $PACKAGE $PACKAGE-dev"
22 compile_rules() {
23 sed -i.orig 's|<KF5/KWindowSystem/|<|' \
24 plugin-taskbar/lxqttaskgroup.h \
25 plugin-taskbar/lxqttaskgroup.cpp
26 sed -i.orig '/kbdinfo.h/i #undef explicit' \
27 plugin-kbindicator/src/x11/kbdlayout.cpp
29 mkdir build; cd build
30 cmake \
31 -DCMAKE_BUILD_TYPE=Release \
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -DPULL_TRANSLATIONS=no \
34 -DCMAKE_INSTALL_LIBDIR=lib \
35 -DVOLUME_USE_PULSEAUDIO=yes \
36 .. &&
37 make &&
38 make install
39 }
41 genpkg_rules() {
42 case $PACKAGE in
43 *-sensors)
44 # separated due to large depends, and because I can't get it work
45 copy libsensors.so sensors.desktop
46 CAT="system-tools|sensors plugin"
47 DEPENDS="lxqt-panel lm-sensors"
48 ;;
49 lxqt-panel)
50 copy @std @rm
51 DEPENDS="alsa-lib glib kwindowsystem libdbusmenu-qt liblxqt \
52 libqtxdg libstatgrab libsysstat libxkbcommon-x11 libxkbcommon \
53 lxqt-globalkeys menu-cache pulseaudio qt5-base qt5-svg \
54 qt5-x11extras solid libice libsm libx11 \
55 libxcomposite libxdamage libxext libxfixes \
56 libxrender libxcb xcb-util"
57 SUGGESTED="qastools xscreensaver"
58 ;;
59 *-dev)
60 copy @dev
61 ;;
62 esac
63 TAGS="LXQt"
64 }