forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nemu-1.3.0.ebuild
42 lines (34 loc) · 873 Bytes
/
nemu-1.3.0.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
DESCRIPTION="ncurses interface for QEMU"
HOMEPAGE="https://unixdev.ru/nemu"
SRC_URI="http://unixdev.ru/src/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+vnc debug"
RDEPEND="
virtual/udev
virtual/libusb:1=
dev-db/sqlite:3=
sys-libs/ncurses:0=[unicode]
app-emulation/qemu[vnc]
vnc? ( net-misc/tigervnc )"
DEPEND="
${RDEPEND}
sys-devel/gettext"
src_configure() {
local mycmakeargs=(
-DNM_WITH_VNC_CLIENT=$(usex vnc)
-DNM_DEBUG=$(usex debug)
)
cmake-utils_src_configure
}
pkg_postinst() {
elog "Old database is not supported (nEMU versions < 1.0.0)."
elog "You will need to delete current database."
elog "If upgraded from 1.0.0, execute script:"
elog "/usr/share/nemu/scripts/upgrade_db.sh"
}