mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
deluge: update to 2.0.3
This commit is contained in:
parent
be32287e29
commit
dd11bc852a
2 changed files with 12 additions and 30 deletions
|
@ -1,18 +0,0 @@
|
||||||
# Fixes settings dialog for Deluge 1.3.15
|
|
||||||
|
|
||||||
--- deluge/ui/gtkui/preferences.py
|
|
||||||
+++ deluge/ui/gtkui/preferences.py
|
|
||||||
@@ -318,11 +318,8 @@ class Preferences(component.Component):
|
|
||||||
}
|
|
||||||
# Add proxy stuff
|
|
||||||
|
|
||||||
- # Display workaround for single proxy in libtorrent >v0.16
|
|
||||||
- try:
|
|
||||||
- lt_single_proxy = component.get("PreferencesManager").LT_SINGLE_PROXY
|
|
||||||
- except AttributeError:
|
|
||||||
- lt_single_proxy = False
|
|
||||||
+ # Display workaround for single proxy in libtorrent >= v0.16
|
|
||||||
+ lt_single_proxy = True
|
|
||||||
|
|
||||||
for t in ("peer", "web_seed", "tracker", "dht"):
|
|
||||||
if lt_single_proxy and not t == "peer":
|
|
|
@ -1,19 +1,19 @@
|
||||||
# Template file for 'deluge'
|
# Template file for 'deluge'
|
||||||
pkgname=deluge
|
pkgname=deluge
|
||||||
version=1.3.15
|
version=2.0.3
|
||||||
revision=4
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
build_style=python2-module
|
build_style=python3-module
|
||||||
pycompile_module="deluge"
|
pycompile_module="deluge"
|
||||||
hostmakedepends="intltool python-setuptools"
|
hostmakedepends="intltool python3-setuptools"
|
||||||
depends="python-setuptools python-chardet python-Twisted python-xdg
|
depends="python3-setuptools python3-chardet python3-Twisted python3-xdg
|
||||||
libtorrent-rasterbar-python"
|
libtorrent-rasterbar-python3"
|
||||||
short_desc="Fully-featured cross-platform BitTorrent client"
|
short_desc="Fully-featured cross-platform BitTorrent client"
|
||||||
maintainer="Alexey Rochev <equeim@gmail.com>"
|
maintainer="Alexey Rochev <equeim@gmail.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://deluge-torrent.org/"
|
homepage="https://deluge-torrent.org/"
|
||||||
distfiles="https://download.deluge-torrent.org/source/${pkgname}-${version}.tar.gz"
|
distfiles="https://ftp.osuosl.org/pub/deluge/source/2.0/deluge-${version}.tar.xz"
|
||||||
checksum=2bd239fc7ec0427302677abb86f927299aed4f043eca5d8a1bab2986b3659666
|
checksum=7e7ae8e6ca2a2bf0d487227cecf81e27332f0b92b567cc2bda38e47d859da891
|
||||||
|
|
||||||
system_accounts="deluge"
|
system_accounts="deluge"
|
||||||
deluge_homedir="/var/lib/deluge"
|
deluge_homedir="/var/lib/deluge"
|
||||||
|
@ -29,11 +29,11 @@ deluge-gtk_package() {
|
||||||
replaces="deluge<1.3.14_1"
|
replaces="deluge<1.3.14_1"
|
||||||
short_desc+=" - GTK+ frontend"
|
short_desc+=" - GTK+ frontend"
|
||||||
pycompile_module="deluge"
|
pycompile_module="deluge"
|
||||||
depends="${sourcepkg}-${version}_${revision} pygtk"
|
depends="${sourcepkg}-${version}_${revision} python3-gobject"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/deluge
|
vmove usr/bin/deluge
|
||||||
vmove usr/bin/deluge-gtk
|
vmove usr/bin/deluge-gtk
|
||||||
vmove ${py2_sitelib}/deluge/ui/gtkui
|
vmove ${py3_sitelib}/deluge/ui/gtk3
|
||||||
vmove usr/share/applications
|
vmove usr/share/applications
|
||||||
vmove usr/share/icons
|
vmove usr/share/icons
|
||||||
vmove usr/share/man/man1/deluge.1
|
vmove usr/share/man/man1/deluge.1
|
||||||
|
@ -45,10 +45,10 @@ deluge-web_package() {
|
||||||
replaces="deluge<1.3.14_1"
|
replaces="deluge<1.3.14_1"
|
||||||
short_desc+=" - Web frontend"
|
short_desc+=" - Web frontend"
|
||||||
pycompile_module="deluge"
|
pycompile_module="deluge"
|
||||||
depends="${sourcepkg}-${version}_${revision} python-Mako"
|
depends="${sourcepkg}-${version}_${revision} python3-Mako"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/deluge-web
|
vmove usr/bin/deluge-web
|
||||||
vmove ${py2_sitelib}/deluge/ui/web
|
vmove ${py3_sitelib}/deluge/ui/web
|
||||||
vmove usr/share/man/man1/deluge-web.1
|
vmove usr/share/man/man1/deluge-web.1
|
||||||
vsv deluge-web
|
vsv deluge-web
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue