mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-libs/lexbor: add 2.7.0
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST lexbor-2.6.0.tar.gz 5549881 BLAKE2B feb854028f090b5f36645df5819e22ac9719a25f9916368033b6845297c8c2695cafb68d53553707673447308343763e49a52c7ec04dc514ed5b0ab23edd18f2 SHA512 5fb5c0f31b873ba669b784f914cf4e688d80e5fdbe06797add19334dcf54a9ffd76923f38600913df6bdd9a40475a27368a09a847515c7929353c25ace5048d4
|
||||
DIST lexbor-2.7.0.tar.gz 5686814 BLAKE2B be1728c9e5b1332a16aab7f3eac2201de5513f8e6c842ee5bee257ba435aa9d178d47fdbafdd199c154a8bd310923941785eb792d2519004e347ba9dd4e71215 SHA512 ad2b333e2802b9e05fea461c017fecaec1619c67d4e165da7fb9c6d24a77584b8e1ff0348330a61a169e19025d215e7a0a6356ce1424daf14cf3caf2b2c2dbef
|
||||
|
||||
33
dev-libs/lexbor/lexbor-2.7.0.ebuild
Normal file
33
dev-libs/lexbor/lexbor-2.7.0.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 2023 Haelwenn (lanodan) Monnier <contact@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() {
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user