wok view lxqt-panel/receipt @ rev 24787

lxqt-panel: worldclock plugin removed
author Hans-G?nter Theisgen
date Mon Mar 21 09:17:44 2022 +0100 (2022-03-21)
parents 5ea0ce1cecc0
children 125ccb253e50
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-panel"
4 VERSION="0.8.0"
5 CATEGORY="system-tools"
6 TAGS="LXQt"
7 SHORT_DESC="The LXQt desktop panel."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://github.com/lxde/lxqt-panel"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
15 SUGGESTED="qastools xscreensaver"
16 DEPENDS="alsa-lib gcc83-lib-base icu liblxqt liblxqt-mount libQtCore libQtDBus
17 libQtGui libqtxdg libQtXml libstatgrab libsysstat lm-sensors
18 lxqt-globalkeys menu-cache pcre xorg-libX11 xorg-libXcomposite
19 xorg-libXdamage xorg-libXext xorg-libXfixes xorg-libXrender"
20 BUILD_DEPENDS="alsa-lib-dev cacerts cmake gcc83 glib-dev grep icu-dev
21 liblxqt-dev liblxqt-mount-dev libQtMimeTypes-dev libqtxdg-dev
22 libstatgrab-dev libsysstat-dev lm-sensors-dev lxqt-globalkeys-dev
23 menu-cache-dev qmake Qt4-dev xorg-libX11-dev xorg-libXcomposite-dev
24 xorg-libXdamage-dev xorg-libXrender-dev "
26 current_version()
27 {
28 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
29 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 patch -p0 < $stuff/fix_sysstat_plugin.patch
37 export CC=gcc-83
38 export CXX=g++-83
40 mkdir _build &&
41 cd _build &&
42 cmake .. \
43 -D CMAKE_INSTALL_PREFIX=/usr \
44 -D VOLUME_USE_PULSEAUDIO=No \
45 -D TEATIME_PLUGIN=Yes \
46 -D WORLDCLOCK_PLUGIN=No &&
47 make &&
48 make install DESTDIR=$install
49 # WORLDCLOCK_PLUGIN=No, to avoid
50 # lxqtworldclock.cpp:154:9: error: 'UnicodeString' was not declared in this scope
51 # until a solution is found
52 }
54 # Rules to gen a SliTaz package suitable for Tazpkg.
55 genpkg_rules()
56 {
57 mkdir -p $fs/usr/share/lxqt/lxqt-panel
59 cp -a $install/etc $fs
60 cp -a $install/usr/bin $install/usr/lib $fs/usr
61 cp -a $install/usr/share/lxqt/lxqt-panel/*.desktop \
62 $fs/usr/share/lxqt/lxqt-panel
63 }