summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2018-11-13 11:44:33 -0500
committerVirgil Dupras <vdupras@gentoo.org>2018-11-13 13:04:25 -0500
commit547e9316a056470cdc8dd0c0de9f46dc230e1bb6 (patch)
tree2794fae5e07b35a1360aa79ff0f0d5099b314624 /media-libs
parentmedia-libs/librosprite: drop netsurf eclass (diff)
downloadgentoo-547e9316a056470cdc8dd0c0de9f46dc230e1bb6.tar.gz
gentoo-547e9316a056470cdc8dd0c0de9f46dc230e1bb6.tar.bz2
gentoo-547e9316a056470cdc8dd0c0de9f46dc230e1bb6.zip
media-libs/libsvgtiny: drop netsurf eclass
Signed-off-by: Virgil Dupras <vdupras@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libsvgtiny/Manifest1
-rw-r--r--media-libs/libsvgtiny/libsvgtiny-0.1.7-r1.ebuild39
-rw-r--r--media-libs/libsvgtiny/libsvgtiny-0.1.7.ebuild29
3 files changed, 39 insertions, 30 deletions
diff --git a/media-libs/libsvgtiny/Manifest b/media-libs/libsvgtiny/Manifest
index d32bea27d7b0..2e530fa748dc 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 000000000000..5e85fe7fbf29
--- /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 c0ef6c188573..000000000000
--- 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
-}