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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AF07A15838C for ; Fri, 19 Jan 2024 09:31:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 960FB2BC021; Fri, 19 Jan 2024 09:31:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 753DC2BC021 for ; Fri, 19 Jan 2024 09:31:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8A55A3433BF for ; Fri, 19 Jan 2024 09:31:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA3D114BE for ; Fri, 19 Jan 2024 09:31:39 +0000 (UTC) From: "Michael Orlitzky" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Orlitzky" Message-ID: <1705656579.c5d22283e61c0d192a4e4f3709d9654cb83ebe9b.mjo@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.8.ebuild X-VCS-Directories: net-libs/libhubbub/ X-VCS-Committer: mjo X-VCS-Committer-Name: Michael Orlitzky X-VCS-Revision: c5d22283e61c0d192a4e4f3709d9654cb83ebe9b X-VCS-Branch: master Date: Fri, 19 Jan 2024 09:31:39 +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: a1a4ee4e-ba4b-4019-8a8f-074cfe1645a4 X-Archives-Hash: 263f645dbc5c06a18e3b2e52b993b6a8 commit: c5d22283e61c0d192a4e4f3709d9654cb83ebe9b Author: Michael Orlitzky gentoo org> AuthorDate: Thu Jan 18 20:16:59 2024 +0000 Commit: Michael Orlitzky gentoo org> CommitDate: Fri Jan 19 09:29:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5d22283 net-libs/libhubbub: add 0.3.8 Signed-off-by: Michael Orlitzky gentoo.org> net-libs/libhubbub/Manifest | 1 + net-libs/libhubbub/libhubbub-0.3.8.ebuild | 55 +++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/net-libs/libhubbub/Manifest b/net-libs/libhubbub/Manifest index 5f3fae2b4fd5..93f9b7523f81 100644 --- a/net-libs/libhubbub/Manifest +++ b/net-libs/libhubbub/Manifest @@ -1 +1,2 @@ DIST libhubbub-0.3.7-src.tar.gz 784780 BLAKE2B dd7bd85d3401d87c7bc72dad5d6d0439ab826cf97e76a29367a045215621cb66ff6e97f4028f552b7f395691087f53df077075dc65115a41a59eca476f73305d SHA512 d8ae4a8c4ded2c0e73902bfcf4d5d353154e27f236be0f6ea878cc2daed8a399378a4a9c2021f96106e1c822585b1daa09c9bd49c1551d3e87f37348865cfce1 +DIST libhubbub-0.3.8-src.tar.gz 780549 BLAKE2B f3db98971246b08452df0383d960f528e4c0a0def4318bd074fbdb02a045691c6476a55b3b2a851a058785b358a839cb9a8e05abab091127f2affad04bd26936 SHA512 7f0e4a2494a73a1a84e6d41f18deb9aa8c2f16da7b39bdf9cb96110567b17f50b6c65e0d3a91d5393829ae1b8651d153fb678085747f59664cad4209b6a1a96b diff --git a/net-libs/libhubbub/libhubbub-0.3.8.ebuild b/net-libs/libhubbub/libhubbub-0.3.8.ebuild new file mode 100644 index 000000000000..971dc57918aa --- /dev/null +++ b/net-libs/libhubbub/libhubbub-0.3.8.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc test" + +BDEPEND=" + dev-build/netsurf-buildsystem + virtual/pkgconfig + doc? ( app-text/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} ) + +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 +}