wok-6.x view lxqt-panel/receipt @ rev 18161

Add gtest jsoncpp & pugixml
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 23 17:09:47 2015 +0200 (2015-06-23)
parents 44cb6517e19a
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
26 compile_rules()
27 {
28 patch -p0 < $stuff/fix_sysstat_plugin.patch
30 mkdir build; cd build
31 cmake \
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -DVOLUME_USE_PULSEAUDIO=No \
34 -DTEATIME_PLUGIN=Yes \
35 .. &&
36 make &&
37 make DESTDIR=$install install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share/lxqt/lxqt-panel
44 cp -a $install/etc $fs
45 cp -a $install/usr/bin $install/usr/lib $fs/usr
46 cp -a $install/usr/share/lxqt/lxqt-panel/*.desktop $fs/usr/share/lxqt/lxqt-panel
47 }