wok annotate qbittorrent/receipt @ rev 25236

updated python-shapely (1.7.0 -> 1.7.1)
author Hans-G?nter Theisgen
date Wed Jul 13 17:41:12 2022 +0100 (2022-07-13)
parents f0393127d176
children 64471e67874e
rev   line source
al@16926 1 # SliTaz package receipt.
al@16926 2
al@16926 3 PACKAGE="qbittorrent"
al@16926 4 VERSION="3.1.9.2"
al@16926 5 CATEGORY="network"
Hans-G?nter@21577 6 SHORT_DESC="A BitTorrent client in Qt4."
al@16926 7 MAINTAINER="al.bobylev@gmail.com"
al@16926 8 LICENSE="GPL2"
pascal@20679 9 WEB_SITE="https://www.qbittorrent.org/"
Hans-G?nter@21577 10
al@16926 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@16926 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@16926 13
al@16926 14 DEPENDS="libQtCore libQtDBus libQtGui libQtNetwork libQtXml libboost-system \
Hans-G?nter@21577 15 libcrypto libssl libtorrent-rasterbar zlib"
Hans-G?nter@21577 16 BUILD_DEPENDS="gcc83 Qt4-dev qmake libboost-dev libtorrent-rasterbar-dev \
Hans-G?nter@21577 17 geoip openssl-dev"
Hans-G?nter@21577 18 GENERIC_PIXMAPS="no"; GENERIC_MENUS="no"
al@16926 19
pascal@24082 20 current_version()
pascal@24082 21 {
pascal@24082 22 wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \
pascal@24082 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24082 24 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
pascal@24082 25 }
pascal@24082 26
al@16926 27 # Rules to configure and make the package.
al@16926 28 compile_rules()
al@16926 29 {
Hans-G?nter@21577 30 export CC=gcc-83
Hans-G?nter@21577 31 export CXX=g++-83
Hans-G?nter@21577 32
al@16926 33 ./configure \
al@16926 34 --prefix=/usr &&
al@16926 35 make &&
al@16926 36 make INSTALL_ROOT=$install install
al@16926 37 }
al@16926 38
al@16926 39 # Rules to gen a SliTaz package suitable for Tazpkg.
al@16926 40 genpkg_rules()
al@16926 41 {
al@16926 42 mkdir -p $fs/usr/share/icons/hicolor
al@16926 43
al@16926 44 cp -a $install/usr/bin $fs/usr
al@16926 45
al@16926 46 cp -a $install/usr/share/applications $fs/usr/share
al@16926 47 sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i
al@16926 48 sed -i '/^#/d' $fs/usr/share/applications/qBittorrent.desktop
al@16926 49
al@16926 50 for size in 16 24 32 48; do
al@16926 51 cp -a $install/usr/share/icons/hicolor/${size}x$size \
al@16926 52 $fs/usr/share/icons/hicolor
al@16926 53 done
al@16926 54 }