1 |
commit: a578572371bf39ade29083fb2d9b46a2b06bed9c |
2 |
Author: Pavel Balaev <mail <AT> void <DOT> so> |
3 |
AuthorDate: Wed Oct 13 08:19:47 2021 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 27 06:48:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5785723 |
7 |
|
8 |
app-emulation/nemu: version bump to 3.0.0. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/817821 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/22569 |
12 |
|
13 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
14 |
Signed-off-by: Pavel Balaev <mail <AT> void.so> |
15 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
16 |
|
17 |
app-emulation/nemu/Manifest | 2 +- |
18 |
app-emulation/nemu/metadata.xml | 10 +++++++++- |
19 |
.../nemu/{nemu-2.5.0-r1.ebuild => nemu-3.0.0.ebuild} | 18 +++++++++++------- |
20 |
3 files changed, 21 insertions(+), 9 deletions(-) |
21 |
|
22 |
diff --git a/app-emulation/nemu/Manifest b/app-emulation/nemu/Manifest |
23 |
index 52a97fcdc535..c625274b1045 100644 |
24 |
--- a/app-emulation/nemu/Manifest |
25 |
+++ b/app-emulation/nemu/Manifest |
26 |
@@ -1 +1 @@ |
27 |
-DIST nemu-2.5.0.tar.gz 108742 BLAKE2B e68cbf50d56983873656d8e3428cb3ffaa09cafc9cbc8e545d72bf9dfb61e64a06bdc41c3f50011c4c488017efe33afe9fa1d634aae6e9151c45a7d3971c60db SHA512 081199413c41e545d23704091760c4a10b8dcdb21d9d0e6add1e549fa33bdd988490034767e08dee681eee6d06899104b8282cafc4578e06a0eabc505325bbdc |
28 |
+DIST nemu-3.0.0.tar.gz 151223 BLAKE2B a71875eb727eed13bc252cee072e1c5b25bf7ea106f51ddddfb8e8bfacf21e030b1c4045de2353d40121b78756b131de1a376891197f6d553430b4b30f53bf3e SHA512 59dae5364659dda5d7c05ba6378b6e20c5d2c5b619cb919c49036918a887574b75f5d568cbfa8f21ecf790778c9de55266f5c5e3e90cc991f613a6408b10a1df |
29 |
|
30 |
diff --git a/app-emulation/nemu/metadata.xml b/app-emulation/nemu/metadata.xml |
31 |
index 8976af299f5d..0d69beebd2d0 100644 |
32 |
--- a/app-emulation/nemu/metadata.xml |
33 |
+++ b/app-emulation/nemu/metadata.xml |
34 |
@@ -5,11 +5,19 @@ |
35 |
<email>monsieurp@g.o</email> |
36 |
<name>Patrice Clement</name> |
37 |
</maintainer> |
38 |
+ <maintainer type="person" proxied="yes"> |
39 |
+ <email>mail@××××.so</email> |
40 |
+ <name>Pavel Balaev</name> |
41 |
+ </maintainer> |
42 |
+ <maintainer type="project" proxied="proxy"> |
43 |
+ <email>proxy-maint@g.o</email> |
44 |
+ <name>Proxy Maintainers</name> |
45 |
+ </maintainer> |
46 |
<use> |
47 |
<flag name="vnc-client">Adds support for external VNC client</flag> |
48 |
- <flag name="savevm">Adds support for QEMU savevm snapshots (experimental, QEMU must be patched)</flag> |
49 |
<flag name="spice">Adds Spice protocol support</flag> |
50 |
<flag name="ovf">Adds support for OVA/OVF import</flag> |
51 |
<flag name="network-map">Adds possibility of exporting network map to SVG</flag> |
52 |
+ <flag name="remote-api">Adds API for remote control</flag> |
53 |
</use> |
54 |
</pkgmetadata> |
55 |
|
56 |
diff --git a/app-emulation/nemu/nemu-2.5.0-r1.ebuild b/app-emulation/nemu/nemu-3.0.0.ebuild |
57 |
similarity index 85% |
58 |
rename from app-emulation/nemu/nemu-2.5.0-r1.ebuild |
59 |
rename to app-emulation/nemu/nemu-3.0.0.ebuild |
60 |
index 30d137f15fd9..503a514f8dfa 100644 |
61 |
--- a/app-emulation/nemu/nemu-2.5.0-r1.ebuild |
62 |
+++ b/app-emulation/nemu/nemu-3.0.0.ebuild |
63 |
@@ -13,12 +13,13 @@ SRC_URI="https://github.com/nemuTUI/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.g |
64 |
|
65 |
LICENSE="BSD-2" |
66 |
SLOT="0" |
67 |
-KEYWORDS="amd64 x86" |
68 |
-IUSE="dbus network-map +ovf +savevm spice +vnc-client" |
69 |
+KEYWORDS="~amd64 ~x86" |
70 |
+IUSE="dbus network-map +ovf spice +vnc-client remote-api" |
71 |
|
72 |
RDEPEND=" |
73 |
- app-emulation/qemu[vnc,virtfs,spice?] |
74 |
+ >=app-emulation/qemu-6.0.0-r3[vnc,virtfs,spice?] |
75 |
dev-db/sqlite:3= |
76 |
+ dev-libs/json-c |
77 |
sys-libs/ncurses:=[unicode(+)] |
78 |
virtual/libusb:1 |
79 |
virtual/libudev:= |
80 |
@@ -28,6 +29,7 @@ RDEPEND=" |
81 |
dev-libs/libxml2:2 |
82 |
app-arch/libarchive:= |
83 |
) |
84 |
+ remote-api? ( dev-libs/openssl ) |
85 |
spice? ( app-emulation/virt-viewer ) |
86 |
vnc-client? ( net-misc/tigervnc ) |
87 |
" |
88 |
@@ -51,14 +53,11 @@ pkg_pretend() { |
89 |
} |
90 |
|
91 |
src_configure() { |
92 |
- # -DNM_USE_UTF: Enable unicode unconditionally. We already |
93 |
- # depended on ncurses[unicode]. |
94 |
# -DNM_WITH_QEMU: Do not embbed qemu. |
95 |
local mycmakeargs=( |
96 |
- -DNM_SAVEVM_SNAPSHOTS=$(usex savevm) |
97 |
- -DNM_USE_UTF=on |
98 |
-DNM_WITH_DBUS=$(usex dbus) |
99 |
-DNM_WITH_NETWORK_MAP=$(usex network-map) |
100 |
+ -DNM_WITH_REMOTE=$(usex remote-api) |
101 |
-DNM_WITH_OVF_SUPPORT=$(usex ovf) |
102 |
-DNM_WITH_QEMU=off |
103 |
-DNM_WITH_SPICE=$(usex spice) |
104 |
@@ -67,6 +66,11 @@ src_configure() { |
105 |
cmake_src_configure |
106 |
} |
107 |
|
108 |
+src_install() { |
109 |
+ cmake_src_install |
110 |
+ docompress -x /usr/share/man/man1/nemu.1.gz |
111 |
+} |
112 |
+ |
113 |
pkg_postinst() { |
114 |
elog "For non-root usage execute script:" |
115 |
elog "/usr/share/nemu/scripts/setup_nemu_nonroot.sh linux <username>" |