Summary: | app-emulation/spice - add USE=client for headless installation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Amir Aupov <fads93> |
Component: | Current packages | Assignee: | Tiziano Müller (RETIRED) <dev-zero> |
Status: | RESOLVED UPSTREAM | ||
Severity: | enhancement | Keywords: | EBUILD, PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | app-emulation/spice-0.10.1-r1 with customised RDEPEND |
Description
Amir Aupov
2012-06-09 12:59:53 UTC
Created attachment 314793 [details]
app-emulation/spice-0.10.1-r1 with customised RDEPEND
Comment on attachment 314793 [details]
app-emulation/spice-0.10.1-r1 with customised RDEPEND
--- spice-0.10.1.ebuild 2012-06-09 16:09:46.000000000 +0200
+++ - 2012-06-09 16:10:03.047215005 +0200
@@ -13,31 +13,30 @@
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~x86"
-IUSE="+client +gui sasl smartcard static static-libs"
+IUSE="+client +gui sasl smartcard static static-libs tunnel"
RDEPEND=">=app-emulation/spice-protocol-0.10.1
>=x11-libs/pixman-0.17.7
media-libs/alsa-lib
media-libs/celt:0.5.1
dev-libs/openssl
- >=x11-libs/libXrandr-1.2
- x11-libs/libX11
- x11-libs/libXext
- x11-libs/libXinerama
- x11-libs/libXfixes
- x11-libs/libXrender
+ client? (
+ >=x11-libs/libXrandr-1.2
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXinerama
+ x11-libs/libXfixes
+ x11-libs/libXrender
+ gui? ( =dev-games/cegui-0.6* )
+ )
virtual/jpeg
sys-libs/zlib
- client? ( gui? ( =dev-games/cegui-0.6* ) )
sasl? ( dev-libs/cyrus-sasl )
- smartcard? ( >=app-emulation/libcacard-0.1.2 )"
+ smartcard? ( >=app-emulation/libcacard-0.1.2 )
+ tunnel? ( net-libs/slirp )"
DEPEND="virtual/pkgconfig
${RDEPEND}"
-# maintainer notes:
-# * opengl support is currently broken
-# * TODO: add slirp for tunnel-support
-
src_prepare() {
epatch \
"${FILESDIR}/0.10.1-disable-werror.patch" \
@@ -50,12 +49,12 @@
use client || gui="--disable-gui"
econf \
$(use_enable static-libs static) \
- --disable-tunnel \
${gui} \
$(use_enable client) \
$(use_enable static static-linkage) \
$(use_with sasl) \
- $(use_enable smartcard)
+ $(use_enable smartcard) \
+ $(use_enable tunnel)
}
src_install() {
Please talk to upstream about building spice completely without X. Just removing the deps doesn't help and I do not have time to patch the build system. |