diff options
author | Ryan Hill <rhill@gentoo.org> | 2015-07-26 22:03:10 +0000 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2015-07-26 22:03:10 +0000 |
commit | 6eb323bed41a9741e39a5b9e37284355fa14b2f0 (patch) | |
tree | e6867bfe6588332e809b3ad0291bdf9b98cc04bf /app-i18n/poedit | |
parent | Add proper pkg_setup() to fix USE=-python, bug #546212. https://github.com/ge... (diff) | |
download | gentoo-2-6eb323bed41a9741e39a5b9e37284355fa14b2f0.tar.gz gentoo-2-6eb323bed41a9741e39a5b9e37284355fa14b2f0.tar.bz2 gentoo-2-6eb323bed41a9741e39a5b9e37284355fa14b2f0.zip |
Version bump (bug #500542) with ebuild by Nikoli. Dropped hppa, ppc, and
sparc due to unkeyworded dependencies (bug #555984). Also fixes locale
installation (bug #406435).
Signed-off-by: Ryan Hill <rhill@gentoo.org>
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 957A8463)
Diffstat (limited to 'app-i18n/poedit')
-rw-r--r-- | app-i18n/poedit/ChangeLog | 9 | ||||
-rw-r--r-- | app-i18n/poedit/metadata.xml | 2 | ||||
-rw-r--r-- | app-i18n/poedit/poedit-1.8.3.ebuild | 71 |
3 files changed, 80 insertions, 2 deletions
diff --git a/app-i18n/poedit/ChangeLog b/app-i18n/poedit/ChangeLog index ff24b7cbd81f..80176bbce3ac 100644 --- a/app-i18n/poedit/ChangeLog +++ b/app-i18n/poedit/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-i18n/poedit # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/ChangeLog,v 1.84 2015/06/09 11:21:31 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/ChangeLog,v 1.85 2015/07/26 22:03:10 rhill Exp $ + +*poedit-1.8.3 (26 Jul 2015) + + 26 Jul 2015; Ryan Hill <rhill@gentoo.org> +poedit-1.8.3.ebuild, metadata.xml: + Version bump (bug #500542) with ebuild by Nikoli. Dropped hppa, ppc, and + sparc due to unkeyworded dependencies (bug #555984). Also fixes locale + installation (bug #406435). 09 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml: Updating remote-id in metadata.xml diff --git a/app-i18n/poedit/metadata.xml b/app-i18n/poedit/metadata.xml index ccc9377fc381..3d00b413e81e 100644 --- a/app-i18n/poedit/metadata.xml +++ b/app-i18n/poedit/metadata.xml @@ -3,6 +3,6 @@ <pkgmetadata> <herd>wxwidgets</herd> <upstream> - <remote-id type="sourceforge">poedit</remote-id> + <remote-id type="github">vslavik/poedit</remote-id> </upstream> </pkgmetadata> diff --git a/app-i18n/poedit/poedit-1.8.3.ebuild b/app-i18n/poedit/poedit-1.8.3.ebuild new file mode 100644 index 000000000000..a529108b2d53 --- /dev/null +++ b/app-i18n/poedit/poedit-1.8.3.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/poedit-1.8.3.ebuild,v 1.1 2015/07/26 22:03:10 rhill Exp $ + +EAPI=5 +WX_GTK_VER=3.0 + +PLOCALES="af am an ar ast az be@latin be bg bn br bs ca ca@valencia ckb co cs da de el en_GB eo es et eu fa fi fr fur fy_NL ga gl he hi hr hu id is it ja ka kk ko ku ky lt lv mk mn mr ms nb ne nl nn oc pa pl pt_BR pt_PT ro ru sk sl sq sr sv ta tg th tr tt ug uk ur uz vi wa zh_CN zh_TW" + +inherit eutils fdo-mime flag-o-matic gnome2-utils l10n wxwidgets + +DESCRIPTION="GUI editor for gettext translations files" +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 ~x86" +IUSE="" + +# db/expat req for legacytm - remove in later version +RDEPEND=" + app-text/gtkspell:2 + dev-cpp/lucene++ + dev-libs/boost:=[nls] + dev-libs/expat + dev-libs/icu:= + || ( + =sys-libs/db-5*:=[cxx] + =sys-libs/db-4*:=[cxx] + ) + x11-libs/gtk+:2 + x11-libs/wxGTK:${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 + + append-flags -Wno-deprecated-declarations +} + +src_configure() { + econf --without-cpprest --without-cld2 +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS NEWS README +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |