summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVirgil Dupras <vdupras@gentoo.org>2018-11-13 11:41:42 -0500
committerVirgil Dupras <vdupras@gentoo.org>2018-11-13 13:04:24 -0500
commit75d56f9d33d91b729f300dbcc78b9c12a7d7a445 (patch)
tree4257a46048741e87a2f5fe04dad3fdad7eff006d /media-libs
parentmedia-libs/libnsgif: drop netsurf eclass (diff)
downloadgentoo-75d56f9d33d91b729f300dbcc78b9c12a7d7a445.tar.gz
gentoo-75d56f9d33d91b729f300dbcc78b9c12a7d7a445.tar.bz2
gentoo-75d56f9d33d91b729f300dbcc78b9c12a7d7a445.zip
media-libs/libnspsl: 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/libnspsl/Manifest1
-rw-r--r--media-libs/libnspsl/libnspsl-0.1.3-r1.ebuild33
-rw-r--r--media-libs/libnspsl/libnspsl-0.1.3.ebuild24
3 files changed, 33 insertions, 25 deletions
diff --git a/media-libs/libnspsl/Manifest b/media-libs/libnspsl/Manifest
index 2b625f791631..1328789808ee 100644
--- a/media-libs/libnspsl/Manifest
+++ b/media-libs/libnspsl/Manifest
@@ -1,2 +1 @@
DIST libnspsl-0.1.3-src.tar.gz 311065 BLAKE2B ef846482c677e98a9eae646597e893f4e94161a60482127a88440a3786d2f9e3c4458a823ac878c64bc7d1b00080653facc28f408d2a44b571835958966297af SHA512 da4069dee152d126d53e442c8ced1438707db1ccee779bd2abe752a8d1dc30e40036037674e220bb24adad49fe406633e0d07e5d29d209b9fb223107c0e89415
-DIST netsurf-buildsystem-1.7.tar.gz 38597 BLAKE2B d0981ef282ac0d93d81a1a6a6bee1fc2a0151c962be6ce2900a67843ba8ebc67e00508cded2a7375f6bbe0d45572690f127872936a282de80eb08655ac571603 SHA512 f6a46ac25f41e695ec13d7b2b564250c4cc44a40a688904eb17aa4b547c2df0102cc0effb7a23a2ffa6b9178ae5cf452b63980caf26e06e479168c85803f1e58
diff --git a/media-libs/libnspsl/libnspsl-0.1.3-r1.ebuild b/media-libs/libnspsl/libnspsl-0.1.3-r1.ebuild
new file mode 100644
index 000000000000..fa3babe38bd1
--- /dev/null
+++ b/media-libs/libnspsl/libnspsl-0.1.3-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="decoding library for BMP and ICO image file formats, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/"
+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=""
+
+DEPEND="
+ dev-util/netsurf-buildsystem
+ virtual/pkgconfig"
+
+_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/libnspsl/libnspsl-0.1.3.ebuild b/media-libs/libnspsl/libnspsl-0.1.3.ebuild
deleted file mode 100644
index 1ed50ca57f22..000000000000
--- a/media-libs/libnspsl/libnspsl-0.1.3.ebuild
+++ /dev/null
@@ -1,24 +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="decoding library for BMP and ICO image file formats, written in C"
-HOMEPAGE="http://www.netsurf-browser.org/projects/"
-
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~m68k-mint"
-IUSE=""
-
-RDEPEND=""
-DEPEND="virtual/pkgconfig"
-
-src_prepare() {
- # working around broken netsurf eclass
- default
- multilib_copy_sources
-}