summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libhubbub/libhubbub-0.3.5.ebuild')
-rw-r--r--net-libs/libhubbub/libhubbub-0.3.5.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/net-libs/libhubbub/libhubbub-0.3.5.ebuild b/net-libs/libhubbub/libhubbub-0.3.5.ebuild
new file mode 100644
index 00000000000..8277a2ae87c
--- /dev/null
+++ b/net-libs/libhubbub/libhubbub-0.3.5.ebuild
@@ -0,0 +1,33 @@
+# 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="HTML5 compliant parsing library, written in C"
+HOMEPAGE="http://www.netsurf-browser.org/projects/hubbub/"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~m68k-mint"
+IUSE="doc test"
+
+RDEPEND=">=dev-libs/libparserutils-0.2.1-r1[static-libs?,${MULTILIB_USEDEP}]
+ !net-libs/hubbub"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ test? ( dev-lang/perl
+ >=dev-libs/json-c-0.10-r1[${MULTILIB_USEDEP}] )"
+
+DOCS=( README docs/{Architecture,Macros,Todo,Treebuilder,Updated} )
+
+src_prepare() {
+ # working around broken netsurf eclass
+ default
+ sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \
+ -i test/tree2.c || die
+
+ multilib_copy_sources
+}