Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/lineakd/
Date: Sun, 02 Feb 2020 13:56:26
Message-Id: 1580651779.7114145023849eefe01d1d10961db27db900e020.jer@gentoo
1 commit: 7114145023849eefe01d1d10961db27db900e020
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 2 13:55:07 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 2 13:56:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71141450
7
8 x11-misc/lineakd: Uncompress man pages after default install
9
10 Package-Manager: Portage-2.3.87, Repoman-2.3.20
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 x11-misc/lineakd/lineakd-0.9.0-r3.ebuild | 58 ++++++++++++++++++++++++++++++++
14 1 file changed, 58 insertions(+)
15
16 diff --git a/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild b/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild
17 new file mode 100644
18 index 00000000000..4848da2c45c
19 --- /dev/null
20 +++ b/x11-misc/lineakd/lineakd-0.9.0-r3.ebuild
21 @@ -0,0 +1,58 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +inherit multilib
27 +
28 +MY_P=${P/.0/}
29 +
30 +DESCRIPTION="Linux support for Easy Access and Internet Keyboards"
31 +HOMEPAGE="http://lineak.sourceforge.net"
32 +SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz"
33 +
34 +LICENSE="GPL-2"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
37 +IUSE="debug"
38 +
39 +RDEPEND="
40 + x11-libs/libICE
41 + x11-libs/libSM
42 + x11-libs/libX11
43 + x11-libs/libXext
44 +"
45 +DEPEND="
46 + ${RDEPEND}
47 + x11-base/xorg-proto
48 + x11-libs/libxkbfile
49 + x11-libs/libXt
50 + x11-libs/libXtst
51 +"
52 +
53 +S=${WORKDIR}/${MY_P}
54 +PATCHES=(
55 + "${FILESDIR}"/${P}-gcc43.patch
56 + "${FILESDIR}"/${P}-DELL-XPS-M1330-XOrg-1_5.patch
57 +)
58 +
59 +src_configure() {
60 + econf $(use_enable debug) --with-x
61 +}
62 +
63 +src_install() {
64 + sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile
65 +
66 + dodir /usr/share/man/man8
67 +
68 + emake -j1 DESTDIR="${D}" install
69 +
70 + dodoc AUTHORS README TODO
71 +
72 + keepdir /usr/$(get_libdir)/lineakd/plugins
73 +
74 + insinto /etc/lineak
75 + doins lineakd.conf.example lineakd.conf.kde.example
76 +
77 + find "${ED}"/usr/share/man -name '*.bz2' -exec bunzip2 {} \; || die
78 + find "${ED}" -name '*.la' -delete || die
79 +}