Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/poedit/
Date: Sun, 05 Aug 2018 21:21:59
Message-Id: 1533503984.c00bc04bb1dfa55c9ac7b5df5bcd9880f5aecc44.leio@gentoo
1 commit: c00bc04bb1dfa55c9ac7b5df5bcd9880f5aecc44
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 5 21:19:44 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 5 21:19:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00bc04b
7
8 app-i18n/poedit: bump to 2.1.1
9
10 Package-Manager: Portage-2.3.43, Repoman-2.3.10
11
12 app-i18n/poedit/Manifest | 1 +
13 app-i18n/poedit/poedit-2.1.1.ebuild | 63 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 64 insertions(+)
15
16 diff --git a/app-i18n/poedit/Manifest b/app-i18n/poedit/Manifest
17 index 8d90dba88ef..d0ac9da0cfc 100644
18 --- a/app-i18n/poedit/Manifest
19 +++ b/app-i18n/poedit/Manifest
20 @@ -1,3 +1,4 @@
21 DIST poedit-2.0.6.tar.gz 2511777 BLAKE2B f28e8940310e80ee15fc70f10492e061097f88b62938f8a85194170fd107100c739dbfd1c1cf12516e6fe3d2a9b282986a4368615cf8fcb2ac889075fe64cc6b SHA512 e7beceeb4cd9e4e0269666d634e48622f175a7788219288ba6349a5b15f8360a929018480372e3eecb664d7d2e3093d6788640651696323d6dda0f0780aa5cd2
22 DIST poedit-2.0.7.tar.gz 2558220 BLAKE2B e4a958e516a5c4b56331b6f9f37d9fa627072a4a161f17b9e809df86af7ab86130c704b9f41d081a86dbc2dc3b24acf62615e843b73f78874c42730bd46f9b55 SHA512 7b8b41b5f55252b1845c452edbdad56dc841c507c4fb7a24267bd2af8490610f5f3eb72f31ed4d062fdaef939ef4ecd9c30ddc85a5dad3a792ac5857567dac71
23 DIST poedit-2.0.9.tar.gz 2567156 BLAKE2B 29e616256a19430cb3efd3db5d6c2cc450155009e30ee056f6be712bac9e631e5aa20b0758262e9fbe00937eedf6ac777cd8e7407a3060f04503e3fa4d9cd6d0 SHA512 9981339ae0c3f11f972ed2f25e0c96e5c0cc0210771cc44d163e219c32eb951fa4180c8a03acdd7f0232a5e4b535f3202dda703b57ccfb02773eb24e6a1eb02d
24 +DIST poedit-2.1.1.tar.gz 2722379 BLAKE2B 3e5102ab9b2b6b6701abd3f44dab846d6989e5abdbcadf924cf7032d725fa1b405425cefa37eb0230d3de68ea0c60ec05e7bfe84f906cdec0230d8c1284f5779 SHA512 0b5e13c3e59c9bde78b95b45aa8765c16c03d12ca9fbabe4448e409ff4cd627676d1b77c011c75a54dc0e10acda23ceb49ca063e76a29154344dc5fdb9e5f8a8
25
26 diff --git a/app-i18n/poedit/poedit-2.1.1.ebuild b/app-i18n/poedit/poedit-2.1.1.ebuild
27 new file mode 100644
28 index 00000000000..2f30b7de1dc
29 --- /dev/null
30 +++ b/app-i18n/poedit/poedit-2.1.1.ebuild
31 @@ -0,0 +1,63 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +PLOCALES="af 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"
38 +WX_GTK_VER=3.0-gtk3
39 +
40 +inherit gnome2-utils l10n wxwidgets xdg
41 +
42 +DESCRIPTION="GUI gettext translations editor"
43 +HOMEPAGE="https://poedit.net"
44 +SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}-oss/${P}.tar.gz"
45 +
46 +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
47 +LICENSE="MIT"
48 +SLOT="0"
49 +
50 +RDEPEND="
51 + app-text/gtkspell:3
52 + x11-libs/gtk+:3
53 + >=dev-cpp/lucene++-3.0.5
54 + >=dev-libs/pugixml-1.9
55 + dev-libs/boost:=[nls]
56 + dev-libs/icu:=
57 + >=x11-libs/wxGTK-3.0.3:${WX_GTK_VER}[X]
58 +"
59 +
60 +DEPEND="${RDEPEND}
61 + virtual/pkgconfig"
62 +
63 +src_prepare() {
64 + my_rm_loc() {
65 + sed -i -e "/^POEDIT_LINGUAS = /s: ${1}::" locales/Makefile.in || die
66 + rm "locales/${1}.mo" || die
67 + }
68 +
69 + l10n_find_plocales_changes 'locales' '' '.mo'
70 + l10n_for_each_disabled_locale_do my_rm_loc
71 +
72 + setup-wxwidgets
73 + xdg_src_prepare
74 +}
75 +
76 +src_configure() {
77 + # CLD2 and C++ Rest are not available in Gentoo
78 + local myeconfargs=(
79 + --without-cld2
80 + --without-cpprest
81 + )
82 +
83 + econf "${myeconfargs[@]}"
84 +}
85 +
86 +pkg_postinst() {
87 + xdg_pkg_postinst
88 + gnome2_icon_cache_update
89 +}
90 +
91 +pkg_postrm() {
92 + xdg_pkg_postrm
93 + gnome2_icon_cache_update
94 +}