summaryrefslogtreecommitdiff
path: root/net-libs/libdom
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-20 11:17:21 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-20 11:17:21 +0000
commit48bdeb0db9c7ffed22c6eb859ee40b55ba598b86 (patch)
treef88035a58c20099cf45a576fb53b0330a4754f14 /net-libs/libdom
parent0fb71e0215ed52863e462cccef73c01aff44d43d (diff)
gentoo resync : 20.12.2017
Diffstat (limited to 'net-libs/libdom')
-rw-r--r--net-libs/libdom/Manifest2
-rw-r--r--net-libs/libdom/libdom-0.3.2.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/net-libs/libdom/Manifest b/net-libs/libdom/Manifest
index aa0a661adbd7..a2731c543f4b 100644
--- a/net-libs/libdom/Manifest
+++ b/net-libs/libdom/Manifest
@@ -1,4 +1,6 @@
DIST libdom-0.3.1-src.tar.gz 868959 BLAKE2B f132723aa9387b44cf2b07285eabb2f831103125a696a2a9d4a73275ea555663b26534b25f31f4da8211d6b70b2f4739d61934d8e9b33b3150d442c15249f538 SHA512 a7acd64a99145483274a44bd47af16474eadab5e6cf46847c61775c8d9fc03aa8cb4ad21fa63377b8c758c9556c140d626a2c3b2be31072fb5afdc2cee589e0c
+DIST libdom-0.3.2-src.tar.gz 869599 BLAKE2B 9a7a9cae1604624884be331e7d9ee578ffaa90a1fe4a29c97ef8f68e5ce40156ae87ad1345074b752a07298f8921955d786407d17d5d1dd612ec382e7daef72d SHA512 dd7a9e17539b0ac6088f6c395133296e2b200a5c6d342c8dd837e71d62826fa77cecf9b716e53102bd90b03c4653689c89e72683057dab0d62a530e940d6b6b3
DIST netsurf-buildsystem-1.5.tar.gz 38196 BLAKE2B 298ef39d45b98ae5ef57a22aed9f22bf96dfd6ad5475964c04451eaf28aca7f451b4906002c3e110ffcc951015169f02ffcd85f24e54b46c47b25e048115db1c SHA512 02d85e8f1d2101194a678f7ccf84051390953285a46951d7b327556f8df1a0c416620bd4c7a615e25de438d5d27cfffb69ec5d94eb8379a295dab4c85a96cae4
EBUILD libdom-0.3.1.ebuild 1066 BLAKE2B 6a26b9cdd7b5ec0b818f8fe62556e023d6e0e38418ab06b9c53614611c13a534e429caa026134bb89969812f54dca6dff4a08c316478df9b11772c84bc19706d SHA512 ca234dbc7f51c92e2877a693b1bb713984f98032b85f664a522ea64e5047690814d528ada14433352ec7e8f730f7f6f1451cafb5fa455aeda5920ab30c74f476
+EBUILD libdom-0.3.2.ebuild 1066 BLAKE2B 6a26b9cdd7b5ec0b818f8fe62556e023d6e0e38418ab06b9c53614611c13a534e429caa026134bb89969812f54dca6dff4a08c316478df9b11772c84bc19706d SHA512 ca234dbc7f51c92e2877a693b1bb713984f98032b85f664a522ea64e5047690814d528ada14433352ec7e8f730f7f6f1451cafb5fa455aeda5920ab30c74f476
MISC metadata.xml 237 BLAKE2B f22c3926ba75c18fce7667217807f3710a315b12b1341622c949e7bc0056cd1cb403ea6c66d838675f3cb5dcd53d2fc4ec71425ec3f96aaffb94b70b73e99320 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f
diff --git a/net-libs/libdom/libdom-0.3.2.ebuild b/net-libs/libdom/libdom-0.3.2.ebuild
new file mode 100644
index 000000000000..460b2a411916
--- /dev/null
+++ b/net-libs/libdom/libdom-0.3.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+NETSURF_BUILDSYSTEM=buildsystem-1.5
+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_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)
+ )
+}