commit:     547e9316a056470cdc8dd0c0de9f46dc230e1bb6
Author:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 13 16:44:33 2018 +0000
Commit:     Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Tue Nov 13 18:04:25 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=547e9316

media-libs/libsvgtiny: drop netsurf eclass

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

 media-libs/libsvgtiny/Manifest                   |  1 -
 media-libs/libsvgtiny/libsvgtiny-0.1.7-r1.ebuild | 39 ++++++++++++++++++++++++
 media-libs/libsvgtiny/libsvgtiny-0.1.7.ebuild    | 29 ------------------
 3 files changed, 39 insertions(+), 30 deletions(-)

diff --git a/media-libs/libsvgtiny/Manifest b/media-libs/libsvgtiny/Manifest
index d32bea27d7b..2e530fa748d 100644
--- a/media-libs/libsvgtiny/Manifest
+++ b/media-libs/libsvgtiny/Manifest
@@ -1,2 +1 @@
 DIST libsvgtiny-0.1.7-src.tar.gz 760963 BLAKE2B 
badf14e656e10a178a6b692659265644b636cc103ec92f89026638700293028e0b06b5e051c420911fd6c319a94bab68328b1d9f42cec69dc7926c2d31aeec67
 SHA512 
c13352325d32b6f41159b09607b12a373517672e9e4da6d26cbca9a7fb1896b6e5730aee53adaa51f0b49c35f7dd9e9ece6b1f0187a7f5494b5cc223acbe64ad
-DIST netsurf-buildsystem-1.7.tar.gz 38597 BLAKE2B 
d0981ef282ac0d93d81a1a6a6bee1fc2a0151c962be6ce2900a67843ba8ebc67e00508cded2a7375f6bbe0d45572690f127872936a282de80eb08655ac571603
 SHA512 
f6a46ac25f41e695ec13d7b2b564250c4cc44a40a688904eb17aa4b547c2df0102cc0effb7a23a2ffa6b9178ae5cf452b63980caf26e06e479168c85803f1e58

diff --git a/media-libs/libsvgtiny/libsvgtiny-0.1.7-r1.ebuild 
b/media-libs/libsvgtiny/libsvgtiny-0.1.7-r1.ebuild
new file mode 100644
index 00000000000..5e85fe7fbf2
--- /dev/null
+++ b/media-libs/libsvgtiny/libsvgtiny-0.1.7-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="framebuffer abstraction library, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libsvgtiny/";
+SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz";
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~m68k-mint"
+IUSE=""
+
+RDEPEND="
+       >=net-libs/libdom-0.1.2-r1[xml]
+       >=dev-libs/libwapcaplet-0.2.2-r1"
+DEPEND="${RDEPEND}
+       dev-util/gperf
+       dev-util/netsurf-buildsystem
+       virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.1.3-parallel-build.patch )
+
+_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="${ED}" install
+}

diff --git a/media-libs/libsvgtiny/libsvgtiny-0.1.7.ebuild 
b/media-libs/libsvgtiny/libsvgtiny-0.1.7.ebuild
deleted file mode 100644
index c0ef6c18857..00000000000
--- a/media-libs/libsvgtiny/libsvgtiny-0.1.7.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-NETSURF_BUILDSYSTEM=buildsystem-1.7
-inherit netsurf
-
-DESCRIPTION="framebuffer abstraction library, written in C"
-HOMEPAGE="http://www.netsurf-browser.org/projects/libsvgtiny/";
-
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~m68k-mint"
-IUSE=""
-
-RDEPEND=">=net-libs/libdom-0.1.2-r1[xml,static-libs?,${MULTILIB_USEDEP}]
-       >=dev-libs/libwapcaplet-0.2.2-r1[static-libs?,${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}
-       dev-util/gperf
-       virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${PN}-0.1.3-parallel-build.patch )
-
-src_prepare() {
-       # working around broken netsurf eclass
-       default
-       multilib_copy_sources
-}

Reply via email to