summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-01-23 18:25:47 +0100
committerMichael Weber <xmw@gentoo.org>2017-01-24 02:16:25 +0100
commit7b0437b31bb7106a64621830ab9b6372e509f8c1 (patch)
tree8c35323030739fcbb164791d82692682bf481240 /net-libs/libdom
parentdev-libs/libcss: Version bump. (diff)
downloadgentoo-7b0437b31bb7106a64621830ab9b6372e509f8c1.tar.gz
gentoo-7b0437b31bb7106a64621830ab9b6372e509f8c1.tar.bz2
gentoo-7b0437b31bb7106a64621830ab9b6372e509f8c1.zip
net-libs/libdom: Version bump (bug 602524).
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-libs/libdom')
-rw-r--r--net-libs/libdom/Manifest1
-rw-r--r--net-libs/libdom/libdom-0.3.1.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/net-libs/libdom/Manifest b/net-libs/libdom/Manifest
index 671ad2e572aa..0c5191cdba38 100644
--- a/net-libs/libdom/Manifest
+++ b/net-libs/libdom/Manifest
@@ -1,2 +1,3 @@
DIST libdom-0.3.0-src.tar.gz 868852 SHA256 8a6c3eb8fcd9beb2e0df660caeb043dfff86632a00b8997cbcbef4a7f0c266ce SHA512 4c06a838782f211d7239b3841640c8a6d3abeaee5dabe1b619fd6b776085f5b3c748398bc532197a05ba4cca3526872a6e51f1d7df95ee5982ca22ee756c8e16 WHIRLPOOL 8191d0bb07d481b16f9896c920f86b61067d31b3c7953547c727b0e4a85d9d1fc8cac5ab64e736f0256f7226a8ac32078884fdcb171c9efc553d0535f64d4ad7
+DIST libdom-0.3.1-src.tar.gz 868959 SHA256 1b1e8a940547cedfe718b3258de875837d2a4335f7498c7d555125211662c763 SHA512 a7acd64a99145483274a44bd47af16474eadab5e6cf46847c61775c8d9fc03aa8cb4ad21fa63377b8c758c9556c140d626a2c3b2be31072fb5afdc2cee589e0c WHIRLPOOL 276fa57775ec96f6b0d547f123ad17bbcaf8703f90523e59d39d18881992449720c2cd26ffcbe9816fa409e51cd1668c936b4820d68b400826d72ed0f0690445
DIST netsurf-buildsystem-1.5.tar.gz 38196 SHA256 dbc6afc639f6987b704e6ff4427668787ee7efba77e1bbf76b614699b5daaf71 SHA512 02d85e8f1d2101194a678f7ccf84051390953285a46951d7b327556f8df1a0c416620bd4c7a615e25de438d5d27cfffb69ec5d94eb8379a295dab4c85a96cae4 WHIRLPOOL 7b7d595a2e399b361e71769e509a129af42da5ce823f1b55183efb53898ac2ae731593eb13e1ecc2271ea26ee0948ac35bf99fea280eb72a2bb00164b4b29f09
diff --git a/net-libs/libdom/libdom-0.3.1.ebuild b/net-libs/libdom/libdom-0.3.1.ebuild
new file mode 100644
index 000000000000..d654990d29fb
--- /dev/null
+++ b/net-libs/libdom/libdom-0.3.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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)
+ )
+}