1 |
commit: 6e1cbbcb7f0a6519abee5907397e1a0b9c69847e |
2 |
Author: charIes17 <charles17 <AT> arcor <DOT> de> |
3 |
AuthorDate: Sun Jan 28 12:15:56 2018 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 27 00:42:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e1cbbcb |
7 |
|
8 |
lxde-base/lxtask: Add locale handling |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/6984 |
12 |
|
13 |
lxde-base/lxtask/lxtask-0.1.8-r1.ebuild | 39 +++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/lxde-base/lxtask/lxtask-0.1.8-r1.ebuild b/lxde-base/lxtask/lxtask-0.1.8-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..f1ff7f5f7f0 |
19 |
--- /dev/null |
20 |
+++ b/lxde-base/lxtask/lxtask-0.1.8-r1.ebuild |
21 |
@@ -0,0 +1,39 @@ |
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 fr |
28 |
+frp gl he hr hu id is it ja kk ko lg lt lv ml ms nb nl nn pa pl ps pt_BR pt |
29 |
+ro ru sk sl sq 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 Task manager" |
36 |
+HOMEPAGE="https://wiki.lxde.org/en/LXTask" |
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 |
+ dev-libs/glib:2" |
46 |
+DEPEND="${RDEPEND} |
47 |
+ virtual/pkgconfig |
48 |
+ sys-devel/gettext |
49 |
+ >=dev-util/intltool-0.40.0" |
50 |
+ |
51 |
+# Upstream report: |
52 |
+# https://sourceforge.net/p/lxde/patches/535/ |
53 |
+PATCHES=( "${FILESDIR}/lxtask-0.1.7-fix-no-common.patch" ) |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ |
58 |
+ export LINGUAS="${LINGUAS:-${PLOCALE_BACKUP}}" |
59 |
+ l10n_get_locales > po/LINGUAS || die |
60 |
+} |