summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/ltsp-server/ltsp-server-5.2.19.ebuild')
-rw-r--r--net-misc/ltsp-server/ltsp-server-5.2.19.ebuild21
1 files changed, 14 insertions, 7 deletions
diff --git a/net-misc/ltsp-server/ltsp-server-5.2.19.ebuild b/net-misc/ltsp-server/ltsp-server-5.2.19.ebuild
index f2af462..2001cc2 100644
--- a/net-misc/ltsp-server/ltsp-server-5.2.19.ebuild
+++ b/net-misc/ltsp-server/ltsp-server-5.2.19.ebuild
@@ -15,16 +15,13 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
# Default to nfs until nbd works
-IUSE="doc dhcp examples nbd +nfs"
+IUSE="doc dhcp examples nbd +nfs +pulseaudio +X"
DEPEND=""
# NOTES on the dependencies
# xdm - we currently have to rely on /usr/lib/X11/xdm/Xsession
# iproute2 - ltsp-update-sshkeys requires ip
RDEPEND="!net-misc/ltsp-client
- x11-apps/xdm
- media-sound/pulseaudio
- x11-base/xorg-server
net-misc/openssh
virtual/tftp
dhcp? ( || ( net-misc/dhcp net-dns/dnsmasq ) )
@@ -36,6 +33,13 @@ RDEPEND="!net-misc/ltsp-client
sys-block/nbd
sys-fs/squashfs-tools
)
+ pulseaudio? (
+ media-sound/pulseaudio
+ )
+ X? (
+ x11-apps/xdm
+ x11-base/xorg-server
+ )
sys-fs/ltspfs
sys-apps/lsb-release
>sys-apps/quickstart-0.6
@@ -132,8 +136,11 @@ pkg_postinst(){
einfo "Mounting swap over NBD is supported."
einfo
fi
-
- einfo "Don't forget to install a window manager,"
- einfo "you can't log in to your ltsp-client without one."
+
+ if use X; then
+ einfo
+ einfo "Don't forget to install a window manager,"
+ einfo "you can't log in with X onto your server without one."
+ fi
}