diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
commit | 536c3711867ec947c1738f2c4b96f22e4863322d (patch) | |
tree | 697733f5cb713908dcf378e13fd15a798a906a91 /media-libs/libnsgif | |
parent | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff) |
gentoo resync : 18.11.2018
Diffstat (limited to 'media-libs/libnsgif')
-rw-r--r-- | media-libs/libnsgif/Manifest | 3 | ||||
-rw-r--r-- | media-libs/libnsgif/libnsgif-0.2.1-r1.ebuild (renamed from media-libs/libnsgif/libnsgif-0.2.1.ebuild) | 26 |
2 files changed, 20 insertions, 9 deletions
diff --git a/media-libs/libnsgif/Manifest b/media-libs/libnsgif/Manifest index c04f67aa833c..4a3822c11351 100644 --- a/media-libs/libnsgif/Manifest +++ b/media-libs/libnsgif/Manifest @@ -1,4 +1,3 @@ DIST libnsgif-0.2.1-src.tar.gz 268328 BLAKE2B ccebd1830db1caa016ebc0c1f2c421523963df16e38cdf85c5300d2a9a325dc9c52c89c79ccbddbc315535a20607458bbfedcde8df02b5e2977d383cd6603220 SHA512 29affce6de38574103a9777e741a44b448145d96ef63e4b86056f268c5d1389f6c5f25240a9f3ef2208fab229eabef2542f3d7ce7b37a0137071f204fbd736af -DIST netsurf-buildsystem-1.7.tar.gz 38597 BLAKE2B d0981ef282ac0d93d81a1a6a6bee1fc2a0151c962be6ce2900a67843ba8ebc67e00508cded2a7375f6bbe0d45572690f127872936a282de80eb08655ac571603 SHA512 f6a46ac25f41e695ec13d7b2b564250c4cc44a40a688904eb17aa4b547c2df0102cc0effb7a23a2ffa6b9178ae5cf452b63980caf26e06e479168c85803f1e58 -EBUILD libnsgif-0.2.1.ebuild 596 BLAKE2B 8bcf454dc04e0a1c68f80dde52b7a486163a3bdde3134ae239a1f1501ee12e1ea65bdf4e181be39680b46586929c1bff271b9548231cd545375a81c99e117818 SHA512 2758805a709be3dde95505a09f89d13838758912c826262607231fcb95101a8c01dbaed2f343f2939f7270d24eb671c3001aa74dcaa7cfb23bda7700f060f252 +EBUILD libnsgif-0.2.1-r1.ebuild 837 BLAKE2B febb0c70148b43dd48d2812f48f3203eb49b524d923b2ce3a0c440c7d92477f370e5ab7538c4cfc43abc0af23feff5a1b8cdab9b9acd81b795f6feab6bfb3051 SHA512 e076e86cd3b7ab63f90d2b0cfae00bcca39169e10569b8968e2fefbd3a94da99dbb1fb4f00f735545774e0fb7cf04e9104461f0de64d4bba341beb9601cd7fe8 MISC metadata.xml 351 BLAKE2B 874efc4523403eb768a93b6ad01c165fda3ce9e7b55fabba72fbe39efc632c1b9cbdc440819ad959c4ed40383ab7221372e357147eb7e1906474880b7f75dca2 SHA512 b70d3c086edb1523342a001fe46b5a630996047ea46dc9042e6f333ef771a6fd1ccec693fb0f0f842fc8a97300461a32fb363a1110e0f7166d1a0d72270cc6aa diff --git a/media-libs/libnsgif/libnsgif-0.2.1.ebuild b/media-libs/libnsgif/libnsgif-0.2.1-r1.ebuild index 55c0a619874a..c7b9095ea837 100644 --- a/media-libs/libnsgif/libnsgif-0.2.1.ebuild +++ b/media-libs/libnsgif/libnsgif-0.2.1-r1.ebuild @@ -1,27 +1,39 @@ # Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -NETSURF_BUILDSYSTEM=buildsystem-1.7 -inherit netsurf +inherit toolchain-funcs DESCRIPTION="decoding library for the GIF image file format, written in C" HOMEPAGE="http://www.netsurf-browser.org/projects/libnsgif/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~m68k-mint" IUSE="" -RDEPEND="" -DEPEND="virtual/pkgconfig" +DEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig" src_prepare() { - # working around broken netsurf eclass 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 +} - multilib_copy_sources +src_install() { + _emake DESTDIR="${ED}" install } |