mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-emulation/nemu: drop 3.1.0-r1
Multiple build issues, old version Closes: https://bugs.gentoo.org/906168 Closes: https://bugs.gentoo.org/894512 Closes: https://bugs.gentoo.org/882581 Closes: https://bugs.gentoo.org/917285 Closes: https://bugs.gentoo.org/948436 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Part-of: https://github.com/gentoo/gentoo/pull/45789 Closes: https://github.com/gentoo/gentoo/pull/45789 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST nemu-3.1.0.tar.gz 164222 BLAKE2B 32600bcdcf2a4f963612a13d89375df2cb4a49a376aec694ada01a86f6c27d6c4198250834cc924bb20e7b60b11ff8643e3bbd30aa883b437cf7828ab00509f2 SHA512 b764e94133e4ab4f052fca77d3dbc64dbbd6a52349828e8ccfe9892f1a9bb290b6578cd8afec7bac84ac339daf9ae11520fce28e842bfa649178fe471014fad1
|
||||
DIST nemu-3.3.0.tar.gz 174431 BLAKE2B 62f69bb4789d8b1ce369bca5f82f11e4fc41813ae2732d61f6ae1819bc8e3e052420e6f1a2582c5460dfccd9dd3b98c350968c5a732aad654493f7b03bcacec2 SHA512 3b497d3edccb41ca9b34d6c51079caadc893effd2c026d9b199538574fad173d1c3fe5e5db36b60f07debc774473082b338553e269d1d462203470dee292e107
|
||||
DIST nemu-3.4.0.tar.gz 177146 BLAKE2B ac72c9d17b8085d83404e01f532fd2346f35b428f988b5aa1defe669f06be57edd733353996e5e1470c9c99e0d5564d09c5fa9d0df6d9c2d07b4daceb7e0bdb4 SHA512 a76092fa0aeca6a08830658588993f0b8c46f04afaf0b400741df79b2c15eac92e857571d2da2139e646d787611f3b3a2588fa701f943fe7a845e63fe17853bb
|
||||
|
||||
@@ -1,77 +0,0 @@
|
||||
# Copyright 2019-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake linux-info
|
||||
|
||||
MY_PV="${PV/_rc/-RC}"
|
||||
|
||||
DESCRIPTION="ncurses interface for QEMU"
|
||||
HOMEPAGE="https://github.com/nemuTUI/nemu"
|
||||
SRC_URI="https://github.com/nemuTUI/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="dbus network-map +ovf remote-api"
|
||||
|
||||
RDEPEND="
|
||||
>=app-emulation/qemu-6.0.0-r3[vnc,virtfs,spice]
|
||||
dev-db/sqlite:3=
|
||||
dev-libs/json-c
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
virtual/libusb:1
|
||||
virtual/libudev:=
|
||||
dbus? ( sys-apps/dbus )
|
||||
network-map? ( media-gfx/graphviz[svg] )
|
||||
ovf? (
|
||||
dev-libs/libxml2:2=
|
||||
app-arch/libarchive:=
|
||||
)
|
||||
remote-api? ( dev-libs/openssl )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="sys-devel/gettext"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}/"
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -DNM_WITH_QEMU: Do not embbed qemu.
|
||||
local mycmakeargs=(
|
||||
-DNM_WITH_DBUS=$(usex dbus)
|
||||
-DNM_WITH_NETWORK_MAP=$(usex network-map)
|
||||
-DNM_WITH_REMOTE=$(usex remote-api)
|
||||
-DNM_WITH_OVF_SUPPORT=$(usex ovf)
|
||||
-DNM_WITH_QEMU=off
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
docompress -x /usr/share/man/man1/nemu.1.gz
|
||||
}
|
||||
|
||||
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 /etc/udev/rules.d"
|
||||
elog "Afterwards reboot or reload udev with"
|
||||
elog "udevadm control --reload-rules && udevadm trigger"
|
||||
}
|
||||
Reference in New Issue
Block a user