diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-01-07 18:05:00 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-01-07 18:05:34 +0100 |
commit | 373629513519e600a59ccd31ab6b28141da52359 (patch) | |
tree | b2f2a143d24dd85a9f20acbd7419372fc8f70cf7 /app-i18n | |
parent | changing maintainer to myself from jlec (diff) | |
download | gentoo-373629513519e600a59ccd31ab6b28141da52359.tar.gz gentoo-373629513519e600a59ccd31ab6b28141da52359.tar.bz2 gentoo-373629513519e600a59ccd31ab6b28141da52359.zip |
app-i18n/enca: Bump to version 1.18
Package-Manager: portage-2.2.26
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/enca/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/enca/enca-1.18.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/app-i18n/enca/Manifest b/app-i18n/enca/Manifest index 29d8660217e7..ad9d5759e53b 100644 --- a/app-i18n/enca/Manifest +++ b/app-i18n/enca/Manifest @@ -1,2 +1,3 @@ DIST enca-1.13.tar.bz2 532000 SHA256 6c091455d524b3ddae3533fe9bb375092f60ad6fe252e0777c873bd7869c7432 SHA512 7c5cb7b28eea271c4c94135082c1aa3f312bf790aaa4f51c954fd87ed734fae04ec07be99b20e7dfa3a668349c17d97f1eeea1ee553f9b841e74bfafc5a5906a WHIRLPOOL 0080ce92c22c5ad8b34eea767133602d73e3ebcbcb5084794e5e5da37edceab1bba9785f3884aa5c84749be89116eecf7bc59faa0ebb7118e97411f97e97e4a8 DIST enca-1.14.tar.bz2 560982 SHA256 7f33e3953fbbdac8ed144b31bbab1bb3bf181150db6ba4cd812fd958ce5f4b58 SHA512 9d0582cc8187f3e868339c3e13ca2c654359b240dd564b64a31615aeffb0ec7ae025659576cc72f6cab73b0bfa22286060f665f2c952f8dfe702cf97a39d2245 WHIRLPOOL 921038e3c6a612b38820d7314a7afe83c231e48396cd801dcbeb3f64afe157b0b5009ada00ae59f35ee4a882c4a40f46ac3346139c99da00611b073b561cfbee +DIST enca-1.18.tar.xz 453512 SHA256 019995e9324510f0667b73e88753bc496c744f93bff48bbfb114165f8875326c SHA512 4b2d91efd023b4ed964dc4ef01bbacba7dd4866e727b1e3652c283978c75687b7502be41865f6d6e251bf1c5c7de20a40b51ffeab7c5db7776a3361bab651d08 WHIRLPOOL cc0646091e6f6726057741a86315368a31c1313b2840c4c6b4bd954d8ef26d01729c422e1d181ec566b99eb9d4577400504be7cdc1deaa2d756f320719c574da diff --git a/app-i18n/enca/enca-1.18.ebuild b/app-i18n/enca/enca-1.18.ebuild new file mode 100644 index 000000000000..32da0cac57d6 --- /dev/null +++ b/app-i18n/enca/enca-1.18.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=2.52 + +inherit eutils toolchain-funcs autotools-multilib + +DESCRIPTION="ENCA detects the character coding of a file and converts it if desired" +HOMEPAGE="http://gitorious.org/enca" +SRC_URI="http://dl.cihar.com/${PN}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="doc +recode" + +RDEPEND="recode? ( >=app-text/recode-3.6_p15 )" +DEPEND="${RDEPEND} + sys-devel/gettext" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.14-gcc4.8-avx-bug.patch + rm missing # too old, automake will update it + # fix crosscompilation, bug #424473 + if tc-is-cross-compiler; then + sed -e "s#./make_hash#./native_make_hash#" -i tools/Makefile.am || die + fi + autotools-multilib_src_prepare +} + +src_configure() { + local myeconfargs=( + --enable-external + --disable-static + $(use_with recode librecode "${EPREFIX}"/usr) + $(use_enable doc gtk-doc) + ) + autotools-multilib_src_configure +} + +multilib_src_compile() { + if tc-is-cross-compiler; then + pushd "${BUILD_DIR}"/tools > /dev/null + $(tc-getBUILD_CC) -o native_make_hash "${S}"/tools/make_hash.c || die "native make_hash failed" + popd > /dev/null + fi + # It will fail if we run these twice... + if ! multilib_is_native_abi ; then + sed -i -e 's/ src / /'\ + -e '/SUBDIRS/s/ test//' Makefile\ + -e 's/install-data-hook:/install-data-hook:\n\ndisabled:/' Makefile || die + fi + autotools-utils_src_compile +} |