commit: 40d291110ed8c416b4520e2abf0f194d5bab91c9 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> AuthorDate: Tue Sep 29 07:36:45 2020 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Oct 7 19:01:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d29111
media-libs/libpgf: bump to 7.19.3 Bug: https://bugs.gentoo.org/745165 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/17708 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/libpgf/Manifest | 1 + media-libs/libpgf/libpgf-7.19.3.ebuild | 38 ++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/media-libs/libpgf/Manifest b/media-libs/libpgf/Manifest index 736a10582a9..628d2992e3a 100644 --- a/media-libs/libpgf/Manifest +++ b/media-libs/libpgf/Manifest @@ -1 +1,2 @@ DIST libpgf-6.12.27.tar.bz2 1235651 BLAKE2B d155289398d6291d49a217a97e283d28440e398c330b3bb1006cdb2cf4c31bd7efef5db4cadd9d28812ffe4ef6deb12ab978b8feaac7c9119cff61ee26658628 SHA512 ad06b34d61219a61d06b87e05a26e8639cd7a93211943217832969c03c4dbc81fbbb287fa2d628b7e087b96e78665a3cbc78920c8ff5828dfb2a7748e04fe42a +DIST libpgf-7.19.3.zip 1303189 BLAKE2B 129ec655241f0a152814b412c1ee5d40fc5b89daef172d1e73985e49f8ffec22ce87c6aa893dbf330b5176370d985ffd0c6a015adfbb9faf72131bc63cf0c94d SHA512 68f9734b51372f7bb39b35cf99425bac6f9cf29f0351dba8813742c41f62f394798c92f674803d1315456a9337c7af03479d43455a9e611c07f5cf47ab3e5b58 diff --git a/media-libs/libpgf/libpgf-7.19.3.ebuild b/media-libs/libpgf/libpgf-7.19.3.ebuild new file mode 100644 index 00000000000..ed2d6c7e052 --- /dev/null +++ b/media-libs/libpgf/libpgf-7.19.3.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Library to load, handle and manipulate images in the PGF format" +HOMEPAGE="https://www.libpgf.org/" +SRC_URI="https://master.dl.sourceforge.net/project/libpgf/libpgf/${PV}-latest/libPGF-codec-and-console-src.zip -> ${P}.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc" + +BDEPEND=" + app-arch/unzip + doc? ( app-doc/doxygen )" + +S="${WORKDIR}/libPGF-codec-and-console-src/PGF/Codec" + +src_prepare() { + default + + # configure.ac has wrong version number + sed -i 's/7.15.32/7.19.3/g' configure.ac || die + + if ! use doc; then + sed -i -e "/HAS_DOXYGEN/{N;N;d}" Makefile.am || die + fi + + eautoreconf +} + +src_configure() { + econf --disable-static +}
