diff options
author | Sebastian Pipping <sping@gentoo.org> | 2021-03-15 16:09:31 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2021-03-15 16:09:31 +0100 |
commit | 20c3048373a9eb90129cc73e52bae9a7fdc9a1db (patch) | |
tree | 457832c084134cd3d68f343729afe7c1a54032b9 /media-gfx | |
parent | sci-libs/votca-tools: disable mkl (bug #776319) (diff) | |
download | gentoo-20c3048373a9eb90129cc73e52bae9a7fdc9a1db.tar.gz gentoo-20c3048373a9eb90129cc73e52bae9a7fdc9a1db.tar.bz2 gentoo-20c3048373a9eb90129cc73e52bae9a7fdc9a1db.zip |
media-gfx/optipng: Drop old (EAPI 6)
Bug: https://bugs.gentoo.org/775698
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/optipng/optipng-0.7.7.ebuild | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/media-gfx/optipng/optipng-0.7.7.ebuild b/media-gfx/optipng/optipng-0.7.7.ebuild deleted file mode 100644 index 6afec58daccb..000000000000 --- a/media-gfx/optipng/optipng-0.7.7.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit eutils 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-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} -} |