diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2020-06-04 09:12:30 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2020-06-04 09:13:48 +0200 |
commit | 1664de2d8433e10171703554c8949d748b0cd7ce (patch) | |
tree | 16c6bdfbea910dc740bf32dc7108bf4382040723 /app-emulation/nemu/nemu-2.1.0.ebuild | |
parent | app-emulation/nemu: stable for amd64+x86. (diff) | |
download | gentoo-1664de2d8433e10171703554c8949d748b0cd7ce.tar.gz gentoo-1664de2d8433e10171703554c8949d748b0cd7ce.tar.bz2 gentoo-1664de2d8433e10171703554c8949d748b0cd7ce.zip |
app-emulation/nemu: clean up old.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-emulation/nemu/nemu-2.1.0.ebuild')
-rw-r--r-- | app-emulation/nemu/nemu-2.1.0.ebuild | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/app-emulation/nemu/nemu-2.1.0.ebuild b/app-emulation/nemu/nemu-2.1.0.ebuild deleted file mode 100644 index 2f7326437e33..000000000000 --- a/app-emulation/nemu/nemu-2.1.0.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# 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 "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 -} |