forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qt-virt-manager-9999.ebuild
49 lines (42 loc) · 1005 Bytes
/
qt-virt-manager-9999.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
43
44
45
46
47
48
49
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/F1ash/qt-virt-manager.git"
EGIT_BRANCH="master"
inherit git-r3
SRC_URI=""
KEYWORDS=""
else
SRC_URI="https://github.com/F1ash/qt-virt-manager/archive/${P}.tar.gz"
KEYWORDS=""
fi
DESCRIPTION="A GUI application for managing virtual machines"
HOMEPAGE="https://github.com/F1ash/qt-virt-manager"
LICENSE="GPL-2"
SLOT="0"
IUSE="smartcard"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtmultimedia:5
dev-qt/qtsvg:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
dev-qt/qtnetwork:5
>=x11-libs/qtermwidget-0.7.0
smartcard? ( >=app-emulation/libcacard-2.5.0 )
dev-libs/glib
net-misc/spice-gtk
net-libs/libvncserver
app-emulation/libvirt
"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DBUILD_QT_VERSION=5
-DWITH_LIBCACARD="$(usex smartcard ON OFF)"
)
cmake-utils_src_configure
}