From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-gfx/apngdis/apngdis-2.9.ebuild | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 media-gfx/apngdis/apngdis-2.9.ebuild (limited to 'media-gfx/apngdis/apngdis-2.9.ebuild') diff --git a/media-gfx/apngdis/apngdis-2.9.ebuild b/media-gfx/apngdis/apngdis-2.9.ebuild new file mode 100644 index 000000000000..dd459b169f4c --- /dev/null +++ b/media-gfx/apngdis/apngdis-2.9.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="extract PNG frames from an APNG" +HOMEPAGE="https://sourceforge.net/projects/apngdis/" +SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-src.zip" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="media-libs/libpng:0=" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR} + +PATCHES=( + "${FILESDIR}"/${P}-makefile.patch + "${FILESDIR}"/${P}-zlib.patch +) + +src_prepare() { + default + + # remove bundled libs + rm -r libpng zlib || die + + tc-export CC +} + +src_install() { + dobin ${PN} + dodoc readme.txt +} -- cgit v1.2.3