diff options
Diffstat (limited to 'media-libs/libnsgif/libnsgif-0.2.0.ebuild')
-rw-r--r-- | media-libs/libnsgif/libnsgif-0.2.0.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/media-libs/libnsgif/libnsgif-0.2.0.ebuild b/media-libs/libnsgif/libnsgif-0.2.0.ebuild new file mode 100644 index 000000000000..60e45209c367 --- /dev/null +++ b/media-libs/libnsgif/libnsgif-0.2.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +NETSURF_BUILDSYSTEM=buildsystem-1.6 +inherit netsurf + +DESCRIPTION="decoding library for the GIF image file format, written in C" +HOMEPAGE="http://www.netsurf-browser.org/projects/libnsgif/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~m68k-mint" +IUSE="" + +RDEPEND="" +DEPEND="virtual/pkgconfig" + +src_prepare() { + sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \ + -i src/lzw.c || die + + netsurf_src_prepare +} |