1 |
commit: dcdf0283c315acf615f33bbb8c9ae157bc5cb7d2 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 3 10:46:13 2020 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 3 10:46:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcdf0283 |
7 |
|
8 |
net-misc/remmina: require USE=X on freerdp, clean up avahi dep |
9 |
|
10 |
It was reported that without USE=X on freerdp, the RDP plugin doesn't |
11 |
take keyboard input. Let's require this. |
12 |
|
13 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
14 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
15 |
|
16 |
net-misc/remmina/remmina-1.4.8-r1.ebuild | 98 ++++++++++++++++++++++++++++++++ |
17 |
1 file changed, 98 insertions(+) |
18 |
|
19 |
diff --git a/net-misc/remmina/remmina-1.4.8-r1.ebuild b/net-misc/remmina/remmina-1.4.8-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000000..518563f4af8 |
22 |
--- /dev/null |
23 |
+++ b/net-misc/remmina/remmina-1.4.8-r1.ebuild |
24 |
@@ -0,0 +1,98 @@ |
25 |
+# Copyright 1999-2020 Gentoo Authors |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+ |
28 |
+EAPI=7 |
29 |
+ |
30 |
+inherit cmake optfeature xdg |
31 |
+ |
32 |
+MY_P="${PN^}-v${PV}" |
33 |
+ |
34 |
+DESCRIPTION="A GTK+ RDP, SPICE, VNC, XDMCP and SSH client" |
35 |
+HOMEPAGE="https://remmina.org/" |
36 |
+SRC_URI="https://gitlab.com/Remmina/Remmina/-/archive/v${PV}/${MY_P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="GPL-2+-with-openssl-exception" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~x86" |
41 |
+IUSE="appindicator crypt cups examples gnome-keyring kwallet libressl nls spice ssh rdp telemetry telepathy vnc webkit zeroconf" |
42 |
+ |
43 |
+DEPEND=" |
44 |
+ dev-libs/glib:2 |
45 |
+ dev-libs/json-glib |
46 |
+ dev-libs/libsodium:= |
47 |
+ net-libs/libsoup |
48 |
+ x11-libs/gdk-pixbuf |
49 |
+ x11-libs/gtk+:3 |
50 |
+ x11-libs/libX11 |
51 |
+ x11-libs/libxkbfile |
52 |
+ appindicator? ( dev-libs/libappindicator:3 ) |
53 |
+ crypt? ( dev-libs/libgcrypt:0= ) |
54 |
+ rdp? ( >=net-misc/freerdp-2.0.0_rc4_p1129[X] |
55 |
+ <net-misc/freerdp-3[X] |
56 |
+ cups? ( net-print/cups:= ) ) |
57 |
+ gnome-keyring? ( app-crypt/libsecret ) |
58 |
+ kwallet? ( kde-frameworks/kwallet ) |
59 |
+ !libressl? ( dev-libs/openssl:0= ) |
60 |
+ libressl? ( dev-libs/libressl:0= ) |
61 |
+ spice? ( net-misc/spice-gtk[gtk3] ) |
62 |
+ ssh? ( net-libs/libssh:0=[sftp] |
63 |
+ x11-libs/vte:2.91 ) |
64 |
+ telepathy? ( net-libs/telepathy-glib ) |
65 |
+ vnc? ( net-libs/libvncserver[jpeg] ) |
66 |
+ webkit? ( net-libs/webkit-gtk:4 ) |
67 |
+ zeroconf? ( >=net-dns/avahi-0.8-r2[dbus,gtk] ) |
68 |
+" |
69 |
+BDEPEND=" |
70 |
+ dev-util/intltool |
71 |
+ virtual/pkgconfig |
72 |
+ nls? ( sys-devel/gettext ) |
73 |
+" |
74 |
+ |
75 |
+RDEPEND=" |
76 |
+ ${DEPEND} |
77 |
+ virtual/freedesktop-icon-theme |
78 |
+" |
79 |
+ |
80 |
+DOCS=( AUTHORS CHANGELOG.md README.md THANKS.md ) |
81 |
+ |
82 |
+S="${WORKDIR}/${MY_P}" |
83 |
+ |
84 |
+src_prepare() { |
85 |
+ xdg_environment_reset |
86 |
+ cmake_src_prepare |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ local mycmakeargs=( |
91 |
+ -DWITH_APPINDICATOR=$(usex appindicator) |
92 |
+ -DWITH_GCRYPT=$(usex crypt) |
93 |
+ -DWITH_EXAMPLES=$(usex examples) |
94 |
+ -DWITH_LIBSECRET=$(usex gnome-keyring) |
95 |
+ -DWITH_KF5WALLET=$(usex kwallet) |
96 |
+ -DWITH_GETTEXT=$(usex nls) |
97 |
+ -DWITH_TRANSLATIONS=$(usex nls) |
98 |
+ -DWITH_FREERDP=$(usex rdp) |
99 |
+ -DWITH_CUPS=$(usex cups) |
100 |
+ -DWITH_SPICE=$(usex spice) |
101 |
+ -DWITH_LIBSSH=$(usex ssh) |
102 |
+ -DWITH_VTE=$(usex ssh) |
103 |
+ -DWITH_TELEPATHY=$(usex telepathy) |
104 |
+ -DWITH_LIBVNCSERVER=$(usex vnc) |
105 |
+ -DWITH_WWW=$(usex webkit) |
106 |
+ -DWITH_AVAHI=$(usex zeroconf) |
107 |
+ -DWITH_NEWS=$(usex telemetry) |
108 |
+ -DWITH_ICON_CACHE=OFF |
109 |
+ -DWITH_UPDATE_DESKTOP_DB=OFF |
110 |
+ ) |
111 |
+ cmake_src_configure |
112 |
+} |
113 |
+ |
114 |
+pkg_postinst() { |
115 |
+ xdg_pkg_postinst |
116 |
+ |
117 |
+ elog "To get additional features, some optional runtime dependencies" |
118 |
+ elog "may be installed:" |
119 |
+ elog "" |
120 |
+ optfeature "encrypted VNC connections" net-libs/libvncserver[gcrypt] |
121 |
+ optfeature "XDMCP support" x11-base/xorg-server[xephyr] |
122 |
+} |