Lines 22-28
Link Here
|
22 |
LICENSE="GPL-2" |
22 |
LICENSE="GPL-2" |
23 |
SLOT="0" |
23 |
SLOT="0" |
24 |
KEYWORDS="~amd64 ~x86" |
24 |
KEYWORDS="~amd64 ~x86" |
25 |
IUSE="+additions alsa +hal headless pulseaudio +opengl python +qt4 sdk vboxwebsrv" |
25 |
IUSE="+additions alsa +hal headless pulseaudio +opengl python +qt4 sdk vboxwebsrv vnc" |
26 |
|
26 |
|
27 |
RDEPEND="!app-emulation/virtualbox-bin |
27 |
RDEPEND="!app-emulation/virtualbox-bin |
28 |
~app-emulation/virtualbox-modules-${PV} |
28 |
~app-emulation/virtualbox-modules-${PV} |
Lines 51-57
Link Here
|
51 |
!headless? ( x11-libs/libXinerama ) |
51 |
!headless? ( x11-libs/libXinerama ) |
52 |
pulseaudio? ( media-sound/pulseaudio ) |
52 |
pulseaudio? ( media-sound/pulseaudio ) |
53 |
python? ( >=dev-lang/python-2.3[threads] ) |
53 |
python? ( >=dev-lang/python-2.3[threads] ) |
54 |
vboxwebsrv? ( >=net-libs/gsoap-2.7.13 )" |
54 |
vboxwebsrv? ( >=net-libs/gsoap-2.7.13 ) |
|
|
55 |
vnc? ( >=net-libs/libvncserver-0.9.7 )" |
55 |
RDEPEND="${RDEPEND} |
56 |
RDEPEND="${RDEPEND} |
56 |
additions? ( ~app-emulation/virtualbox-ose-additions-${PV} )" |
57 |
additions? ( ~app-emulation/virtualbox-ose-additions-${PV} )" |
57 |
|
58 |
|
Lines 117-122
Link Here
|
117 |
|
118 |
|
118 |
# fix build with --as-needed (bug #249295) |
119 |
# fix build with --as-needed (bug #249295) |
119 |
epatch "${FILESDIR}/${PN}-asneeded.patch" |
120 |
epatch "${FILESDIR}/${PN}-asneeded.patch" |
|
|
121 |
|
122 |
# add the --enable-vnc option to configure script |
123 |
epatch "${FILESDIR}/${PN}-vnc.patch" |
120 |
} |
124 |
} |
121 |
|
125 |
|
122 |
src_configure() { |
126 |
src_configure() { |
Lines 127-132
Link Here
|
127 |
use python || myconf="${myconf} --disable-python" |
131 |
use python || myconf="${myconf} --disable-python" |
128 |
use hal || myconf="${myconf} --disable-dbus" |
132 |
use hal || myconf="${myconf} --disable-dbus" |
129 |
use vboxwebsrv && myconf="${myconf} --enable-webservice" |
133 |
use vboxwebsrv && myconf="${myconf} --enable-webservice" |
|
|
134 |
use vnc && myconf="${myconf} --enable-vnc" |
130 |
if ! use headless ; then |
135 |
if ! use headless ; then |
131 |
use qt4 || myconf="${myconf} --disable-qt4" |
136 |
use qt4 || myconf="${myconf} --disable-qt4" |
132 |
else |
137 |
else |