wok-current annotate qtpanel/receipt @ rev 24145

ventoy: set arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 17 10:14:59 2021 +0000 (2021-11-17)
parents 07f3c83feeae
children b9659e3c2111
rev   line source
psychomaniak@17164 1 # SliTaz package receipt.
psychomaniak@17164 2
psychomaniak@17164 3 PACKAGE="qtpanel"
psychomaniak@17164 4 VERSION="548e4d3"
psychomaniak@17164 5 CATEGORY="x-window"
psychomaniak@17164 6 SHORT_DESC="Patched: size, scroll wheel min/max taskbar items. virt.desktops NOT supported"
psychomaniak@17164 7 LICENSE="GPL"
pascal@20947 8 WEB_SITE="https://web.archive.org/web/20121024232140/https://gitorious.org/qtpanel/qtpanel"
psychomaniak@17164 9 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@17164 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
psychomaniak@17164 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
psychomaniak@17164 12
psychomaniak@17164 13 DEPENDS="libQtGui xorg-libXdamage xorg-libXcomposite"
psychomaniak@17164 14 BUILD_DEPENDS="wget cacerts Qt4-dev qmake cmake"
psychomaniak@17164 15
psychomaniak@17164 16 # Rules to configure and make the package.
psychomaniak@17164 17 compile_rules()
psychomaniak@17164 18 {
psychomaniak@17164 19 patch -i $stuff/p.diff --merge #sed -i 's|ddd ddMMM hh:mm||' clockapplet.cpp
psychomaniak@17164 20 mkdir b; cd b
psychomaniak@17164 21 cmake -DCMAKE_BUILD_TYPE=MinSizeRel ..; make
psychomaniak@17164 22 mkdir -p $install/usr/bin
psychomaniak@17164 23 install $src/b/$PACKAGE $install/usr/bin
psychomaniak@17164 24 rm -rf $src/b
psychomaniak@17164 25 }
psychomaniak@17164 26
psychomaniak@17164 27 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@17164 28
psychomaniak@17164 29 genpkg_rules()
psychomaniak@17164 30 {
psychomaniak@17164 31 cp -a $install/* $fs
psychomaniak@17164 32 mkdir -p $fs/etc/xdg
psychomaniak@17164 33 cp -a $stuff/autostart $fs/etc/xdg
psychomaniak@17164 34 }