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