summaryrefslogtreecommitdiff
path: root/dev-libs/cxx-rust-cssparser
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-09-11 01:41:34 -0500
committerroot <root@alpha.trunkmasters.com>2026-09-11 01:41:34 -0500
commitfc39c62a8944e95c0ecccfc9781763822b23e66c (patch)
tree11feafa0dbddccf6fcd9dabb290b0ce5faafec36 /dev-libs/cxx-rust-cssparser
parent98068fb4a1502cade02134b1834439134ca4eed1 (diff)
downloadbaldeagleos-repo-fc39c62a8944e95c0ecccfc9781763822b23e66c.tar.gz
baldeagleos-repo-fc39c62a8944e95c0ecccfc9781763822b23e66c.tar.xz
baldeagleos-repo-fc39c62a8944e95c0ecccfc9781763822b23e66c.zip
Adding metadata
Diffstat (limited to 'dev-libs/cxx-rust-cssparser')
-rw-r--r--dev-libs/cxx-rust-cssparser/Manifest2
-rw-r--r--dev-libs/cxx-rust-cssparser/cxx-rust-cssparser-1.1.0.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/cxx-rust-cssparser/Manifest b/dev-libs/cxx-rust-cssparser/Manifest
index bc093c7be2ad..c397e79b0f86 100644
--- a/dev-libs/cxx-rust-cssparser/Manifest
+++ b/dev-libs/cxx-rust-cssparser/Manifest
@@ -1,2 +1,4 @@
DIST cxx-rust-cssparser-1.0.0-crates.tar.xz 3701580 BLAKE2B 8f105353145e2ada60efbaff22e017c2ac37b1872311c387b83de0af3071af2c4cd3908a33c46792000a600f577e5cf94d6de102285bf39e52f1f917ccda8d60 SHA512 d3014606e8f02bc159af3505dc3ed78882715edab8ffd2d859bfe23599041f23690ccc5bbf8b74ce6aa26ff53ec080d879b099e1fa0b9fec680d590a3b0ebef8
DIST cxx-rust-cssparser-1.0.0.tar.xz 55448 BLAKE2B f22e897bd26a2b0565eea4dd1b7a99b742c0be3dcd97bb3ad46f00e05f00970b9381bd50c624af20a471374f0804e44dd326818f5391b722be8a0fdf053dbf6b SHA512 6fb0f7deb6e3bfcfdc120677e4a9c83f6923531ef92cb97175973c730f3fbc22a168330e788759a2605caa386d061d16771a7ed7080a2539d4ccf67a9b4e83fe
+DIST cxx-rust-cssparser-1.1.0-crates.tar.xz 3788200 BLAKE2B d96c58739ffc0dfb8668d2973953e8b8b6a187f3a55aa1084987a48fcb0d3164d4eccad6480132627b770db9e2f05f0036c0f7311b7df4d3e4e7096f21cf5c8d SHA512 712c669e336b46f52f1a8b21a7d30efc509b0e5df314b741914c8134d21647f006c5bf6bc5b09777cd7edb828a562449e94bf05358f5cd9fce902c9daaef414f
+DIST cxx-rust-cssparser-1.1.0.tar.xz 55844 BLAKE2B 9f7a19ca634c1e39dfc326bd190a3a425e35603fabcb1fbc008671183a9063bef3580e72db6c12d9d00f35c9282d40922f7cf7106af8a75dfa24aa8d22c4d050 SHA512 13575fe98644dda543c6f1c114e750a5a25502c75b89477282eac9d956f87834a2126d6c2cc357f6fcff99c7eb304d290e9f928800747cf7e4d405b22febb793
diff --git a/dev-libs/cxx-rust-cssparser/cxx-rust-cssparser-1.1.0.ebuild b/dev-libs/cxx-rust-cssparser/cxx-rust-cssparser-1.1.0.ebuild
new file mode 100644
index 000000000000..e9b79ca1ddc9
--- /dev/null
+++ b/dev-libs/cxx-rust-cssparser/cxx-rust-cssparser-1.1.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+"
+RUST_MIN_VER="1.88.0"
+
+# TODO: ECMGenerateQDoc
+ECM_TEST="true"
+# KDE_VERIFY_SIG=1
+KFMIN=6.22.0
+inherit cargo ecm flag-o-matic kde.org
+
+DESCRIPTION="C++ library for parsing CSS that uses the Rust cssparser crate internally"
+HOMEPAGE="https://invent.kde.org/libraries/cxx-rust-cssparser"
+
+if [[ ${KDE_BUILD_TYPE} == release ]]; then
+ SRC_URI="mirror://kde/stable/${KDE_ORG_NAME}/${KDE_ORG_NAME}-${PV}.tar.xz"
+ # if [[ -n ${KDE_VERIFY_SIG} ]]; then
+ # SRC_URI+=" verify-sig? ( mirror://kde/stable/${KDE_ORG_NAME}/${KDE_ORG_NAME}-${PV}.tar.xz.sig )"
+ # fi
+ if [[ ${PKGBUMPING} != ${PVR} ]]; then
+ SRC_URI+=" https://github.com/gentoo-crate-dist/${PN}/releases/download/v${PV}/${P}-crates.tar.xz"
+ fi
+ KEYWORDS="~amd64 ~riscv ~x86"
+fi
+
+LICENSE="BSD-2 CC0-1.0 || ( LGPL-2.1 LGPL-3 )"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 MIT MPL-2.0 Unicode-3.0 ZLIB"
+SLOT="0"
+
+BDEPEND="dev-build/corrosion"
+
+# bug 976796: necessary kde.org changes are not in ::gentoo yet
+src_unpack() {
+ cargo_src_unpack
+ default
+}
+
+src_configure() {
+ # Rust extensions are incompatible with C/C++ LTO compiler see e.g.
+ # https://bugs.gentoo.org/910220
+ filter-lto
+
+ ecm_src_configure
+}