Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/icoutils/
Date: Mon, 12 Feb 2018 09:29:52
Message-Id: 1518427779.a0f54022a1bdeef5ab546845376d53867ff112fa.polynomial-c@gentoo
1 commit: a0f54022a1bdeef5ab546845376d53867ff112fa
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 12 09:29:18 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 12 09:29:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0f54022
7
8 media-gfx/icoutils: Security bump to version 0.32.2
9
10 Bug: https://bugs.gentoo.org/647378
11 Package-Manager: Portage-2.3.24, Repoman-2.3.6
12
13 media-gfx/icoutils/Manifest | 1 +
14 media-gfx/icoutils/icoutils-0.32.2.ebuild | 49 +++++++++++++++++++++++++++++++
15 2 files changed, 50 insertions(+)
16
17 diff --git a/media-gfx/icoutils/Manifest b/media-gfx/icoutils/Manifest
18 index 403cfeba404..407542deeb8 100644
19 --- a/media-gfx/icoutils/Manifest
20 +++ b/media-gfx/icoutils/Manifest
21 @@ -1,2 +1,3 @@
22 DIST icoutils-0.32.0.tar.bz2 593699 BLAKE2B 5a2dbe67468c1bc0380b94f4ecf707c5e1019539e959c0692d195599ff402c4e5496f46883cdd898abb319d8545b76afe32b172d3f74f674c008c69de5a93463 SHA512 35fb584611edefe4445784e61e9cc10bdc039fc4106b7dca7faf66ca1a252ad6dc6e3511b4a5aba744ba74b51315a757addce2f8d5b20a1d7e38886e3eecd878
23 DIST icoutils-0.32.1.tar.bz2 594036 BLAKE2B cc3e9071ed6b4e4d783831a180eeae60cadac53e7cfc4cc3c2b5db842680500f04a42f9610e71fd52bbaf3b9d8dc0aacfe16ea0605b809df566fa65328abb32c SHA512 e235cbf0e30f7833babd3aba182cf32b8b76ee757d0d44597c21567a6f960943ec187423727cc33016f6b4d4b0367b9bee7da9dc12807551b38bb4fbe14c37f6
24 +DIST icoutils-0.32.2.tar.bz2 593980 BLAKE2B 1e9fa8ee3fd8e90b4029990508ce6ef405dd01a4e357a73f72980033dd54df1c6d714351cf1b79ce32840941da06bb0d1154e310191798ae31687dad6e828d6a SHA512 9d1ec7f8de2de35ca502ece953d288dad44143af185706855e8911c5e579153ce515208891783981c04406afc66db1e2a3f246515e888a2b1ccc6aea4b1056b8
25
26 diff --git a/media-gfx/icoutils/icoutils-0.32.2.ebuild b/media-gfx/icoutils/icoutils-0.32.2.ebuild
27 new file mode 100644
28 index 00000000000..eb74cde3dc6
29 --- /dev/null
30 +++ b/media-gfx/icoutils/icoutils-0.32.2.ebuild
31 @@ -0,0 +1,49 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI="6"
36 +inherit autotools flag-o-matic
37 +
38 +DESCRIPTION="Tools to extract and convert images in icon and cursor files (.ico, .cur)"
39 +HOMEPAGE="http://www.nongnu.org/icoutils/"
40 +SRC_URI="mirror://nongnu/${PN}/${P}.tar.bz2"
41 +
42 +LICENSE="GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
45 +IUSE="nls"
46 +
47 +RDEPEND="
48 + >=dev-lang/perl-5.6
49 + >=dev-perl/libwww-perl-5.64
50 + media-libs/libpng:0
51 + sys-libs/zlib
52 + nls? ( virtual/libintl )
53 +"
54 +DEPEND="
55 + ${RDEPEND}
56 + nls? ( sys-devel/gettext )
57 +"
58 +
59 +DOCS=( AUTHORS ChangeLog NEWS README TODO )
60 +
61 +PATCHES=(
62 + "${FILESDIR}"/${PN}-0.29.1-{locale,gettext}.patch
63 +)
64 +
65 +src_prepare() {
66 + default
67 + rm m4/po.m4* || die
68 + cp /usr/share/aclocal/po.m4 m4/
69 + AT_M4DIR=m4 eautoreconf
70 +}
71 +
72 +src_configure() {
73 + use !elibc_glibc && use !elibc_musl && use nls && append-libs -lintl
74 + econf $(use_enable nls)
75 +}
76 +
77 +src_install() {
78 + emake DESTDIR="${D}" mkinstalldirs="mkdir -p" install
79 + einstalldocs
80 +}