Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/lineakd/
Date: Tue, 08 Feb 2022 00:09:40
Message-Id: 1644278960.137b49a84fb9a3edc65f82d49c6a181580ba00f0.sam@gentoo
1 commit: 137b49a84fb9a3edc65f82d49c6a181580ba00f0
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 8 00:09:20 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 8 00:09:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137b49a8
7
8 x11-misc/lineakd: fix revisions
9
10 Closes: https://bugs.gentoo.org/722372
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 x11-misc/lineakd/lineakd-0.9.0-r3.ebuild | 38 ++++++++++------------
14 ...akd-0.9.0-r3.ebuild => lineakd-0.9.0-r4.ebuild} | 0
15 2 files changed, 17 insertions(+), 21 deletions(-)
16
17 diff --git a/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild b/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild
18 index 8f2fca9f6c7c..8b2026bc430b 100644
19 --- a/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild
20 +++ b/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild
21 @@ -1,53 +1,49 @@
22 # Copyright 1999-2022 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=8
26 -
27 -inherit autotools
28 +EAPI=7
29 +inherit multilib
30
31 MY_P=${P/.0/}
32 +
33 DESCRIPTION="Linux support for Easy Access and Internet Keyboards"
34 HOMEPAGE="http://lineak.sourceforge.net"
35 SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz"
36 -S="${WORKDIR}"/${MY_P}
37
38 LICENSE="GPL-2"
39 SLOT="0"
40 -KEYWORDS="~amd64 ~ppc ~sparc ~x86"
41 +KEYWORDS="amd64 ppc sparc x86"
42 IUSE="debug"
43
44 -RDEPEND="x11-libs/libICE
45 +RDEPEND="
46 + x11-libs/libICE
47 x11-libs/libSM
48 x11-libs/libX11
49 - x11-libs/libXext"
50 -DEPEND="${RDEPEND}
51 + x11-libs/libXext
52 +"
53 +DEPEND="
54 + ${RDEPEND}
55 x11-base/xorg-proto
56 x11-libs/libxkbfile
57 x11-libs/libXt
58 - x11-libs/libXtst"
59 + x11-libs/libXtst
60 +"
61
62 +S=${WORKDIR}/${MY_P}
63 PATCHES=(
64 "${FILESDIR}"/${P}-gcc43.patch
65 "${FILESDIR}"/${P}-DELL-XPS-M1330-XOrg-1_5.patch
66 - "${FILESDIR}"/${P}-automake-linking-libdl.patch
67 )
68
69 -src_prepare() {
70 - default
71 -
72 - eautoreconf
73 -}
74 -
75 src_configure() {
76 - # admin/lineakd.m4.in contains Bashisms but fixes it causes a confusing
77 - # autotools avalanche, so workaround it with CONFIG_SHELL as bash.
78 - CONFIG_SHELL="${BROOT}/bin/bash" econf \
79 + econf \
80 $(use_enable debug) \
81 - --with-x
82 + --with-x \
83 + --disable-static
84 }
85
86 src_install() {
87 - sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile || die
88 + sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile
89
90 dodir /usr/share/man/man8
91
92
93 diff --git a/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild b/x11-misc/lineakd/lineakd-0.9.0-r4.ebuild
94 similarity index 100%
95 copy from x11-misc/lineakd/lineakd-0.9.0-r3.ebuild
96 copy to x11-misc/lineakd/lineakd-0.9.0-r4.ebuild