/[gentoo-x86]/net-misc/remmina/remmina-1.2.0_rc3.ebuild
Gentoo

Contents of /net-misc/remmina/remmina-1.2.0_rc3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Tue May 12 08:41:14 2015 UTC (4 years, 5 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Stable for amd64, wrt bug #548430

(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --include-arches="amd64", signed Manifest commit with key 7194459F)

1 maksbotan 1.1 # Copyright 1999-2015 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ago 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/remmina/remmina-1.2.0_rc3.ebuild,v 1.1 2015/04/16 11:06:11 maksbotan Exp $
4 maksbotan 1.1
5     EAPI="4"
6    
7     inherit versionator gnome2-utils cmake-utils
8    
9     MY_PV_MAIN=$(get_version_component_range 1-3)
10     MY_PV_RC=$(get_version_component_range 4)
11     MY_PV="${MY_PV_MAIN}-${MY_PV_RC//rc/rcgit.}"
12    
13     if [[ ${PV} != 9999 ]]; then
14     SRC_URI="https://github.com/FreeRDP/Remmina/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
15 ago 1.2 KEYWORDS="amd64 ~x86"
16 maksbotan 1.1 else
17     inherit git-2
18     SRC_URI=""
19     EGIT_REPO_URI="git://github.com/FreeRDP/Remmina.git
20     https://github.com/FreeRDP/Remmina.git"
21     KEYWORDS=""
22     fi
23    
24     DESCRIPTION="A GTK+ RDP, VNC, XDMCP and SSH client"
25     HOMEPAGE="http://freerdp.github.io/Remmina/"
26    
27     LICENSE="GPL-2"
28     SLOT="0"
29     IUSE="ayatana avahi crypt debug freerdp gnome-keyring nls ssh telepathy vte"
30    
31     RDEPEND="
32     x11-libs/gtk+:3
33     >=dev-libs/glib-2.31.18:2
34     >=net-libs/libvncserver-0.9.8.2
35     x11-libs/libxkbfile
36     x11-themes/gnome-icon-theme
37     x11-libs/gdk-pixbuf
38     x11-libs/libX11
39     avahi? ( net-dns/avahi[gtk3] )
40     ayatana? ( dev-libs/libappindicator )
41     crypt? ( dev-libs/libgcrypt:0 )
42     freerdp? (
43     >=net-misc/freerdp-1.2
44     )
45     gnome-keyring? ( gnome-base/libgnome-keyring )
46     ssh? ( net-libs/libssh[sftp] )
47     telepathy? ( net-libs/telepathy-glib )
48     vte? ( x11-libs/vte:2.90 )
49     "
50     DEPEND="${RDEPEND}
51     dev-util/intltool
52     virtual/pkgconfig
53     nls? ( sys-devel/gettext )
54     "
55     RDEPEND+="
56     !net-misc/remmina-plugins
57     "
58    
59     DOCS=( README )
60    
61     S="${WORKDIR}/Remmina-${MY_PV}"
62    
63     src_configure() {
64     local mycmakeargs=(
65     $(cmake-utils_use_with ayatana APPINDICATOR)
66     $(cmake-utils_use_with avahi AVAHI)
67     $(cmake-utils_use_with crypt GCRYPT)
68     $(cmake-utils_use_with freerdp FREERDP)
69     $(cmake-utils_use_with gnome-keyring GNOMEKEYRING)
70     $(cmake-utils_use_with nls GETTEXT)
71     $(cmake-utils_use_with nls TRANSLATIONS)
72     $(cmake-utils_use_with ssh LIBSSH)
73     $(cmake-utils_use_with telepathy TELEPATHY)
74     $(cmake-utils_use_with vte VTE)
75     -DGTK_VERSION=3
76     )
77     cmake-utils_src_configure
78     }
79    
80     pkg_preinst() {
81     gnome2_icon_savelist
82     }
83    
84     pkg_postinst() {
85     gnome2_icon_cache_update
86     }
87    
88     pkg_postrm() {
89     gnome2_icon_cache_update
90     }

  ViewVC Help
Powered by ViewVC 1.1.20