Сравнение beep-1.4.9-r1 с beep-1.4.12

/usr/portage/app-misc/beep/beep-1.4.12.ebuild 2023-10-09 14:52:28.784368332 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 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 fcaps toolchain-funcs
7 7

  
8 8
DESCRIPTION="Advanced PC speaker beeper"
9
HOMEPAGE="https://github.com/spkr-beep"
9
HOMEPAGE="https://github.com/spkr-beep/beep"
10 10
SRC_URI="https://github.com/spkr-beep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
11 11

  
12 12
LICENSE="GPL-2"
13 13
SLOT="0"
14
KEYWORDS="~alpha amd64 arm ppc ppc64 sparc x86"
14
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
15 15

  
16 16
# Tests require a speaker
17 17
RESTRICT="test"
......
19 19
src_prepare() {
20 20
	default
21 21

  
22
	sed -i -e "s#-D_FORTIFY_SOURCE=2##g;" GNUmakefile || die
23
}
24

  
25
src_compile() {
26
	emake \
27
		COMPILERS=gcc \
28
		COMPILER_gcc="$(tc-getCC)" \
29
		LINKER_gcc="$(tc-getCC)" \
30
		CFLAGS_gcc="${CFLAGS}" \
31
		LDFLAGS="${LDFLAGS}" \
32
		CPPFLAGS_gcc="" \
33
		all
34
}
35

  
36
src_test() {
37
	emake \
38
		COMPILERS=gcc \
39
		COMPILER_gcc="$(tc-getCC)" \
40
		LINKER_gcc="$(tc-getCC)" \
41
		CFLAGS_gcc="${CFLAGS}" \
42
		LDFLAGS="${LDFLAGS}" \
43
		check
22
	cat <<-EOF > local.mk || die
23
	CC=$(tc-getCC)
24
	CFLAGS=${CFLAGS}
25
	CPPFLAGS=${CPPFLAGS}
26
	LDFLAGS=${LDFLAGS}
27
	EOF
28

  
29
	sed -i \
30
		-e "s#-D_FORTIFY_SOURCE=2##g;" \
31
		-e '/\-Werror)/d' \
32
		GNUmakefile || die
44 33
}
45 34

  
46 35
src_install() {
Спасибо!