diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
commit | feb0daf81d888e9160f9f94502de09b66f2a63fd (patch) | |
tree | b6e5c40ce2abef3da27ed50a023153f475e0ddef /media-libs/libnsgif | |
parent | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff) |
gentoo resync : 21.06.2020
Diffstat (limited to 'media-libs/libnsgif')
-rw-r--r-- | media-libs/libnsgif/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libnsgif/libnsgif-0.2.1-r2.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/media-libs/libnsgif/Manifest b/media-libs/libnsgif/Manifest index 5c90e9eb9c6d..3a123eed4641 100644 --- a/media-libs/libnsgif/Manifest +++ b/media-libs/libnsgif/Manifest @@ -1,3 +1,4 @@ DIST libnsgif-0.2.1-src.tar.gz 268328 BLAKE2B ccebd1830db1caa016ebc0c1f2c421523963df16e38cdf85c5300d2a9a325dc9c52c89c79ccbddbc315535a20607458bbfedcde8df02b5e2977d383cd6603220 SHA512 29affce6de38574103a9777e741a44b448145d96ef63e4b86056f268c5d1389f6c5f25240a9f3ef2208fab229eabef2542f3d7ce7b37a0137071f204fbd736af EBUILD libnsgif-0.2.1-r1.ebuild 883 BLAKE2B 3cb9521d197a236c202e156bb9ba595589f57532c3ed4e0ed2f18ab3e85a5eb5c1aaf884c2eb71684695b871730eadb8a4f5c781ad392ce84adce33a9031d038 SHA512 a50a9179fdc4811f4b97431ebf5e3d76bff815612f07934abd4810d8c3609b2f735821b1d5a3e7db481176cf3019cbe2d20d1471468467d777490c24f43c8a17 +EBUILD libnsgif-0.2.1-r2.ebuild 886 BLAKE2B bfb2a1a99c4b13a2c67fac3ac2497252a9ff9b0d8c03b50e282031a46b3a4220f735bb63a3d0422a318008ebfe49ce84f0fb6cc14ed4d442c19d203bcac5a79f SHA512 d704b5d385e7cf25b1d0078d8aa426b933abe696e4c2b78ae271b7fcf3d7997ece92ba0e2bd0c1172b51b1eb0d9c5e6ded14bd18ffdfa2567cea6805c6e18b37 MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33 diff --git a/media-libs/libnsgif/libnsgif-0.2.1-r2.ebuild b/media-libs/libnsgif/libnsgif-0.2.1-r2.ebuild new file mode 100644 index 000000000000..a2572cad5ac3 --- /dev/null +++ b/media-libs/libnsgif/libnsgif-0.2.1-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="decoding library for the GIF image file format, written in C" +HOMEPAGE="https://www.netsurf-browser.org/projects/libnsgif/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~m68k-mint" +IUSE="" + +BDEPEND=" + >=dev-util/netsurf-buildsystem-1.7-r1 + virtual/pkgconfig +" + +src_prepare() { + default + sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \ + -i src/lzw.c || die +} + +_emake() { + source /usr/share/netsurf-buildsystem/gentoo-helpers.sh + netsurf_define_makeconf + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake +} + +src_install() { + _emake DESTDIR="${D}" install +} |