Diff libserialport-0.1.1-r1 with a libserialport-9999

/usr/portage/dev-libs/libserialport/libserialport-9999.ebuild 2023-10-09 14:52:29.528368351 +0300
3 3

  
4 4
EAPI="8"
5 5

  
6
inherit autotools
7

  
8 6
if [[ ${PV} == "9999" ]]; then
9 7
	EGIT_REPO_URI="git://sigrok.org/${PN}"
10
	inherit git-r3
8
	inherit autotools git-r3
11 9
else
12 10
	SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
13
	KEYWORDS="amd64 ~arm ~arm64 x86"
11
	KEYWORDS="~amd64 ~x86"
14 12
fi
15 13

  
16 14
DESCRIPTION="Cross platform serial port access library"
......
22 20

  
23 21
BDEPEND="virtual/pkgconfig"
24 22

  
25
PATCHES=(
26
	"${FILESDIR}"/${P}-kernel-termiox.patch
27
)
28

  
29 23
src_prepare() {
30 24
	default
31 25

  
32
	#[[ ${PV} == "9999" ]] && eautoreconf
33
	# Needed for the termiox patch, should be able to drop on next release
34
	# (change back this + inherit to just for 9999)
35
	eautoreconf
26
	[[ ${PV} == "9999" ]] && eautoreconf
36 27
}
37 28

  
38 29
src_configure() {
Thank you!