app-emulation/nemu: Bump to 2.6.0_p20200430

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
Nils Freydank 2021-05-09 14:56:15 +02:00
parent 8956b1da51
commit d8b0bd529d
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21
2 changed files with 104 additions and 13 deletions

View File

@ -2,21 +2,22 @@
Hash: SHA256 Hash: SHA256
DIST nemu-2.6.0_p20210413.tar.gz 122374 BLAKE2B 87e7b39f6c4a70719c58c5bfc1353adc74bcfe498b9a80a16ceb74268d58619d50643b672d8b907cd409a164770cf7b06f8a1f97b503adfeb8bd297ea188d04e SHA512 a33f9ef72d70ca3af13397c873ae60d2c40e74491d46988116809c3caec76413d4a310c9c1e98416c6a0f170c0760563b008b41f813b5861799c8379303ce4ad DIST nemu-2.6.0_p20210413.tar.gz 122374 BLAKE2B 87e7b39f6c4a70719c58c5bfc1353adc74bcfe498b9a80a16ceb74268d58619d50643b672d8b907cd409a164770cf7b06f8a1f97b503adfeb8bd297ea188d04e SHA512 a33f9ef72d70ca3af13397c873ae60d2c40e74491d46988116809c3caec76413d4a310c9c1e98416c6a0f170c0760563b008b41f813b5861799c8379303ce4ad
DIST nemu-2.6.0_p20210430.tar.gz 122607 BLAKE2B 6d2cde97486f1e6431b55cc6ff017de326511781ccddbfcd5c2b347daca9d2cbb7dc991ff9647e49d2da2d00d85fec886d35f9754bc7067af059375398a37173 SHA512 0a6ca374c835cb6cac81383bdf6bbee87039b427b6379914dfaccd8ebd0dbe8de55524ddce8f20552bbf43ddbbd77a654efc0c49344e779c9e98895879f76207
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAmCDWNtfFIAAAAAALgAo iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKy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8dpc3C+GK+7DrJzU4tW/rsbEEBIeU+Z00q2I308TYa BPYAUygNLDQvesWWF9u7dJlWBbvPREgloTLcqc/e5ABV/8WLb0Rg9COVXRu8PVr9
MbHUeYNN+Ur4g8cE1wGgIddPXL1UF2ShmQIhkpNxl4vknIetY+zP7RrJvHnT0wZ4 IExoE12mZU0Pr6OLdMl6SM1tirOi8UpLy/ll55YaesB764eECTFms6WanglvohYM
t1K2fodVpYKCByUEf6iWfh9qnIgfBEwFS9qbn79t1C5oVTkssy399/fe7XltSoUF i2dDOqgy6k5y6879u9l0FFxZwHWCE4MOfWnUmsd7c32YoPYosPH1YUpPI3YhCvf+
bQwaAk0wBcQWFZZq/yNY0dGMdk2+ExU2L/ZmtKJs1mwvd/CmPDlfKf+05drPalPr ao9nAY5KEbALULAo2S0Pr1nJUFxOy0xfFLgHFhyR+PqE3cyb23O0KrkE6sm2D1af
q7aBXrWsdlZ1xAA2LUNmJOaXalDBIW9UQlD63QNdHkhluKEInSQ= EhW4WzCYT1T6OZImnoOW6AhiYsg7HGh5eiCFiM44aj9I6ou9ox8=
=O0R+ =mOF0
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

View File

@ -0,0 +1,90 @@
# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake linux-info
MY_PV="${PV/_rc/-RC}"
COMMIT_ID="b8ba242e36e4121b4a6056950ac85d655486e495"
DESCRIPTION="ncurses interface for QEMU"
HOMEPAGE="https://github.com/nemuTUI/nemu"
if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/nemuTUI/${PN}.git"
inherit git-r3
else
if [[ ${PV} == *_p* ]]; then
SRC_URI="https://github.com/nemuTUI/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_ID}"
KEYWORDS="~amd64 ~x86"
else
SRC_URI="https://github.com/nemuTUI/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/$PN-${MY_PV}/"
fi
fi
LICENSE="BSD-2"
SLOT="0"
IUSE="dbus network-map +ovf +savevm spice +vnc-client"
RDEPEND="
app-emulation/qemu[vnc,virtfs,spice?]
dev-db/sqlite:3=
sys-libs/ncurses:0=[unicode]
virtual/libusb:1
virtual/libudev:=
dbus? ( sys-apps/dbus )
network-map? ( media-gfx/graphviz[svg] )
ovf? (
dev-libs/libxml2:2
app-arch/libarchive
)
spice? ( app-emulation/virt-viewer )
vnc-client? ( net-misc/tigervnc )
"
DEPEND="${RDEPEND}"
BDEPEND="sys-devel/gettext"
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_USE_UTF: Enable unicode unconditionally. We already
# depended on ncurses[unicode].
# -DNM_WITH_QEMU: Do not embbed qemu.
local mycmakeargs=(
-DNM_SAVEVM_SNAPSHOTS=$(usex savevm)
-DNM_USE_UTF=on
-DNM_WITH_DBUS=$(usex dbus)
-DNM_WITH_NETWORK_MAP=$(usex network-map)
-DNM_WITH_OVF_SUPPORT=$(usex ovf)
-DNM_WITH_QEMU=off
-DNM_WITH_SPICE=$(usex spice)
-DNM_WITH_VNC_CLIENT=$(usex vnc-client)
)
cmake_src_configure
}
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"
}