Сравнение wmacpi-2.3-r1 с wmacpi-2.4

/usr/portage/x11-plugins/wmacpi/wmacpi-2.4.ebuild 2023-10-09 14:52:35.968368513 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5

  
6 5
inherit toolchain-funcs
7 6

  
8 7
DESCRIPTION="DockApp ACPI status monitor for laptops"
9 8
HOMEPAGE="https://www.dockapps.net/wmacpi"
10
SRC_URI="https://dev.gentoo.org/~voyageur/distfiles/${P}.tar.gz"
11
S="${WORKDIR}/dockapps"
9
SRC_URI="https://www.dockapps.net/download/${P}.tar.gz"
12 10

  
13 11
LICENSE="GPL-2"
14 12
SLOT="0"
15
KEYWORDS="amd64 -ppc -sparc x86"
13
KEYWORDS="~amd64 -ppc -sparc ~x86"
16 14

  
17
DEPEND="
18
	>=x11-libs/libdockapp-0.7:=
15
DEPEND=">=x11-libs/libdockapp-0.7:=
19 16
	x11-libs/libX11"
20
RDEPEND="${DEPEND}"
21 17

  
22 18
PATCHES=(
23 19
	"${FILESDIR}"/${P}-makefile.patch
24
	"${FILESDIR}"/${P}-fno-common.patch
25 20
	)
26 21

  
27
src_prepare() {
28
	default
29

  
30
	sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i *.c || die
31
}
32

  
33
src_configure() {
34
	tc-export CC
22
src_compile() {
23
	emake CC="$(tc-getCC)"
35 24
}
Спасибо!