wok view qtpanel/receipt @ rev 25803

Up libgit2 (1.8.4), libsde-utils (0.1.0-r1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 12 15:28:00 2024 +0000 (8 days ago)
parents 77ec99338524
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qtpanel"
4 VERSION="548e4d3"
5 CATEGORY="x-window"
6 SHORT_DESC="Patched: size, scroll wheel min/max taskbar items. virt.desktops NOT supported"
7 LICENSE="GPL"
8 #WEB_SITE="https://web.archive.org/web/20121024232140/https://gitorious.org/qtpanel/qtpanel"
9 WEB_SITE="https://github.com/ixxra/qtpanel"
10 MAINTAINER="psychomaniak@xakep.ru"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
14 DEPENDS="libQtGui xorg-libXdamage xorg-libXcomposite"
15 BUILD_DEPENDS="wget cacerts Qt4-dev qmake cmake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
21 sed 's|>|>\n|g' | sed '/Commits* on/!d;s|.*Commits* on ||;s|<.*||;q' | xargs -0 date +0.%Y%m%d -d
22 ## wget --no-check-certificate -O - 'https://gitorious.org/qtpanel/qtpanel?p=qtpanel:qtpanel.git;a=shortlog' 2>/dev/null | \
23 ## sed '/td title/!d;s|.*<i>||;s|<.*||;s|-||g;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 patch -i $stuff/p.diff --merge #sed -i 's|ddd ddMMM hh:mm||' clockapplet.cpp
30 mkdir b; cd b
31 cmake -DCMAKE_BUILD_TYPE=MinSizeRel ..; make
32 mkdir -p $install/usr/bin
33 install $src/b/$PACKAGE $install/usr/bin
34 rm -rf $src/b
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs
42 mkdir -p $fs/etc/xdg
43 cp -a $stuff/autostart $fs/etc/xdg
44 }