deluge: update to 1.3.14

Split off GTK+ and Web interfaces.
This commit is contained in:
Alessio Sergi 2017-03-16 15:38:44 +01:00
parent efb74bf577
commit d4c7d64392
3 changed files with 34 additions and 6 deletions

1
srcpkgs/deluge-gtk Symbolic link
View File

@ -0,0 +1 @@
deluge

1
srcpkgs/deluge-web Symbolic link
View File

@ -0,0 +1 @@
deluge

View File

@ -1,6 +1,6 @@
# Template file for 'deluge'
pkgname=deluge
version=1.3.13
version=1.3.14
revision=1
noarch=yes
build_style=python2-module
@ -8,16 +8,42 @@ pycompile_module="deluge"
system_accounts="deluge"
deluge_homedir="/var/lib/deluge"
hostmakedepends="intltool python-setuptools"
makedepends="python-setuptools"
depends="pygtk python-setuptools python-chardet python-xdg Twisted libtorrent-rasterbar-python xdg-utils"
short_desc="BitTorrent client written in Python/PyGTK"
depends="python-setuptools python-chardet Twisted python-xdg libtorrent-rasterbar-python"
short_desc="Fully-featured cross-platform BitTorrent client"
maintainer="Alexey Rochev <equeim@gmail.com>"
homepage="http://deluge-torrent.org/"
license="GPL-3"
distfiles="http://download.deluge-torrent.org/source/${pkgname}-${version}.tar.gz"
checksum=a3717f202e90f548cfcd233a94ca7df3656f58d75e6db0eb17b90d588c814a05
checksum=2167376518ed888b7c8b0f2d81db175c688745692a97d872aad91df00c20991b
post_install() {
vsv deluged
vsv deluge-web
}
deluge-gtk_package() {
replaces="deluge<1.3.14_1"
short_desc+=" - GTK+ frontend"
pycompile_module="deluge"
depends="${sourcepkg}-${version}_${revision} pygtk"
pkg_install() {
vmove usr/bin/deluge
vmove usr/bin/deluge-gtk
vmove ${py2_sitelib}/deluge/ui/gtkui
vmove usr/share/applications
vmove usr/share/icons
vmove usr/share/man/man1/deluge.1
vmove usr/share/man/man1/deluge-gtk.1
}
}
deluge-web_package() {
replaces="deluge<1.3.14_1"
short_desc+=" - Web frontend"
pycompile_module="deluge"
depends="${sourcepkg}-${version}_${revision} python-Mako"
pkg_install() {
vmove usr/bin/deluge-web
vmove ${py2_sitelib}/deluge/ui/web
vmove usr/share/man/man1/deluge-web.1
vsv deluge-web
}
}