wok annotate qtpanel/receipt @ rev 25656
Up fwknop (2.6.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 09 11:08:06 2024 +0000 (7 months ago) |
parents | b9659e3c2111 |
children |
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" |
pascal@25113 | 11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" |
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 |
pascal@24545 | 16 # What is the latest version available today? |
pascal@24545 | 17 current_version() |
pascal@24545 | 18 { |
pascal@24545 | 19 wget --no-check-certificate -O - 'https://gitorious.org/qtpanel/qtpanel?p=qtpanel:qtpanel.git;a=shortlog' 2>/dev/null | \ |
pascal@24545 | 20 sed '/td title/!d;s|.*<i>||;s|<.*||;s|-||g;q' |
pascal@24545 | 21 } |
pascal@24545 | 22 |
psychomaniak@17164 | 23 # Rules to configure and make the package. |
psychomaniak@17164 | 24 compile_rules() |
psychomaniak@17164 | 25 { |
psychomaniak@17164 | 26 patch -i $stuff/p.diff --merge #sed -i 's|ddd ddMMM hh:mm||' clockapplet.cpp |
psychomaniak@17164 | 27 mkdir b; cd b |
psychomaniak@17164 | 28 cmake -DCMAKE_BUILD_TYPE=MinSizeRel ..; make |
psychomaniak@17164 | 29 mkdir -p $install/usr/bin |
psychomaniak@17164 | 30 install $src/b/$PACKAGE $install/usr/bin |
psychomaniak@17164 | 31 rm -rf $src/b |
psychomaniak@17164 | 32 } |
psychomaniak@17164 | 33 |
psychomaniak@17164 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@17164 | 35 |
psychomaniak@17164 | 36 genpkg_rules() |
psychomaniak@17164 | 37 { |
psychomaniak@17164 | 38 cp -a $install/* $fs |
psychomaniak@17164 | 39 mkdir -p $fs/etc/xdg |
psychomaniak@17164 | 40 cp -a $stuff/autostart $fs/etc/xdg |
psychomaniak@17164 | 41 } |