wok-next annotate 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 |
rev | line source |
---|---|
al@20019 | 1 # SliTaz package receipt v2. |
al@16833 | 2 |
al@16833 | 3 PACKAGE="lxqt-panel" |
al@20318 | 4 VERSION="0.12.0" |
al@17516 | 5 CATEGORY="system-tools" |
al@16833 | 6 SHORT_DESC="The LXQt desktop panel" |
al@16833 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16833 | 8 LICENSE="LGPL2.1" |
al@16833 | 9 WEB_SITE="https://github.com/lxde/lxqt-panel" |
al@20019 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/lxqt/lxqt-panel.html" |
al@20019 | 11 |
al@16833 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@16833 | 13 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz" |
al@16833 | 14 |
al@20502 | 15 BUILD_DEPENDS="cmake qt5-dev mesa-dev kwindowsystem-dev liblxqt-dev \ |
al@20019 | 16 lxqt-build-tools lxqt-globalkeys-dev libstatgrab-dev solid-dev menu-cache-dev \ |
al@20019 | 17 lm-sensors-dev libsysstat-dev libdbusmenu-qt-dev xorg-libXcomposite-dev \ |
al@20357 | 18 xorg-libXrender-dev alsa-lib-dev libxkbcommon-dev xorg-xcb-util-dev \ |
al@20357 | 19 pulseaudio-dev" |
al@20357 | 20 SPLIT="lxqt-panel-sensors lxqt-panel lxqt-panel-dev" |
al@16833 | 21 |
al@20019 | 22 compile_rules() { |
al@20357 | 23 sed -i.orig 's|<KF5/KWindowSystem/|<|' \ |
al@20019 | 24 plugin-taskbar/lxqttaskgroup.h \ |
al@20019 | 25 plugin-taskbar/lxqttaskgroup.cpp |
al@20357 | 26 sed -i.orig '/kbdinfo.h/i #undef explicit' \ |
al@20019 | 27 plugin-kbindicator/src/x11/kbdlayout.cpp |
al@17222 | 28 |
al@16833 | 29 mkdir build; cd build |
al@16833 | 30 cmake \ |
al@20019 | 31 -DCMAKE_BUILD_TYPE=Release \ |
al@16833 | 32 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20019 | 33 -DPULL_TRANSLATIONS=no \ |
al@20019 | 34 -DCMAKE_INSTALL_LIBDIR=lib \ |
al@20357 | 35 -DVOLUME_USE_PULSEAUDIO=yes \ |
al@16833 | 36 .. && |
al@16833 | 37 make && |
al@20019 | 38 make install |
al@16833 | 39 } |
al@16833 | 40 |
al@20019 | 41 genpkg_rules() { |
al@20019 | 42 case $PACKAGE in |
al@20357 | 43 *-sensors) |
al@20357 | 44 # separated due to large depends, and because I can't get it work |
al@20357 | 45 copy libsensors.so sensors.desktop |
al@20357 | 46 CAT="system-tools|sensors plugin" |
al@20357 | 47 DEPENDS="lxqt-panel lm-sensors" |
al@20357 | 48 ;; |
al@20019 | 49 lxqt-panel) |
al@20357 | 50 copy @std @rm |
al@20019 | 51 DEPENDS="alsa-lib glib kwindowsystem libdbusmenu-qt liblxqt \ |
al@20357 | 52 libqtxdg libstatgrab libsysstat libxkbcommon-x11 libxkbcommon \ |
al@20357 | 53 lxqt-globalkeys menu-cache pulseaudio qt5-base qt5-svg \ |
al@20357 | 54 qt5-x11extras solid xorg-libICE xorg-libSM xorg-libX11 \ |
al@20357 | 55 xorg-libXcomposite xorg-libXdamage xorg-libXext xorg-libXfixes \ |
al@20357 | 56 xorg-libXrender xorg-libxcb xorg-xcb-util" |
al@20019 | 57 SUGGESTED="qastools xscreensaver" |
al@20019 | 58 ;; |
al@20019 | 59 *-dev) |
al@20019 | 60 copy @dev |
al@20019 | 61 ;; |
al@20019 | 62 esac |
al@20019 | 63 TAGS="LXQt" |
al@16833 | 64 } |