git: c57af9725254 - main - emulators/flexemu: Update to 3.30
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Sep 2025 17:01:42 UTC
The branch main has been updated by rhurlin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c57af9725254be730191d8e2843b387d72a5184c
commit c57af9725254be730191d8e2843b387d72a5184c
Author: Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2025-09-22 16:45:06 +0000
Commit: Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2025-09-22 16:57:05 +0000
emulators/flexemu: Update to 3.30
- Change from autotools to cmake
- Change from Qt5 to Qt6
- Compiler needs C++17
- Preparations for test target (not buildable atm.)
Changelog: https://github.com/aladur/flexemu/commit/3b579e5014a2eb3a342b47c04047023cb9935a2b
Reported by: portscout, Repology
---
emulators/flexemu/Makefile | 35 ++++++++++++++++-------------------
emulators/flexemu/distinfo | 6 +++---
2 files changed, 19 insertions(+), 22 deletions(-)
diff --git a/emulators/flexemu/Makefile b/emulators/flexemu/Makefile
index 0dedff9752c7..8c44dde04c64 100644
--- a/emulators/flexemu/Makefile
+++ b/emulators/flexemu/Makefile
@@ -1,6 +1,6 @@
PORTNAME= flexemu
DISTVERSIONPREFIX= V
-DISTVERSION= 3.27
+DISTVERSION= 3.30
CATEGORIES= emulators
MAINTAINER= rhurlin@FreeBSD.org
@@ -9,30 +9,27 @@ WWW= https://flexemu.neocities.org/
LICENSE= GPLv2
-USES= compiler desktop-file-utils gl libtool ncurses \
- pkgconfig qt:5 shared-mime-info xorg
+USES= cmake compiler:c++17-lang desktop-file-utils gl libtool \
+ ncurses qt:6 shared-mime-info xorg
USE_GITHUB= yes
GH_ACCOUNT= aladur
GH_TUPLE= fmtlib:fmt:0c9fce2:fmt/fmt \
google:googletest:b514bdc:googletest/googletest \
open-source-parsers:jsoncpp:8214f71:jsoncpp/jsoncpp
-USE_GL= gl
-USE_QT= buildtools:build core dbus gui network printsupport \
- qmake:build widgets x11extras
+USE_GL= gl opengl
+USE_QT= base declarative
USE_XORG= ice sm x11
-GNU_CONFIGURE= yes
+# The minimum supported clang-tidy version is 19.0.0
+CMAKE_ARGS+= -DFLEXEMU_QT_MAJOR_VERSION=6 \
+ -DCLANG_TIDY=${LOCALBASE}/bin/clang-tidy${COMPILER_VERSION:C/.$//} \
+ -DRUN_CLANG_TIDY=${LOCALBASE}/llvm${COMPILER_VERSION:C/.$//}/bin/run-clang-tidy
-post-install:
- @${RM} ${STAGEDIR}${PREFIX}/bin/rcvflex
- @${RM} ${STAGEDIR}${PREFIX}/bin/send2flx
- @${RM} ${STAGEDIR}${PREFIX}/bin/testdaa
+# test target has build errors atm.
+test:
+ @cd ${WRKDIR}/.build && \
+ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${CMAKE_SOURCE_PATH} && \
+ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
+ ${BUILD_WRKSRC}/test
-.include <bsd.port.pre.mk>
-
-.if ${COMPILER_TYPE} == gcc
-USE_GCC= yes
-CONFIGURE_ARGS= --disable-precompiled-headers
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/emulators/flexemu/distinfo b/emulators/flexemu/distinfo
index b0773f285f73..9835ceb16053 100644
--- a/emulators/flexemu/distinfo
+++ b/emulators/flexemu/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1735567222
-SHA256 (aladur-flexemu-V3.27_GH0.tar.gz) = 771657df523d68ebbe1d64778e67c591ddda101364627f1daf0f8e92efd4bfb4
-SIZE (aladur-flexemu-V3.27_GH0.tar.gz) = 11350853
+TIMESTAMP = 1758397524
+SHA256 (aladur-flexemu-V3.30_GH0.tar.gz) = 5146c1f9b6871a015a04ad04141984f5f887373a30b72bd44a28d2d898450002
+SIZE (aladur-flexemu-V3.30_GH0.tar.gz) = 11457428
SHA256 (fmtlib-fmt-0c9fce2_GH0.tar.gz) = dd7dd5ef9e4677e8466a3f939613d1f73876c511a9a1be4857fb62590c110ca3
SIZE (fmtlib-fmt-0c9fce2_GH0.tar.gz) = 701040
SHA256 (google-googletest-b514bdc_GH0.tar.gz) = dcefc4adaca27f89b69371eadef42c4d311d2debfdee2a9a5985cae740463f98