From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/
Date: Tue, 28 Jan 2020 15:29:56 +0000 (UTC) [thread overview]
Message-ID: <1580225382.ac427444d5deb09bb73cc5c6896f543c90b5f95e.sping@gentoo> (raw)
commit: ac427444d5deb09bb73cc5c6896f543c90b5f95e
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 28 15:28:25 2020 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Tue Jan 28 15:29:42 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac427444
media-gfx/optipng: EAPI 7
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20
media-gfx/optipng/optipng-0.7.7-r1.ebuild | 60 +++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
diff --git a/media-gfx/optipng/optipng-0.7.7-r1.ebuild b/media-gfx/optipng/optipng-0.7.7-r1.ebuild
new file mode 100644
index 00000000000..11a75013d0a
--- /dev/null
+++ b/media-gfx/optipng/optipng-0.7.7-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Compress PNG files without affecting image quality"
+HOMEPAGE="http://optipng.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ media-libs/libpng:0="
+DEPEND="${RDEPEND}
+ sys-apps/findutils"
+
+DOCS=( AUTHORS.txt README.txt )
+
+src_prepare() {
+ rm -R src/{libpng,zlib} || die
+ find . -type d -name build -exec rm -R {} + || die
+
+ # next release is almost a complete rewrite, so plug this compilation
+ # problem in anticipation of the much (c)leaner(?) rewrite
+ sed -i \
+ -e 's/^#if defined AT_FDCWD/#if (defined(AT_FDCWD) \&\& !(defined(__SVR4) \&\& defined(__sun)))/' \
+ src/optipng/ioutil.c || die
+
+ tc-export CC AR RANLIB
+ export LD=$(tc-getCC)
+
+ eapply_user
+}
+
+src_configure() {
+ ./configure \
+ -with-system-libpng \
+ -with-system-zlib \
+ || die "configure failed"
+}
+
+src_compile() {
+ emake -C src/optipng
+}
+
+src_install() {
+ einstalldocs
+
+ dodoc doc/*.txt
+ docinto html
+ dodoc doc/*.html
+ doman src/${PN}/man/${PN}.1
+
+ dobin src/${PN}/${PN}
+}
next reply other threads:[~2020-01-28 15:30 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-28 15:29 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-11-05 12:42 [gentoo-commits] repo/gentoo:master commit in: media-gfx/optipng/ Sebastian Pipping
2023-11-04 16:20 Sam James
2023-11-04 16:13 Arthur Zamarin
2023-11-04 16:13 Arthur Zamarin
2023-11-04 16:13 Arthur Zamarin
2023-11-04 16:13 Arthur Zamarin
2023-11-04 0:23 Sebastian Pipping
2022-03-20 0:16 Sam James
2022-01-06 10:39 David Seifert
2021-06-02 2:42 Yixun Lan
2021-03-15 15:10 Sebastian Pipping
2021-03-15 2:26 Sam James
2021-03-13 11:37 Sam James
2021-03-13 11:36 Sam James
2021-03-13 9:56 Sam James
2021-03-13 9:56 Sam James
2021-01-06 14:07 Fabian Groffen
2019-08-06 9:42 Agostino Sarubbo
2019-08-06 9:39 Agostino Sarubbo
2019-08-03 2:38 Sergei Trofimovich
2019-08-01 19:14 Aaron Bauman
2019-03-11 21:03 Andreas Sturmlechner
2018-01-03 19:36 Sebastian Pipping
2017-12-31 18:38 Sebastian Pipping
2017-12-14 20:27 Agostino Sarubbo
2017-12-10 22:59 Sergei Trofimovich
2017-11-29 12:26 Sebastian Pipping
2017-11-27 0:20 Thomas Deutschmann
2017-11-24 13:23 Agostino Sarubbo
2017-11-23 23:06 Sergei Trofimovich
2016-08-19 13:21 Pacho Ramos
2016-07-08 10:09 Sebastian Pipping
2016-07-08 8:17 Agostino Sarubbo
2016-06-26 12:01 Aaron Bauman
2016-05-11 10:51 Agostino Sarubbo
2016-05-11 10:50 Agostino Sarubbo
2016-05-05 9:19 Jeroen Roovers
2016-04-04 21:12 Sebastian Pipping
2015-11-04 15:17 Agostino Sarubbo
2015-11-03 15:19 Agostino Sarubbo
2015-10-31 6:46 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1580225382.ac427444d5deb09bb73cc5c6896f543c90b5f95e.sping@gentoo \
--to=sping@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox