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:
parent
4fc130a6bf
commit
b3c9eaf0b6
@ -14,7 +14,7 @@ SRC_URI="https://github.com/nemuTUI/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.g
|
|||||||
LICENSE="BSD-2"
|
LICENSE="BSD-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
IUSE="network-map +ovf +savevm spice +vnc-client"
|
IUSE="dbus network-map +ovf +savevm spice +vnc-client"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
app-emulation/qemu[vnc,virtfs,spice?]
|
app-emulation/qemu[vnc,virtfs,spice?]
|
||||||
@ -22,7 +22,8 @@ RDEPEND="
|
|||||||
sys-libs/ncurses:0=[unicode]
|
sys-libs/ncurses:0=[unicode]
|
||||||
virtual/libusb:1
|
virtual/libusb:1
|
||||||
virtual/libudev:=
|
virtual/libudev:=
|
||||||
network-map? ( media-gfx/graphviz )
|
dbus? ( sys-apps/dbus )
|
||||||
|
network-map? ( media-gfx/graphviz[svg] )
|
||||||
ovf? (
|
ovf? (
|
||||||
dev-libs/libxml2:2
|
dev-libs/libxml2:2
|
||||||
app-arch/libarchive
|
app-arch/libarchive
|
||||||
@ -44,17 +45,22 @@ pkg_pretend() {
|
|||||||
ERROR_VETH+=" into your kernel or loaded as a module to use the"
|
ERROR_VETH+=" into your kernel or loaded as a module to use the"
|
||||||
ERROR_VETH+=" local network settings feature."
|
ERROR_VETH+=" local network settings feature."
|
||||||
ERROR_MACVTAP="You will also need support for MAC-VLAN based tap driver."
|
ERROR_MACVTAP="You will also need support for MAC-VLAN based tap driver."
|
||||||
|
|
||||||
check_extra_config
|
check_extra_config
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
|
# -DNM_USE_UTF: Enable unicode unconditionally. We already
|
||||||
|
# depended on ncurses[unicode].
|
||||||
|
# -DNM_WITH_QEMU: Do not embbed qemu.
|
||||||
local mycmakeargs=(
|
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_NETWORK_MAP=$(usex network-map)
|
||||||
-DNM_WITH_OVF_SUPPORT=$(usex ovf)
|
-DNM_WITH_OVF_SUPPORT=$(usex ovf)
|
||||||
-DNM_SAVEVM_SNAPSHOTS=$(usex savevm)
|
-DNM_WITH_QEMU=off
|
||||||
-DNM_WITH_SPICE=$(usex spice)
|
-DNM_WITH_SPICE=$(usex spice)
|
||||||
-DNM_WITH_VNC_CLIENT=$(usex vnc-client)
|
-DNM_WITH_VNC_CLIENT=$(usex vnc-client)
|
||||||
)
|
)
|
Loading…
x
Reference in New Issue
Block a user