Diff libtorrent-rasterbar-1.2.6 with a libtorrent-rasterbar-1.2.9

/usr/portage/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.9.ebuild 2021-05-02 14:09:00.000000000 +0300
8 8
DISTUTILS_OPTIONAL=true
9 9
DISTUTILS_IN_SOURCE_BUILD=true
10 10

  
11
inherit autotools distutils-r1
12

  
13
MY_PV=$(ver_rs 1-2 '_')
14
MY_P=${PN/-rasterbar}-${MY_PV}
11
inherit autotools flag-o-matic distutils-r1
15 12

  
16 13
DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
17 14
HOMEPAGE="https://libtorrent.org https://github.com/arvidn/libtorrent"
18
SRC_URI="https://github.com/arvidn/libtorrent/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
15
SRC_URI="https://github.com/arvidn/libtorrent/archive/libtorrent-${PV}.tar.gz"
19 16

  
20 17
LICENSE="BSD"
21 18
SLOT="0/10"
22
KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86"
19
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
23 20
IUSE="debug +dht doc examples python +ssl static-libs test"
24 21

  
25 22
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
26 23

  
27 24
RESTRICT="!test? ( test )"
28 25

  
26
S="${WORKDIR}/libtorrent-libtorrent-${PV}"
27

  
29 28
RDEPEND="
30 29
	dev-libs/boost:=[threads]
31 30
	virtual/libiconv
......
42 41
	sys-devel/libtool
43 42
"
44 43

  
45
S="${WORKDIR}/${PN/-rasterbar}-${MY_P}"
46

  
47 44
src_prepare() {
48
	mkdir "${S}"/build-aux/ || die
45
	mkdir -p "${S}"/build-aux || die
49 46
	touch "${S}"/build-aux/config.rpath || die
47
	append-cxxflags -std=c++14
50 48
	eautoreconf
51 49

  
52 50
	default
......
66 64
	local myeconfargs=(
67 65
		$(use_enable debug)
68 66
		$(use_enable debug export-all)
67
		$(use_enable debug logging)
69 68
		$(use_enable dht)
70 69
		$(use_enable examples)
71 70
		$(use_enable ssl encryption)
......
82 81
			econf "${myeconfargs[@]}" \
83 82
				--enable-python-binding \
84 83
				--with-boost-python="boost_${EPYTHON/./}"
84
				# git rid of c++11
85
				sed s/-std=c++11//g < bindings/python/compile_cmd > bindings/python/compile_cmd.new || die
86
				mv -f bindings/python/compile_cmd.new bindings/python/compile_cmd || die
85 87
		}
86 88
		distutils-r1_src_configure
87 89
	fi
Thank you!