summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/nemu/Manifest1
-rw-r--r--app-emulation/nemu/nemu-1.2.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/app-emulation/nemu/Manifest b/app-emulation/nemu/Manifest
index 88319548c808..a370be507801 100644
--- a/app-emulation/nemu/Manifest
+++ b/app-emulation/nemu/Manifest
@@ -1 +1,2 @@
DIST nemu-1.1.0.tar.gz 52456 SHA256 da9df77ab2579890b2513ac78bac1a3bff3789d1fee326b31acd77a94c59f4dd SHA512 d0eb1b0df61f417fe25295c4f2d0c54d8f11153f03afd8e2fb5f59122558f1e5d1021d73b0b6a4e13dc80c4eabb8a20eabccf472ff4d5c82f27eefa83a5c773d WHIRLPOOL 91a775f67fc197b840a9f9d047b6144e0d109ed4acfd130f08fc5bc2d1f9827e907f2664ec5ef773717fcaa1e111d3ec78cd6e5b6ea2e781ee27242ae771572c
+DIST nemu-1.2.0.tar.gz 61953 SHA256 d60e2e9d58d5448718be6966aa08c0e00be7fd9578a4684ff8c56011e0a0b2b3 SHA512 a91c31c4161369d42cb1b9e66c312db760b899c5f444a4d1d22cda39036a14b1a2c83e6fee5470282e13555771ce6704258da0ce6f76ae10343bb5f581eab514 WHIRLPOOL 69bc477b991a980e791878084199fc5d4988769604b6ebd03d4f707d4eb819d3cdd6728cc498714a82f4647c36babb21f0f3191e7bd568e26b5cc5173fd377dd
diff --git a/app-emulation/nemu/nemu-1.2.0.ebuild b/app-emulation/nemu/nemu-1.2.0.ebuild
new file mode 100644
index 000000000000..93bfd51e27f3
--- /dev/null
+++ b/app-emulation/nemu/nemu-1.2.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="ncurses interface for QEMU"
+HOMEPAGE="https://unixdev.ru/nemu"
+SRC_URI="http://unixdev.ru/src/${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+vnc debug"
+
+RDEPEND="
+ virtual/udev
+ virtual/libusb:1=
+ dev-db/sqlite:3=
+ sys-libs/ncurses:0=[unicode]
+ app-emulation/qemu[vnc]
+ vnc? ( net-misc/tigervnc )"
+
+DEPEND="
+ ${RDEPEND}
+ sys-devel/gettext"
+
+src_configure() {
+ local mycmakeargs=(
+ -DNM_WITH_VNC_CLIENT=$(usex vnc)
+ -DNM_DEBUG=$(usex debug)
+ )
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ elog "Old database is not supported (nEMU versions < 1.0.0)."
+ elog "You will need to delete current database."
+ elog "If upgraded from 1.0.0, execute script:"
+ elog "/usr/share/nemu/scripts/upgrade_db.sh"
+}