From: "Virgil Dupras" <vdupras@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libdom/
Date: Tue, 13 Nov 2018 18:13:16 +0000 (UTC) [thread overview]
Message-ID: <1542132262.2e57c512965b84932f598642d955afdce86a59b2.vdupras@gentoo> (raw)
commit: 2e57c512965b84932f598642d955afdce86a59b2
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 13 16:35:13 2018 +0000
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
CommitDate: Tue Nov 13 18:04:22 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e57c512
net-libs/libdom: drop netsurf eclass
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
net-libs/libdom/Manifest | 1 -
net-libs/libdom/libdom-0.3.3-r1.ebuild | 55 ++++++++++++++++++++++++++++++++++
net-libs/libdom/libdom-0.3.3.ebuild | 45 ----------------------------
3 files changed, 55 insertions(+), 46 deletions(-)
diff --git a/net-libs/libdom/Manifest b/net-libs/libdom/Manifest
index a82175f11d3..08aa28435e0 100644
--- a/net-libs/libdom/Manifest
+++ b/net-libs/libdom/Manifest
@@ -1,2 +1 @@
DIST libdom-0.3.3-src.tar.gz 870035 BLAKE2B 6dc77fe0ef31e491810243b461e6e7fbab2d6d2bb56e68730497ed9e0e1acf9dfcc29be024bd0010292e57d25849124153772c24503012fbdf38d24363f35a05 SHA512 3b08b20976b36adf441f088e9feb756b9ce6a43133e57b90fa6d6b8809d74c6d500c7d2a883dd19d520c6ef71d9e04685d9765e6c6a00677a412265ecc6273a8
-DIST netsurf-buildsystem-1.7.tar.gz 38597 BLAKE2B d0981ef282ac0d93d81a1a6a6bee1fc2a0151c962be6ce2900a67843ba8ebc67e00508cded2a7375f6bbe0d45572690f127872936a282de80eb08655ac571603 SHA512 f6a46ac25f41e695ec13d7b2b564250c4cc44a40a688904eb17aa4b547c2df0102cc0effb7a23a2ffa6b9178ae5cf452b63980caf26e06e479168c85803f1e58
diff --git a/net-libs/libdom/libdom-0.3.3-r1.ebuild b/net-libs/libdom/libdom-0.3.3-r1.ebuild
new file mode 100644
index 00000000000..12f44fe0641
--- /dev/null
+++ b/net-libs/libdom/libdom-0.3.3-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="implementation of the W3C DOM, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/libdom/"
+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="expat test xml"
+
+RDEPEND="
+ >=dev-libs/libparserutils-0.2.1-r1
+ >=dev-libs/libwapcaplet-0.3.0
+ >=net-libs/libhubbub-0.3.1-r1
+ xml? (
+ expat? ( >=dev-libs/expat-2.1.0-r3 )
+ !expat? ( >=dev-libs/libxml2-2.9.1-r4 )
+ )"
+DEPEND="${RDEPEND}
+ dev-util/netsurf-buildsystem
+ virtual/pkgconfig
+ test? (
+ dev-perl/XML-XPath
+ dev-perl/libxml-perl
+ dev-perl/Switch
+ )"
+
+REQUIRED_USE="test? ( xml )"
+
+_emake() {
+ source /usr/share/netsurf-buildsystem/gentoo-helpers.sh
+ netsurf_define_makeconf
+ emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared \
+ WITH_EXPAT_BINDING=$(usex xml $(usex expat yes no) no) \
+ WITH_LIBXML_BINDING=$(usex xml $(usex expat no yes) no) \
+ $@
+}
+
+src_compile() {
+ _emake
+}
+
+src_test() {
+ _emake test
+}
+
+src_install() {
+ _emake DESTDIR="${ED}" install
+}
diff --git a/net-libs/libdom/libdom-0.3.3.ebuild b/net-libs/libdom/libdom-0.3.3.ebuild
deleted file mode 100644
index d245b9d4989..00000000000
--- a/net-libs/libdom/libdom-0.3.3.ebuild
+++ /dev/null
@@ -1,45 +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="implementation of the W3C DOM, written in C"
-HOMEPAGE="http://www.netsurf-browser.org/projects/libdom/"
-
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~ppc ~m68k-mint"
-IUSE="expat test xml"
-
-RDEPEND=">=dev-libs/libparserutils-0.2.1-r1[static-libs?,${MULTILIB_USEDEP}]
- >=dev-libs/libwapcaplet-0.3.0[static-libs?,${MULTILIB_USEDEP}]
- >=net-libs/libhubbub-0.3.1-r1[static-libs?,${MULTILIB_USEDEP}]
- xml? (
- expat? ( >=dev-libs/expat-2.1.0-r3[static-libs?,${MULTILIB_USEDEP}] )
- !expat? ( >=dev-libs/libxml2-2.9.1-r4[static-libs?,${MULTILIB_USEDEP}] )
- )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- test? ( dev-perl/XML-XPath
- dev-perl/libxml-perl
- dev-perl/Switch )"
-
-REQUIRED_USE="test? ( xml )"
-
-src_prepare() {
- # working around broken netsurf eclass
- default
- multilib_copy_sources
-}
-
-src_configure() {
- netsurf_src_configure
-
- netsurf_makeconf+=(
- WITH_EXPAT_BINDING=$(usex xml $(usex expat yes no) no)
- WITH_LIBXML_BINDING=$(usex xml $(usex expat no yes) no)
- )
-}
next reply other threads:[~2018-11-13 18:13 UTC|newest]
Thread overview: 26+ 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-03 11:29 [gentoo-commits] repo/gentoo:master commit in: net-libs/libdom/ 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-03-22 18:43 Jakov Smolić
2021-11-10 17:56 Jakov Smolić
2021-03-30 17:38 Sam James
2020-12-27 17:52 Fabian Groffen
2020-08-15 12:03 Michael Orlitzky
2020-06-17 13:38 Michael Orlitzky
2019-12-04 14:49 Joonas Niilola
2019-12-04 14:49 Joonas Niilola
2019-07-05 19:05 Virgil Dupras
2019-02-17 17:46 Sergei Trofimovich
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:00 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
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=1542132262.2e57c512965b84932f598642d955afdce86a59b2.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