app-emacs/nxml-libvirt-schemas: add 11.10.0

Signed-off-by: Brahmajit Das <listout@listout.xyz>
Part-of: https://github.com/gentoo/gentoo/pull/44848
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Brahmajit Das
2025-12-01 17:06:58 +05:30
committed by Sam James
parent 9fdb59fab4
commit 88b4fc7a8d
2 changed files with 46 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST libvirt-11.10.0.tar.xz 10241776 BLAKE2B 1950b6d5e98e59f605ff5f5af84e71910fb9093b8c8416832d13223f03ef1dc2079ce061b81af2b3fe285bc8e07ceb14d3cdd91b0c76ae9c8e4cc05ef8dee465 SHA512 c494aa45c3989a36830d3c8b8d24ef04d5e747ea2187abb61bf72f00ab827847050da361fcf1b173bd3fa29183172798dfb2770ed04e33c2470a28bc4a976cd9
DIST libvirt-11.8.0.tar.xz 10093332 BLAKE2B bf145232235d8382f5464bcbe9d9dc5c58215a8f74921a795b894c795f99bbc2e9a3aa098ecbcbf8383a24c82c4fddc87e6dd5309804da1cfe9c1214569f3dc6 SHA512 ff905c5cc056bacfa72eeb482f6ab3c6bc79e5a81270c5f8afbceef1459d28c0701e3c7fb961162b1a87a3311ea986d53fda9d5300493991883056c20fa2df76
DIST libvirt-11.9.0.tar.xz 10145112 BLAKE2B f439c38038247832b5c92a18c615236953f2bb88b475c79836459a62645a57bb0fe100e8672dbbfb868ac16436f45245c50e473a7cda17038018a7c78ecaa250 SHA512 b1965bdcf9c0c9e7977787451b44e5ffb509ce19f79c3d7a0eca1929c3db1e0f3417abf8e67a121efee8bf2a18000c8b11812c7a8582989af51e03450f6ba5c8

View File

@@ -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}"
}