Сравнение wmcp-1.2.8-r1 с wmcp-1.2.8-r2
/usr/portage/x11-plugins/wmcp/wmcp-1.2.8-r2.ebuild 2023-10-09 14:52:35.972368514 +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 | |
6 | 6 |
inherit toolchain-funcs |
7 | 7 | |
... | ... | |
11 | 11 | |
12 | 12 |
LICENSE="GPL-2" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ~sparc x86" |
|
14 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86" |
|
15 | 15 | |
16 | 16 |
RDEPEND="x11-libs/libX11 |
17 | 17 |
x11-libs/libXext |
... | ... | |
19 | 19 |
DEPEND="${RDEPEND} |
20 | 20 |
x11-base/xorg-proto" |
21 | 21 | |
22 |
PATCHES=( |
|
23 |
"${FILESDIR}"/${P}-gcc33.patch |
|
24 |
"${FILESDIR}"/${P}-stdlibh.patch |
|
25 |
) |
|
22 | 26 |
src_prepare() { |
23 | 27 |
default |
24 |
eapply "${FILESDIR}"/${P}-gcc33.patch |
|
25 |
eapply "${FILESDIR}"/${P}-stdlibh.patch |
|
26 | 28 |
sed -i \ |
27 |
-e "s:gcc:$(tc-getCC):g" \ |
|
28 |
-e "s:i686-pc-linux-gnu-gcc -g:i686-pc-linux-gnu-gcc:g" \ |
|
29 |
-e "s:i686-pc-linux-gnu-gcc -o:i686-pc-linux-gnu-gcc ${LDFLAGS} -o:" \ |
|
29 |
-e "s:gcc -g -c:$(tc-getCC) -c:" \ |
|
30 |
-e "s:gcc -g -o:$(tc-getCC) ${LDFLAGS} -o:" \ |
|
30 | 31 |
Makefile || die |
31 | 32 |
} |
32 | 33 | |
33 | 34 |
src_compile() { |
34 |
emake -j1 INCLUDES="-I/usr/include/X11" \ |
|
35 |
emake INCLUDES="-I/usr/include/X11" \ |
|
35 | 36 |
LIBINC="-L/usr/$(get_libdir)" \ |
36 | 37 |
FLAGS="${CFLAGS}" |
37 | 38 |
} |