Diff srt-1.4.2 with a srt-9999

/usr/portage/net-libs/srt/srt-9999.ebuild 2021-05-03 12:09:00.000000000 +0300
14 14
	inherit git-r3
15 15
else
16 16
	SRC_URI="https://github.com/Haivision/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
17
	KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 -sparc x86 ~ppc-macos ~x64-macos"
17
	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 -sparc ~x86 ~ppc-macos ~x64-macos"
18 18
fi
19 19

  
20 20
LICENSE="MPL-2.0"
21 21
SLOT="0"
22
IUSE="gnutls"
22
IUSE="gnutls test"
23 23

  
24
DEPEND="
24
RDEPEND="
25 25
	gnutls? (
26 26
		dev-libs/nettle:0=[${MULTILIB_USEDEP}]
27 27
		net-libs/gnutls:0=[${MULTILIB_USEDEP}]
......
30 30
		dev-libs/openssl:0=[${MULTILIB_USEDEP}]
31 31
	)
32 32
"
33
RDEPEND="${DEPEND}"
33
DEPEND="${RDEPEND}
34
	test? ( dev-cpp/gtest )
35
"
36

  
37
RESTRICT="!test? ( test )"
34 38

  
35 39
PATCHES=(
36 40
	"${FILESDIR}/${PN}-always-GNUInstallDirs.patch"
37
	"${FILESDIR}/${P}-cxx-include-gcc11.patch"
38 41
)
39 42

  
40 43
src_prepare() {
41 44
	cmake_src_prepare
42
	sed -i -e "s:hcrypt_ut.c::" "${S}"/haicrypt/*.maf || die
45
	sed -i -e "s:hcrypt_ut.c::" haicrypt/*.maf || die
43 46
}
44 47

  
45 48
src_configure() {
46 49
	local mycmakeargs=(
47 50
		-DENABLE_STATIC=OFF
48 51
		-DUSE_GNUTLS=$(usex gnutls)
52
		-DENABLE_UNITTESTS=$(usex test)
49 53
	)
50 54
	cmake-multilib_src_configure
51 55
}
Thank you!