summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-09-29 09:36:45 +0200
committerSam James <sam@gentoo.org>2020-10-07 19:01:20 +0000
commit40d291110ed8c416b4520e2abf0f194d5bab91c9 (patch)
tree11859a55e5497fadd1a80ccc03398905eb76600a /media-libs/libpgf
parentwww-apache/modsecurity-crs: bump to 3.3.0 (diff)
downloadgentoo-40d291110ed8c416b4520e2abf0f194d5bab91c9.tar.gz
gentoo-40d291110ed8c416b4520e2abf0f194d5bab91c9.tar.bz2
gentoo-40d291110ed8c416b4520e2abf0f194d5bab91c9.zip
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@sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/17708 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libpgf')
-rw-r--r--media-libs/libpgf/Manifest1
-rw-r--r--media-libs/libpgf/libpgf-7.19.3.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/media-libs/libpgf/Manifest b/media-libs/libpgf/Manifest
index 736a10582a9e..628d2992e3af 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 000000000000..ed2d6c7e0522
--- /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
+}