wok-current annotate lxqt-panel/receipt @ rev 25067

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