wok-6.x view qbittorrent/receipt @ rev 25315

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