From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B42A81382C5 for ; Wed, 17 Jun 2020 12:42:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7318E0B15; Wed, 17 Jun 2020 12:42:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D10F2E0B15 for ; Wed, 17 Jun 2020 12:42:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 72EE034F316 for ; Wed, 17 Jun 2020 12:42:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AFC7D3 for ; Wed, 17 Jun 2020 12:42:13 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1592397716.fe41d6d200cc9417521688151c03501c6fddeced.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libhubbub/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libhubbub/libhubbub-0.3.6-r1.ebuild X-VCS-Directories: net-libs/libhubbub/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: fe41d6d200cc9417521688151c03501c6fddeced X-VCS-Branch: master Date: Wed, 17 Jun 2020 12:42:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2b63b4bf-5cd7-40aa-ad79-9686b51bdcc4 X-Archives-Hash: 8d987ad0676e4f4201e8f740ef73db07 commit: fe41d6d200cc9417521688151c03501c6fddeced Author: Jaco Kroon uls co za> AuthorDate: Wed Jun 17 09:35:42 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jun 17 12:41:56 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe41d6d2 net-libs/libhubbub: fix docs and update ED to D The change for ED to D was requested by mjo (maintainer of netsurf-buildsystem) on #gentoo-proxy-maint. Doc fix from referenced bug report. Closes: https://bugs.gentoo.org/728136 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jaco Kroon uls.co.za> tbs Closes: https://github.com/gentoo/gentoo/pull/16287 Signed-off-by: Andreas Sturmlechner gentoo.org> net-libs/libhubbub/libhubbub-0.3.6-r1.ebuild | 56 ++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/net-libs/libhubbub/libhubbub-0.3.6-r1.ebuild b/net-libs/libhubbub/libhubbub-0.3.6-r1.ebuild new file mode 100644 index 00000000000..758a9a08d90 --- /dev/null +++ b/net-libs/libhubbub/libhubbub-0.3.6-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs flag-o-matic + +DESCRIPTION="HTML5 compliant parsing library, written in C" +HOMEPAGE="https://www.netsurf-browser.org/projects/hubbub/" +SRC_URI="https://download.netsurf-browser.org/libs/releases/${P}-src.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~m68k-mint" +IUSE="doc test" + +BDEPEND=" + dev-util/netsurf-buildsystem + virtual/pkgconfig + test? ( dev-lang/perl ) +" +RDEPEND="dev-libs/libparserutils:=" +DEPEND="${RDEPEND} + test? ( dev-libs/json-c )" +RESTRICT="!test? ( test )" + +DOCS=( README docs/{Architecture,Macros,Todo,Treebuilder,Updated} ) +PATCHES=( "${FILESDIR}/libhubbub-0.3.6-json-c.patch" ) + +src_prepare() { + default + sed -e '1i#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"' \ + -i test/tree2.c || die +} + +_emake() { + source /usr/share/netsurf-buildsystem/gentoo-helpers.sh + netsurf_define_makeconf + append-cflags -Wno-error + emake "${NETSURF_MAKECONF[@]}" COMPONENT_TYPE=lib-shared $@ +} + +src_compile() { + _emake + use doc && _emake docs +} + +src_test() { + _emake test +} + +src_install() { + _emake DESTDIR="${D}" install + use doc && HTML_DOCS=( docs/html/. ) + einstalldocs +}