app-emulation/nemu: Remove the old version

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:18 +02:00
parent d8b0bd529d
commit 745c0921a5
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21
2 changed files with 13 additions and 104 deletions

View File

@ -1,23 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
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-----
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAmCX1vpfFIAAAAAALgAo
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAmCX1xVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy
MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt
KyFp2g//dDbTnFbGF/8EGDEVZbB1Ba0RxBOM2l4nhFucgBPD74DR9JMhpVha5cG4
2CDU4z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8rm7a
U31oUOQpR0bgRrYFQ8gqxOnfA0YCDETXsuxQXjTXRgIw3ou8oEuYr6XcpPIhiZwA
K+6UJo0TUG42nrtQBVNOscHmTWJTnexbXiG4fx6/PXwB2l+qs1icZF/adNqSNNus
RYUFU+3r6V0d4D6W4lmKuuChwDi+GkJur3aF+cPTlyMFYhKAsRWw68PgnqUnFpUK
AZcRZWEVv6bq2DJJDFunnjUh+xiGuAdlr0Q7M2BlwHGJvO2BmdA=
=Kblj
-----END PGP SIGNATURE-----

View File

@ -1,90 +0,0 @@
# 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="88bae5482a9bf73126e9f638c84f2e6bbc4dfc59"
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"
}