/[gentoo-x86]/net-misc/guacamole-server/guacamole-server-0.9.7.ebuild
Gentoo

Contents of /net-misc/guacamole-server/guacamole-server-0.9.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Jun 13 09:15:22 2015 UTC (4 years, 7 months ago) by nativemad
Branch: MAIN
CVS Tags: HEAD
Version bump, license change, init options and lots more thanks to Malte Starostik. See bug 541718

(Portage version: 2.2.18/cvs/Linux i686, signed Manifest commit with key 60373227)

1 nativemad 1.1 # Copyright 1999-2015 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/net-misc/guacamole-server/guacamole-server-0.9.3.ebuild,v 1.1 2014/10/28 16:31:38 nativemad Exp $
4    
5     EAPI=5
6    
7     inherit eutils systemd user
8     DESCRIPTION="This is the proxy-daemon used by www-apps/guacamole"
9    
10     HOMEPAGE="http://guac-dev.org/"
11     SRC_URI="mirror://sourceforge/guacamole/${P}.tar.gz"
12    
13     LICENSE="MIT"
14    
15     SLOT="0"
16    
17     KEYWORDS="~amd64 ~x86"
18    
19     IUSE="rdesktop vnc ssh pulseaudio vorbis telnet ssl"
20    
21     DEPEND="x11-libs/cairo
22     media-libs/libpng:*
23     dev-libs/ossp-uuid
24     rdesktop? ( <net-misc/freerdp-1.1.0_beta1_p20150312 )
25     ssh? ( x11-libs/pango
26     net-libs/libssh2 )
27     telnet? ( net-libs/libtelnet
28     x11-libs/pango )
29     vnc? ( net-libs/libvncserver
30     pulseaudio? ( media-sound/pulseaudio ) )
31     ssl? ( dev-libs/openssl:* )
32     vorbis? ( media-libs/libvorbis )"
33    
34     RDEPEND="${DEPEND}"
35    
36     src_configure() {
37     local myconf="--without-terminal --without-pango"
38     if use ssh || use telnet; then
39     myconf="--with-terminal --with-pango"
40     fi
41    
42     econf $myconf \
43     $(use_with ssh) \
44     $(use_with rdesktop rdp) \
45     $(use_with vnc) \
46     $(use_with pulseaudio pulse) \
47     $(use_with vorbis) \
48     $(use_with telnet) \
49     $(use_with ssl)
50     }
51    
52     src_install() {
53     emake DESTDIR="${D}" install
54    
55     doinitd "${FILESDIR}/guacd"
56     systemd_dounit "${FILESDIR}/guacd.service"
57     }
58    
59     pkg_postinst() {
60     enewgroup guacd
61     enewuser guacd -1 -1 -1 guacd
62     }

  ViewVC Help
Powered by ViewVC 1.1.20