dev-libs/gumbo: add 0.13.2

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Part-of: https://github.com/gentoo/gentoo/pull/43573
Closes: https://github.com/gentoo/gentoo/pull/43573
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Haelwenn (lanodan) Monnier
2025-08-26 18:30:38 +02:00
committed by Sam James
parent 79ac547560
commit 8f56c358e7
2 changed files with 45 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST gumbo-0.13.1.tar.gz 2115080 BLAKE2B f6fd8fa818b58adbf6ed9d7ffe1d44a2d9902570addd6fe1c384273c965d345ba04f7a09ccb7860c2d065f5ee2a9193140ea753b08261bf8f3077d69a90bfc85 SHA512 22bdaac728e79fb176ea82d40bfab77500a85952d731f832ffa6defb48264a1f108a9bbde19fd60e9d829d23059feab0744b4dabf887997596892b815cb26f17
DIST gumbo-0.13.2.tar.gz 2145403 BLAKE2B 543b40f70707fa8c4325312b2e7f0d47e7fe579446532a52ccc5d163a69d43f783a279d84969a663422794b33fb669ca3839649d77095cd2886ba9d19a176e02 SHA512 1513e88acfc3240081039b30ab63ca6fc23a85b7d1415cb8e90e9c43f9c3d99d37634a7a50d81ef7f6d43a4facac3802feea6959256a2330b26b16523a288568

View File

@@ -0,0 +1,44 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="The HTML5 parsing algorithm implemented as a pure C99 library"
HOMEPAGE="https://codeberg.org/gumbo-parser/gumbo-parser"
SRC_URI="https://codeberg.org/grisha/gumbo-parser/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/gumbo-parser"
LICENSE="Apache-2.0"
SLOT="0/3" # gumbo SONAME
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="doc test"
RESTRICT="!test? ( test )"
DEPEND="test? ( dev-cpp/gtest )"
BDEPEND="doc? ( app-text/doxygen )"
src_configure() {
local emesonargs=(
$(meson_use test tests)
-Ddefault_library=shared
)
meson_src_configure
}
src_compile() {
meson_src_compile
if use doc; then
doxygen || die "doxygen failed"
HTML_DOCS=( docs/html/. )
fi
}
src_install() {
meson_src_install
use doc && doman docs/man/man3/*
}