1 |
commit: 10a139f721a67e8ef8940b5e84ce38f3871cd716 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 7 21:58:00 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 7 21:58:00 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10a139f7 |
7 |
|
8 |
app-emulation/nemu: new package. |
9 |
|
10 |
nEMU a ncurses interface for QEMU. |
11 |
|
12 |
Gentoo-Bug: https://bugs.gentoo.org/615922 |
13 |
|
14 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
15 |
|
16 |
app-emulation/nemu/Manifest | 1 + |
17 |
app-emulation/nemu/metadata.xml | 16 ++++++++++++++ |
18 |
app-emulation/nemu/nemu-1.1.0.ebuild | 42 ++++++++++++++++++++++++++++++++++++ |
19 |
3 files changed, 59 insertions(+) |
20 |
|
21 |
diff --git a/app-emulation/nemu/Manifest b/app-emulation/nemu/Manifest |
22 |
new file mode 100644 |
23 |
index 00000000000..88319548c80 |
24 |
--- /dev/null |
25 |
+++ b/app-emulation/nemu/Manifest |
26 |
@@ -0,0 +1 @@ |
27 |
+DIST nemu-1.1.0.tar.gz 52456 SHA256 da9df77ab2579890b2513ac78bac1a3bff3789d1fee326b31acd77a94c59f4dd SHA512 d0eb1b0df61f417fe25295c4f2d0c54d8f11153f03afd8e2fb5f59122558f1e5d1021d73b0b6a4e13dc80c4eabb8a20eabccf472ff4d5c82f27eefa83a5c773d WHIRLPOOL 91a775f67fc197b840a9f9d047b6144e0d109ed4acfd130f08fc5bc2d1f9827e907f2664ec5ef773717fcaa1e111d3ec78cd6e5b6ea2e781ee27242ae771572c |
28 |
|
29 |
diff --git a/app-emulation/nemu/metadata.xml b/app-emulation/nemu/metadata.xml |
30 |
new file mode 100644 |
31 |
index 00000000000..b6f3889baf5 |
32 |
--- /dev/null |
33 |
+++ b/app-emulation/nemu/metadata.xml |
34 |
@@ -0,0 +1,16 @@ |
35 |
+<?xml version="1.0" encoding="UTF-8"?> |
36 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
37 |
+<pkgmetadata> |
38 |
+ <upstream> |
39 |
+ <remote-id type="google-code">cofoja</remote-id> |
40 |
+ <remote-id type="github">nhatminhle/cofoja</remote-id> |
41 |
+ </upstream> |
42 |
+ <maintainer type="person"> |
43 |
+ <email>monsieurp@g.o</email> |
44 |
+ <name>Patrice Clement</name> |
45 |
+ </maintainer> |
46 |
+<maintainer type="project"> |
47 |
+ <email>java@g.o</email> |
48 |
+ <name>Java</name> |
49 |
+ </maintainer> |
50 |
+</pkgmetadata> |
51 |
|
52 |
diff --git a/app-emulation/nemu/nemu-1.1.0.ebuild b/app-emulation/nemu/nemu-1.1.0.ebuild |
53 |
new file mode 100644 |
54 |
index 00000000000..93bfd51e27f |
55 |
--- /dev/null |
56 |
+++ b/app-emulation/nemu/nemu-1.1.0.ebuild |
57 |
@@ -0,0 +1,42 @@ |
58 |
+# Copyright 1999-2017 Gentoo Foundation |
59 |
+# Distributed under the terms of the GNU General Public License v2 |
60 |
+ |
61 |
+EAPI=6 |
62 |
+ |
63 |
+inherit cmake-utils |
64 |
+ |
65 |
+DESCRIPTION="ncurses interface for QEMU" |
66 |
+HOMEPAGE="https://unixdev.ru/nemu" |
67 |
+SRC_URI="http://unixdev.ru/src/${P}.tar.gz" |
68 |
+ |
69 |
+LICENSE="BSD-2" |
70 |
+SLOT="0" |
71 |
+KEYWORDS="~amd64 ~x86" |
72 |
+IUSE="+vnc debug" |
73 |
+ |
74 |
+RDEPEND=" |
75 |
+ virtual/udev |
76 |
+ virtual/libusb:1= |
77 |
+ dev-db/sqlite:3= |
78 |
+ sys-libs/ncurses:0=[unicode] |
79 |
+ app-emulation/qemu[vnc] |
80 |
+ vnc? ( net-misc/tigervnc )" |
81 |
+ |
82 |
+DEPEND=" |
83 |
+ ${RDEPEND} |
84 |
+ sys-devel/gettext" |
85 |
+ |
86 |
+src_configure() { |
87 |
+ local mycmakeargs=( |
88 |
+ -DNM_WITH_VNC_CLIENT=$(usex vnc) |
89 |
+ -DNM_DEBUG=$(usex debug) |
90 |
+ ) |
91 |
+ cmake-utils_src_configure |
92 |
+} |
93 |
+ |
94 |
+pkg_postinst() { |
95 |
+ elog "Old database is not supported (nEMU versions < 1.0.0)." |
96 |
+ elog "You will need to delete current database." |
97 |
+ elog "If upgraded from 1.0.0, execute script:" |
98 |
+ elog "/usr/share/nemu/scripts/upgrade_db.sh" |
99 |
+} |