commit: 1c529a94409f9ff90f61923926681efe7c8430a4 Author: Brahmajit Das <listout <AT> listout <DOT> xyz> AuthorDate: Sat Nov 29 13:05:55 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Dec 1 01:22:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c529a94
app-emacs/nxml-libvirt-schemas: add 11.9.0 Signed-off-by: Brahmajit Das <listout <AT> listout.xyz> Part-of: https://github.com/gentoo/gentoo/pull/44816 Signed-off-by: Sam James <sam <AT> gentoo.org> app-emacs/nxml-libvirt-schemas/Manifest | 1 + .../nxml-libvirt-schemas-11.9.0.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/app-emacs/nxml-libvirt-schemas/Manifest b/app-emacs/nxml-libvirt-schemas/Manifest index 4b2e43c614d6..dccf9eef9467 100644 --- a/app-emacs/nxml-libvirt-schemas/Manifest +++ b/app-emacs/nxml-libvirt-schemas/Manifest @@ -1 +1,2 @@ DIST libvirt-11.8.0.tar.xz 10093332 BLAKE2B bf145232235d8382f5464bcbe9d9dc5c58215a8f74921a795b894c795f99bbc2e9a3aa098ecbcbf8383a24c82c4fddc87e6dd5309804da1cfe9c1214569f3dc6 SHA512 ff905c5cc056bacfa72eeb482f6ab3c6bc79e5a81270c5f8afbceef1459d28c0701e3c7fb961162b1a87a3311ea986d53fda9d5300493991883056c20fa2df76 +DIST libvirt-11.9.0.tar.xz 10145112 BLAKE2B f439c38038247832b5c92a18c615236953f2bb88b475c79836459a62645a57bb0fe100e8672dbbfb868ac16436f45245c50e473a7cda17038018a7c78ecaa250 SHA512 b1965bdcf9c0c9e7977787451b44e5ffb509ce19f79c3d7a0eca1929c3db1e0f3417abf8e67a121efee8bf2a18000c8b11812c7a8582989af51e03450f6ba5c8 diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-11.9.0.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-11.9.0.ebuild new file mode 100644 index 000000000000..a08694d1726a --- /dev/null +++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-11.9.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Packages which get releases together: +# app-emacs/nxml-libvirt-schemas +# dev-python/libvirt-python +# dev-perl/Sys-Virt +# app-emulation/libvirt +# Please bump them together! + +inherit elisp + +MY_P="libvirt-${PV}" +DESCRIPTION="Extension for nxml-mode with libvirt schemas" +HOMEPAGE="https://www.libvirt.org/" +SRC_URI="https://download.libvirt.org/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P%-rc*}/src/conf/schemas" + +# This is the license of the package, but the schema files are +# provided without license, maybe it's bad. +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64" + +# Yes this requires Java, but I'd rather not repackage this, if you +# know something better in C, I'll be glad to use that. +BDEPEND="app-text/trang" + +SITEFILE="60${PN}-gentoo.el" + +src_compile() { + emake -f - <<'EOF' +all: $(patsubst %.rng,%.rnc,$(wildcard *.rng)) +%.rnc: %.rng + trang -I rng -O rnc $< $@ +EOF +} + +src_install() { + insinto "${SITEETC}/${PN}" + doins "${FILESDIR}"/schemas.xml *.rnc + elisp-site-file-install "${FILESDIR}/${SITEFILE}" +}
