Gentoo Archives: gentoo-commits

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