Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libpgf/
Date: Wed, 07 Oct 2020 19:05:44
Message-Id: 1602097280.40d291110ed8c416b4520e2abf0f194d5bab91c9.sam@gentoo
1 commit: 40d291110ed8c416b4520e2abf0f194d5bab91c9
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Tue Sep 29 07:36:45 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 7 19:01:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d29111
7
8 media-libs/libpgf: bump to 7.19.3
9
10 Bug: https://bugs.gentoo.org/745165
11 Package-Manager: Portage-3.0.4, Repoman-3.0.1
12 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
13 Closes: https://github.com/gentoo/gentoo/pull/17708
14 Signed-off-by: Sam James <sam <AT> gentoo.org>
15
16 media-libs/libpgf/Manifest | 1 +
17 media-libs/libpgf/libpgf-7.19.3.ebuild | 38 ++++++++++++++++++++++++++++++++++
18 2 files changed, 39 insertions(+)
19
20 diff --git a/media-libs/libpgf/Manifest b/media-libs/libpgf/Manifest
21 index 736a10582a9..628d2992e3a 100644
22 --- a/media-libs/libpgf/Manifest
23 +++ b/media-libs/libpgf/Manifest
24 @@ -1 +1,2 @@
25 DIST libpgf-6.12.27.tar.bz2 1235651 BLAKE2B d155289398d6291d49a217a97e283d28440e398c330b3bb1006cdb2cf4c31bd7efef5db4cadd9d28812ffe4ef6deb12ab978b8feaac7c9119cff61ee26658628 SHA512 ad06b34d61219a61d06b87e05a26e8639cd7a93211943217832969c03c4dbc81fbbb287fa2d628b7e087b96e78665a3cbc78920c8ff5828dfb2a7748e04fe42a
26 +DIST libpgf-7.19.3.zip 1303189 BLAKE2B 129ec655241f0a152814b412c1ee5d40fc5b89daef172d1e73985e49f8ffec22ce87c6aa893dbf330b5176370d985ffd0c6a015adfbb9faf72131bc63cf0c94d SHA512 68f9734b51372f7bb39b35cf99425bac6f9cf29f0351dba8813742c41f62f394798c92f674803d1315456a9337c7af03479d43455a9e611c07f5cf47ab3e5b58
27
28 diff --git a/media-libs/libpgf/libpgf-7.19.3.ebuild b/media-libs/libpgf/libpgf-7.19.3.ebuild
29 new file mode 100644
30 index 00000000000..ed2d6c7e052
31 --- /dev/null
32 +++ b/media-libs/libpgf/libpgf-7.19.3.ebuild
33 @@ -0,0 +1,38 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +
39 +inherit autotools
40 +
41 +DESCRIPTION="Library to load, handle and manipulate images in the PGF format"
42 +HOMEPAGE="https://www.libpgf.org/"
43 +SRC_URI="https://master.dl.sourceforge.net/project/libpgf/libpgf/${PV}-latest/libPGF-codec-and-console-src.zip -> ${P}.zip"
44 +
45 +LICENSE="LGPL-2.1"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~ppc ~x86"
48 +IUSE="doc"
49 +
50 +BDEPEND="
51 + app-arch/unzip
52 + doc? ( app-doc/doxygen )"
53 +
54 +S="${WORKDIR}/libPGF-codec-and-console-src/PGF/Codec"
55 +
56 +src_prepare() {
57 + default
58 +
59 + # configure.ac has wrong version number
60 + sed -i 's/7.15.32/7.19.3/g' configure.ac || die
61 +
62 + if ! use doc; then
63 + sed -i -e "/HAS_DOXYGEN/{N;N;d}" Makefile.am || die
64 + fi
65 +
66 + eautoreconf
67 +}
68 +
69 +src_configure() {
70 + econf --disable-static
71 +}