git: 54b576e4a002 - main - category/port: Add deskutils/mybee-qt
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 31 Jan 2025 20:37:47 UTC
The branch main has been updated by krion: URL: https://cgit.FreeBSD.org/ports/commit/?id=54b576e4a0024f6a7cf886264484df849f2b9bbb commit 54b576e4a0024f6a7cf886264484df849f2b9bbb Author: Kirill Ponomarev <krion@FreeBSD.org> AuthorDate: 2025-01-31 20:35:11 +0000 Commit: Kirill Ponomarev <krion@FreeBSD.org> CommitDate: 2025-01-31 20:37:11 +0000 category/port: Add deskutils/mybee-qt The MyBee-QT application is a desktop user interface for managing virtual environments via the CBSD framework. It can be used both locally and with remote servers (via SSH/REST API) as well as with MyBee distributions/instances. --- deskutils/Makefile | 1 + deskutils/mybee-qt/Makefile | 45 +++++++++++++++++++++++++++++ deskutils/mybee-qt/distinfo | 3 ++ deskutils/mybee-qt/files/patch-mybee-qt.pro | 13 +++++++++ deskutils/mybee-qt/files/patch-src_src.pro | 20 +++++++++++++ deskutils/mybee-qt/pkg-descr | 4 +++ 6 files changed, 86 insertions(+) diff --git a/deskutils/Makefile b/deskutils/Makefile index fa148a183c4a..64b6d758d369 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -187,6 +187,7 @@ SUBDIR += mindforger SUBDIR += moregroupware SUBDIR += mozo + SUBDIR += mybee-qt SUBDIR += mytetra SUBDIR += nanonote SUBDIR += nautilus-sendto diff --git a/deskutils/mybee-qt/Makefile b/deskutils/mybee-qt/Makefile new file mode 100644 index 000000000000..084939ade014 --- /dev/null +++ b/deskutils/mybee-qt/Makefile @@ -0,0 +1,45 @@ +PORTNAME= mybee-qt +DISTVERSION= 25.01.5 +CATEGORIES= deskutils + +MAINTAINER= fbsd-ports@convectix.com +COMMENT= GUI to interact with CBSD and MyBee appliances +WWW= https://github.com/myb-project + +LICENSE= MIT + +BUILD_DEPENDS= curl:ftp/curl \ + cmake:devel/cmake \ + xfreerdp:net/freerdp +LIB_DEPENDS= libvncserver.so:net/libvncserver \ + libfreerdp2.so:net/freerdp \ + libwinpr2.so:net/freerdp \ + libssh.so:security/libssh +RUN_DEPENDS= xfreerdp:net/freerdp + +USES= gl gmake qmake qt:6 + +USE_GITHUB= yes +GH_ACCOUNT= myb-project +GH_TAGNAME= 6955032 +USE_GL= gl +USE_QT= 5compat base multimedia tools:build + +PLIST_FILES= bin/mybee-qt + +OPTIONS_DEFINE= TRACE_SYSTEMPROCESS +OPTIONS_SUB= yes +TRACE_SYSTEMPROCESS_DESC= Trace system process (debug) + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MTRACE_SYSTEMPROCESS} +MAKE_ENV+= TRACE_SYSTEMPROCESS=true +.endif + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/src/mybee-qt \ + ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/deskutils/mybee-qt/distinfo b/deskutils/mybee-qt/distinfo new file mode 100644 index 000000000000..656342ee9e8b --- /dev/null +++ b/deskutils/mybee-qt/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1737743875 +SHA256 (myb-project-mybee-qt-25.01.5-6955032_GH0.tar.gz) = bde7212cc2a9099083a5b8f73a5f7c4a23351fbdd49ebf2242e798f2b1942cc6 +SIZE (myb-project-mybee-qt-25.01.5-6955032_GH0.tar.gz) = 3878705 diff --git a/deskutils/mybee-qt/files/patch-mybee-qt.pro b/deskutils/mybee-qt/files/patch-mybee-qt.pro new file mode 100644 index 000000000000..4cc5ed28b413 --- /dev/null +++ b/deskutils/mybee-qt/files/patch-mybee-qt.pro @@ -0,0 +1,13 @@ +--- mybee-qt.pro.orig 2025-01-23 11:34:32 UTC ++++ mybee-qt.pro +@@ -1,8 +1,8 @@ TEMPLATE = subdirs + TEMPLATE = subdirs +-SUBDIRS = libssh freerdp2 vnc src ++SUBDIRS = src + + #CONFIG += ordered +-src.depends = libssh freerdp2 vnc ++#src.depends = libssh freerdp2 vnc + + DISTFILES += \ + APP_VERSION \ diff --git a/deskutils/mybee-qt/files/patch-src_src.pro b/deskutils/mybee-qt/files/patch-src_src.pro new file mode 100644 index 000000000000..1bc7c3d8581e --- /dev/null +++ b/deskutils/mybee-qt/files/patch-src_src.pro @@ -0,0 +1,20 @@ +--- src/src.pro.orig 2025-01-23 11:34:32 UTC ++++ src/src.pro +@@ -18,7 +18,7 @@ windows: INCLUDEPATH += ../win64/zlib/include + DEFINES += LIBSSH_STATIC SSH_NO_CPP_EXCEPTIONS + + windows: INCLUDEPATH += ../win64/zlib/include +-INCLUDEPATH += ../include ../include/freerdp2 ../include/winpr2 ++INCLUDEPATH += \"/usr/local/include/freerdp2\" \"/usr/local/include/winpr2\" ../include ../include/freerdp2 ../include/winpr2 + + !isEmpty(OPENSSL_ROOT_DIR) { + INCLUDEPATH += $$clean_path($${OPENSSL_ROOT_DIR}/include) +@@ -53,8 +53,6 @@ windows { + + LIBS += -lOpenSLES + FREERDP_CHANNEL_LIBS = ../*.$${QMAKE_EXTENSION_STATICLIB} +- } else { +- FREERDP_CHANNEL_LIBS = ../lib/freerdp2/*.$${QMAKE_EXTENSION_STATICLIB} + } + + LIBS += -L../lib -lssh -lvncclient diff --git a/deskutils/mybee-qt/pkg-descr b/deskutils/mybee-qt/pkg-descr new file mode 100644 index 000000000000..ff21eae147ef --- /dev/null +++ b/deskutils/mybee-qt/pkg-descr @@ -0,0 +1,4 @@ +The MyBee-QT application is a desktop user interface for managing virtual +environments via the CBSD framework. It can be used both locally and with +remote servers (via SSH/REST API) as well as with MyBee +distributions/instances.