diff options
author | Mart Raudsepp <leio@gentoo.org> | 2020-06-14 11:38:32 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2020-06-14 11:38:41 +0300 |
commit | f0490ab62faa5e432e4039dd223164991d3c4962 (patch) | |
tree | 47298cc1dc29c41e921a0709a10261171a75f716 /app-i18n | |
parent | app-i18n/poedit: remove old (diff) | |
download | gentoo-f0490ab62faa5e432e4039dd223164991d3c4962.tar.gz gentoo-f0490ab62faa5e432e4039dd223164991d3c4962.tar.bz2 gentoo-f0490ab62faa5e432e4039dd223164991d3c4962.zip |
app-i18n/poedit: bump to 2.3.1
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/poedit/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/poedit/poedit-2.3.1.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/app-i18n/poedit/Manifest b/app-i18n/poedit/Manifest index ace7054ce1b5..9544b908f591 100644 --- a/app-i18n/poedit/Manifest +++ b/app-i18n/poedit/Manifest @@ -1 +1,2 @@ DIST poedit-2.2.4.tar.gz 2840389 BLAKE2B 1f88aeba2d4dc5ad802843cc39c298936d6619d98839257c302858f14f8d0ef3fabbda290d83192e501a7679ad2ebc63d1a87314e885d8d7e465b54de0feb297 SHA512 e7388e0657755752bc9eacd95d0a2f8f70d5a759fa15f054be3a8d07df821e8dceb9994652b576553808840bac520fcd292fd15987659f8cb4e4c8c7930ae919 +DIST poedit-2.3.1.tar.gz 2891956 BLAKE2B 11fb8c19f439edc2c9df08529e815d47f5bdfe3cac486bd07bfaef90932edf05ce099b61f058d8d08ba1a3a41f35ed59bf2901de1d1d80ecc6178536cdcff908 SHA512 73439ae96d3e04d8f6fc7e49f72cd259606e669f01490bd9a59f3fa7b33a6e11fb3af70a3a6e155b1edcee49ac9222b16e05e937088748a9c0f3ed9a6c97a208 diff --git a/app-i18n/poedit/poedit-2.3.1.ebuild b/app-i18n/poedit/poedit-2.3.1.ebuild new file mode 100644 index 000000000000..8297cef3d06c --- /dev/null +++ b/app-i18n/poedit/poedit-2.3.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" +WX_GTK_VER=3.0-gtk3 + +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" + +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +LICENSE="MIT" +SLOT="0" + +RDEPEND=" + app-text/gtkspell:3 + x11-libs/gtk+:3 + >=dev-cpp/lucene++-3.0.5 + >=dev-libs/pugixml-1.9 + dev-libs/boost:=[nls] + dev-libs/icu:= + >=x11-libs/wxGTK-3.0.3:${WX_GTK_VER}[X] +" +DEPEND="${RDEPEND}" +BDEPEND=" + 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() { + # CLD2 and C++ Rest are not available in Gentoo, bug 674916 + local myeconfargs=( + --without-cld2 + --without-cpprest + ) + + econf "${myeconfargs[@]}" +} |