diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
commit | 64e107b9b6058580ff0432107eb37cefb0b2a7d8 (patch) | |
tree | 9a44e603e2ae365e2b1fe35ac37f73e830cdee1d /net-libs/libdom/libdom-0.3.3.ebuild | |
parent | 957235cf19a691360c720f7913672adda4258ed0 (diff) |
gentoo resync : 22.10.2018
Diffstat (limited to 'net-libs/libdom/libdom-0.3.3.ebuild')
-rw-r--r-- | net-libs/libdom/libdom-0.3.3.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/net-libs/libdom/libdom-0.3.3.ebuild b/net-libs/libdom/libdom-0.3.3.ebuild new file mode 100644 index 000000000000..d245b9d4989f --- /dev/null +++ b/net-libs/libdom/libdom-0.3.3.ebuild @@ -0,0 +1,45 @@ +# 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) + ) +} |