diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-16 10:53:11 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-16 10:53:11 -0500 |
| commit | 8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b (patch) | |
| tree | bb1e83c18d1cc77cdebfc5aeb9b12ad39c9787b5 /dev-libs/cxx-rust-cssparser | |
| parent | f997c3ee588099e4f43e9ec845935868e3e60b8e (diff) | |
| download | baldeagleos-repo-8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b.tar.gz baldeagleos-repo-8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b.tar.xz baldeagleos-repo-8e65dc62f3f9f6b8f7b890fefedbf4ac05dfde0b.zip | |
Adding metadata
Diffstat (limited to 'dev-libs/cxx-rust-cssparser')
| -rw-r--r-- | dev-libs/cxx-rust-cssparser/Manifest | 2 | ||||
| -rw-r--r-- | dev-libs/cxx-rust-cssparser/cxx-rust-cssparser-1.0.0.ebuild | 49 | ||||
| -rw-r--r-- | dev-libs/cxx-rust-cssparser/metadata.xml | 12 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-libs/cxx-rust-cssparser/Manifest b/dev-libs/cxx-rust-cssparser/Manifest new file mode 100644 index 000000000000..bc093c7be2ad --- /dev/null +++ b/dev-libs/cxx-rust-cssparser/Manifest @@ -0,0 +1,2 @@ +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 diff --git a/dev-libs/cxx-rust-cssparser/cxx-rust-cssparser-1.0.0.ebuild b/dev-libs/cxx-rust-cssparser/cxx-rust-cssparser-1.0.0.ebuild new file mode 100644 index 000000000000..e257cbf36fa4 --- /dev/null +++ b/dev-libs/cxx-rust-cssparser/cxx-rust-cssparser-1.0.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.85.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 ~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 +} diff --git a/dev-libs/cxx-rust-cssparser/metadata.xml b/dev-libs/cxx-rust-cssparser/metadata.xml new file mode 100644 index 000000000000..54c694587fe1 --- /dev/null +++ b/dev-libs/cxx-rust-cssparser/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <upstream> + <bugs-to>https://bugs.kde.org/enter_bug.cgi?product=cxx-rust-cssparser</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
