commit:     24a633c1119eb8d06840cda1cea25472d7b4a832
Author:     Alexander Golubev <fatzer2 <AT> gmail <DOT> com>
AuthorDate: Tue Mar  3 21:22:36 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar  5 05:08:16 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a633c1

app-i18n/poedit: add 3.8.2

Closes: https://bugs.gentoo.org/969385
Signed-off-by: Alexander Golubev <fatzer2 <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45887
Closes: https://github.com/gentoo/gentoo/pull/45887
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-i18n/poedit/Manifest            |  1 +
 app-i18n/poedit/poedit-3.8.2.ebuild | 59 +++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/app-i18n/poedit/Manifest b/app-i18n/poedit/Manifest
index 97f6b96c39bd..1821098c4cad 100644
--- a/app-i18n/poedit/Manifest
+++ b/app-i18n/poedit/Manifest
@@ -1 +1,2 @@
 DIST poedit-3.5.2.tar.gz 3173111 BLAKE2B 
8e7ae9fc06af173107fa46fa4f07cab3637d75cd60bc8bc0d48df23cdc97434e05a55b2eb4e28295de4e0072ba43bb2078e51768294510946c0b400a028ccd5d
 SHA512 
5728b23ae64751754f8d23e24ba12311bf55f6a0fee3ef44d74b78ed74ed5397e198353388dadb3ce217996ee5b09d9a8e963614ce78a62ce108d4fa22c1cdf1
+DIST poedit-3.8.2.tar.gz 3682297 BLAKE2B 
9818e4ae84613a916a9bf37e9be173e9178f34f2477e4aaf9d8c505cbc0eb22cc55128aedf00e1e1ee649fca786e71bbad1201490f12a5523c2e1086093af1e1
 SHA512 
09a44c5af284a397ad30a07267fdc2b69c330dc80861c1967f09240969491aa13a6ff037ed18d08ca2ab9aa0ed971a47d270ef0f89661244e81adedd409ea9ea

diff --git a/app-i18n/poedit/poedit-3.8.2.ebuild 
b/app-i18n/poedit/poedit-3.8.2.ebuild
new file mode 100644
index 000000000000..dfdb2967d50b
--- /dev/null
+++ b/app-i18n/poedit/poedit-3.8.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PLOCALES="
+       af an ar az be 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 sr@latin sv tg th tr ug uk uz vi zh_CN zh_TW
+"
+WX_GTK_VER=3.2-gtk3
+
+inherit plocale 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 ~ppc ~ppc64 ~x86"
+
+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:${WX_GTK_VER}=[webkit,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
+       }
+
+       plocale_find_changes 'locales' '' '.mo'
+       plocale_for_each_disabled_locale my_rm_loc
+
+       default
+}
+
+src_configure() {
+       setup-wxwidgets
+       # CLD2 and C++ Rest are not available in Gentoo, bug 674916
+       local myeconfargs=(
+               --without-cld2
+               --without-cpprest
+       )
+
+       econf "${myeconfargs[@]}"
+}

Reply via email to