diff options
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/nxml-libvirt-schemas/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-10.6.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-emacs/nxml-libvirt-schemas/Manifest b/app-emacs/nxml-libvirt-schemas/Manifest index d4a55fa0948b..32d6a2db6e4c 100644 --- a/app-emacs/nxml-libvirt-schemas/Manifest +++ b/app-emacs/nxml-libvirt-schemas/Manifest @@ -3,5 +3,6 @@ DIST libvirt-10.1.0.tar.xz 9444244 BLAKE2B bfdce9d067e3a319b81d867d27f1a6b4e724a DIST libvirt-10.2.0.tar.xz 9466588 BLAKE2B 7ee6f4bdbb6a22f1b3c5c0326d41e269e8a5a07e41bc4f9a17fd023f3e33e46735066656dffa3004e1f36d46324270351593c89f60106933042e8a19a2aa64e6 SHA512 65faf2346e66bdba606ba99b9e4da2be8bd94ef42ac49c2801f9e9253ceea10f5fe772d5c7ada59f48aa34ff528726719b690c3acfd3e63a5c3580db17b023ae DIST libvirt-10.3.0.tar.xz 9476852 BLAKE2B 8c47840113904d72aeb1e9bf900a99a8b0e3d41391c9a8fee4277f2793f18fefc50d113e8cbea52dedfd03b93f430416bcd25fe90ee6820c95ac6f468b84212f SHA512 dd2b151a19877e57e11b582b1c11542319f8b7b7cd3d7d51304442aa7d5eb1a8490d2887d340191c3ecc561320ea453773763083364579de0a40ada9c244fc59 DIST libvirt-10.5.0.tar.xz 9530296 BLAKE2B 59b6b114e6d4c4752839775ec22b17f530ac86f0252647b312b7f98e9ba856d949727eed5cb47b6b92589e2ce2587fe02505d6653a4e7ba3a3685b5c81a8ebc0 SHA512 e4976849cff7bdae0b7fda0644490f0ca743efc11c35a2fae45bb0f6f467b85644c1d04d1f3d1b10affdc6d9b8dcc0a3c255e527e0bdd73cdd4d1c81d5c418e7 +DIST libvirt-10.6.0.tar.xz 9481992 BLAKE2B 68d88ba7f6d5f74d6ad8753a7716902596338811e9c02b09ba6fbdcc60936abf9509bf5cc300446240fa5dd5d2f779c319bca0a22eadea32b49a758b71524857 SHA512 edec79e89669d5e9a46be35e0d6334a6ed3bbf32426679549bd998bde24cba52b0378843f41a3abb5d781ad53e2a6a54619a0bad3f168c11fb41736cc6af6568 DIST libvirt-9.8.0.tar.xz 9307064 BLAKE2B aae47e8d4eeaf97532a0356de23ed5a9eea71b369d025eda95b5fd74576779eb4b843d05df6c87b79a14f218c341953749e319ee7244846a2db410a74a746880 SHA512 0118725073de33eec3fa3e4616d3154707f9828fdb9ec973f503fe68f18eab72b9704da660f281152630ddc95e605c786673af9d23dc9bdfc0108422e0efbd41 DIST libvirt-9.9.0.tar.xz 9321556 BLAKE2B 21eae5a95feaf7f5c6ba8dd48732c08212904882a11c48eccfa827d85ddc3df7e064503f21710dbe1b678670e02f003674de915a43a7403fbf85685c4832e21d SHA512 77cea28acf4f3e8c92fbd5bd72ad084be183c07f14e3a9ce35d6d9d62d36ee97a30cef55fb204b3e43f282890ecd7d5827a784a517e7f4ed8b22ee502c3f09d7 diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-10.6.0.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-10.6.0.ebuild new file mode 100644 index 000000000000..16945cb9e2ff --- /dev/null +++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-10.6.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 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://libvirt.org/sources/${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 ~x86" + +# 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}" +} |