summaryrefslogtreecommitdiff
path: root/media-libs/libpgf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /media-libs/libpgf
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'media-libs/libpgf')
-rw-r--r--media-libs/libpgf/Manifest4
-rw-r--r--media-libs/libpgf/libpgf-7.21.7.ebuild47
-rw-r--r--media-libs/libpgf/metadata.xml9
3 files changed, 58 insertions, 2 deletions
diff --git a/media-libs/libpgf/Manifest b/media-libs/libpgf/Manifest
index 040f5ee66fbd..290e91b97dc7 100644
--- a/media-libs/libpgf/Manifest
+++ b/media-libs/libpgf/Manifest
@@ -1,3 +1,5 @@
DIST libpgf-7.19.3.zip 1303189 BLAKE2B 129ec655241f0a152814b412c1ee5d40fc5b89daef172d1e73985e49f8ffec22ce87c6aa893dbf330b5176370d985ffd0c6a015adfbb9faf72131bc63cf0c94d SHA512 68f9734b51372f7bb39b35cf99425bac6f9cf29f0351dba8813742c41f62f394798c92f674803d1315456a9337c7af03479d43455a9e611c07f5cf47ab3e5b58
+DIST libpgf-7.21.7.zip 2075722 BLAKE2B 31c5ab5930ef5658ca9b320fa3df94b7d8566467a657df6d255781664a4750d6b5cb7b351c828cad7c60b42f8cb8926c51bb0271d5c51e2484426a15f18b5eb2 SHA512 dbc17d9dce1afbeffb272df0d573059914d2ac79d652d1d43e67c49509fd6e643be8594bbd1a3058a5aa3a9d30db100c6dcf641051345049cf8f9375d49e2799
EBUILD libpgf-7.19.3.ebuild 801 BLAKE2B c55364991eb98d6ee6ef594d575e65873d878645feff7c8103f25bf301a7f2705ff1913d5ec5727447d11c16a4d83a0fbd2535281ff122532900dbaee54f6b12 SHA512 d39c5a1ca845af427d53913082172fb9db2ef3b30c951849f113ff4790ed88d851af78d5abd78e4cc15e4c8df059aa424ae36fc7928ad33697be529b77d3ac00
-MISC metadata.xml 168 BLAKE2B 5f277cc66dbafa7e7985433f84b0f9a656a176a9b901862e2a8353ca2d4526797dded9696e835b9696c7f72324e94959cfb5a22de49a7e3e61604153886037ab SHA512 00eec08786156434460f5ed77b647579546cf1a86341a4f2c9c9c84326468c2c21dc5101c4277103b19266bb6f788823f4ddf3b9d044da26326d79bf2ac9a274
+EBUILD libpgf-7.21.7.ebuild 970 BLAKE2B 853f2272d1672f69253a2ef3dcadf6c983bc1b3d4f13395218e8d68dd63cef58c679ad790758c7db619d942f6f4040adc7f986938e56120a303cc9f79c870a6b SHA512 951bb2435265341d6ae9191acd8f9d9d38d1e5b37fe42fdadf88775a9a4e9eeb4b40da536965ddc9be6f0b35d9db902534f32a6763861b7bfcac3539a1678dcd
+MISC metadata.xml 402 BLAKE2B ce7dad4fc9e57a354e4cbd49d7c2ba2beb8c0c8e5163ef846e51f6bfe329cb2368857bf027f0c8e01f3722ca956ed809e539ec665cf48254022efa4b0cd50519 SHA512 a69578f7391678865fdedb982b780dcf8733096a1ca36219e9045708e9643e9c5a1638f59dffeace89cdc12b0ec58c7dbea271a04b8214b8cc58034e0598b29e
diff --git a/media-libs/libpgf/libpgf-7.21.7.ebuild b/media-libs/libpgf/libpgf-7.21.7.ebuild
new file mode 100644
index 000000000000..7d9af7177603
--- /dev/null
+++ b/media-libs/libpgf/libpgf-7.21.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools edos2unix
+
+DESCRIPTION="Library to load, handle and manipulate images in the PGF format"
+HOMEPAGE="https://www.libpgf.org/"
+SRC_URI="https://downloads.sourceforge.net/project/libpgf/libpgf/${PV}/libpgf.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"
+
+src_prepare() {
+ default
+
+ # configure.ac has wrong version number
+ sed -i "s/7.15.32/${PV}/g" configure.ac || die
+
+ # many files, including configure.ac and Makefile.am, are saved in dos format, causing errors in autotools
+ edos2unix *.{am,ac,in,sh} */*.{am,in}
+
+ if ! use doc; then
+ sed -i -e "/HAS_DOXYGEN/{N;N;d}" Makefile.am || die
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-static
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/media-libs/libpgf/metadata.xml b/media-libs/libpgf/metadata.xml
index 1b2becffa26c..6eb1c692fd55 100644
--- a/media-libs/libpgf/metadata.xml
+++ b/media-libs/libpgf/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>ceamac.paragon@gmail.com</email>
+ <name>Viorel Munteanu</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
</pkgmetadata>