Сравнение g15stats-1.9.7-r2 с g15stats-3.0.3

/usr/portage/app-misc/g15stats/g15stats-3.0.3.ebuild 2023-10-09 14:52:28.800368333 +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

  
8 8
DESCRIPTION="CPU, memory, swap, network stats for G15 Keyboard"
9
HOMEPAGE="https://sourceforge.net/projects/g15daemon/"
10
SRC_URI="mirror://sourceforge/g15daemon/${P}.tar.bz2"
9
HOMEPAGE="https://gitlab.com/menelkir/g15stats"
10
if [[ ${PV} == *9999 ]] ; then
11
	inherit git-r3
12
	EGIT_REPO_URI="https://gitlab.com/menelkir/g15stats.git"
13
else
14
	SRC_URI="https://gitlab.com/menelkir/${PN}/-/archive/${PV}/${P}.tar.bz2"
15
	KEYWORDS="~amd64 ~x86"
16
fi
11 17

  
12 18
LICENSE="GPL-2"
13 19
SLOT="0"
14
KEYWORDS="~amd64 ~x86"
15 20

  
16
RDEPEND=">=app-misc/g15daemon-1.9.0
17
	dev-libs/libg15
18
	dev-libs/libg15render
21
RDEPEND="
22
	>=app-misc/g15daemon-3.0
23
	>=dev-libs/libg15-3.0
24
	>=dev-libs/libg15render-3.0
19 25
	sys-libs/zlib
20
	gnome-base/libgtop"
26
	gnome-base/libgtop
27
"
21 28

  
22 29
DEPEND="${RDEPEND}"
23 30
BDEPEND="virtual/pkgconfig"
24 31

  
25
PATCHES=( "${FILESDIR}/${P}-docdir.patch" )
26

  
27 32
src_prepare() {
28 33
	default
29
	mv configure.{in,ac} || die
30 34
	eautoreconf
31 35
}
32 36

  
......
37 41

  
38 42
src_install() {
39 43
	default
40
	rm "${D}"/usr/share/doc/${PF}/{COPYING,NEWS} || die
44
	rm "${ED}"/usr/share/doc/${PF}/{COPYING,NEWS} || die
41 45

  
42 46
	newconfd "${FILESDIR}/${PN}-1.9.7.confd" ${PN}
43 47
	newinitd "${FILESDIR}/${PN}-1.9.7.initd-r1" ${PN}
Спасибо!