app-emulation/nemu: Housekeeping and USE="dbus"

- add use dbus
- depend on graphviz[svg] for USE="network-map"
- re-sort cmake configuration

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
Nils Freydank 2021-03-18 16:32:40 +01:00
parent 4fc130a6bf
commit b3c9eaf0b6
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21

View File

@ -14,7 +14,7 @@ SRC_URI="https://github.com/nemuTUI/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.g
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="network-map +ovf +savevm spice +vnc-client"
IUSE="dbus network-map +ovf +savevm spice +vnc-client"
RDEPEND="
app-emulation/qemu[vnc,virtfs,spice?]
@ -22,7 +22,8 @@ RDEPEND="
sys-libs/ncurses:0=[unicode]
virtual/libusb:1
virtual/libudev:=
network-map? ( media-gfx/graphviz )
dbus? ( sys-apps/dbus )
network-map? ( media-gfx/graphviz[svg] )
ovf? (
dev-libs/libxml2:2
app-arch/libarchive
@ -44,17 +45,22 @@ pkg_pretend() {
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_SAVEVM_SNAPSHOTS=$(usex savevm)
-DNM_WITH_QEMU=off
-DNM_WITH_SPICE=$(usex spice)
-DNM_WITH_VNC_CLIENT=$(usex vnc-client)
)