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: Tue, 30 May 2017 08:02:58
Message-Id: 1496131372.9cb12bf8e5d1d2f709ff61d4fcfd11fa8cb62f93.jer@gentoo
1 commit: 9cb12bf8e5d1d2f709ff61d4fcfd11fa8cb62f93
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 30 08:02:34 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue May 30 08:02:52 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cb12bf8
7
8 x11-misc/lineakd: EAPI bump for user patches.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 x11-misc/lineakd/lineakd-0.9.0-r2.ebuild | 59 ++++++++++++++++++++++++++++++++
13 1 file changed, 59 insertions(+)
14
15 diff --git a/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild b/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild
16 new file mode 100644
17 index 00000000000..7b74d25c19e
18 --- /dev/null
19 +++ b/x11-misc/lineakd/lineakd-0.9.0-r2.ebuild
20 @@ -0,0 +1,59 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +inherit eutils multilib
26 +
27 +MY_P=${P/.0/}
28 +
29 +DESCRIPTION="Linux support for Easy Access and Internet Keyboards"
30 +HOMEPAGE="http://lineak.sourceforge.net"
31 +SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz"
32 +
33 +LICENSE="GPL-2"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~ppc ~sparc ~x86"
36 +IUSE="debug"
37 +
38 +RDEPEND="
39 + x11-libs/libICE
40 + x11-libs/libSM
41 + x11-libs/libX11
42 + x11-libs/libXext
43 +"
44 +DEPEND="
45 + ${RDEPEND}
46 + x11-libs/libxkbfile
47 + x11-libs/libXt
48 + x11-proto/inputproto
49 + x11-proto/xextproto
50 + x11-proto/xproto
51 + x11-libs/libXtst
52 +"
53 +
54 +S=${WORKDIR}/${MY_P}
55 +PATCHES=(
56 + "${FILESDIR}"/${P}-gcc43.patch
57 + "${FILESDIR}"/${P}-DELL-XPS-M1330-XOrg-1_5.patch
58 +)
59 +
60 +src_configure() {
61 + econf $(use_enable debug) --with-x
62 +}
63 +
64 +src_install() {
65 + sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' lineakd/Makefile
66 +
67 + dodir /usr/share/man/man8
68 +
69 + emake -j1 DESTDIR="${D}" install
70 +
71 + prune_libtool_files
72 +
73 + dodoc AUTHORS README TODO
74 +
75 + keepdir /usr/$(get_libdir)/lineakd/plugins
76 +
77 + insinto /etc/lineak
78 + doins lineakd.conf.example lineakd.conf.kde.example
79 +}