Diff deluge-2.1.1-r8 with a deluge-9999

/usr/portage/net-p2p/deluge/deluge-9999.ebuild 2025-12-16 18:18:05.413282064 +0300
1
# Copyright 1999-2026 Gentoo Authors
1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
16 16
	EGIT_REPO_URI="https://git.deluge-torrent.org/${PN}"
17 17
else
18 18
	SRC_URI="http://download.deluge-torrent.org/source/$(ver_cut 1-2)/${P}.tar.xz"
19
	KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
19
	KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
20 20
fi
21 21

  
22 22
LICENSE="GPL-2"
23 23
SLOT="0"
24
IUSE="console gui libnotify sound webinterface"
24
IUSE="appindicator console gui libnotify sound webinterface"
25 25
REQUIRED_USE="
26
	appindicator? ( gui )
26 27
	libnotify? ( gui )
27 28
	sound? ( gui )
28 29
"
......
39 40
		gui? (
40 41
			sound? ( dev-python/pygame[${PYTHON_USEDEP}] )
41 42
			dev-python/pygobject:3[${PYTHON_USEDEP}]
42
			gnome-base/librsvg
43
			libnotify? ( x11-libs/libnotify )
44 43
		)
45 44
		dev-python/chardet[${PYTHON_USEDEP}]
46 45
		dev-python/distro[${PYTHON_USEDEP}]
47 46
		dev-python/pillow[${PYTHON_USEDEP}]
48
		dev-python/pkg-resources[${PYTHON_USEDEP}]
49 47
		dev-python/pyopenssl[${PYTHON_USEDEP}]
50 48
		dev-python/pyxdg[${PYTHON_USEDEP}]
51 49
		dev-python/rencode[${PYTHON_USEDEP}]
52 50
		dev-python/setproctitle[${PYTHON_USEDEP}]
53
		dev-python/setuptools[${PYTHON_USEDEP}]
54 51
		>=dev-python/twisted-17.1.0[ssl(-),${PYTHON_USEDEP}]
55 52
		>=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}]
56 53
		dev-python/mako[${PYTHON_USEDEP}]
57 54
	')
55
	appindicator? ( dev-libs/libayatana-appindicator )
56
	gui? (
57
		gnome-base/librsvg
58
		libnotify? ( x11-libs/libnotify )
59
	)
58 60
"
59 61

  
60
PATCHES=(
61
	"${FILESDIR}/${P}-twisted-22.10.patch"
62
	# https://dev.deluge-torrent.org/ticket/3598
63
	"${FILESDIR}/${P}-ayatana.patch"
64
	# https://dev.deluge-torrent.org/ticket/3582
65
	"${FILESDIR}/${P}-consoleui-deferred.patch"
66
	"${FILESDIR}/${P}-email-module-replace.patch"
67
)
68

  
69 62
EPYTEST_PLUGINS=( pytest-twisted )
70 63
distutils_enable_tests pytest
71 64

  
......
127 120
		mkdir -p "${ED}/usr/share/applications/" || die
128 121
		cp "${WORKDIR}/${P}/deluge/ui/data/share/applications/deluge.desktop" "${ED}/usr/share/applications/" || die
129 122
		mkdir -p "${ED}/usr/share/metainfo" || die
130
		cp "${WORKDIR}/${P}/deluge/ui/data/share/appdata/deluge.appdata.xml" "${ED}/usr/share/metainfo/" || die
123
		cp "${WORKDIR}/${P}/deluge/ui/data/share/metainfo/deluge.metainfo.xml" "${ED}/usr/share/metainfo/" || die
131 124
	fi
132 125

  
133 126
	if use webinterface; then
Thank you!