public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Virgil Dupras" <vdupras@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libnsgif/
Date: Tue, 13 Nov 2018 18:13:17 +0000 (UTC)	[thread overview]
Message-ID: <1542132264.3cdb163c9c578dd707f8208ed66f7c621f108d3a.vdupras@gentoo> (raw)

commit:     3cdb163c9c578dd707f8208ed66f7c621f108d3a
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 13 16:40:16 2018 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Tue Nov 13 18:04:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cdb163c

media-libs/libnsgif: drop netsurf eclass

Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/libnsgif/Manifest                       |  1 -
 ...nsgif-0.2.1.ebuild => libnsgif-0.2.1-r1.ebuild} | 26 ++++++++++++++++------
 2 files changed, 19 insertions(+), 8 deletions(-)

diff --git a/media-libs/libnsgif/Manifest b/media-libs/libnsgif/Manifest
index 70ccd2845f6..bcde15a097c 100644
--- a/media-libs/libnsgif/Manifest
+++ b/media-libs/libnsgif/Manifest
@@ -1,2 +1 @@
 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

diff --git a/media-libs/libnsgif/libnsgif-0.2.1.ebuild b/media-libs/libnsgif/libnsgif-0.2.1-r1.ebuild
similarity index 52%
rename from media-libs/libnsgif/libnsgif-0.2.1.ebuild
rename to media-libs/libnsgif/libnsgif-0.2.1-r1.ebuild
index 55c0a619874..c7b9095ea83 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
 }


             reply	other threads:[~2018-11-13 18:13 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-13 18:13 Virgil Dupras [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-17  6:27 [gentoo-commits] repo/gentoo:master commit in: media-libs/libnsgif/ Ionen Wolkens
2024-03-04 19:11 Jakov Smolić
2024-01-19 21:34 Michael Orlitzky
2024-01-19  9:31 Michael Orlitzky
2024-01-19  9:31 Michael Orlitzky
2023-08-14 21:15 Michael Orlitzky
2023-08-14 21:15 Michael Orlitzky
2023-05-27 22:02 Michael Orlitzky
2022-12-01  3:21 WANG Xuerui
2021-01-23 21:13 Andreas Sturmlechner
2021-01-07 19:35 Sam James
2021-01-04  3:31 Sam James
2021-01-04  1:32 Sam James
2020-12-27 17:47 Fabian Groffen
2020-08-15 12:03 Michael Orlitzky
2020-06-17 13:38 Michael Orlitzky
2020-04-07 10:21 Mart Raudsepp
2020-03-18  0:05 Matt Turner
2020-01-27 14:25 Agostino Sarubbo
2020-01-27 12:46 Agostino Sarubbo
2020-01-25 21:09 Andreas Sturmlechner
2019-12-08 23:31 Sergei Trofimovich
2019-11-25 13:51 Aaron Bauman
2019-11-14 16:10 Lars Wendler
2019-10-28  7:47 Jeroen Roovers
2019-07-05 19:05 Virgil Dupras
2019-02-17 17:46 Sergei Trofimovich
2019-02-04 21:38 Virgil Dupras
2018-10-21 20:54 Virgil Dupras
2018-10-21 20:54 Virgil Dupras
2018-10-21 20:54 Virgil Dupras
2017-12-18 15:05 Michael Weber
2017-02-05 12:18 Michael Weber
2017-01-24  1:16 Michael Weber
2016-07-25 17:45 Chí-Thanh Christopher Nguyễn
2016-03-02 22:53 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1542132264.3cdb163c9c578dd707f8208ed66f7c621f108d3a.vdupras@gentoo \
    --to=vdupras@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox