Diff g15macro-1.0.3-r2 with a g15macro-1.0.5

/usr/portage/app-misc/g15macro/g15macro-1.0.5.ebuild 2023-10-09 14:52:28.796368333 +0300
1
# Copyright 1999-2020 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
inherit autotools
6 6

  
7 7
DESCRIPTION="Macro recording plugin to G15daemon"
8
HOMEPAGE="https://sourceforge.net/projects/g15daemon/"
9
SRC_URI="mirror://sourceforge/g15daemon/${P}.tar.gz"
8
HOMEPAGE="https://gitlab.com/menelkir/g15macro"
9
if [[ ${PV} == *9999 ]] ; then
10
	inherit git-r3
11
	EGIT_REPO_URI="https://gitlab.com/menelkir/g15macro.git"
12
else
13
	SRC_URI="https://gitlab.com/menelkir/${PN}/-/archive/${PV}/${P}.tar.bz2"
14
	KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
15
fi
10 16

  
11 17
LICENSE="GPL-2"
12 18
SLOT="0"
13
KEYWORDS="amd64 ~ppc ~ppc64 x86"
14 19
IUSE=""
15 20

  
16
DEPEND=">=app-misc/g15daemon-1.9.0
17
	dev-libs/libg15
18
	dev-libs/libg15render
21
DEPEND=">=app-misc/g15daemon-3.0
22
	>=dev-libs/libg15-3.0
23
	>=dev-libs/libg15render-3.0
19 24
	x11-libs/libX11
20 25
	x11-libs/libXtst
21 26
"
......
24 29
"
25 30

  
26 31
PATCHES=(
27
	"${FILESDIR}"/${P}-Makefile.am.patch
28
	"${FILESDIR}"/${P}-configure.in.patch
32
	"${FILESDIR}/${PN}-1.0.5-autoconf_fixes.patch"
29 33
)
30 34

  
31 35
src_prepare() {
32
	default
33 36
	mv configure.{in,ac} || die
37
	default
34 38
	eautoreconf
35 39
}
36 40

  
37 41
src_configure() {
38 42
	econf --enable-xtest
39 43
}
40

  
41
src_install() {
42
	default
43
	rm -rf "${ED}"/usr/share/doc/${P} || die
44
}
Thank you!