1 |
commit: 38be4f0caa42aa9472632bf90fc6c8a2555bb5c9 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 21 19:00:54 2015 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 21 19:00:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38be4f0c |
7 |
|
8 |
net-misc/remmina: Bump to eapi5, set dependency on libgcrypt:0=, move from 'avahi' to 'zeroconf' USE, vte support is needed for USE ssh (#546886 by Mirko Guenther), xorg-server[kdrive] needed at runtime (#522506 by Sergey S. Starikoff), allow other icons than gnome-icon-theme (#525668 by Harvey Mittens). |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
net-misc/remmina/remmina-1.2.0_rc3-r1.ebuild | 91 ++++++++++++++++++++++++++++ |
13 |
1 file changed, 91 insertions(+) |
14 |
|
15 |
diff --git a/net-misc/remmina/remmina-1.2.0_rc3-r1.ebuild b/net-misc/remmina/remmina-1.2.0_rc3-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..5ce4689 |
18 |
--- /dev/null |
19 |
+++ b/net-misc/remmina/remmina-1.2.0_rc3-r1.ebuild |
20 |
@@ -0,0 +1,91 @@ |
21 |
+# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=5 |
26 |
+inherit versionator gnome2-utils cmake-utils |
27 |
+ |
28 |
+MY_PV_MAIN=$(get_version_component_range 1-3) |
29 |
+MY_PV_RC=$(get_version_component_range 4) |
30 |
+MY_PV="${MY_PV_MAIN}-${MY_PV_RC//rc/rcgit.}" |
31 |
+ |
32 |
+if [[ ${PV} != 9999 ]]; then |
33 |
+ SRC_URI="https://github.com/FreeRDP/Remmina/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ KEYWORDS="~amd64 ~x86" |
35 |
+else |
36 |
+ inherit git-2 |
37 |
+ SRC_URI="" |
38 |
+ EGIT_REPO_URI="git://github.com/FreeRDP/Remmina.git |
39 |
+ https://github.com/FreeRDP/Remmina.git" |
40 |
+ KEYWORDS="" |
41 |
+fi |
42 |
+ |
43 |
+DESCRIPTION="A GTK+ RDP, VNC, XDMCP and SSH client" |
44 |
+HOMEPAGE="http://remmina.org/ https://github.com/FreeRDP/Remmina" |
45 |
+ |
46 |
+LICENSE="GPL-2" |
47 |
+SLOT="0" |
48 |
+IUSE="ayatana crypt debug freerdp gnome-keyring nls ssh telepathy vte zeroconf" |
49 |
+REQUIRED_USE="ssh? ( vte )" #546886 |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-libs/glib-2.31.18:2 |
53 |
+ >=net-libs/libvncserver-0.9.8.2 |
54 |
+ x11-libs/libxkbfile |
55 |
+ x11-libs/gdk-pixbuf |
56 |
+ x11-libs/gtk+:3 |
57 |
+ x11-libs/libX11 |
58 |
+ virtual/freedesktop-icon-theme |
59 |
+ ayatana? ( dev-libs/libappindicator:3 ) |
60 |
+ crypt? ( dev-libs/libgcrypt:0= ) |
61 |
+ freerdp? ( |
62 |
+ >=net-misc/freerdp-1.2 |
63 |
+ ) |
64 |
+ gnome-keyring? ( gnome-base/libgnome-keyring ) |
65 |
+ ssh? ( net-libs/libssh[sftp] ) |
66 |
+ telepathy? ( net-libs/telepathy-glib ) |
67 |
+ vte? ( x11-libs/vte:2.90 ) |
68 |
+ zeroconf? ( net-dns/avahi[gtk3] ) |
69 |
+" |
70 |
+DEPEND="${RDEPEND} |
71 |
+ dev-util/intltool |
72 |
+ virtual/pkgconfig |
73 |
+ nls? ( sys-devel/gettext ) |
74 |
+" |
75 |
+RDEPEND+=" |
76 |
+ x11-base/xorg-server[kdrive] |
77 |
+ !net-misc/remmina-plugins |
78 |
+" |
79 |
+ |
80 |
+DOCS=( README ) |
81 |
+ |
82 |
+S="${WORKDIR}/Remmina-${MY_PV}" |
83 |
+ |
84 |
+src_configure() { |
85 |
+ local mycmakeargs=( |
86 |
+ $(cmake-utils_use_with ayatana APPINDICATOR) |
87 |
+ $(cmake-utils_use_with crypt GCRYPT) |
88 |
+ $(cmake-utils_use_with freerdp FREERDP) |
89 |
+ $(cmake-utils_use_with gnome-keyring GNOMEKEYRING) |
90 |
+ $(cmake-utils_use_with nls GETTEXT) |
91 |
+ $(cmake-utils_use_with nls TRANSLATIONS) |
92 |
+ $(cmake-utils_use_with ssh LIBSSH) |
93 |
+ $(cmake-utils_use_with telepathy TELEPATHY) |
94 |
+ $(cmake-utils_use_with vte VTE) |
95 |
+ $(cmake-utils_use_with zeroconf AVAHI) |
96 |
+ -DGTK_VERSION=3 |
97 |
+ ) |
98 |
+ cmake-utils_src_configure |
99 |
+} |
100 |
+ |
101 |
+pkg_preinst() { |
102 |
+ gnome2_icon_savelist |
103 |
+} |
104 |
+ |
105 |
+pkg_postinst() { |
106 |
+ gnome2_icon_cache_update |
107 |
+} |
108 |
+ |
109 |
+pkg_postrm() { |
110 |
+ gnome2_icon_cache_update |
111 |
+} |