1 |
commit: f555fb1348a1e0f39d7dfdcd8e5d62b0b19f640f |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 28 12:41:31 2023 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 28 13:28:51 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f555fb13 |
7 |
|
8 |
net-misc/remmina: Use ayatana indicators |
9 |
|
10 |
Closes: https://bugs.gentoo.org/890469 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
net-misc/remmina/remmina-1.4.29-r1.ebuild | 111 ++++++++++++++++++++++++++++++ |
14 |
1 file changed, 111 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/remmina/remmina-1.4.29-r1.ebuild b/net-misc/remmina/remmina-1.4.29-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..901a4cac14ff |
19 |
--- /dev/null |
20 |
+++ b/net-misc/remmina/remmina-1.4.29-r1.ebuild |
21 |
@@ -0,0 +1,111 @@ |
22 |
+# Copyright 1999-2023 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+ |
27 |
+PYTHON_COMPAT=( python3_{9..11} ) |
28 |
+ |
29 |
+inherit cmake optfeature python-single-r1 xdg |
30 |
+ |
31 |
+MY_P="${PN^}-v${PV}" |
32 |
+ |
33 |
+DESCRIPTION="A GTK+ RDP, SPICE, VNC and SSH client" |
34 |
+HOMEPAGE="https://remmina.org/" |
35 |
+SRC_URI="https://gitlab.com/Remmina/Remmina/-/archive/v${PV}/${MY_P}.tar.bz2" |
36 |
+ |
37 |
+LICENSE="GPL-2+-with-openssl-exception" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86" |
40 |
+IUSE="+appindicator crypt cups examples gnome-keyring gvnc kwallet nls python spice ssh rdp telemetry vnc wayland webkit zeroconf" |
41 |
+ |
42 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
43 |
+ |
44 |
+COMMON_DEPEND=" |
45 |
+ dev-libs/glib:2 |
46 |
+ dev-libs/json-glib |
47 |
+ dev-libs/libpcre2 |
48 |
+ dev-libs/libsodium:= |
49 |
+ dev-libs/openssl:0= |
50 |
+ x11-libs/gdk-pixbuf |
51 |
+ x11-libs/gtk+:3[wayland?] |
52 |
+ x11-libs/libX11 |
53 |
+ x11-libs/libxkbfile |
54 |
+ appindicator? ( dev-libs/libayatana-appindicator ) |
55 |
+ crypt? ( dev-libs/libgcrypt:0= ) |
56 |
+ gnome-keyring? ( app-crypt/libsecret ) |
57 |
+ gvnc? ( net-libs/gtk-vnc ) |
58 |
+ kwallet? ( kde-frameworks/kwallet ) |
59 |
+ python? ( ${PYTHON_DEPS} ) |
60 |
+ rdp? ( >=net-misc/freerdp-2.0.0_rc4_p1129[X] |
61 |
+ <net-misc/freerdp-3[X] |
62 |
+ cups? ( net-print/cups:= ) ) |
63 |
+ spice? ( net-misc/spice-gtk[gtk3] ) |
64 |
+ ssh? ( net-libs/libssh:0=[sftp] |
65 |
+ x11-libs/vte:2.91 ) |
66 |
+ vnc? ( net-libs/libvncserver[jpeg] ) |
67 |
+ webkit? ( net-libs/webkit-gtk:4 ) |
68 |
+ zeroconf? ( >=net-dns/avahi-0.8-r2[dbus,gtk] ) |
69 |
+" |
70 |
+ |
71 |
+DEPEND=" |
72 |
+ ${COMMON_DEPEND} |
73 |
+ spice? ( app-emulation/spice-protocol ) |
74 |
+" |
75 |
+ |
76 |
+BDEPEND=" |
77 |
+ virtual/pkgconfig |
78 |
+ nls? ( sys-devel/gettext ) |
79 |
+" |
80 |
+ |
81 |
+RDEPEND=" |
82 |
+ ${COMMON_DEPEND} |
83 |
+ virtual/freedesktop-icon-theme |
84 |
+" |
85 |
+ |
86 |
+DOCS=( AUTHORS CHANGELOG.md README.md THANKS.md ) |
87 |
+ |
88 |
+S="${WORKDIR}/${MY_P}" |
89 |
+ |
90 |
+pkg_setup() { |
91 |
+ use python && python-single-r1_pkg_setup |
92 |
+} |
93 |
+ |
94 |
+src_prepare() { |
95 |
+ xdg_environment_reset |
96 |
+ cmake_src_prepare |
97 |
+} |
98 |
+ |
99 |
+src_configure() { |
100 |
+ local mycmakeargs=( |
101 |
+ -DHAVE_LIBAPPINDICATOR=$(usex appindicator ON OFF) |
102 |
+ -DWITH_AVAHI=$(usex zeroconf) |
103 |
+ -DWITH_CUPS=$(usex cups) |
104 |
+ -DWITH_EXAMPLES=$(usex examples) |
105 |
+ -DWITH_FREERDP=$(usex rdp) |
106 |
+ -DWITH_FREERDP3=OFF |
107 |
+ -DWITH_GCRYPT=$(usex crypt) |
108 |
+ -DWITH_GETTEXT=$(usex nls) |
109 |
+ -DWITH_ICON_CACHE=OFF |
110 |
+ -DWITH_KF5WALLET=$(usex kwallet) |
111 |
+ -DWITH_LIBSECRET=$(usex gnome-keyring) |
112 |
+ -DWITH_LIBSSH=$(usex ssh) |
113 |
+ -DWITH_LIBVNCSERVER=$(usex vnc) |
114 |
+ -DWITH_NEWS=$(usex telemetry) |
115 |
+ -DWITH_PYTHONLIBS=$(usex python ON OFF) |
116 |
+ -DWITH_SPICE=$(usex spice) |
117 |
+ -DWITH_TRANSLATIONS=$(usex nls) |
118 |
+ -DWITH_UPDATE_DESKTOP_DB=OFF |
119 |
+ -DWITH_VTE=$(usex ssh) |
120 |
+ -DWITH_WWW=$(usex webkit) |
121 |
+ -DWITH_X2GO=OFF |
122 |
+ # when this feature is stable, add python eclass usage to optionally enable |
123 |
+ -DWITH_PYTHON=OFF |
124 |
+ ) |
125 |
+ cmake_src_configure |
126 |
+} |
127 |
+ |
128 |
+pkg_postinst() { |
129 |
+ xdg_pkg_postinst |
130 |
+ |
131 |
+ optfeature "encrypted VNC connections" net-libs/libvncserver[gcrypt] |
132 |
+} |