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: Wed, 10 Jan 2018 02:30:37
Message-Id: 1515551420.5d3932d81c09472ebc6bfb5790a37579a1aa20ac.leio@gentoo
1 commit: 5d3932d81c09472ebc6bfb5790a37579a1aa20ac
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 10 02:29:20 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 10 02:30:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d3932d8
7
8 app-i18n/poedit: bump to 2.0.5
9
10 * Use xdg.eclass instead of deprecated fdo-mime.
11 * legacytm migration support is gone, remove the deps for it as per
12 upstream configure.ac.
13 * Rely on EAPI default_src_install
14 * Add missing icon cache update calls
15
16 Closes: https://bugs.gentoo.org/619540
17 Package-Manager: Portage-2.3.19, Repoman-2.3.6
18
19 app-i18n/poedit/Manifest | 1 +
20 app-i18n/poedit/poedit-2.0.5.ebuild | 56 +++++++++++++++++++++++++++++++++++++
21 2 files changed, 57 insertions(+)
22
23 diff --git a/app-i18n/poedit/Manifest b/app-i18n/poedit/Manifest
24 index 54cfcad9824..46d7822dd61 100644
25 --- a/app-i18n/poedit/Manifest
26 +++ b/app-i18n/poedit/Manifest
27 @@ -1,3 +1,4 @@
28 DIST poedit-1.5.5.tar.gz 2594758 BLAKE2B a0c833bf657bbda89b2109b6da62e6eafc9dddc5be726c9c785836dd7deb558c19b647ac2be649adb2fead4f927d1c855099bf29c5385f56379bfeaca4c802e5 SHA512 a3524e27681dbf97babef7bf3ec56d6b7cd736370f8ed86b53c717a5a2eb36245f9ed89fcd28b57bd4d6f5ff5fb98d6c1615baae0bf10be720dcfdafa57ad4f4
29 DIST poedit-1.8.5.tar.gz 2404829 BLAKE2B f39a7e2e14dab9c0ed0b761a3feb271c8eb0e3b1fdc09c77c6a3dfaaa499e3419881e0959f5a53b07754810adc1518efd4c56a1bb4fd490c1e2a405a7d44ef1c SHA512 87eae2bcedc07eefb097edf263db10b3947956cfa504eddb259e3c3cfed6215ad0da4517fe5132b61041c39a7fbabd298ca42582570295bacbbd62d5ffc6f6a7
30 DIST poedit-1.8.7.tar.gz 2483945 BLAKE2B 0cea4dfa19bbd7e6563a2872836cf3dd53d45de39fe65323c19daf9e87ba264f38e24a1957a391511a746be164fe8d985348c847524ea80dd99e6988176bbf73 SHA512 609022e696915cddb130c561c7eaa7dff76ce0458f58d9b8de34f0e8b98839cdccaf4a593e0e4eded67252cece08c61f961191f64cf4d76fa148f403d9705e68
31 +DIST poedit-2.0.5.tar.gz 2505740 BLAKE2B 2a10b77a12fd0c687b8c67c23f78e8be21a64461ddd5aef0bdd10626a6926b4f86c2a5b136809b4df2e8533dbcb29d98c197b37d64ff20804986f7bff4166db2 SHA512 097c93306a5b1bc74c7fa0cd49bc7077046219cb1c5e07ea4a45a0487700642eced1f186810c3bf74da74b72d5ebe84efa541229589b42603cd6c678ba4d2950
32
33 diff --git a/app-i18n/poedit/poedit-2.0.5.ebuild b/app-i18n/poedit/poedit-2.0.5.ebuild
34 new file mode 100644
35 index 00000000000..b5857296a23
36 --- /dev/null
37 +++ b/app-i18n/poedit/poedit-2.0.5.ebuild
38 @@ -0,0 +1,56 @@
39 +# Copyright 1999-2018 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=6
43 +WX_GTK_VER=3.0-gtk3
44 +
45 +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"
46 +
47 +inherit gnome2-utils l10n wxwidgets xdg
48 +
49 +DESCRIPTION="GUI gettext translations editor"
50 +HOMEPAGE="https://poedit.net"
51 +SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}-oss/${P}.tar.gz"
52 +
53 +LICENSE="MIT"
54 +SLOT="0"
55 +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
56 +IUSE=""
57 +
58 +RDEPEND="
59 + app-text/gtkspell:3
60 + x11-libs/gtk+:3
61 + >=dev-cpp/lucene++-3.0.5
62 + dev-libs/boost:=[nls]
63 + dev-libs/icu:=
64 + >=x11-libs/wxGTK-3.0.3:${WX_GTK_VER}[X]
65 +"
66 +
67 +DEPEND="${RDEPEND}
68 + virtual/pkgconfig"
69 +
70 +src_prepare() {
71 + my_rm_loc() {
72 + sed -i -e "/^POEDIT_LINGUAS = /s: ${1}::" locales/Makefile.in || die
73 + rm "locales/${1}.mo" || die
74 + }
75 + l10n_find_plocales_changes 'locales' '' '.mo'
76 + l10n_for_each_disabled_locale_do my_rm_loc
77 +
78 + setup-wxwidgets
79 + xdg_src_prepare
80 +}
81 +
82 +src_configure() {
83 + econf --without-cpprest --without-cld2
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 +}