Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: lxde-base/lxinput/
Date: Tue, 27 Mar 2018 00:45:25
Message-Id: 1522111321.943d4ab4e41925dd8b1c76ff543ad6e07cc12866.bman@gentoo
1 commit: 943d4ab4e41925dd8b1c76ff543ad6e07cc12866
2 Author: charIes17 <charles17 <AT> arcor <DOT> de>
3 AuthorDate: Sat Jan 20 21:34:33 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 27 00:42:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=943d4ab4
7
8 lxde-base/lxinput: Add locale handling
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11 Closes: https://github.com/gentoo/gentoo/pull/6919
12
13 lxde-base/lxinput/lxinput-0.3.5-r1.ebuild | 35 +++++++++++++++++++++++++++++++
14 1 file changed, 35 insertions(+)
15
16 diff --git a/lxde-base/lxinput/lxinput-0.3.5-r1.ebuild b/lxde-base/lxinput/lxinput-0.3.5-r1.ebuild
17 new file mode 100644
18 index 00000000000..3b5faf9e9c5
19 --- /dev/null
20 +++ b/lxde-base/lxinput/lxinput-0.3.5-r1.ebuild
21 @@ -0,0 +1,35 @@
22 +# Copyright 1999-2018 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +
27 +PLOCALES="af ar ast be bg bn_IN bn ca cs da de el en_GB eo es et eu fa fi fo fr frp
28 +gl he hr hu id is it ja kk ko lg lt ml ms nb nl nn pa pl ps pt_BR pt ro
29 +ru si sk sl sr@latin sr sv te th tr tt_RU ug uk ur_PK ur vi zh_CN zh_TW"
30 +
31 +PLOCALE_BACKUP="en_GB"
32 +
33 +inherit l10n
34 +
35 +DESCRIPTION="LXDE keyboard and mouse configuration tool"
36 +HOMEPAGE="http://lxde.org/"
37 +SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz"
38 +
39 +LICENSE="GPL-2"
40 +SLOT="0"
41 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86 ~arm-linux ~x86-linux"
42 +IUSE=""
43 +
44 +RDEPEND="dev-libs/glib:2
45 + x11-libs/gtk+:2"
46 +DEPEND="${RDEPEND}
47 + sys-devel/gettext
48 + virtual/pkgconfig
49 + >=dev-util/intltool-0.40.0"
50 +
51 +src_prepare() {
52 + default
53 +
54 + export LINGUAS="${LINGUAS:-${PLOCALE_BACKUP}}"
55 + l10n_get_locales > po/LINGUAS || die
56 +}