1 |
commit: 1950c5575569ac549ab503c7d40064576e422453 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 31 08:01:18 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 31 08:03:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1950c557 |
7 |
|
8 |
app-emacs/nxml-libvirt-schemas: add 8.3.0 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
app-emacs/nxml-libvirt-schemas/Manifest | 1 + |
13 |
.../nxml-libvirt-schemas-8.3.0.ebuild | 34 ++++++++++++++++++++++ |
14 |
2 files changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/app-emacs/nxml-libvirt-schemas/Manifest b/app-emacs/nxml-libvirt-schemas/Manifest |
17 |
index e0683ad7b794..697e83cbe84f 100644 |
18 |
--- a/app-emacs/nxml-libvirt-schemas/Manifest |
19 |
+++ b/app-emacs/nxml-libvirt-schemas/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST libvirt-5.8.0.tar.xz 13129328 BLAKE2B ff49b0b6dca86f35c68edfb880677c88e0aed8021ed01ebd145922821914edd70c355ca777fe470e2b0e4baf36f2813c1100be9377344f81c9df374068307da1 SHA512 73d18fdf307b8029921a9f1a0c84ca31c50c662a3c0339e3850d6d2f31574168807a6f34943b286ed86a44031decbbc1339f27366da7269e29d38c7094503113 |
22 |
DIST libvirt-7.10.0.tar.xz 8798000 BLAKE2B 6cb2ab5913d382b11d24b46154dc3250355050cd3038f64ba571b35f33ae5bd0a322d4b96469bd6c78fd848c87f2e6fc7213c33e5bdb9d375a9b81d2a40899bb SHA512 c7eecc9538b68852a8cc67565566d64ec7b087b6f009858b2eb524bc3ef0f6ca3c0da67edf801e6a3ae3fcc0364e65e108fa92bcb01ee810c85fa5f37785aa32 |
23 |
+DIST libvirt-8.3.0.tar.xz 8829288 BLAKE2B 37890dac8f46e14c5f0329f7f3318b611bfe3b97b7beddcdb91541e71a619738baa2a3e9847fee2d0b63abb630895860555a5337686702fc6fb06cc4f060f8b5 SHA512 914c8a4884d703f368849b852ba8330d1b17cf598a359f70d344e0a94e02f60337216e9011cbeba90eb4e87fa644e7eb9e8a407ca58632b2b41511d3f598ff71 |
24 |
|
25 |
diff --git a/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.3.0.ebuild b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.3.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..c886cdea2159 |
28 |
--- /dev/null |
29 |
+++ b/app-emacs/nxml-libvirt-schemas/nxml-libvirt-schemas-8.3.0.ebuild |
30 |
@@ -0,0 +1,34 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit elisp |
37 |
+ |
38 |
+MY_P="libvirt-${PV}" |
39 |
+DESCRIPTION="Extension for nxml-mode with libvirt schemas" |
40 |
+HOMEPAGE="http://www.libvirt.org/" |
41 |
+SRC_URI="http://libvirt.org/sources/${MY_P}.tar.xz" |
42 |
+S="${WORKDIR}/${MY_P%-rc*}/src/conf/schemas" |
43 |
+ |
44 |
+# This is the license of the package, but the schema files are |
45 |
+# provided without license, maybe it's bad. |
46 |
+LICENSE="LGPL-2.1+" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+ |
50 |
+# Yes this requires Java, but I'd rather not repackage this, if you |
51 |
+# know something better in C, I'll be glad to use that. |
52 |
+BDEPEND="app-text/trang" |
53 |
+ |
54 |
+SITEFILE="60${PN}-gentoo.el" |
55 |
+ |
56 |
+src_compile() { |
57 |
+ emake -f "${FILESDIR}"/Makefile-trang |
58 |
+} |
59 |
+ |
60 |
+src_install() { |
61 |
+ insinto "${SITEETC}/${PN}" |
62 |
+ doins "${FILESDIR}"/schemas.xml *.rnc |
63 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
64 |
+} |