# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup active_variants 1.1
categories net gnome python
license {GPL-3+ OpenSSLException}
maintainers {devans @dbevans} openmaintainer
description A GNOME BitTorrent client.
long_description Deluge is a GNOME client for the BitTorrent network written in python.
homepage http://www.deluge-torrent.org
master_sites https://ftp.osuosl.org/pub/deluge/source/2.0/
checksums rmd160 ed887d87b711513be63fb800d64f44dbea834bb8 \
sha256 7e7ae8e6ca2a2bf0d487227cecf81e27332f0b92b567cc2bda38e47d859da891 \
depends_lib-append port:libtorrent-rasterbar \
# ensures SVG pixbufs can be loaded
depends_lib-append port:gdk-pixbuf2 \
depends_run port:adwaita-icon-theme
patchfiles pass-full-mp-libpath.patch
reinplace "s|@@MP_PREFIX@@|${prefix}|" \
${worksrcpath}/deluge/i18n/util.py
build.env "PYTHON_CFLAGS=-I${prefix}/include -I${prefix}/include/boost" \
PYTHON_LDFLAGS=-L${prefix}/lib \
"CFLAGS=-I${prefix}/include -I${prefix}/include/boost" \
CC=${configure.cc} CXX=${configure.cxx} CPP=${configure.cpp}
variant python27 conflicts python37 description {Build for Python 2.7} {
require_active_variants libtorrent-rasterbar python27
python.default_version 27
port:py27-service_identity \