wok-next view lxqt-panel/receipt @ rev 20677
Up libsigsegv (2.12); add libseccomp
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 15 00:56:38 2018 +0300 (2018-05-15) |
parents | c04bd033a43d |
children | f48456621a9d |
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/lxde/lxqt-panel"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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 xorg-libXcomposite-dev \
18 xorg-libXrender-dev alsa-lib-dev libxkbcommon-dev xorg-xcb-util-dev \
19 pulseaudio-dev"
20 SPLIT="lxqt-panel-sensors lxqt-panel lxqt-panel-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 xorg-libICE xorg-libSM xorg-libX11 \
55 xorg-libXcomposite xorg-libXdamage xorg-libXext xorg-libXfixes \
56 xorg-libXrender xorg-libxcb xorg-xcb-util"
57 SUGGESTED="qastools xscreensaver"
58 ;;
59 *-dev)
60 copy @dev
61 ;;
62 esac
63 TAGS="LXQt"
64 }