Diff libtorrent-rasterbar-1.2.19 with a libtorrent-rasterbar-2.0.8

/usr/portage/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.8.ebuild 2023-10-09 14:52:34.592368479 +0300
12 12
SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar.gz"
13 13

  
14 14
LICENSE="BSD"
15
SLOT="0/10"
16
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
17
IUSE="+dht debug python ssl test"
15
SLOT="0/2.0"
16
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc x86"
17
IUSE="+dht debug gnutls python ssl test"
18 18
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
19 19
RESTRICT="!test? ( test )"
20 20

  
......
26 26
			dev-libs/boost[python,${PYTHON_USEDEP}]
27 27
		')
28 28
	)
29
	ssl? ( dev-libs/openssl:= )
29
	ssl? (
30
		gnutls? ( net-libs/gnutls:= )
31
		!gnutls? ( dev-libs/openssl:= )
32
	)
30 33
"
31 34
RDEPEND="${DEPEND}"
32 35
BDEPEND="python? (
......
41 44

  
42 45
src_configure() {
43 46
	local mycmakeargs=(
47
		-DCMAKE_CXX_STANDARD=17
44 48
		-DBUILD_SHARED_LIBS=ON
45 49
		-Dbuild_examples=OFF
46 50
		-Ddht=$(usex dht ON OFF)
47 51
		-Dencryption=$(usex ssl ON OFF)
52
		-Dgnutls=$(usex gnutls ON OFF)
48 53
		-Dlogging=$(usex debug ON OFF)
49 54
		-Dpython-bindings=$(usex python ON OFF)
50 55
		-Dbuild_tests=$(usex test ON OFF)
......
59 64

  
60 65
src_test() {
61 66
	local myctestargs=(
62
		# test_upnp: needs running UPnP server
67
		# Needs running UPnP server
63 68
		-E "test_upnp"
64 69
	)
65 70

  
Thank you!