summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-08-18 00:20:20 -0400
committerTim Harder <radhermit@gentoo.org>2017-08-18 00:21:58 -0400
commit998cec4494f66eb008c8c9ab7c11189def7234fd (patch)
treef97e80fd1ad67d2420137b87a603f36b21a6a260 /media-gfx/apngdis/apngdis-2.9.ebuild
parentmedia-gfx/apng2gif: remove old (diff)
downloadgentoo-998cec4494f66eb008c8c9ab7c11189def7234fd.tar.gz
gentoo-998cec4494f66eb008c8c9ab7c11189def7234fd.tar.bz2
gentoo-998cec4494f66eb008c8c9ab7c11189def7234fd.zip
media-gfx/apngdis: version bump to 2.9
Diffstat (limited to 'media-gfx/apngdis/apngdis-2.9.ebuild')
-rw-r--r--media-gfx/apngdis/apngdis-2.9.ebuild39
1 files changed, 39 insertions, 0 deletions
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
+}