Diff wandio-4.2.3_p1-r1 with a wandio-4.2.3_p1-r2

/usr/portage/net-libs/wandio/wandio-4.2.3_p1-r2.ebuild 2023-10-09 14:52:34.604368479 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit autotools
7 7

  
......
13 13
LICENSE="LGPL-3"
14 14
SLOT="0/6"
15 15
KEYWORDS="~amd64 ~x86"
16
IUSE="bzip2 http lzma lzo test zlib"
16
IUSE="bzip2 http lzma lzo lz4 test zlib zstd"
17 17
RESTRICT="!test? ( test )"
18 18
REQUIRED_USE="test? ( lzma lzo )"
19 19

  
......
22 22
	bzip2? ( app-arch/bzip2 )
23 23
	lzma? ( app-arch/xz-utils )
24 24
	lzo? ( dev-libs/lzo )
25
	lz4? ( app-arch/lz4:= )
25 26
	http? ( net-misc/curl )
26 27
	zlib? ( sys-libs/zlib )
28
	zstd? ( app-arch/zstd:= )
27 29
"
28 30
DEPEND="
29 31
	${RDEPEND}
30 32
	test? ( app-arch/lzop )
31 33
"
32 34

  
35
PATCHES=(
36
	"${FILESDIR}"/${PN}-4.2.3_p1-fix-lz4-check.patch
37
)
38

  
33 39
src_prepare() {
34 40
	default
41

  
35 42
	eautoreconf
36 43
}
37 44

  
38 45
src_configure() {
39 46
	econf \
40
		--disable-static \
41 47
		$(use_with bzip2) \
42 48
		$(use_with http) \
43 49
		$(use_with lzma) \
44 50
		$(use_with lzo) \
45
		$(use_with zlib)
51
		$(use_with lz4) \
52
		$(use_with zlib) \
53
		$(use_with zstd)
46 54
}
47 55

  
48 56
src_test() {
49 57
	pushd test || die
50
	${CONFIG_SHELL}/bin/bash do-basic-tests.sh || die
58
	"${BROOT}"/bin/bash do-basic-tests.sh || die
51 59
}
52 60

  
53 61
src_install() {
54 62
	default
63

  
55 64
	find "${ED}" -name '*.la' -delete || die
56 65
}
Thank you!