commit:     4ba219d8e0eec82cef3aeeb09162156a59f0bb60
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun May 27 09:13:25 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun May 27 09:40:13 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ba219d8

app-i18n/poedit: bump to 2.0.7

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 app-i18n/poedit/Manifest            |  1 +
 app-i18n/poedit/poedit-2.0.7.ebuild | 56 +++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/app-i18n/poedit/Manifest b/app-i18n/poedit/Manifest
index d72703eb266..90c4b3e1128 100644
--- a/app-i18n/poedit/Manifest
+++ b/app-i18n/poedit/Manifest
@@ -1 +1,2 @@
 DIST poedit-2.0.6.tar.gz 2511777 BLAKE2B 
f28e8940310e80ee15fc70f10492e061097f88b62938f8a85194170fd107100c739dbfd1c1cf12516e6fe3d2a9b282986a4368615cf8fcb2ac889075fe64cc6b
 SHA512 
e7beceeb4cd9e4e0269666d634e48622f175a7788219288ba6349a5b15f8360a929018480372e3eecb664d7d2e3093d6788640651696323d6dda0f0780aa5cd2
+DIST poedit-2.0.7.tar.gz 2558220 BLAKE2B 
e4a958e516a5c4b56331b6f9f37d9fa627072a4a161f17b9e809df86af7ab86130c704b9f41d081a86dbc2dc3b24acf62615e843b73f78874c42730bd46f9b55
 SHA512 
7b8b41b5f55252b1845c452edbdad56dc841c507c4fb7a24267bd2af8490610f5f3eb72f31ed4d062fdaef939ef4ecd9c30ddc85a5dad3a792ac5857567dac71

diff --git a/app-i18n/poedit/poedit-2.0.7.ebuild 
b/app-i18n/poedit/poedit-2.0.7.ebuild
new file mode 100644
index 00000000000..b5857296a23
--- /dev/null
+++ b/app-i18n/poedit/poedit-2.0.7.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+WX_GTK_VER=3.0-gtk3
+
+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"
+
+inherit gnome2-utils l10n wxwidgets xdg
+
+DESCRIPTION="GUI gettext translations editor"
+HOMEPAGE="https://poedit.net";
+SRC_URI="https://github.com/vslavik/${PN}/releases/download/v${PV}-oss/${P}.tar.gz";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="
+       app-text/gtkspell:3
+       x11-libs/gtk+:3
+       >=dev-cpp/lucene++-3.0.5
+       dev-libs/boost:=[nls]
+       dev-libs/icu:=
+       >=x11-libs/wxGTK-3.0.3:${WX_GTK_VER}[X]
+"
+
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+src_prepare() {
+       my_rm_loc() {
+               sed -i -e "/^POEDIT_LINGUAS = /s: ${1}::" locales/Makefile.in 
|| die
+               rm "locales/${1}.mo" || die
+       }
+       l10n_find_plocales_changes 'locales' '' '.mo'
+       l10n_for_each_disabled_locale_do my_rm_loc
+
+       setup-wxwidgets
+       xdg_src_prepare
+}
+
+src_configure() {
+       econf --without-cpprest --without-cld2
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_icon_cache_update
+}

Reply via email to