Сравнение lineakd-0.9.0-r3 с lineakd-0.9.0-r4
/usr/portage/x11-misc/lineakd/lineakd-0.9.0-r4.ebuild 2023-10-09 14:52:35.940368513 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 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 |
|
5 |
inherit multilib |
|
4 |
EAPI=8 |
|
6 | 5 | |
7 |
MY_P=${P/.0/} |
|
6 |
inherit autotools |
|
8 | 7 | |
8 |
MY_P=${P/.0/} |
|
9 | 9 |
DESCRIPTION="Linux support for Easy Access and Internet Keyboards" |
10 | 10 |
HOMEPAGE="http://lineak.sourceforge.net" |
11 | 11 |
SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz" |
12 |
S="${WORKDIR}"/${MY_P} |
|
12 | 13 | |
13 | 14 |
LICENSE="GPL-2" |
14 | 15 |
SLOT="0" |
15 | 16 |
KEYWORDS="amd64 ppc sparc x86" |
16 | 17 |
IUSE="debug" |
17 | 18 | |
18 |
RDEPEND=" |
|
19 |
x11-libs/libICE |
|
19 |
RDEPEND="x11-libs/libICE |
|
20 | 20 |
x11-libs/libSM |
21 | 21 |
x11-libs/libX11 |
22 |
x11-libs/libXext |
|
23 |
" |
|
24 |
DEPEND=" |
|
25 |
${RDEPEND} |
|
22 |
x11-libs/libXext" |
|
23 |
DEPEND="${RDEPEND} |
|
26 | 24 |
x11-base/xorg-proto |
27 | 25 |
x11-libs/libxkbfile |
28 | 26 |
x11-libs/libXt |
29 |
x11-libs/libXtst |
|
30 |
" |
|
27 |
x11-libs/libXtst" |
|
31 | 28 | |
32 |
S=${WORKDIR}/${MY_P} |
|
33 | 29 |
PATCHES=( |
34 | 30 |
"${FILESDIR}"/${P}-gcc43.patch |
35 | 31 |
"${FILESDIR}"/${P}-DELL-XPS-M1330-XOrg-1_5.patch |
32 |
"${FILESDIR}"/${P}-automake-linking-libdl.patch |
|
36 | 33 |
) |
37 | 34 | |
35 |
src_prepare() { |
|
36 |
default |
|
37 | ||
38 |
eautoreconf |
|
39 |
} |
|
40 | ||
38 | 41 |
src_configure() { |
39 |
econf \ |
|
42 |
# admin/lineakd.m4.in contains Bashisms but fixes it causes a confusing |
|
43 |
# autotools avalanche, so workaround it with CONFIG_SHELL as bash. |
|
44 |
CONFIG_SHELL="${BROOT}/bin/bash" econf \ |
|
40 | 45 |
$(use_enable debug) \ |
41 |
--with-x \ |
|
42 |
--disable-static |
|
46 |
--with-x |
|
43 | 47 |
} |
44 | 48 | |
45 | 49 |
src_install() { |
46 |
sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile |
|
50 |
sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile || die |
|
47 | 51 | |
48 | 52 |
dodir /usr/share/man/man8 |
49 | 53 |