diff --git a/emulators/flexemu/Makefile b/emulators/flexemu/Makefile index 0dedff9752c7..8c44dde04c64 100644 --- a/emulators/flexemu/Makefile +++ b/emulators/flexemu/Makefile @@ -1,38 +1,35 @@ PORTNAME= flexemu DISTVERSIONPREFIX= V -DISTVERSION= 3.27 +DISTVERSION= 3.30 CATEGORIES= emulators MAINTAINER= rhurlin@FreeBSD.org COMMENT= MC6809 emulator running FLEX operating system 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 - -.if ${COMPILER_TYPE} == gcc -USE_GCC= yes -CONFIGURE_ARGS= --disable-precompiled-headers -.endif - -.include +.include diff --git a/emulators/flexemu/distinfo b/emulators/flexemu/distinfo index b0773f285f73..9835ceb16053 100644 --- a/emulators/flexemu/distinfo +++ b/emulators/flexemu/distinfo @@ -1,9 +1,9 @@ -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 SIZE (google-googletest-b514bdc_GH0.tar.gz) = 872710 SHA256 (open-source-parsers-jsoncpp-8214f71_GH0.tar.gz) = ac618109663963435516dcef05773d185f99d6cafbcec59bf2ba3e08c050f6a6 SIZE (open-source-parsers-jsoncpp-8214f71_GH0.tar.gz) = 212844