wok-next annotate qbittorrent/receipt @ rev 21627

updated enet (1.2.1 -> 1.3.15)
author Hans-G?nter Theisgen
date Thu Jun 25 16:07:08 2020 +0100 (2020-06-25)
parents 6befec62b46c
children
rev   line source
al@16926 1 # SliTaz package receipt.
al@16926 2
al@16926 3 PACKAGE="qbittorrent"
psychomaniak@19999 4 VERSION="3.3.16"
al@16926 5 CATEGORY="network"
al@16926 6 SHORT_DESC="qBittorrent - A BitTorrent client in Qt4"
al@16926 7 MAINTAINER="al.bobylev@gmail.com"
al@16926 8 LICENSE="GPL2"
al@20909 9 WEB_SITE="https://www.qbittorrent.org/"
al@21020 10
al@16926 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@16926 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@16926 13
al@20915 14 BUILD_DEPENDS="qt5-dev boost-dev libtorrent-rasterbar-dev openssl-dev \
psychomaniak@19999 15 geoip xorg-dev zlib-dev"
al@16926 16
al@20943 17 COOKOPTS="!pixmaps !menus"
al@20943 18
al@21020 19 compile_rules() {
al@16926 20 ./configure \
al@16926 21 --prefix=/usr &&
al@16926 22 make &&
al@16926 23 make INSTALL_ROOT=$install install
al@16926 24 }
al@16926 25
al@21020 26 genpkg_rules() {
al@16926 27 mkdir -p $fs/usr/share/icons/hicolor
al@16926 28
al@16926 29 cp -a $install/usr/bin $fs/usr
al@16926 30
al@16926 31 cp -a $install/usr/share/applications $fs/usr/share
psychomaniak@20000 32 # sdft $fs/usr/share/applications/qBittorrent.desktop -g -tf -i
psychomaniak@20000 33 # sed -i '/^#/d' $fs/usr/share/applications/qBittorrent.desktop
al@16926 34
al@16926 35 for size in 16 24 32 48; do
al@16926 36 cp -a $install/usr/share/icons/hicolor/${size}x$size \
al@16926 37 $fs/usr/share/icons/hicolor
al@16926 38 done
al@21020 39 DEPENDS="qt5-base boost-system openssl libtorrent-rasterbar zlib"
al@16926 40 }