diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2018-02-21 18:17:50 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-02-20 21:26:25 +0100 |
commit | 2fb923d758749be609c1daab2a72ad4f1ec4c2a9 (patch) | |
tree | cdeccff124a74fc8dfcf1febc7a7bdcc7c3285e1 /app-emulation/nemu | |
parent | dev-python/ebuildtester: Fix missing install (diff) | |
download | gentoo-2fb923d758749be609c1daab2a72ad4f1ec4c2a9.tar.gz gentoo-2fb923d758749be609c1daab2a72ad4f1ec4c2a9.tar.bz2 gentoo-2fb923d758749be609c1daab2a72ad4f1ec4c2a9.zip |
app-emulation/nemu: version bump to 1.4.0.
Closes: https://bugs.gentoo.org/648086
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-emulation/nemu')
-rw-r--r-- | app-emulation/nemu/Manifest | 1 | ||||
-rw-r--r-- | app-emulation/nemu/nemu-1.4.0.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/app-emulation/nemu/Manifest b/app-emulation/nemu/Manifest index 79f8f578e6d8..2cd68b8620ea 100644 --- a/app-emulation/nemu/Manifest +++ b/app-emulation/nemu/Manifest @@ -1,3 +1,4 @@ DIST nemu-1.1.0.tar.gz 52456 BLAKE2B cc8d0619aaba914cd182714ac3b3c63add58d92ac8eb41457c195310b47d133ebc0f995a122e0ebd56dad17f118c4f573006d76fdfc8c8ad2310be4df12bba24 SHA512 d0eb1b0df61f417fe25295c4f2d0c54d8f11153f03afd8e2fb5f59122558f1e5d1021d73b0b6a4e13dc80c4eabb8a20eabccf472ff4d5c82f27eefa83a5c773d DIST nemu-1.2.0.tar.gz 61953 BLAKE2B fa5c323b5d4808c812361ec49e1cb4d91f12f0da102a80868ec016d5284806d4fabb3dfdc100b43276bba71f03534b9c1703c2ef57c044e4ed36d7833506c64f SHA512 a91c31c4161369d42cb1b9e66c312db760b899c5f444a4d1d22cda39036a14b1a2c83e6fee5470282e13555771ce6704258da0ce6f76ae10343bb5f581eab514 DIST nemu-1.3.0.tar.gz 70769 BLAKE2B 73108346c70f7ececd2b20cc91da323f2ecb40491400cd135825b44cfa7dbd3285b3a6de36d815c46d9655a7c23571084b321bc3deca5a6f564dae852b846120 SHA512 0ca74a3d0ef1f8032d74cecef71518c18b839dcab5deb2ec221aa47159bf40345517d1b8ec80bf1ff268b9b7dbcd90301ad3594583ddf75d517a23545db23c26 +DIST nemu-1.4.0.tar.gz 84398 BLAKE2B 46ed3dfa392e8be472047612f4131e80ae3675c30b975320dbd21672bb8c5b3fc74dc0c5d1c4a5397f04c4bd725902d3f9b7d10808cab10fc89bb8199568cc10 SHA512 262b2eb7ead79b644110ecd4ea1858ef8d9775f3076e4df9f9c83149c148baf2b6db4645395301fabbda07f1e9e5577fe4f56a7eee010433ce02aa298fcee1a5 diff --git a/app-emulation/nemu/nemu-1.4.0.ebuild b/app-emulation/nemu/nemu-1.4.0.ebuild new file mode 100644 index 000000000000..490f99df8827 --- /dev/null +++ b/app-emulation/nemu/nemu-1.4.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils linux-info + +DESCRIPTION="ncurses interface for QEMU" +HOMEPAGE="https://lib.void.so/nemu" +SRC_URI="http://lib.void.so/src/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+vnc-client +ovf savevm debug" + +RDEPEND=" + virtual/udev:= + dev-db/sqlite:3= + virtual/libusb:1 + app-emulation/qemu[vnc,virtfs] + sys-libs/ncurses:0=[unicode] + ovf? ( + dev-libs/libxml2 + app-arch/libarchive + ) + vnc-client? ( net-misc/tigervnc )" + +DEPEND=" + ${RDEPEND} + sys-devel/gettext" + +src_configure() { + local mycmakeargs=( + -DNM_WITH_VNC_CLIENT=$(usex vnc-client) + -DNM_DEBUG=$(usex debug) + -DNM_SAVEVM_SNAPSHOTS=$(usex savevm) + -DNM_WITH_OVF_SUPPORT=$(usex ovf) + ) + cmake-utils_src_configure +} + +pkg_pretend() { + if use kernel_linux; then + if ! linux_config_exists; then + eerror "Unable to check your kernel" + else + CONFIG_CHECK="~VETH ~MACVTAP" + ERROR_VETH="You will need the Virtual ethernet pair device driver compiled" + ERROR_VETH+=" into your kernel or loaded as a module to use the" + ERROR_VETH+=" local network settings feature." + ERROR_MACVTAP="You will also need support for MAC-VLAN based tap driver." + + check_extra_config + fi + fi +} + +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" + elog "" + elog "For non-root usage execute script:" + elog "/usr/share/nemu/scripts/setup_nemu_nonroot.sh linux <username>" + elog "and add udev rule:" + elog "cp /usr/share/nemu/scripts/42-net-macvtap-perm.rules /lib/udev/rules.d" + if use savevm; then + elog "" + elog "QEMU must be patched with qemu-qmp-savevm-VERSION.patch" + elog "Get this patch from nEMU repository" + fi +} |