app-emulation/nemu: Bump to 3.1.0_p20221109, change nemu.db location
This bump incorporates some changes within deps and slots, inspired by the 3.1.0 image in ::gentoo. It also changes the location of the nemu database from "~/.nemu.db" to "~/.local/share/nemu.db". Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
This commit is contained in:
parent
50ba6b8ea0
commit
96d016f70d
@ -1 +1 @@
|
||||
DIST nemu-3.0.0_p20221017.tar.gz 164262 BLAKE2B 6841c9d0899f17b468ea7fa4f2e07a0f4489d5842207b1feabf50a95ed85502a20ce5d227a5544dad11bcd633b109807ea85f9072dd50a3b8f0c25354ab7f018 SHA512 e2ede93684a0ac7c543ff5852541a6554aa54adf626496e05cf1881d91f5824d6fdee601b95ca0b127fb0ce92541262d54a9f263c1f8b38072a5960d76d6550f
|
||||
DIST nemu-3.1.0_p20221109.tar.gz 165184 BLAKE2B a032fe854883a94d2d95449fb8c89c7788df9f89e906c32606d5fb6acffa4ef77e04bd16c6aaec6cace3b034120d88bda633585d949436938985abf253651443 SHA512 8aed1b56cee0d743a2e63b52125e90755ece8cbc2a5bcfe0bffd84b89155af7103764076dc56405a7da29107db13c27d199a39c608a93790c6d4f8b1a9b7a2b0
|
||||
|
@ -6,7 +6,7 @@ EAPI="8"
|
||||
inherit cmake linux-info
|
||||
|
||||
MY_PV="${PV/_rc/-RC}"
|
||||
COMMIT_ID="90e0c50d1a35d42c71acd9f745f4d261662eb59d"
|
||||
COMMIT_ID="b3c2f3428791fc7b372284643deefcbb09093125"
|
||||
|
||||
DESCRIPTION="ncurses interface for QEMU"
|
||||
HOMEPAGE="https://github.com/nemuTUI/nemu"
|
||||
@ -32,14 +32,15 @@ IUSE="dbus network-map +ovf remote-control spice +vnc-client"
|
||||
RDEPEND="
|
||||
app-emulation/qemu[vnc,virtfs,spice?]
|
||||
dev-db/sqlite:3=
|
||||
>=sys-libs/ncurses-6.2_p20210619:0=
|
||||
dev-libs/json-c
|
||||
>=sys-libs/ncurses-6.2_p20210619: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
|
||||
app-arch/libarchive:=
|
||||
)
|
||||
remote-control? (
|
||||
dev-libs/openssl:=
|
||||
@ -47,6 +48,7 @@ RDEPEND="
|
||||
spice? ( app-emulation/virt-viewer[spice] )
|
||||
vnc-client? ( net-misc/tigervnc )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="sys-devel/gettext"
|
||||
|
||||
@ -69,23 +71,28 @@ src_configure() {
|
||||
# -DNM_WITH_NCURSES: Don't build the embbeded ncurses.
|
||||
# -DNM_WITH_QEMU: Don't build the embbeded qemu.
|
||||
local mycmakeargs=(
|
||||
-DNM_DEFAULT_DBFILE=".local/share/nemu/nemu.db"
|
||||
-NM_DEFAULT_VMDIR="nemu_vm"
|
||||
-DNM_WITH_NCURSES=off
|
||||
-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_REMOTE=$(usex remote-control)
|
||||
-DNM_WITH_VNC_CLIENT=$(usex vnc-client)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog ""
|
||||
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"
|
||||
|
||||
elog ""
|
||||
elog "This ebuild moves the default database path into a different place:"
|
||||
elog "~/.local/share/nemu/nemu.db"
|
||||
}
|
Loading…
Reference in New Issue
Block a user