# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" PYTHON_COMPAT=( python3_{8,9} ) DISTUTILS_SINGLE_IMPL=1 inherit xdg distutils-r1 systemd DESCRIPTION="BitTorrent client with a client/server model" HOMEPAGE="https://deluge-torrent.org/" if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://git.deluge-torrent.org/${PN}" else SRC_URI="http://download.deluge-torrent.org/source/2.0/${P}.tar.xz" KEYWORDS="amd64 ~arm ~ppc ~sparc x86" fi LICENSE="GPL-2" SLOT="0" IUSE="console geoip gtk libnotify sound webinterface" REQUIRED_USE=" ${PYTHON_REQUIRED_USE} libnotify? ( gtk ) sound? ( gtk ) " # Note: if/when Deluge supports newer libtorrent-rasterbar >= 2, please # move the dependency *outside* of gen_cond_dep and use PYTHON_SINGLE_USEDEP # instead. It doesn't seem like Deluge supports >= 2 right now. DEPEND=" $(python_gen_cond_dep '