From 0ebf740b9c9bc7c10ac41bea315ecc6c01c79166 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 21 Jan 2018 19:03:35 +0000 Subject: gentoo resync : 21.01.2018 --- app-i18n/poedit/poedit-2.0.6.ebuild | 56 +++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 app-i18n/poedit/poedit-2.0.6.ebuild (limited to 'app-i18n/poedit/poedit-2.0.6.ebuild') diff --git a/app-i18n/poedit/poedit-2.0.6.ebuild b/app-i18n/poedit/poedit-2.0.6.ebuild new file mode 100644 index 000000000000..b5857296a23e --- /dev/null +++ b/app-i18n/poedit/poedit-2.0.6.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 +} -- cgit v1.2.3