commit: d70316aaef10c15be6a6b70145a57d007ffb0f1d Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> AuthorDate: Sun Jul 16 19:45:54 2023 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Sun Jul 16 19:46:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d70316aa
dev-libs/lexbor: new package, add 2.2.0 Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> dev-libs/lexbor/Manifest | 1 + dev-libs/lexbor/lexbor-2.2.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ dev-libs/lexbor/metadata.xml | 12 ++++++++++++ 3 files changed, 47 insertions(+) diff --git a/dev-libs/lexbor/Manifest b/dev-libs/lexbor/Manifest new file mode 100644 index 000000000..fa9d81365 --- /dev/null +++ b/dev-libs/lexbor/Manifest @@ -0,0 +1 @@ +DIST lexbor-2.2.0.tar.gz 2844872 BLAKE2B cc473a7509d3eaacfbcc5122f5f5517762529318bb3bfb725df7ad6f438347d5618882b03226c22664f4b76cea3dd51c55f4df2e73b8b0ae425719716047558f SHA512 26bbca3b41a417cbc59ba8cf736e1611966fc2202de85aabf621b840565d835e7e5ffc1b0294defc16ec883f9fb94e802bd19ed704be35fa79b41566acc05cbc diff --git a/dev-libs/lexbor/lexbor-2.2.0.ebuild b/dev-libs/lexbor/lexbor-2.2.0.ebuild new file mode 100644 index 000000000..0313079ce --- /dev/null +++ b/dev-libs/lexbor/lexbor-2.2.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2023 Haelwenn (lanodan) Monnier <cont...@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Modular web engine (HTML/CSS parser, renderer, ...)" +HOMEPAGE="https://lexbor.com/ https://github.com/lexbor/lexbor" +SRC_URI="https://github.com/lexbor/lexbor/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples static-libs test" + +RESTRICT="!test? ( test )" + +src_prepare() { + default + cmake_src_prepare + + sed -i 's;${LEXBOR_OPTIMIZATION_LEVEL};;' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DLEXBOR_BUILD_EXAMPLES=$(usex examples) + -DLEXBOR_BUILD_UTILS=$(usex examples) + -DLEXBOR_BUILD_STATIC=$(usex static-libs) + -DLEXBOR_BUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} diff --git a/dev-libs/lexbor/metadata.xml b/dev-libs/lexbor/metadata.xml new file mode 100644 index 000000000..4ff6b09ab --- /dev/null +++ b/dev-libs/lexbor/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cont...@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/lexbor/lexbor/issues</bugs-to> + <remote-id type="github">lexbor/lexbor</remote-id> + </upstream> +</pkgmetadata>