wok annotate lxqt-panel/receipt @ rev 18701

Up tazpkg(889)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Dec 16 12:18:23 2015 +0200 (2015-12-16)
parents 44cb6517e19a
children 5ea0ce1cecc0
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"
al@16833 6 SHORT_DESC="The LXQt desktop panel"
al@16833 7 MAINTAINER="al.bobylev@gmail.com"
al@16833 8 LICENSE="LGPL2.1"
al@16833 9 WEB_SITE="https://github.com/lxde/lxqt-panel"
al@16833 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@16833 11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
al@16833 12 TAGS="LXQt"
al@16833 13
al@16833 14 DEPENDS="alsa-lib icu libQtCore libQtDBus libQtGui libQtXml libqtxdg \
al@16833 15 libstatgrab lm-sensors pcre xorg-libX11 xorg-libXcomposite xorg-libXdamage \
al@16833 16 xorg-libXext xorg-libXfixes xorg-libXrender lxqt-globalkeys liblxqt \
al@16833 17 liblxqt-mount menu-cache libsysstat"
al@16833 18 SUGGESTED="qastools xscreensaver"
al@16833 19 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake xorg-libX11-dev liblxqt-dev \
al@16833 20 libqtxdg-dev lxqt-globalkeys-dev liblxqt-mount-dev xorg-libXcomposite-dev \
al@16833 21 xorg-libXdamage-dev xorg-libXrender-dev menu-cache-dev libstatgrab-dev \
al@17222 22 lm-sensors-dev alsa-lib-dev libsysstat-dev icu-dev grep glib-dev \
al@17222 23 libQtMimeTypes-dev"
al@16833 24
al@16833 25 # Rules to configure and make the package.
al@16833 26 compile_rules()
al@16833 27 {
al@17222 28 patch -p0 < $stuff/fix_sysstat_plugin.patch
al@17222 29
al@16833 30 mkdir build; cd build
al@16833 31 cmake \
al@16833 32 -DCMAKE_INSTALL_PREFIX=/usr \
al@16833 33 -DVOLUME_USE_PULSEAUDIO=No \
al@16833 34 -DTEATIME_PLUGIN=Yes \
al@16833 35 .. &&
al@16833 36 make &&
al@16833 37 make DESTDIR=$install install
al@16833 38 }
al@16833 39
al@16833 40 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16833 41 genpkg_rules()
al@16833 42 {
al@16833 43 mkdir -p $fs/usr/share/lxqt/lxqt-panel
al@16833 44 cp -a $install/etc $fs
al@16833 45 cp -a $install/usr/bin $install/usr/lib $fs/usr
al@16833 46 cp -a $install/usr/share/lxqt/lxqt-panel/*.desktop $fs/usr/share/lxqt/lxqt-panel
al@16833 47 }