Date: Tue, 12 Jul 2022 20:40:15 GMT From: =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 3236c81b2bdb - main - net/remmina: Make python dependency optional Message-ID: <202207122040.26CKeF2F016082@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=3236c81b2bdb52e1f7bc722070e8eaa719cac3bc commit 3236c81b2bdb52e1f7bc722070e8eaa719cac3bc Author: VVD <vvd@unislabs.com> AuthorDate: 2022-07-12 17:38:04 +0000 Commit: Fernando ApesteguĂa <fernape@FreeBSD.org> CommitDate: 2022-07-12 20:37:26 +0000 net/remmina: Make python dependency optional Remmina supports plugins written in python. Create option for that instead of having python as a hard dependency. PR: 265174 Reported by: vvd@unislabs.com --- net/remmina/Makefile | 10 +++++++--- net/remmina/pkg-plist | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/net/remmina/Makefile b/net/remmina/Makefile index 3e412d4f0a1d..4b6436502322 100644 --- a/net/remmina/Makefile +++ b/net/remmina/Makefile @@ -2,6 +2,7 @@ PORTNAME= remmina DISTVERSION= 1.4.27 +PORTREVISION= 1 CATEGORIES= net gnome MAINTAINER= fernape@FreeBSD.org @@ -13,7 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libappindicator3.so:devel/libappindicator \ libjson-glib-1.0.so:devel/json-glib \ libpcre2-8.so:devel/pcre2 \ - libpython3.9.so:lang/python39 \ libsodium.so:security/libsodium \ libsoup-2.4.so:devel/libsoup \ libwayland-client.so:graphics/wayland @@ -41,7 +41,7 @@ CMAKE_ARGS= -DWITH_APPINDICATOR:BOOL=false CONFLICTS_INSTALL= remmina-plugin* -OPTIONS_DEFINE= AVAHI CUPS GCRYPT NLS SSH TERM +OPTIONS_DEFINE= AVAHI CUPS GCRYPT NLS PYTHON SSH TERM OPTIONS_DEFAULT= AVAHI CUPS GCRYPT NLS SSH TERM \ EXEC RDP SECRET SPICE VNC WWW BASH OPTIONS_GROUP= PLUGINS @@ -51,7 +51,7 @@ OPTIONS_SINGLE_SHELL= BASH ZSH OPTIONS_SUB= yes .if ${FLAVOR:U} == lite -OPTIONS_EXCLUDE= AVAHI CUPS KWALLET SECRET SPICE SSH TERM WWW +OPTIONS_EXCLUDE= AVAHI CUPS KWALLET PYTHON SECRET SPICE SSH TERM WWW COMMENT+= (lite flavor) .endif @@ -59,6 +59,7 @@ AVAHI_DESC= Build with Avahi support BASH_DESC= Use BASH for shell wrapper scripts EXEC_DESC= Plugin to execute a command GCRYPT_DESC= Build with libgcrypt support for password encryption +PYTHON_DESC= Build with support for Python plugins RDP_DESC= Remote Desktop Protocol plugin SECRET_DESC= GNOME Keyring plugin SHELL_DESC= Shell Scripts @@ -88,6 +89,9 @@ KWALLET_CMAKE_BOOL= WITH_KF5WALLET NLS_CMAKE_BOOL= WITH_TRANSLATIONS +PYTHON_USES= python +PYTHON_CMAKE_BOOL= WITH_PYTHONLIBS + RDP_LIB_DEPENDS= libfreerdp2.so:net/freerdp libxkbfile.so:x11/libxkbfile SECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret diff --git a/net/remmina/pkg-plist b/net/remmina/pkg-plist index 4f2c2fddb510..f725cbfe9558 100644 --- a/net/remmina/pkg-plist +++ b/net/remmina/pkg-plist @@ -10,7 +10,7 @@ include/remmina/types.h %%SPICE%%lib/remmina/plugins/remmina-plugin-spice.so %%VNC%%lib/remmina/plugins/remmina-plugin-vnc.so %%WWW%%lib/remmina/plugins/remmina-plugin-www.so -lib/remmina/plugins/remmina-plugin-python_wrapper.so +%%PYTHON%%lib/remmina/plugins/remmina-plugin-python_wrapper.so libdata/pkgconfig/remmina.pc share/man/man1/remmina-file-wrapper.1.gz share/man/man1/remmina.1.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207122040.26CKeF2F016082>