1 |
commit: b5d8b1a54d4376eb945bf203764a4a00690ab923 |
2 |
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com> |
3 |
AuthorDate: Sat Jul 14 19:57:28 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 14 21:01:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d8b1a5 |
7 |
|
8 |
app-i18n/poedit: bump to version 2.0.9 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/661172 |
11 |
Package-Manager: Portage-2.3.42, Repoman-2.3.9 |
12 |
|
13 |
app-i18n/poedit/Manifest | 1 + |
14 |
app-i18n/poedit/metadata.xml | 7 ++++- |
15 |
app-i18n/poedit/poedit-2.0.9.ebuild | 62 +++++++++++++++++++++++++++++++++++++ |
16 |
3 files changed, 69 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/app-i18n/poedit/Manifest b/app-i18n/poedit/Manifest |
19 |
index 90c4b3e1128..8d90dba88ef 100644 |
20 |
--- a/app-i18n/poedit/Manifest |
21 |
+++ b/app-i18n/poedit/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST poedit-2.0.6.tar.gz 2511777 BLAKE2B f28e8940310e80ee15fc70f10492e061097f88b62938f8a85194170fd107100c739dbfd1c1cf12516e6fe3d2a9b282986a4368615cf8fcb2ac889075fe64cc6b SHA512 e7beceeb4cd9e4e0269666d634e48622f175a7788219288ba6349a5b15f8360a929018480372e3eecb664d7d2e3093d6788640651696323d6dda0f0780aa5cd2 |
24 |
DIST poedit-2.0.7.tar.gz 2558220 BLAKE2B e4a958e516a5c4b56331b6f9f37d9fa627072a4a161f17b9e809df86af7ab86130c704b9f41d081a86dbc2dc3b24acf62615e843b73f78874c42730bd46f9b55 SHA512 7b8b41b5f55252b1845c452edbdad56dc841c507c4fb7a24267bd2af8490610f5f3eb72f31ed4d062fdaef939ef4ecd9c30ddc85a5dad3a792ac5857567dac71 |
25 |
+DIST poedit-2.0.9.tar.gz 2567156 BLAKE2B 29e616256a19430cb3efd3db5d6c2cc450155009e30ee056f6be712bac9e631e5aa20b0758262e9fbe00937eedf6ac777cd8e7407a3060f04503e3fa4d9cd6d0 SHA512 9981339ae0c3f11f972ed2f25e0c96e5c0cc0210771cc44d163e219c32eb951fa4180c8a03acdd7f0232a5e4b535f3202dda703b57ccfb02773eb24e6a1eb02d |
26 |
|
27 |
diff --git a/app-i18n/poedit/metadata.xml b/app-i18n/poedit/metadata.xml |
28 |
index ce23bed0e6f..59291cd93ec 100644 |
29 |
--- a/app-i18n/poedit/metadata.xml |
30 |
+++ b/app-i18n/poedit/metadata.xml |
31 |
@@ -5,8 +5,13 @@ |
32 |
<email>wxwidgets@g.o</email> |
33 |
<name>Gentoo wxWidgets Project</name> |
34 |
</maintainer> |
35 |
+ <longdescription> |
36 |
+ This program is a GUI frontend to the GNU gettext utilities |
37 |
+ and a catalogs editor/source code parser. |
38 |
+ It helps with translating applications into another language. |
39 |
+ </longdescription> |
40 |
<upstream> |
41 |
+ <bugs-to>https://github.com/vslavik/poedit/issues</bugs-to> |
42 |
<remote-id type="github">vslavik/poedit</remote-id> |
43 |
- <remote-id type="sourceforge">poedit</remote-id> |
44 |
</upstream> |
45 |
</pkgmetadata> |
46 |
|
47 |
diff --git a/app-i18n/poedit/poedit-2.0.9.ebuild b/app-i18n/poedit/poedit-2.0.9.ebuild |
48 |
new file mode 100644 |
49 |
index 00000000000..f985ecb9e16 |
50 |
--- /dev/null |
51 |
+++ b/app-i18n/poedit/poedit-2.0.9.ebuild |
52 |
@@ -0,0 +1,62 @@ |
53 |
+# Copyright 1999-2018 Gentoo Foundation |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+ |
56 |
+EAPI=6 |
57 |
+ |
58 |
+PLOCALES="an ar az be be@latin bg bs ca ckb co cs da de el en_GB es et eu fa fi fr ga gl he hr hu hy id is it ja ka kab kk ko lt lv ms nb nl oc pa pl pt_BR pt_PT ro ru sk sl sq sr sv tg th tr uk uz vi zh_CN zh_TW" |
59 |
+WX_GTK_VER=3.0-gtk3 |
60 |
+ |
61 |
+inherit gnome2-utils l10n wxwidgets xdg |
62 |
+ |
63 |
+DESCRIPTION="GUI gettext translations editor" |
64 |
+HOMEPAGE="https://poedit.net" |
65 |
+SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}-oss/${P}.tar.gz" |
66 |
+ |
67 |
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
68 |
+LICENSE="MIT" |
69 |
+SLOT="0" |
70 |
+ |
71 |
+RDEPEND=" |
72 |
+ app-text/gtkspell:3 |
73 |
+ x11-libs/gtk+:3 |
74 |
+ >=dev-cpp/lucene++-3.0.5 |
75 |
+ dev-libs/boost:=[nls] |
76 |
+ dev-libs/icu:= |
77 |
+ >=x11-libs/wxGTK-3.0.3:${WX_GTK_VER}[X] |
78 |
+" |
79 |
+ |
80 |
+DEPEND="${RDEPEND} |
81 |
+ virtual/pkgconfig" |
82 |
+ |
83 |
+src_prepare() { |
84 |
+ my_rm_loc() { |
85 |
+ sed -i -e "/^POEDIT_LINGUAS = /s: ${1}::" locales/Makefile.in || die |
86 |
+ rm "locales/${1}.mo" || die |
87 |
+ } |
88 |
+ |
89 |
+ l10n_find_plocales_changes 'locales' '' '.mo' |
90 |
+ l10n_for_each_disabled_locale_do my_rm_loc |
91 |
+ |
92 |
+ setup-wxwidgets |
93 |
+ xdg_src_prepare |
94 |
+} |
95 |
+ |
96 |
+src_configure() { |
97 |
+ # CLD2 and C++ Rest are not available in Gentoo |
98 |
+ local myeconfargs=( |
99 |
+ --without-cld2 |
100 |
+ --without-cpprest |
101 |
+ ) |
102 |
+ |
103 |
+ econf "${myeconfargs[@]}" |
104 |
+} |
105 |
+ |
106 |
+pkg_postinst() { |
107 |
+ xdg_pkg_postinst |
108 |
+ gnome2_icon_cache_update |
109 |
+} |
110 |
+ |
111 |
+pkg_postrm() { |
112 |
+ xdg_pkg_postrm |
113 |
+ gnome2_icon_cache_update |
114 |
+} |