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/lxrandr/
Date: Tue, 27 Mar 2018 00:27:41
Message-Id: 1522110438.2a3133513247eacd8e28d558adc5def4d38e8a1b.bman@gentoo
1 commit: 2a3133513247eacd8e28d558adc5def4d38e8a1b
2 Author: charIes17 <charles17 <AT> arcor <DOT> de>
3 AuthorDate: Sun Jan 21 15:00:15 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 27 00:27:18 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a313351
7
8 lxde-base/lxrandr: Add locale handling
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11 Closes: https://github.com/gentoo/gentoo/pull/6921
12
13 lxde-base/lxrandr/lxrandr-0.3.1-r1.ebuild | 36 +++++++++++++++++++++++++++++++
14 1 file changed, 36 insertions(+)
15
16 diff --git a/lxde-base/lxrandr/lxrandr-0.3.1-r1.ebuild b/lxde-base/lxrandr/lxrandr-0.3.1-r1.ebuild
17 new file mode 100644
18 index 00000000000..8ade7e9fef0
19 --- /dev/null
20 +++ b/lxde-base/lxrandr/lxrandr-0.3.1-r1.ebuild
21 @@ -0,0 +1,36 @@
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 es et eu fa fi fo
28 +fr frp gl he hr hu id is ja kk ko lg lt ml ms nb nl nn pa pl ps pt_BR pt
29 +ro ru 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 GUI interface to RandR extention"
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="x11-libs/gtk+:2
45 + x11-libs/libXrandr
46 + x11-apps/xrandr"
47 +DEPEND="${RDEPEND}
48 + x11-proto/randrproto
49 + virtual/pkgconfig
50 + sys-devel/gettext
51 + >=dev-util/intltool-0.40.0"
52 +
53 +src_prepare() {
54 + default
55 + export LINGUAS="${LINGUAS:-${PLOCALE_BACKUP}}"
56 + l10n_get_locales > po/LINGUAS || die
57 +}