wok view lxqt-panel/receipt @ rev 24258
updated perl-test-requires (0.10 -> 0.11)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:07:54 2022 +0100 (2022-01-02) |
parents | c0ce132ba4ee |
children | 72421749b88c |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-panel"
4 VERSION="0.8.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 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 DEPENDS="alsa-lib icu libQtCore libQtDBus libQtGui libQtXml libqtxdg \
15 libstatgrab lm-sensors pcre xorg-libX11 xorg-libXcomposite xorg-libXdamage \
16 xorg-libXext xorg-libXfixes xorg-libXrender lxqt-globalkeys liblxqt \
17 liblxqt-mount menu-cache libsysstat"
18 SUGGESTED="qastools xscreensaver"
19 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev liblxqt-dev \
20 libqtxdg-dev lxqt-globalkeys-dev liblxqt-mount-dev xorg-libXcomposite-dev \
21 xorg-libXdamage-dev xorg-libXrender-dev menu-cache-dev libstatgrab-dev \
22 lm-sensors-dev alsa-lib-dev libsysstat-dev icu-dev grep glib-dev \
23 libQtMimeTypes-dev"
25 current_version()
26 {
27 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
28 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 patch -p0 < $stuff/fix_sysstat_plugin.patch
36 mkdir build; cd build
37 cmake \
38 -DCMAKE_INSTALL_PREFIX=/usr \
39 -DVOLUME_USE_PULSEAUDIO=No \
40 -DTEATIME_PLUGIN=Yes \
41 .. &&
42 make &&
43 make DESTDIR=$install install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/share/lxqt/lxqt-panel
50 cp -a $install/etc $fs
51 cp -a $install/usr/bin $install/usr/lib $fs/usr
52 cp -a $install/usr/share/lxqt/lxqt-panel/*.desktop $fs/usr/share/lxqt/lxqt-panel
53 }