# SliTaz package receipt. PACKAGE="lxqt-panel" VERSION="0.8.0" CATEGORY="system-tools" TAGS="LXQt" SHORT_DESC="The LXQt desktop panel." MAINTAINER="al.bobylev@gmail.com" LICENSE="LGPL2.1" WEB_SITE="https://github.com/lxde/lxqt-panel" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz" SUGGESTED="qastools xscreensaver" DEPENDS="alsa-lib gcc83-lib-base icu liblxqt liblxqt-mount libQtCore libQtDBus libQtGui libqtxdg libQtXml libstatgrab libsysstat lm-sensors lxqt-globalkeys menu-cache pcre xorg-libX11 xorg-libXcomposite xorg-libXdamage xorg-libXext xorg-libXfixes xorg-libXrender" BUILD_DEPENDS="alsa-lib-dev cacerts cmake gcc83 glib-dev grep icu-dev liblxqt-dev liblxqt-mount-dev libQtMimeTypes-dev libqtxdg-dev libstatgrab-dev libsysstat-dev lm-sensors-dev lxqt-globalkeys-dev menu-cache-dev qmake Qt4-dev xorg-libX11-dev xorg-libXcomposite-dev xorg-libXdamage-dev xorg-libXrender-dev " # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { patch -p0 < $stuff/fix_sysstat_plugin.patch export CC=gcc-83 export CXX=g++-83 mkdir _build && cd _build && cmake .. \ -D CMAKE_INSTALL_PREFIX=/usr \ -D VOLUME_USE_PULSEAUDIO=No \ -D TEATIME_PLUGIN=Yes \ -D WORLDCLOCK_PLUGIN=No && make && make install DESTDIR=$install # WORLDCLOCK_PLUGIN=No, to avoid # lxqtworldclock.cpp:154:9: error: 'UnicodeString' was not declared in this scope # until a solution is found } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/lxqt/lxqt-panel cp -a $install/etc $fs cp -a $install/usr/bin $install/usr/lib $fs/usr cp -a $install/usr/share/lxqt/lxqt-panel/*.desktop \ $fs/usr/share/lxqt/lxqt-panel }