summaryrefslogtreecommitdiff
path: root/net-libs
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/Manifest.gzbin32595 -> 32601 bytes
-rw-r--r--net-libs/libdom/Manifest1
-rw-r--r--net-libs/libdom/libdom-9999.ebuild57
3 files changed, 58 insertions, 0 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz
index e5bc070ead1d..4f666f2d7f21 100644
--- a/net-libs/Manifest.gz
+++ b/net-libs/Manifest.gz
Binary files differ
diff --git a/net-libs/libdom/Manifest b/net-libs/libdom/Manifest
index d73509fb54d5..d4a7abb0a955 100644
--- a/net-libs/libdom/Manifest
+++ b/net-libs/libdom/Manifest
@@ -1,3 +1,4 @@
DIST libdom-0.4.1-src.tar.gz 872954 BLAKE2B 7a6d15fbb4bb7046b8ee9670a14c89f5da2ea0eac10631274d9b47eb0ee1181a85eb62aea326d293c407a006091452fba174dddfbb8cd0297a224850159ff9b1 SHA512 8927b294c98dcb424a454036b20981963ba9982c1aad95b07fc0ca1efc58756b7d85373ed4cde0dcff6281b518a2b5993358494f432d85f7ac7ebd51230a6c22
EBUILD libdom-0.4.1-r1.ebuild 1143 BLAKE2B 42d9be4512739d1086e98c77ae425948fe85b89df420dbb92e41191a084f875dc6ca0ca4da90cf62f45f2527b2c8b96e29757c8b0c596ffe8a0cef85656415f1 SHA512 961057e38e7764bc66af87fbbaed52d1136169eedccba5c8fe104b0caf8035f8c86119f16a9330c3a8c88759646a91525dd15eb756345ccc3f2114c6094e9054
+EBUILD libdom-9999.ebuild 1068 BLAKE2B e0dcfa2b4a454c16f138f2f853733f2d7cdb8fa2d860bbc8891977c3eadc5c1048872ee59553a4a891489172a40cc3706a989cbcabba33d32ced90e4d008f93d SHA512 ffec4d7577a8f3c207bc31657a69fff5c667ccf86d8a2d780a6965f252aef65ba80a3020eb3df76595ef1718d533caf2c35e03b619ed2e8373a3bdc859ddf7c1
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
diff --git a/net-libs/libdom/libdom-9999.ebuild b/net-libs/libdom/libdom-9999.ebuild
new file mode 100644
index 000000000000..e4b422d0883c
--- /dev/null
+++ b/net-libs/libdom/libdom-9999.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit git-r3 netsurf
+
+DESCRIPTION="implementation of the W3C DOM, written in C"
+HOMEPAGE="https://www.netsurf-browser.org/projects/libdom/"
+
+EGIT_REPO_URI="https://git.netsurf-browser.org/${PN}.git"
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS=""
+IUSE="expat test xml"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libparserutils
+ dev-libs/libwapcaplet
+ net-libs/libhubbub
+ xml? (
+ expat? ( dev-libs/expat )
+ !expat? ( dev-libs/libxml2 )
+ )"
+DEPEND="${RDEPEND}
+ test? (
+ dev-perl/XML-XPath
+ dev-perl/libxml-perl
+ dev-perl/Switch
+ )"
+BDEPEND="
+ dev-util/netsurf-buildsystem
+ virtual/pkgconfig"
+
+REQUIRED_USE="test? ( xml )"
+
+_emake() {
+ 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="${D}" install
+}