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

lincity-ng: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 07 12:01:40 2017 +0100 (2017-11-07)
parents c0ce132ba4ee
children d394530f7404
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lxqt-panel"
4 VERSION="0.11.1"
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 mesa17-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 SPLIT="lxqt-panel-dev"
21 compile_rules() {
22 sed -i 's|<KF5/KWindowSystem/|<|' \
23 plugin-taskbar/lxqttaskgroup.h \
24 plugin-taskbar/lxqttaskgroup.cpp
25 sed -i '/kbdinfo.h/i #undef explicit' \
26 plugin-kbindicator/src/x11/kbdlayout.cpp
27 # fix undefined variable
28 sed -i "/#define LXQTPANEL_H/a #define LXQT_VERSION \"$VERSION\"" \
29 panel/lxqtpanel.h
31 mkdir build; cd build
32 cmake \
33 -DCMAKE_BUILD_TYPE=Release \
34 -DCMAKE_INSTALL_PREFIX=/usr \
35 -DPULL_TRANSLATIONS=no \
36 -DCMAKE_INSTALL_LIBDIR=lib \
37 -DVOLUME_USE_PULSEAUDIO=no \
38 .. &&
39 make &&
40 make install
41 }
43 genpkg_rules() {
44 case $PACKAGE in
45 lxqt-panel)
46 copy @std
47 DEPENDS="alsa-lib glib kwindowsystem libdbusmenu-qt liblxqt \
48 libqtxdg libstatgrab libsysstat libxkbcommon-x11 lm-sensors \
49 lxqt-globalkeys menu-cache qt5-base qt5-svg qt5-x11extras solid \
50 xorg-libX11 xorg-libXcomposite xorg-libXdamage xorg-libXext \
51 xorg-libXfixes xorg-libXrender xorg-libxcb xorg-xcb-util"
52 SUGGESTED="qastools xscreensaver"
53 ;;
54 *-dev)
55 copy @dev
56 ;;
57 esac
58 TAGS="LXQt"
59 }