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 610A313835B for ; Wed, 7 Oct 2020 08:41:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0CFBE0930; Wed, 7 Oct 2020 08:41:39 +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 9B099E0930 for ; Wed, 7 Oct 2020 08:41:39 +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 46010340D40 for ; Wed, 7 Oct 2020 08:41:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3268398 for ; Wed, 7 Oct 2020 08:41:36 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1602060087.e7c8df4387aa8e035126fc4e9e810d1b116fc8c7.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libhubbub/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libhubbub/Manifest net-libs/libhubbub/libhubbub-0.3.7.ebuild X-VCS-Directories: net-libs/libhubbub/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: e7c8df4387aa8e035126fc4e9e810d1b116fc8c7 X-VCS-Branch: master Date: Wed, 7 Oct 2020 08:41:36 +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: 38d84491-549e-45cf-ab5d-35320ff7aa70 X-Archives-Hash: 00b78ca63a1f7be977ff7f9d14bc5b8e commit: e7c8df4387aa8e035126fc4e9e810d1b116fc8c7 Author: Jakov Smolic sartura hr> AuthorDate: Fri Sep 18 16:24:30 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Wed Oct 7 08:41:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7c8df43 net-libs/libhubbub: bump to 0.3.7 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/17591 Signed-off-by: Joonas Niilola gentoo.org> net-libs/libhubbub/Manifest | 1 + net-libs/libhubbub/libhubbub-0.3.7.ebuild | 56 +++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/net-libs/libhubbub/Manifest b/net-libs/libhubbub/Manifest index b6686a83df2..53a1b4a46ef 100644 --- a/net-libs/libhubbub/Manifest +++ b/net-libs/libhubbub/Manifest @@ -1 +1,2 @@ DIST libhubbub-0.3.6-src.tar.gz 784692 BLAKE2B a24b2c7b33849d6f4b25867f8b801d157f19257a055dd9a5a6c49de6c2fbd3f234f648d542b7938fab249e14bb6839997530c47b931379a94ab85ccd750b71e0 SHA512 6ccf9d9bbe8fc8de21570994c4a2f6f6c6943d2b00b8939d0ec9ec72cb3d653c40b58f509a1a81a5500fc8d3b4c49595aec509129bc993208b51b29486d0c14f +DIST libhubbub-0.3.7-src.tar.gz 784780 BLAKE2B dd7bd85d3401d87c7bc72dad5d6d0439ab826cf97e76a29367a045215621cb66ff6e97f4028f552b7f395691087f53df077075dc65115a41a59eca476f73305d SHA512 d8ae4a8c4ded2c0e73902bfcf4d5d353154e27f236be0f6ea878cc2daed8a399378a4a9c2021f96106e1c822585b1daa09c9bd49c1551d3e87f37348865cfce1 diff --git a/net-libs/libhubbub/libhubbub-0.3.7.ebuild b/net-libs/libhubbub/libhubbub-0.3.7.ebuild new file mode 100644 index 00000000000..37c534bcee4 --- /dev/null +++ b/net-libs/libhubbub/libhubbub-0.3.7.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit netsurf 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 + doc? ( app-doc/doxygen ) + 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() { + 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 +}