1 |
commit: c042c34a51c0ca551c55d8c428c419e2e3685021 |
2 |
Author: charIes17 <charles17 <AT> arcor <DOT> de> |
3 |
AuthorDate: Sun Jan 28 10:59:39 2018 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 27 00:30:33 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c042c34a |
7 |
|
8 |
lxde-base/lxappearance: Add locale handling |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/6981 |
12 |
|
13 |
.../lxappearance/lxappearance-0.6.3-r1.ebuild | 40 ++++++++++++++++++++++ |
14 |
1 file changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/lxde-base/lxappearance/lxappearance-0.6.3-r1.ebuild b/lxde-base/lxappearance/lxappearance-0.6.3-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..f2133695a5f |
19 |
--- /dev/null |
20 |
+++ b/lxde-base/lxappearance/lxappearance-0.6.3-r1.ebuild |
21 |
@@ -0,0 +1,40 @@ |
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="ar be bg ca cs da de el en_GB es et eu fa fi fo fr gl he hr hu id is |
28 |
+it ja kk ko lg lt nl pa pl pt_BR pt ro ru sl sr@latin sr sv te tr tt_RU ug uk |
29 |
+ur_PK ur vi zh_CN zh_TW" |
30 |
+ |
31 |
+PLOCALE_BACKUP="en_GB" |
32 |
+ |
33 |
+inherit l10n |
34 |
+ |
35 |
+DESCRIPTION="LXDE GTK+ theme switcher" |
36 |
+HOMEPAGE="https://wiki.lxde.org/en/LXAppearance" |
37 |
+SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz" |
38 |
+ |
39 |
+LICENSE="GPL-3" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~x86 ~amd64-linux ~arm-linux ~x86-linux" |
42 |
+IUSE="dbus" |
43 |
+ |
44 |
+RDEPEND="x11-libs/gtk+:2 |
45 |
+ dbus? ( dev-libs/dbus-glib )" |
46 |
+DEPEND="${RDEPEND} |
47 |
+ virtual/pkgconfig |
48 |
+ dev-util/intltool |
49 |
+ sys-devel/gettext" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ default |
53 |
+ |
54 |
+ export LINGUAS="${LINGUAS:-${PLOCALE_BACKUP}}" |
55 |
+ l10n_get_locales > po/LINGUAS || die |
56 |
+} |
57 |
+ |
58 |
+src_configure() { |
59 |
+ econf \ |
60 |
+ $(use_enable dbus) |
61 |
+} |