2009-08-16 17:54:55 +00:00
|
|
|
# Template file for 'transmission'
|
|
|
|
pkgname=transmission
|
2013-08-26 19:40:19 +00:00
|
|
|
version=2.82
|
2012-12-21 07:54:26 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-11-15 19:03:05 +00:00
|
|
|
configure_args="--enable-nls --enable-cli --enable-daemon --enable-utp"
|
2013-04-14 13:09:59 +00:00
|
|
|
hostmakedepends="pkg-config intltool"
|
|
|
|
makedepends="zlib-devel openssl-devel dbus-glib-devel
|
2012-12-05 09:46:29 +00:00
|
|
|
libcurl-devel libevent-devel gtk+3-devel qt-devel"
|
2009-08-16 17:54:55 +00:00
|
|
|
short_desc="A fast, easy, and free BitTorrent client"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-18 19:04:21 +00:00
|
|
|
homepage="http://www.transmissionbt.com/"
|
|
|
|
license="MIT, GPL-2"
|
2012-12-05 10:00:18 +00:00
|
|
|
distfiles="http://download.transmissionbt.com/files/$pkgname-$version.tar.xz"
|
2013-08-26 19:40:19 +00:00
|
|
|
checksum=3996651087df67a85f1e1b4a92b1b518ddefdd84c654b8df6fbccb0b91f03522
|
2012-12-05 09:46:29 +00:00
|
|
|
|
|
|
|
post_build() {
|
|
|
|
# Build the qt frontend.
|
2013-04-14 13:09:59 +00:00
|
|
|
cd qt
|
|
|
|
qmake qtr.pro
|
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# Install qt frontend
|
|
|
|
make -C qt INSTALL_ROOT=${DESTDIR}/usr install
|
|
|
|
}
|
|
|
|
|
|
|
|
transmission-gtk_package() {
|
|
|
|
depends="${sourcepkg}>=${version} hicolor-icon-theme desktop-file-utils"
|
2013-06-27 07:33:11 +00:00
|
|
|
short_desc+=" - GTK+ frontend"
|
2013-04-14 13:09:59 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/transmission-gtk
|
|
|
|
vmove usr/share/man/man1/transmission-gtk.1
|
|
|
|
vmove usr/share/icons/hicolor
|
|
|
|
vmove usr/share/applications
|
|
|
|
vmove usr/share/locale
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
transmission-qt_package() {
|
|
|
|
depends="${sourcepkg}>=${version}"
|
2013-06-27 07:33:11 +00:00
|
|
|
short_desc+=" - QT Frontend"
|
2013-04-14 13:09:59 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/transmission-qt
|
|
|
|
vmove usr/share/man/man1/transmission-qt.1
|
|
|
|
vinstall ${wrksrc}/qt/icons/transmission.png 644 usr/share/pixmaps transmission-qt.png
|
|
|
|
vinstall ${wrksrc}/qt/transmission-qt.desktop 644 usr/share/applications
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
transmission_package() {
|
|
|
|
pkg_install() {
|
2013-06-27 07:33:11 +00:00
|
|
|
vmove all
|
2013-04-14 13:09:59 +00:00
|
|
|
}
|
2012-12-05 09:46:29 +00:00
|
|
|
}
|