1 |
commit: 1664de2d8433e10171703554c8949d748b0cd7ce |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 4 07:12:30 2020 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 4 07:13:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1664de2d |
7 |
|
8 |
app-emulation/nemu: clean up old. |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
12 |
|
13 |
app-emulation/nemu/Manifest | 2 - |
14 |
app-emulation/nemu/nemu-2.1.0.ebuild | 69 ---------------------------------- |
15 |
app-emulation/nemu/nemu-2.2.0.ebuild | 73 ------------------------------------ |
16 |
3 files changed, 144 deletions(-) |
17 |
|
18 |
diff --git a/app-emulation/nemu/Manifest b/app-emulation/nemu/Manifest |
19 |
index 2655f742bf8..e9544c5670d 100644 |
20 |
--- a/app-emulation/nemu/Manifest |
21 |
+++ b/app-emulation/nemu/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST nemu-2.1.0.tar.gz 89117 BLAKE2B a44bf67990d79af0b73caf077266c4775f302ffc81d2394993da45870a72f462d487a92d63abdbe875c382d11b8d691f446a5e0b7270355770838ea86328fb1d SHA512 7e655227e22f5e2dd5ec1f77ef1635f1aaab2e57e417fb33d83d35cc67d7b802c35fa9174cf4282287213a1a825714743773260b96b452a382a8248fbef238bf |
24 |
-DIST nemu-2.2.0.tar.gz 94061 BLAKE2B 95304e8834f1d5c1e31065728363de5d797ae79554733dd3fecd90388b2766bc8907acfeded36676272967153eed5a7f30baba9ef2384fca67d19f3519461fa6 SHA512 2f427a560ea5ac4112b7d5cdd8524366521ca3d185676a4faa9bc480331c3381b7a362aed20025dc1acc0f576f07fb627b03137e1998926761a169c5be0eaf97 |
25 |
DIST nemu-2.2.1.tar.gz 94600 BLAKE2B 16060ee1ed00f97a442d9f6b9a3f940d9777d24dea70336e382071ce7e9f7e077d58827110f4b0d64091c5777d516e95968ed0e1d4886b9fe2a3709fb466229d SHA512 e6f244c01582351f9e0f61a0a6848937a68b8d077500d0f8095784b871e9c9809bf5830c27918e84a77a64fcee3d6f81d8a06a031160f0beddc48614eb86624a |
26 |
|
27 |
diff --git a/app-emulation/nemu/nemu-2.1.0.ebuild b/app-emulation/nemu/nemu-2.1.0.ebuild |
28 |
deleted file mode 100644 |
29 |
index 2f7326437e3..00000000000 |
30 |
--- a/app-emulation/nemu/nemu-2.1.0.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,69 +0,0 @@ |
33 |
-# Copyright 1999-2019 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
- |
38 |
-inherit cmake-utils linux-info |
39 |
- |
40 |
-DESCRIPTION="ncurses interface for QEMU" |
41 |
-HOMEPAGE="https://lib.void.so/nemu" |
42 |
-SRC_URI="http://lib.void.so/src/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="BSD-2" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="amd64 x86" |
47 |
-IUSE="+vnc-client +ovf savevm debug" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- virtual/udev:= |
51 |
- dev-db/sqlite:3= |
52 |
- virtual/libusb:1 |
53 |
- app-emulation/qemu[vnc,virtfs] |
54 |
- sys-libs/ncurses:0=[unicode] |
55 |
- ovf? ( |
56 |
- dev-libs/libxml2 |
57 |
- app-arch/libarchive |
58 |
- ) |
59 |
- vnc-client? ( net-misc/tigervnc )" |
60 |
- |
61 |
-DEPEND=" |
62 |
- ${RDEPEND} |
63 |
- sys-devel/gettext" |
64 |
- |
65 |
-src_configure() { |
66 |
- local mycmakeargs=( |
67 |
- -DNM_WITH_VNC_CLIENT=$(usex vnc-client) |
68 |
- -DNM_DEBUG=$(usex debug) |
69 |
- -DNM_SAVEVM_SNAPSHOTS=$(usex savevm) |
70 |
- -DNM_WITH_OVF_SUPPORT=$(usex ovf) |
71 |
- ) |
72 |
- cmake-utils_src_configure |
73 |
-} |
74 |
- |
75 |
-pkg_pretend() { |
76 |
- if use kernel_linux; then |
77 |
- if ! linux_config_exists; then |
78 |
- eerror "Unable to check your kernel" |
79 |
- else |
80 |
- CONFIG_CHECK="~VETH ~MACVTAP" |
81 |
- ERROR_VETH="You will need the Virtual ethernet pair device driver compiled" |
82 |
- ERROR_VETH+=" into your kernel or loaded as a module to use the" |
83 |
- ERROR_VETH+=" local network settings feature." |
84 |
- ERROR_MACVTAP="You will also need support for MAC-VLAN based tap driver." |
85 |
- |
86 |
- check_extra_config |
87 |
- fi |
88 |
- fi |
89 |
-} |
90 |
- |
91 |
-pkg_postinst() { |
92 |
- elog "For non-root usage execute script:" |
93 |
- elog "/usr/share/nemu/scripts/setup_nemu_nonroot.sh linux <username>" |
94 |
- elog "and add udev rule:" |
95 |
- elog "cp /usr/share/nemu/scripts/42-net-macvtap-perm.rules /lib/udev/rules.d" |
96 |
- if use savevm; then |
97 |
- elog "" |
98 |
- elog "QEMU must be patched with qemu-qmp-savevm-VERSION.patch" |
99 |
- elog "Get this patch from nEMU repository" |
100 |
- fi |
101 |
-} |
102 |
|
103 |
diff --git a/app-emulation/nemu/nemu-2.2.0.ebuild b/app-emulation/nemu/nemu-2.2.0.ebuild |
104 |
deleted file mode 100644 |
105 |
index 7b885f4f50c..00000000000 |
106 |
--- a/app-emulation/nemu/nemu-2.2.0.ebuild |
107 |
+++ /dev/null |
108 |
@@ -1,73 +0,0 @@ |
109 |
-# Copyright 2019 Gentoo Authors |
110 |
-# Distributed under the terms of the GNU General Public License v2 |
111 |
- |
112 |
-EAPI=7 |
113 |
- |
114 |
-inherit cmake-utils linux-info |
115 |
- |
116 |
-DESCRIPTION="ncurses interface for QEMU" |
117 |
-HOMEPAGE="https://lib.void.so/nemu/ https://bitbucket.org/PascalRD/nemu/" |
118 |
-SRC_URI="https://lib.void.so/src/${P}.tar.gz" |
119 |
- |
120 |
-LICENSE="BSD-2" |
121 |
-SLOT="0" |
122 |
-KEYWORDS="~amd64 ~x86" |
123 |
-IUSE="debug network-map +ovf savevm spice +vnc-client" |
124 |
- |
125 |
-RDEPEND="app-emulation/qemu[vnc,virtfs,spice?] |
126 |
- dev-db/sqlite:3= |
127 |
- sys-libs/ncurses:0=[unicode] |
128 |
- virtual/libusb:1 |
129 |
- virtual/libudev:= |
130 |
- network-map? ( media-gfx/graphviz ) |
131 |
- ovf? ( |
132 |
- |
133 |
- dev-libs/libxml2:2 |
134 |
- app-arch/libarchive |
135 |
- |
136 |
- ) |
137 |
- vnc-client? ( net-misc/tigervnc )" |
138 |
- |
139 |
-DEPEND="${RDEPEND}" |
140 |
- |
141 |
-BDEPEND="sys-devel/gettext" |
142 |
- |
143 |
-pkg_pretend() { |
144 |
- if use kernel_linux; then |
145 |
- if ! linux_config_exists; then |
146 |
- eerror "Unable to check your kernel" |
147 |
- else |
148 |
- CONFIG_CHECK="~VETH ~MACVTAP" |
149 |
- ERROR_VETH="You will need the Virtual ethernet pair device driver compiled" |
150 |
- ERROR_VETH+=" into your kernel or loaded as a module to use the" |
151 |
- ERROR_VETH+=" local network settings feature." |
152 |
- ERROR_MACVTAP="You will also need support for MAC-VLAN based tap driver." |
153 |
- |
154 |
- check_extra_config |
155 |
- fi |
156 |
- fi |
157 |
-} |
158 |
- |
159 |
-src_configure() { |
160 |
- local mycmakeargs=( |
161 |
- -DNM_DEBUG=$(usex debug) |
162 |
- -DNM_WITH_NETWORK_MAP=$(usex network-map) |
163 |
- -DNM_WITH_OVF_SUPPORT=$(usex ovf) |
164 |
- -DNM_SAVEVM_SNAPSHOTS=$(usex savevm) |
165 |
- -DNM_WITH_SPICE=$(usex spice) |
166 |
- -DNM_WITH_VNC_CLIENT=$(usex vnc-client) |
167 |
- ) |
168 |
- cmake-utils_src_configure |
169 |
-} |
170 |
- |
171 |
-pkg_postinst() { |
172 |
- elog "For non-root usage execute script:" |
173 |
- elog "/usr/share/nemu/scripts/setup_nemu_nonroot.sh linux <username>" |
174 |
- elog "and add udev rule:" |
175 |
- elog "cp /usr/share/nemu/scripts/42-net-macvtap-perm.rules /lib/udev/rules.d" |
176 |
- if use savevm; then |
177 |
- elog "" |
178 |
- elog "QEMU must be patched with qemu-qmp-savevm-VERSION.patch" |
179 |
- elog "Get this patch from nEMU repository" |
180 |
- fi |
181 |
-} |