/[gentoo-x86]/net-misc/remmina-plugins/remmina-plugins-9999.ebuild
Gentoo

Contents of /net-misc/remmina-plugins/remmina-plugins-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jul 9 02:47:44 2012 UTC (7 years, 4 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Remove remmina-plugins.

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/remmina-plugins/remmina-plugins-9999.ebuild,v 1.5 2012/05/05 03:20:41 jdhore Exp $
4
5 EAPI=2
6 EGIT_REPO_URI="git://github.com/FreeRDP/Remmina.git"
7 EGIT_PROJECT="remmina"
8 EGIT_SOURCEDIR="${WORKDIR}"
9
10 inherit autotools git-2 gnome2-utils
11
12 DESCRIPTION="Set of plugins for Remmina GTK+ RDP, VNC, XDMCP and SSH client"
13 HOMEPAGE="http://remmina.sourceforge.net/"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS=""
18 IUSE="nls nx rdesktop ssh telepathy vnc xdmcp"
19
20 RDEPEND=">=net-misc/remmina-0.8.0
21 nls? ( virtual/libintl )
22 nx? ( net-misc/nx )
23 rdesktop? ( =net-misc/freerdp-9999 )
24 xdmcp? ( x11-base/xorg-server[kdrive] )
25 ssh? ( net-libs/libssh[sftp] )
26 vnc? ( net-libs/libvncserver[jpeg,zlib] >=net-libs/gnutls-2.4.0 )"
27
28 DEPEND="${RDEPEND}
29 dev-util/intltool
30 virtual/pkgconfig
31 nls? ( sys-devel/gettext )
32 telepathy? ( >=net-libs/telepathy-glib-0.9.0 ) "
33
34 S="${WORKDIR}"/${PN}
35
36 src_prepare() {
37 intltoolize --force --copy --automake
38 eautoreconf
39 }
40
41 src_configure() {
42 local myconf="--disable-dependency-tracking"
43 if use nx; then
44 if ! use ssh; then
45 myconf="${myconf} --disable-nx"
46 ewarn "nx support requires ssh."
47 ewarn "nx support will not be included."
48 else
49 myconf="${myconf} --enable-nx"
50 fi
51 else
52 myconf="${myconf} --disable-nx"
53 fi
54
55 econf \
56 ${myconf} \
57 $(use_enable nls) \
58 $(use_enable rdesktop rdp) \
59 $(use_enable ssh) \
60 $(use_enable telepathy) \
61 $(use_enable vnc ) \
62 $(use_enable xdmcp)
63 }
64
65 src_install() {
66 emake DESTDIR="${D}" install || die "emake install failed"
67 dodoc AUTHORS ChangeLog README
68 }
69
70 pkg_preinst() {
71 gnome2_icon_savelist
72 }
73
74 pkg_postinst() {
75 gnome2_icon_cache_update
76 }
77
78 pkg_postrm() {
79 gnome2_icon_cache_update
80 }

  ViewVC Help
Powered by ViewVC 1.1.20