summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2022-06-21 07:55:36 -0500
committerBen Kohler <bkohler@gentoo.org>2022-06-21 07:56:27 -0500
commit602438fce43af16c822041c1588d144a6aa2e5e0 (patch)
tree07f98178a121d47748fc538f32ab1dbeb70decc3 /net-misc/remmina
parentsys-apps/hwinfo: add 21.81 (diff)
downloadgentoo-602438fce43af16c822041c1588d144a6aa2e5e0.tar.gz
gentoo-602438fce43af16c822041c1588d144a6aa2e5e0.tar.bz2
gentoo-602438fce43af16c822041c1588d144a6aa2e5e0.zip
net-misc/remmina: add 1.4.27, remove unused dep
Closes: https://bugs.gentoo.org/835971 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-misc/remmina')
-rw-r--r--net-misc/remmina/Manifest1
-rw-r--r--net-misc/remmina/remmina-1.4.27.ebuild113
2 files changed, 114 insertions, 0 deletions
diff --git a/net-misc/remmina/Manifest b/net-misc/remmina/Manifest
index fc83d8d5756a..15e22942d013 100644
--- a/net-misc/remmina/Manifest
+++ b/net-misc/remmina/Manifest
@@ -1,2 +1,3 @@
DIST Remmina-v1.4.25.tar.gz 3404247 BLAKE2B 59798362b33780041975f8af6c11b14a36876badeaed341f4600e9e920ec2b2ca78f33ddc69bb52608fc45488aefacf6c9ec9751369a4b5c23507519494180c4 SHA512 2409d316894a423de487c264861bda782bac365d13eb77f965863173072da85d228047ca0624bc7664cf6c1a5144598895371a56e37a1cc90df426d19b5719a8
DIST Remmina-v1.4.26.tar.gz 3451611 BLAKE2B 574510c7c2deed73887b4dec2b0b7036f5e4bfccb8c0229f9bcbca934896837a758d51e95965549643b44cedb66b57cdf9b7e5500790825951cc98d6846e8687 SHA512 fe81f3878017b82208255cc757d8897868cb810e44dd7d8dc88c8d371f96cec80936aaf86fd216568fba91401e13463bf3b278789b7c8839403f8c294cc049fc
+DIST Remmina-v1.4.27.tar.gz 3479987 BLAKE2B 96d4df06558a267db8605dc03de729061e303f9cebec84369ec3bdeeb19d4a377accaf224603ff9ba79bb9f1cecfa66519e6e02e328f42d24c46bdf3e1fabfa6 SHA512 2fff81a1a721b8ca87698697952bb1080cde6affc86c324f6fc30cc329ead57f0e617c39efeeee30890ad4812e719cee22a0b84df43aa1bc7db571607f208bfd
diff --git a/net-misc/remmina/remmina-1.4.27.ebuild b/net-misc/remmina/remmina-1.4.27.ebuild
new file mode 100644
index 000000000000..318b9a4f5ea2
--- /dev/null
+++ b/net-misc/remmina/remmina-1.4.27.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit cmake optfeature python-single-r1 xdg
+
+MY_P="${PN^}-v${PV}"
+
+DESCRIPTION="A GTK+ RDP, SPICE, VNC and SSH client"
+HOMEPAGE="https://remmina.org/"
+SRC_URI="https://gitlab.com/Remmina/Remmina/-/archive/v${PV}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2+-with-openssl-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+appindicator crypt cups examples gnome-keyring gvnc kwallet nls python spice ssh rdp telemetry vnc webkit x2go zeroconf"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+COMMON_DEPEND="
+ dev-libs/glib:2
+ dev-libs/json-glib
+ dev-libs/libpcre2
+ dev-libs/libsodium:=
+ dev-libs/openssl:0=
+ net-libs/libsoup:2.4
+ x11-libs/gdk-pixbuf
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libxkbfile
+ appindicator? ( dev-libs/libappindicator:3 )
+ crypt? ( dev-libs/libgcrypt:0= )
+ gnome-keyring? ( app-crypt/libsecret )
+ gvnc? ( net-libs/gtk-vnc )
+ kwallet? ( kde-frameworks/kwallet )
+ python? ( ${PYTHON_DEPS} )
+ rdp? ( >=net-misc/freerdp-2.0.0_rc4_p1129[X]
+ <net-misc/freerdp-3[X]
+ cups? ( net-print/cups:= ) )
+ spice? ( net-misc/spice-gtk[gtk3] )
+ ssh? ( net-libs/libssh:0=[sftp]
+ x11-libs/vte:2.91 )
+ vnc? ( net-libs/libvncserver[jpeg] )
+ webkit? ( net-libs/webkit-gtk:4 )
+ x2go? ( net-misc/pyhoca-cli )
+ zeroconf? ( >=net-dns/avahi-0.8-r2[dbus,gtk] )
+"
+
+DEPEND="
+ ${COMMON_DEPEND}
+ spice? ( app-emulation/spice-protocol )
+"
+
+BDEPEND="
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )
+"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ virtual/freedesktop-icon-theme
+"
+
+DOCS=( AUTHORS CHANGELOG.md README.md THANKS.md )
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ xdg_environment_reset
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DHAVE_LIBAPPINDICATOR=$(usex appindicator ON OFF)
+ -DWITH_AVAHI=$(usex zeroconf)
+ -DWITH_CUPS=$(usex cups)
+ -DWITH_EXAMPLES=$(usex examples)
+ -DWITH_FREERDP=$(usex rdp)
+ -DWITH_FREERDP3=OFF
+ -DWITH_GCRYPT=$(usex crypt)
+ -DWITH_GETTEXT=$(usex nls)
+ -DWITH_ICON_CACHE=OFF
+ -DWITH_KF5WALLET=$(usex kwallet)
+ -DWITH_LIBSECRET=$(usex gnome-keyring)
+ -DWITH_LIBSSH=$(usex ssh)
+ -DWITH_LIBVNCSERVER=$(usex vnc)
+ -DWITH_NEWS=$(usex telemetry)
+ -DWITH_PYTHONLIBS=$(usex python ON OFF)
+ -DWITH_SPICE=$(usex spice)
+ -DWITH_TRANSLATIONS=$(usex nls)
+ -DWITH_UPDATE_DESKTOP_DB=OFF
+ -DWITH_VTE=$(usex ssh)
+ -DWITH_WWW=$(usex webkit)
+ -DWITH_X2GO=$(usex x2go)
+ # when this feature is stable, add python eclass usage to optionally enable
+ -DWITH_PYTHON=OFF
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ optfeature "encrypted VNC connections" net-libs/libvncserver[gcrypt]
+}