diff options
author | 2016-12-08 11:47:38 +0100 | |
---|---|---|
committer | 2016-12-08 11:48:11 +0100 | |
commit | bc6d358241857032dddc928073021ee6cbf16997 (patch) | |
tree | 4140b07d062116419b6b4652a9e9b09b6962df7d /net-misc/guacamole-server/guacamole-server-0.9.9-r1.ebuild | |
parent | dev-lang/mono: bump (diff) | |
download | gentoo-bc6d358241857032dddc928073021ee6cbf16997.tar.gz gentoo-bc6d358241857032dddc928073021ee6cbf16997.tar.bz2 gentoo-bc6d358241857032dddc928073021ee6cbf16997.zip |
net-misc/guacamole-server: Be compatible with newer freerdp and tiny deps a bit
Package-Manager: portage-2.3.2
Diffstat (limited to 'net-misc/guacamole-server/guacamole-server-0.9.9-r1.ebuild')
-rw-r--r-- | net-misc/guacamole-server/guacamole-server-0.9.9-r1.ebuild | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/net-misc/guacamole-server/guacamole-server-0.9.9-r1.ebuild b/net-misc/guacamole-server/guacamole-server-0.9.9-r1.ebuild new file mode 100644 index 000000000000..75e00be6635c --- /dev/null +++ b/net-misc/guacamole-server/guacamole-server-0.9.9-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit systemd user + +DESCRIPTION="This is the proxy-daemon used by www-apps/guacamole" + +HOMEPAGE="http://guac-dev.org/" +SRC_URI="mirror://sourceforge/guacamole/${P}.tar.gz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="rdesktop vnc ssh pulseaudio vorbis telnet ssl multilib" +REQUIRED_USE="multilib? ( ssl )" + +RDEPEND=" + x11-libs/cairo + media-libs/libpng:0= + virtual/jpeg:0 + dev-libs/ossp-uuid + rdesktop? ( >=net-misc/freerdp-1.1.0_beta1_p20150312:= ) + ssh? ( + x11-libs/pango + net-libs/libssh2 ) + telnet? ( + net-libs/libtelnet + x11-libs/pango ) + vnc? ( + net-libs/libvncserver[threads] + pulseaudio? ( media-sound/pulseaudio ) ) + ssl? ( dev-libs/openssl:0= ) + vorbis? ( media-libs/libvorbis ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + # From Fedora for compat with newer freerdp + "${FILESDIR}"/${P}-glyph-order.patch + "${FILESDIR}"/${P}-clipboard-id-update.patch +) + + +src_configure() { + local myconf="--without-terminal --without-pango" + + if use ssh || use telnet; then + myconf="--with-terminal --with-pango" + fi + + econf ${myconf} \ + $(use_with ssh) \ + $(use_with rdesktop rdp) \ + $(use_with vnc) \ + $(use_with pulseaudio pulse) \ + $(use_with vorbis) \ + $(use_with telnet) \ + $(use_with ssl) +} + +src_install() { + default + doinitd "${FILESDIR}/guacd" + systemd_dounit "${FILESDIR}/guacd.service" +} + +pkg_postinst() { + enewgroup guacd + enewuser guacd -1 -1 -1 guacd +} |