mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-libs/libgrapheme: add 3.0.0 (unkeyworded)
Hitting hundreds of conformance test failures. Unclear if that is expected or not, and haven't spent time on this yet. Keeping unkeyworded for now. ./test/line: 18594/19338 conformance tests passed. Tests for 2.0.2 are still passing on the other hand. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST libgrapheme-2.0.2.tar.gz 846990 BLAKE2B ade6c3ca8481bf3c3e1b1512a3c02caa9f7f2bcb3e9a59f0f3c5af7a1603c2ff2bf4f689d25e47e156d663d95c4e9e209e03504fcde27a9daf1791bc4954663e SHA512 640fb0926f8f46ae98aaba708f8bd1539f7485f150d4b8021195268813ff361ebfc05a49f27ef6eaca9f2051e648912e70b9dac7fbbef84cedefdd4f2cdcb45e
|
||||
DIST libgrapheme-3.0.0.tar.gz 2815602 BLAKE2B f38706554bc97d73a09aaf3dfc0f0f04e883c3505b860c6d3629b04248f747c83f48adad6970cf0e3ccc85d3965e12fdbf5ad58fe60980b0a41f11d050bccaed SHA512 92cb1ad5f86392bd7af24bcc75b7e8fec2a4ab1726879b6c4209b49703cd7c7fb64cfab78cb304a9ddf3538e5e03a7718060de457fecfa6236feebfaff5b73d6
|
||||
|
||||
45
dev-libs/libgrapheme/libgrapheme-3.0.0.ebuild
Normal file
45
dev-libs/libgrapheme/libgrapheme-3.0.0.ebuild
Normal file
@@ -0,0 +1,45 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Unicode string library"
|
||||
HOMEPAGE="https://libs.suckless.org/libgrapheme/"
|
||||
SRC_URI="https://dl.suckless.org/libgrapheme/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC Unicode-DFS-2016"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
# keeping unkeyworded for now, several test failures and have not spent
|
||||
# time to look into it yet
|
||||
#KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
# upstream suggests keeping the static option, others have requested it too
|
||||
IUSE="static-libs"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
append-cflags ${CPPFLAGS}
|
||||
tc-export CC AR RANLIB
|
||||
tc-export_build_env BUILD_CC
|
||||
sed -Ei '/^(BUILD_|)(CC|AR|RANLIB|CFLAGS|LDFLAGS|LDCONFIG).*=/d' config.mk || die
|
||||
|
||||
# does use libc and dropping this avoids QA noise with clang (bug #895068)
|
||||
sed -i 's/-nostdlib //' config.mk || die
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_install() {
|
||||
local emakeargs=(
|
||||
DESTDIR="${D}"
|
||||
PREFIX="${EPREFIX}"/usr
|
||||
LIBPREFIX="${EPREFIX}"/usr/$(get_libdir)
|
||||
)
|
||||
|
||||
emake "${emakeargs[@]}" install
|
||||
einstalldocs
|
||||
|
||||
use static-libs || rm "${ED}"/usr/$(get_libdir)/${PN}.a || die
|
||||
}
|
||||
Reference in New Issue
Block a user