wok view lxqt-panel/receipt @ rev 24955
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:34:46 2022 +0100 (2022-04-23) |
parents | 72421749b88c |
children | 7364ffdaaa60 |
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 # What is the latest version available today?
27 current_version()
28 {
29 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
30 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
31 }
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 patch -p0 < $stuff/fix_sysstat_plugin.patch
38 export CC=gcc-83
39 export CXX=g++-83
41 mkdir _build &&
42 cd _build &&
43 cmake .. \
44 -D CMAKE_INSTALL_PREFIX=/usr \
45 -D VOLUME_USE_PULSEAUDIO=No \
46 -D TEATIME_PLUGIN=Yes \
47 -D WORLDCLOCK_PLUGIN=No &&
48 make &&
49 make install DESTDIR=$install
50 # WORLDCLOCK_PLUGIN=No, to avoid
51 # lxqtworldclock.cpp:154:9: error: 'UnicodeString' was not declared in this scope
52 # until a solution is found
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 mkdir -p $fs/usr/share/lxqt/lxqt-panel
60 cp -a $install/etc $fs
61 cp -a $install/usr/bin $install/usr/lib $fs/usr
62 cp -a $install/usr/share/lxqt/lxqt-panel/*.desktop \
63 $fs/usr/share/lxqt/lxqt-panel
64 }