1 |
commit: 17ec02e29d2521bb13c4799cd0d535ddeca19c9c |
2 |
Author: Diogo Pereira <sir.suriv <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Dec 23 16:28:04 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 29 14:38:30 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17ec02e2 |
7 |
|
8 |
net-misc/remmina: depend on a fixed version of freerdp |
9 |
|
10 |
FreeRDP 2 does not yet have a stable API, so we need to depend on a |
11 |
fixed version of FreeRDP to ensure that version bumps don't break |
12 |
Remmina. |
13 |
|
14 |
Package-Manager: portage-2.3.0 |
15 |
Closes: https://github.com/gentoo/gentoo/pull/3226 |
16 |
|
17 |
net-misc/remmina/remmina-1.2.0_rc16-r1.ebuild | 84 +++++++++++++++++++++++++++ |
18 |
1 file changed, 84 insertions(+) |
19 |
|
20 |
diff --git a/net-misc/remmina/remmina-1.2.0_rc16-r1.ebuild b/net-misc/remmina/remmina-1.2.0_rc16-r1.ebuild |
21 |
new file mode 100644 |
22 |
index 00000000..579c65b |
23 |
--- /dev/null |
24 |
+++ b/net-misc/remmina/remmina-1.2.0_rc16-r1.ebuild |
25 |
@@ -0,0 +1,84 @@ |
26 |
+# Copyright 1999-2016 Gentoo Foundation |
27 |
+# Distributed under the terms of the GNU General Public License v2 |
28 |
+# $Id$ |
29 |
+ |
30 |
+EAPI=6 |
31 |
+ |
32 |
+inherit cmake-utils eutils gnome2-utils |
33 |
+ |
34 |
+MY_PV="${PV//_rc/-rcgit.}" |
35 |
+ |
36 |
+DESCRIPTION="A GTK+ RDP, VNC, XDMCP and SSH client" |
37 |
+HOMEPAGE="http://remmina.org/" |
38 |
+SRC_URI="https://github.com/FreeRDP/Remmina/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="GPL-2+" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="ayatana crypt freerdp gnome-keyring nls spice ssh telepathy webkit zeroconf" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ dev-libs/glib:2 |
47 |
+ net-libs/libvncserver |
48 |
+ x11-libs/libxkbfile |
49 |
+ x11-libs/gdk-pixbuf |
50 |
+ x11-libs/gtk+:3 |
51 |
+ x11-libs/libX11 |
52 |
+ virtual/freedesktop-icon-theme |
53 |
+ ayatana? ( dev-libs/libappindicator:3 ) |
54 |
+ crypt? ( dev-libs/libgcrypt:0= ) |
55 |
+ freerdp? ( ~net-misc/freerdp-2.0.0_pre20160722 ) |
56 |
+ gnome-keyring? ( app-crypt/libsecret ) |
57 |
+ spice? ( net-misc/spice-gtk[gtk3] ) |
58 |
+ ssh? ( net-libs/libssh[sftp] |
59 |
+ x11-libs/vte:2.91 ) |
60 |
+ telepathy? ( net-libs/telepathy-glib ) |
61 |
+ webkit? ( net-libs/webkit-gtk:4 ) |
62 |
+ zeroconf? ( net-dns/avahi[gtk3] ) |
63 |
+" |
64 |
+DEPEND="${RDEPEND} |
65 |
+ dev-util/intltool |
66 |
+ virtual/pkgconfig |
67 |
+ nls? ( sys-devel/gettext ) |
68 |
+" |
69 |
+ |
70 |
+DOCS=( README.md ) |
71 |
+ |
72 |
+S="${WORKDIR}/Remmina-${MY_PV}" |
73 |
+ |
74 |
+src_configure() { |
75 |
+ local mycmakeargs=( |
76 |
+ -DWITH_APPINDICATOR=$(usex ayatana) |
77 |
+ -DWITH_GCRYPT=$(usex crypt) |
78 |
+ -DWITH_FREERDP=$(usex freerdp) |
79 |
+ -DWITH_LIBSECRET=$(usex gnome-keyring) |
80 |
+ -DWITH_GETTEXT=$(usex nls) |
81 |
+ -DWITH_TRANSLATIONS=$(usex nls) |
82 |
+ -DWITH_SPICE=$(usex spice) |
83 |
+ -DWITH_LIBSSH=$(usex ssh) |
84 |
+ -DWITH_VTE=$(usex ssh) |
85 |
+ -DWITH_TELEPATHY=$(usex telepathy) |
86 |
+ -DWITH_SURVEY=$(usex webkit) |
87 |
+ -DWITH_AVAHI=$(usex zeroconf) |
88 |
+ -DGTK_VERSION=3 |
89 |
+ ) |
90 |
+ cmake-utils_src_configure |
91 |
+} |
92 |
+ |
93 |
+pkg_preinst() { |
94 |
+ gnome2_icon_savelist |
95 |
+} |
96 |
+ |
97 |
+pkg_postinst() { |
98 |
+ gnome2_icon_cache_update |
99 |
+ |
100 |
+ elog "To get additional features, some optional runtime dependencies" |
101 |
+ elog "may be installed:" |
102 |
+ elog "" |
103 |
+ optfeature "encrypted VNC connections" net-libs/libvncserver[gcrypt] |
104 |
+ optfeature "XDMCP support" x11-base/xorg-server[xephyr] |
105 |
+} |
106 |
+ |
107 |
+pkg_postrm() { |
108 |
+ gnome2_icon_cache_update |
109 |
+} |