diff --git a/chinese/fcitx/Makefile b/chinese/fcitx/Makefile index 518d0d3d45ee..114b1abba7a6 100644 --- a/chinese/fcitx/Makefile +++ b/chinese/fcitx/Makefile @@ -1,99 +1,99 @@ PORTNAME= fcitx DISTVERSION= 4.2.9.9 PORTREVISION= 4 CATEGORIES= chinese x11 MASTER_SITES= http://download.fcitx-im.org/fcitx/:fcitx \ http://download.fcitx-im.org/data/:data DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:fcitx \ en_dict-${_DICT_VER}.tar.gz:data \ pinyin.tar.gz:data \ py_stroke-${_PYSTROKE_VER}.tar.gz:data \ py_table-${_PYTABLE_VER}.tar.gz:data \ table.tar.gz:data DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= lichray@gmail.com COMMENT= Flexible Input Method Framework WWW= https://fcitx-im.org/wiki/Fcitx LICENSE= GPLv2 BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ bash:shells/bash \ ${LOCALBASE}/libdata/pkgconfig/xkeyboard-config.pc:x11/xkeyboard-config LIB_DEPENDS= libcairo.so:graphics/cairo \ libdbus-1.so:devel/dbus \ libenchant-2.so:textproc/enchant2 \ libjson-c.so:devel/json-c \ libXfixes.so:x11/libXfixes \ libXinerama.so:x11/libXinerama \ libXrender.so:x11/libXrender \ libxkbcommon.so:x11/libxkbcommon \ libuuid.so:misc/libuuid RUN_DEPENDS= xdg-open:devel/xdg-utils \ xkeyboard-config>=0:x11/xkeyboard-config USES= compiler:c++11-lang gnome tar:xz cmake:noninja desktop-file-utils \ gettext-tools:build,run gettext-runtime iconv:wchar_t \ - kde:5 pkgconfig shared-mime-info compiler:c++14-lang xorg + kde pkgconfig shared-mime-info compiler:c++14-lang xorg USE_GNOME= intltool introspection libxml2 pango USE_KDE= ecm:build USE_LDCONFIG= yes USE_XORG= ice sm x11 xext xkbfile CMAKE_ARGS= -DDATADIR=${DATADIR} \ -DGOBJECT_INTROSPECTION_GIRDIR=${PREFIX}/share/gir-1.0 \ -DGOBJECT_INTROSPECTION_TYPELIBDIR=${PREFIX}/lib/girepository-1.0 \ -DPREFIX=${PREFIX} CMAKE_ON= FORCE_ENCHANT .if defined(WITH_DEBUG) CMAKE_ON+= ENABLE_DEBUG .endif CMAKE_OFF= ENABLE_QT \ ENABLE_QT_IM_MODULE \ ENABLE_QT_GUI \ ENABLE_XDGAUTOSTART \ LIBICONV_LIBC_HAS_ICONV_OPEN \ CONFLICTS_INSTALL= fcitx5 zh-fcitx5-chinese-addons # bin/createPYMB share/icons/hicolor/128x128/apps/fcitx.png share/icons/hicolor/16x16/apps/fcitx-fullwidth-active.png SUB_FILES= pkg-message SUB_LIST= DESKTOPDIR=${DESKTOPDIR} OPTIONS_DEFINE= DOCS GTK2 GTK3 OPENCC TPUNC OPTIONS_DEFAULT= GTK2 GTK3 OPTIONS_SUB= yes GTK2_DESC= Enable Gtk2 IM module GTK3_DESC= Enable Gtk3 IM module OPENCC_DESC= Enable OpenCC for Chinese Transform TPUNC_DESC= Use traditional quotation marks GTK2_USE= GNOME=gtk20 GTK2_CMAKE_BOOL= ENABLE_GTK2_IM_MODULE GTK2_VARS= SUB_LIST+=GTK2_IM=fcitx GTK2_VARS_OFF= SUB_LIST+=GTK2_IM=xim GTK3_USE= GNOME=gtk30 GTK3_CMAKE_BOOL= ENABLE_GTK3_IM_MODULE GTK3_VARS= SUB_LIST+=GTK3_IM=fcitx GTK3_VARS_OFF= SUB_LIST+=GTK3_IM=xim OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc OPENCC_CMAKE_BOOL= ENABLE_OPENCC TPUNC_EXTRA_PATCHES= ${PATCHDIR}/tpunc-data_punc.mb.zh_CN _DICT_VER= 20121020 _PYSTROKE_VER= 20121124 _PYTABLE_VER= 20121124 post-patch: @${CP} ${_DISTDIR}/en_dict-${_DICT_VER}.tar.gz ${WRKSRC}/src/module/spell/dict/ @${CP} ${_DISTDIR}/pinyin.tar.gz ${WRKSRC}/src/im/pinyin/data/ @${CP} ${_DISTDIR}/py_stroke-${_PYSTROKE_VER}.tar.gz ${WRKSRC}/src/module/pinyin-enhance/data/ @${CP} ${_DISTDIR}/py_table-${_PYTABLE_VER}.tar.gz ${WRKSRC}/src/module/pinyin-enhance/data/ @${CP} ${_DISTDIR}/table.tar.gz ${WRKSRC}/src/im/table/data/ .include diff --git a/chinese/fcitx5-chewing/Makefile b/chinese/fcitx5-chewing/Makefile index 4e49430bf8ee..27cf23ef5186 100644 --- a/chinese/fcitx5-chewing/Makefile +++ b/chinese/fcitx5-chewing/Makefile @@ -1,22 +1,23 @@ PORTNAME= fcitx5-chewing DISTVERSION= 5.1.12 +PORTREVISION= 1 CATEGORIES= chinese textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ MAINTAINER= lwhsu@FreeBSD.org COMMENT= Chewing support for Fcitx5 WWW= https://github.com/fcitx/fcitx5-chewing LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt LIB_DEPENDS= libchewing.so:chinese/libchewing \ libFcitx5Core.so:textproc/fcitx5 -USES= compiler:c++17-lang gettext-tools cmake kde:5 pkgconfig tar:zst +USES= compiler:c++17-lang gettext-tools cmake kde pkgconfig tar:zst -USE_KDE= ecm +USE_KDE= ecm:build CONFLICTS_INSTALL= zh-fcitx-chewing # share/icons/hicolor/48x48/apps/fcitx-chewing.png .include diff --git a/chinese/fcitx5-chinese-addons/Makefile b/chinese/fcitx5-chinese-addons/Makefile index 4a6de2eb091c..52d2bf610143 100644 --- a/chinese/fcitx5-chinese-addons/Makefile +++ b/chinese/fcitx5-chinese-addons/Makefile @@ -1,59 +1,60 @@ PORTNAME= fcitx5-chinese-addons DISTVERSION= 5.1.13 +PORTREVISION= 1 CATEGORIES= chinese textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ \ https://download.fcitx-im.org/data/:py_stroke,py_table DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${PY_STROKE_TAR}:py_stroke \ ${PY_TABLE_TAR}:py_table DIST_SUBDIR= ${PORTNAME} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Pinyin and table input method support for Fcitx5 WWW= https://github.com/fcitx/fcitx5-chinese-addons LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt BUILD_DEPENDS= fcitx5-lua>0:textproc/fcitx5-lua LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ libcurl.so:ftp/curl \ libFcitx5Core.so:textproc/fcitx5 \ libfmt.so:devel/libfmt \ libIMEPinyin.so:chinese/libime \ libopencc.so:chinese/opencc RUN_DEPENDS= fcitx5-lua>0:textproc/fcitx5-lua -USES= cmake compiler:c++17-lang gettext kde:5 localbase pkgconfig \ +USES= cmake compiler:c++17-lang gettext kde localbase pkgconfig \ tar:zst OPTIONS_DEFINE= GUI OPTIONS_DEFAULT= GUI USE_LDCONFIG= yes GUI_DESC= Configuration GUI GUI_USES= qt:6 GUI_USE= qt=base,webengine GUI_LIB_DEPENDS= libFcitx5Qt6DBusAddons.so:textproc/fcitx5-qt@qt6 GUI_CMAKE_ON= -DUSE_WEBKIT:BOOL=false -USE_KDE= ecm +USE_KDE= ecm:build CMAKE_ON= ENABLE_OPENCC CMAKE_OFF= ENABLE_TEST MAKE_ENV= FCITX5_DOWNLOAD_DISALLOWED=TRUE CONFLICTS_INSTALL= zh-fcitx # share/icons/hicolor/16x16/apps/fcitx-fullwidth-active.png # These must follow modules/pinyinhelper/CMakeLists.txt PY_STROKE_VER= 20250329 PY_TABLE_VER= 20121124 PY_STROKE_TAR= py_stroke-${PY_STROKE_VER}.tar.gz PY_TABLE_TAR= py_table-${PY_TABLE_VER}.tar.gz post-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${PY_STROKE_TAR} ${WRKSRC}/modules/pinyinhelper ${CP} ${DISTDIR}/${DIST_SUBDIR}/${PY_TABLE_TAR} ${WRKSRC}/modules/pinyinhelper .include diff --git a/chinese/fcitx5-mcbopomofo/Makefile b/chinese/fcitx5-mcbopomofo/Makefile index f4bb06825745..33a733af6e65 100644 --- a/chinese/fcitx5-mcbopomofo/Makefile +++ b/chinese/fcitx5-mcbopomofo/Makefile @@ -1,26 +1,27 @@ PORTNAME= fcitx5-mcbopomofo DISTVERSION= 3.0 +PORTREVISION= 1 CATEGORIES= chinese textproc MAINTAINER= lwhsu@FreeBSD.org COMMENT= McBopomofo for Fcitx5 WWW= https://github.com/openvanilla/fcitx5-mcbopomofo LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 \ libfmt.so:devel/libfmt \ libicuuc.so:devel/icu \ libjson-c.so:devel/json-c -USES= cmake compiler:c++17-lang gettext-tools kde:5 pkgconfig +USES= cmake compiler:c++17-lang gettext-tools kde pkgconfig USE_GITHUB= yes GH_ACCOUNT= openvanilla -USE_KDE= ecm +USE_KDE= ecm:build CMAKE_OFF= ENABLE_TEST .include diff --git a/chinese/fcitx5-rime/Makefile b/chinese/fcitx5-rime/Makefile index b9bb4b3a8950..f90aa8fe577d 100644 --- a/chinese/fcitx5-rime/Makefile +++ b/chinese/fcitx5-rime/Makefile @@ -1,31 +1,32 @@ PORTNAME= fcitx5-rime DISTVERSION= 5.1.14 +PORTREVISION= 1 CATEGORIES= chinese textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ MAINTAINER= lwhsu@FreeBSD.org COMMENT= RIME support for Fcitx5 WWW= https://github.com/fcitx/fcitx5-rime LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt BUILD_DEPENDS= ${_SCHEMA_DEPENDS} LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 \ librime.so:chinese/librime RUN_DEPENDS= ${_SCHEMA_DEPENDS} -USES= cmake compiler:c++17-lang gettext-tools kde:5 localbase \ +USES= cmake compiler:c++17-lang gettext-tools kde localbase \ pkgconfig tar:zst -USE_KDE= ecm +USE_KDE= ecm:build CONFLICTS_INSTALL= zh-fcitx-rime # share/icons/hicolor/48x48/apps/fcitx-rime-deploy.png _SCHEMA_DEPENDS= \ ${LOCALBASE}/share/rime-data/bopomofo.schema.yaml:chinese/rime-bopomofo \ ${LOCALBASE}/share/rime-data/cangjie5.schema.yaml:chinese/rime-cangjie \ ${LOCALBASE}/share/rime-data/luna_pinyin.schema.yaml:chinese/rime-luna-pinyin \ ${LOCALBASE}/share/rime-data/stroke.schema.yaml:chinese/rime-stroke .include diff --git a/chinese/fcitx5-table-extra/Makefile b/chinese/fcitx5-table-extra/Makefile index db9071974918..8b900ad2b9b0 100644 --- a/chinese/fcitx5-table-extra/Makefile +++ b/chinese/fcitx5-table-extra/Makefile @@ -1,24 +1,25 @@ PORTNAME= fcitx5-table-extra DISTVERSION= 5.1.12 +PORTREVISION= 1 CATEGORIES= chinese textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ MAINTAINER= lwhsu@FreeBSD.org COMMENT= Extra table support for Fcitx5 WWW= https://github.com/fcitx/fcitx5-table-extra LICENSE= GPLv2+ GPLv3 LICENSE_COMB= multi LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 \ libIMETable.so:chinese/libime -USES= cmake gettext-tools kde:5 tar:zst +USES= cmake gettext-tools kde tar:zst -USE_KDE= ecm +USE_KDE= ecm:build INSTALL_TARGET= install CONFLICTS_INSTALL= zh-fcitx-table-extra # share/icons/hicolor/48x48/apps/fcitx-cantonese.png .include diff --git a/chinese/fcitx5-table-other/Makefile b/chinese/fcitx5-table-other/Makefile index 35e01406908f..e265d0afd476 100644 --- a/chinese/fcitx5-table-other/Makefile +++ b/chinese/fcitx5-table-other/Makefile @@ -1,28 +1,29 @@ PORTNAME= fcitx5-table-other DISTVERSION= 5.1.7 +PORTREVISION= 1 CATEGORIES= chinese textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ MAINTAINER= lwhsu@FreeBSD.org COMMENT= Other table support for Fcitx5 WWW= https://github.com/fcitx/fcitx5-table-other LICENSE= GPLv3 LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 \ libIMETable.so:chinese/libime -USES= cmake gettext-tools kde:5 tar:zst +USES= cmake gettext-tools kde tar:zst OPTIONS_DEFINE= DEPRECATED DEPRECATED_DESC= Enable deprecated tables DEPRECATED_CMAKE_BOOL= ENABLE_DEPRECATED -USE_KDE= ecm +USE_KDE= ecm:build INSTALL_TARGET= install CONFLICTS_INSTALL= fcitx-table-other # share/icons/hicolor/32x32/apps/fcitx-thai.png .include diff --git a/chinese/libime-jyutping/Makefile b/chinese/libime-jyutping/Makefile index 813c09e3b982..2243fd59d87c 100644 --- a/chinese/libime-jyutping/Makefile +++ b/chinese/libime-jyutping/Makefile @@ -1,45 +1,46 @@ PORTNAME= libime-jyutping DISTVERSION= 1.0.17 +PORTREVISION= 1 CATEGORIES= chinese textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ \ https://download.fcitx-im.org/data/:dict,model DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${DICT_TAR}:dict \ ${MODEL_TAR}:model EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Library to support Jyutping through libime WWW= https://github.com/fcitx/libime-jyutping LICENSE= GPLv3+ LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= ${LOCALBASE}/lib/fcitx5/libpunctuation.so:chinese/fcitx5-chinese-addons LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ libFcitx5Core.so:textproc/fcitx5 \ libIMECore.so:chinese/libime RUN_DEPENDS= ${LOCALBASE}/lib/fcitx5/libpunctuation.so:chinese/fcitx5-chinese-addons -USES= cmake compiler:c++17-lang gettext-tools kde:5 localbase \ +USES= cmake compiler:c++17-lang gettext-tools kde localbase \ pkgconfig tar:zst PLIST_SUB= VER=${PORTVERSION} USE_LDCONFIG= yes -USE_KDE= ecm +USE_KDE= ecm:build CMAKE_ON= ENABLE_ENGINE CMAKE_OFF= ENABLE_DOC ENABLE_TEST MAKE_ENV= FCITX5_DOWNLOAD_DISALLOWED=TRUE # These must follow data/CMakeLists.txt DICT_TAR= jyutping-dict-20180104.tar.xz MODEL_TAR= jyutping-model-20180103.tar.xz post-extract: ${CP} ${DISTDIR}/${DICT_TAR} ${WRKSRC}/data ${CP} ${DISTDIR}/${MODEL_TAR} ${WRKSRC}/data .include diff --git a/chinese/libime/Makefile b/chinese/libime/Makefile index 89bbdc500151..28815be9fbf3 100644 --- a/chinese/libime/Makefile +++ b/chinese/libime/Makefile @@ -1,54 +1,55 @@ PORTNAME= libime DISTVERSION= 1.1.15 +PORTREVISION= 1 CATEGORIES= chinese textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ \ https://download.fcitx-im.org/data/:opengram_lm,opengram_dict,table_dict DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${OPENGRAM_LM_TAR}:opengram_lm \ ${OPENGRAM_DICT_TAR}:opengram_dict \ ${TABLE_DICT_TAR}:table_dict DIST_SUBDIR= ${PORTNAME} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Library to support generic input method implementation WWW= https://github.com/fcitx/libime LICENSE= LGPL21 LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ libFcitx5Utils.so:textproc/fcitx5 -USES= cmake compiler:c++17-lang kde:5 pkgconfig tar:zst +USES= cmake compiler:c++17-lang kde pkgconfig tar:zst PLIST_SUB= VER=${PORTVERSION} \ VER_MAJOR=${PORTVERSION:R:R} USE_LDCONFIG= yes -USE_KDE= ecm +USE_KDE= ecm:build CMAKE_OFF= ENABLE_TEST MAKE_ENV= FCITX5_DOWNLOAD_DISALLOWED=TRUE # These must follow data/CMakeLists.txt OPENGRAM_LM_TAR= lm_sc.arpa-20260606.tar.zst OPENGRAM_DICT_TAR= dict-20260430.tar.zst TABLE_DICT_TAR= table-20240108.tar.zst .include post-patch: .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's|std::binary_function|std::__binary_function|' \ ${WRKSRC}/src/libime/core/kenlm/lm/trie_sort.hh \ ${WRKSRC}/src/libime/core/kenlm/util/joint_sort.hh \ ${WRKSRC}/src/libime/core/kenlm/util/sized_iterator.hh .endif post-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${OPENGRAM_LM_TAR} ${WRKSRC}/data ${CP} ${DISTDIR}/${DIST_SUBDIR}/${OPENGRAM_DICT_TAR} ${WRKSRC}/data ${CP} ${DISTDIR}/${DIST_SUBDIR}/${TABLE_DICT_TAR} ${WRKSRC}/data .include diff --git a/emulators/86Box/Makefile b/emulators/86Box/Makefile index eb9227186892..8a3fc50d8c0b 100644 --- a/emulators/86Box/Makefile +++ b/emulators/86Box/Makefile @@ -1,77 +1,77 @@ PORTNAME= 86Box DISTVERSIONPREFIX= v DISTVERSION= 6.0 PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= tiga@FreeBSD.org COMMENT= Emulator of x86-based machines based on PCem WWW= https://86box.net/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= aarch64 amd64 powerpc64le BUILD_DEPENDS= evdev-proto>=5.8:devel/evdev-proto LIB_DEPENDS= libevdev.so:devel/libevdev \ libfluidsynth.so:audio/fluidsynth \ libfreetype.so:print/freetype2 \ libopenal.so:audio/openal-soft \ libpng.so:graphics/png \ librtmidi.so:audio/rtmidi \ libslirp.so:net/libslirp \ libsndfile.so:audio/libsndfile \ libvdeplug.so:net/vde2 \ libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++11-lang desktop-file-utils gl gnome pkgconfig \ qmake qt:6 sdl xorg USE_GITHUB= yes USE_GL= opengl USE_GNOME= glib20 USE_QT= base tools:build USE_SDL= sdl2 USE_XORG= x11 xcb xext xi BUILD_DEPENDS+= vulkan-headers>0:graphics/vulkan-headers CMAKE_ON= USE_QT6 CMAKE_ON+= ${CMAKE_ON_${ARCH}} RELEASE CMAKE_ON_aarch64= NEW_DYNAREC CMAKE_OFF= ${CMAKE_OFF_${ARCH}} DISCORD CMAKE_OFF_powerpc64le= DYNAREC CFLAGS+= -I${PREFIX}/include CXXFLAGS+= -I${LOCALBASE}/include/qt6/QtGui/`pkg-config --modversion Qt6Gui`/QtGui SUB_FILES= 86Box-install-roms.sh SUB_LIST= DISTVERSION=${DISTVERSION} \ DISTVERSIONPREFIX=${DISTVERSIONPREFIX} OPTIONS_DEFINE= NLS WAYLAND OPTIONS_DEFAULT= WAYLAND NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland -WAYLAND_USES= kde:5 +WAYLAND_USES= kde WAYLAND_USE= KDE=ecm:build WAYLAND_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Wayland:BOOL=ON ICON_RESOLUTIONS= 128x128 16x16 20x20 24x24 256x256 32x32 40x40 48x48 \ 64x64 72x72 do-install: ${INSTALL_PROGRAM} ${WRKDIR}/.build/src/86Box ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKDIR}/86Box-install-roms.sh ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/src/unix/assets/net.86box.86Box.desktop \ ${STAGEDIR}${DESKTOPDIR} .for F in ${ICON_RESOLUTIONS} ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${F}/apps ${INSTALL_DATA} ${WRKSRC}/src/unix/assets/${F}/net.86box.86Box.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${F}/apps .endfor .include diff --git a/emulators/fbsd-duckstation/Makefile b/emulators/fbsd-duckstation/Makefile index ffb8646a1aa2..1a5605b7faf9 100644 --- a/emulators/fbsd-duckstation/Makefile +++ b/emulators/fbsd-duckstation/Makefile @@ -1,74 +1,74 @@ PORTNAME= fbsd-duckstation PORTVERSION= 20240614 DISTVERSIONPREFIX= v PORTREVISION= 7 CATEGORIES= emulators MAINTAINER= martymac@FreeBSD.org COMMENT= Free and open-source PlayStation emulator WWW= https://www.duckstation.org LICENSE= GPLv3 NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= src/common/fastjmp.cpp:186:2: error: Unknown platform LIB_DEPENDS= libzstd.so:archivers/zstd \ libwebp.so:graphics/webp \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libcurl.so:ftp/curl \ libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland \ libbacktrace.so:devel/libbacktrace \ libpulse.so:audio/pulseaudio \ libjack.so:audio/jack \ libsndio.so:audio/sndio \ libdbus-1.so:devel/dbus \ libxkbcommon.so:x11/libxkbcommon # XXX Necessary for Qt6/FindWrapVulkanHeaders.cmake #BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers -USES= cmake compiler:c++20-lang gl jpeg kde:5 pkgconfig qt:6 sdl xorg +USES= cmake compiler:c++20-lang gl jpeg kde pkgconfig qt:6 sdl xorg USE_GITHUB= yes GH_ACCOUNT= stenzek GH_PROJECT= duckstation # See: https://github.com/stenzek/duckstation/commits/latest GH_TAGNAME= v0.1-6937 USE_GL= egl USE_SDL= sdl2 USE_XORG= ice x11 xext xrandr xrender USE_QT= base tools USE_KDE= ecm:build # XXX Vulkan support needs libshaderc_shared.so:graphics/shaderc but # Duckstation embeds its own -patched/incompatible- version # (see: scripts/shaderc-changes.patch) so we just disable it for now. CMAKE_ARGS+= \ -DDUCKSTATION_APPLICATION_DIR_PATH:STRING=${DATADIR} \ -DENABLE_VULKAN:BOOL=OFF # - Program and resources are copied from target dir ${CONFIGURE_WRKSRC}/bin # because only necessary resources are installed there do-install: cd ${CONFIGURE_WRKSRC}/bin && \ ${COPYTREE_SHARE} resources/ ${STAGEDIR}${DATADIR}/ && \ ${COPYTREE_SHARE} translations/ ${STAGEDIR}${DATADIR}/ ${INSTALL_PROGRAM} \ ${CONFIGURE_WRKSRC}/bin/duckstation-qt \ ${STAGEDIR}${PREFIX}/bin/fbsd-duckstation-qt ${INSTALL_DATA} ${CONFIGURE_WRKSRC}/bin/resources/images/duck.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/duckstation.png ${INSTALL_DATA} ${FILESDIR}/fbsd-duckstation.desktop ${STAGEDIR}${DESKTOPDIR} .include # XXX Shipped fmt does not build with clang 21 and consteval enabled # See also 76122faa9d1b5e85f9a5f32a5671103d7eef1695 .if ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 211 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-disable-consteval.txt .endif .include diff --git a/graphics/glfw/Makefile b/graphics/glfw/Makefile index b68c20b2e624..ab0bf99f4c38 100644 --- a/graphics/glfw/Makefile +++ b/graphics/glfw/Makefile @@ -1,95 +1,95 @@ PORTNAME= glfw DISTVERSION= 3.4 PORTREVISION= 3 CATEGORIES= graphics MASTER_SITES= https://github.com/glfw/glfw/releases/download/${DISTVERSION}/ MAINTAINER= vvd@FreeBSD.org COMMENT= Portable framework for OpenGL development WWW= https://www.glfw.org/ LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.md USES= cmake:insource localbase:ldflags zip USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= GLFW_BUILD_DOCS CONFLICTS_INSTALL= glfw2 PLIST_SUB= MAJVER=${DISTVERSION:R} \ VERSION=${DISTVERSION} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES PREEDIT OPTIONS_DEFAULT= PREEDIT WAYLAND X11 OPTIONS_MULTI= PLATFORM OPTIONS_MULTI_PLATFORM= WAYLAND X11 PLATFORM_DESC= Window creation platform PREEDIT_DESC= Add patches for run Minecraft (https://github.com/glfw/glfw/pull/2130) EXAMPLES_CMAKE_BOOL= GLFW_BUILD_EXAMPLES GLFW_BUILD_TESTS # Patches to support running applications such as Minecraft with games/lwjgl3 PREEDIT_PATCH_SITES= https://github.com/glfw/glfw/commit/ PREEDIT_PATCHFILES= bf945f1213728a98f7647380616f9cff9f6b3611.patch:-p1 \ 0d7379403edd2f3a3476ce76fba4ac8c6d8410b7.patch:-p1 \ 55cdeb59029d51be4b622d3b66a9735e4cf07a3b.patch:-p1 \ 5f2118a2fa052f4361c6129378d5e8d0c923b118.patch:-p1 \ 4da43dd83e1d16055107f91d9c34df3b114ab6f4.patch:-p1 \ 11fd72171161e77f8c85a4ce51370ae8b813532d.patch:-p1 \ d8d0e52de8fb7c4f9879c2ff3599e0ba13ce8bc6.patch:-p1 \ d793a873a0fa740fa832917f99de35d5e09e7987.patch:-p1 \ d1f1b2a88de2a6d1701558c732164f5e070030a5.patch:-p1 \ cef608cf56c2fb88ff3eded4240f7a609610abad.patch:-p1 \ a66cc4d8805fc2857edf75812ba702e39e2873d7.patch:-p1 \ c4ba4cd58ea4e3eb6686a34596998de65330f71c.patch:-p1 \ 0729aacc8cc6ff888f593108fdf70ce3fc2800b2.patch:-p1 \ 6be88608b1ddbc42d5c59448dc15852f9de7ec26.patch:-p1 WAYLAND_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ libxkbcommon>0:x11/libxkbcommon \ wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim WAYLAND_RUN_DEPENDS= libxkbcommon>0:x11/libxkbcommon -WAYLAND_USES= kde:5 pkgconfig +WAYLAND_USES= kde pkgconfig WAYLAND_USE= KDE=ecm:build WAYLAND_CMAKE_BOOL= GLFW_BUILD_WAYLAND X11_BUILD_DEPENDS= libxkbcommon>0:x11/libxkbcommon X11_USES= xorg X11_USE= XORG=x11,xcursor,xext,xi,xinerama,xrandr,xxf86vm X11_CMAKE_BOOL= GLFW_BUILD_X11 .include .if ${PORT_OPTIONS:MEXAMPLES} && ${PORT_OPTIONS:MPREEDIT} LIB_DEPENDS+= libfontconfig.so:x11-fonts/fontconfig TESTS_FILES= input_text .endif do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/docs/html/search ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/html/search/* \ ${STAGEDIR}${DOCSDIR}/docs/html/search cd ${WRKSRC}/docs/html && ${INSTALL_DATA} *.html *.png *.css *.js \ ${STAGEDIR}${DOCSDIR}/docs/html do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/tests cd ${WRKSRC}/examples && ${INSTALL_PROGRAM} \ boing gears heightmap offscreen particles sharing splitview \ triangle-opengl triangle-opengles wave windows \ ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/tests && ${INSTALL_PROGRAM} \ allocator clipboard cursor empty events gamma glfwinfo icon \ iconify inputlag joysticks monitors msaa reopen \ tearing threads timeout title triangle-vulkan window \ ${TESTS_FILES} \ ${STAGEDIR}${EXAMPLESDIR}/tests .include diff --git a/japanese/fcitx5-anthy/Makefile b/japanese/fcitx5-anthy/Makefile index aa0c0c86a74a..d38fadcfa3e3 100644 --- a/japanese/fcitx5-anthy/Makefile +++ b/japanese/fcitx5-anthy/Makefile @@ -1,20 +1,21 @@ PORTNAME= fcitx5-anthy DISTVERSION= 5.1.10 +PORTREVISION= 1 CATEGORIES= japanese textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ MAINTAINER= lwhsu@FreeBSD.org COMMENT= Anthy support for Fcitx5 WWW= https://github.com/fcitx/fcitx5-anthy LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 \ libanthy-unicode.so:japanese/anthy-unicode -USES= cmake compiler:c++17-lang gettext-tools kde:5 pkgconfig tar:zst +USES= cmake compiler:c++17-lang gettext-tools kde pkgconfig tar:zst -USE_KDE= ecm +USE_KDE= ecm:build .include diff --git a/korean/fcitx5-hangul/Makefile b/korean/fcitx5-hangul/Makefile index 3cb066431cd2..69129224a5e9 100644 --- a/korean/fcitx5-hangul/Makefile +++ b/korean/fcitx5-hangul/Makefile @@ -1,20 +1,21 @@ PORTNAME= fcitx5-hangul DISTVERSION= 5.1.10 +PORTREVISION= 1 CATEGORIES= korean textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ MAINTAINER= lwhsu@FreeBSD.org COMMENT= Hangul support for Fcitx5 WWW= https://github.com/fcitx/fcitx5-hangul LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 \ libhangul.so:korean/libhangul -USES= cmake compiler:c++17-lang gettext-tools kde:5 pkgconfig tar:zst +USES= cmake compiler:c++17-lang gettext-tools kde pkgconfig tar:zst -USE_KDE= ecm +USE_KDE= ecm:build .include diff --git a/textproc/fcitx5-gtk/Makefile b/textproc/fcitx5-gtk/Makefile index 10d181a7dc16..455e58a91e35 100644 --- a/textproc/fcitx5-gtk/Makefile +++ b/textproc/fcitx5-gtk/Makefile @@ -1,49 +1,50 @@ PORTNAME= fcitx5-gtk DISTVERSION= 5.1.7 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ MAINTAINER= lwhsu@FreeBSD.org COMMENT?= Fcitx support for GTK (${FLAVOR}) WWW= https://github.com/fcitx/fcitx5-gtk LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt LIB_DEPENDS?= libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS?= fcitx5-gtk-common>=${DISTVERSION}:textproc/fcitx5-gtk-common FLAVORS?= gtk3 gtk2 gtk4 FLAVOR?= ${FLAVORS:[1]} gtk2_PKGNAMESUFFIX= 2 gtk3_PKGNAMESUFFIX= 3 gtk4_PKGNAMESUFFIX= 4 -USES= cmake compiler:c++17-lang gnome kde:5 pkgconfig \ +USES= cmake compiler:c++17-lang gnome kde pkgconfig \ tar:zst xorg USE_GNOME= cairo gdkpixbuf glib20 introspection -USE_KDE= ecm +USE_KDE= ecm:build USE_LDCONFIG= yes USE_XORG= x11 CMAKE_ON?= BUILD_ONLY_PLUGIN .if ${FLAVOR} == gtk3 CMAKE_OFF+= ENABLE_GTK2_IM_MODULE ENABLE_GTK4_IM_MODULE USE_GNOME+= gtk30 .elif ${FLAVOR} == gtk2 CMAKE_OFF+= ENABLE_GTK3_IM_MODULE ENABLE_GTK4_IM_MODULE USE_GNOME+= gtk20 .elif ${FLAVOR} == gtk4 CMAKE_OFF+= ENABLE_GTK2_IM_MODULE ENABLE_GTK3_IM_MODULE USE_GNOME+= gtk40 .endif PLIST?= ${PKGDIR}/pkg-plist.${FLAVOR} PLIST_SUB= VER=${PORTVERSION} PLIST_SUB= VER=${PORTVERSION} .include diff --git a/textproc/fcitx5-lua/Makefile b/textproc/fcitx5-lua/Makefile index 8f661b4ae082..aa06067165da 100644 --- a/textproc/fcitx5-lua/Makefile +++ b/textproc/fcitx5-lua/Makefile @@ -1,20 +1,21 @@ PORTNAME= fcitx5-lua DISTVERSION= 5.0.17 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ MAINTAINER= lwhsu@FreeBSD.org COMMENT= Lua support for Fcitx5 WWW= https://github.com/fcitx/fcitx5-lua LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 -USES= cmake compiler:c++17-lang gettext-tools kde:5 lua:53 pkgconfig \ +USES= cmake compiler:c++17-lang gettext-tools kde lua:53 pkgconfig \ tar:zst -USE_KDE= ecm +USE_KDE= ecm:build .include diff --git a/textproc/fcitx5/Makefile b/textproc/fcitx5/Makefile index 8c7062bd3d2a..5e79408aa13c 100644 --- a/textproc/fcitx5/Makefile +++ b/textproc/fcitx5/Makefile @@ -1,81 +1,82 @@ PORTNAME= fcitx5 DISTVERSION= 5.1.21 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ \ https://download.fcitx-im.org/data/:dict DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${SPELL_EN_DICT_TAR}:dict DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= lwhsu@FreeBSD.org COMMENT= New implementation of the Fcitx IME framework WWW= https://github.com/fcitx/fcitx5 LICENSE= LGPL21+ BUILD_DEPENDS= iso-codes>=0:misc/iso-codes \ nlohmann-json>0:devel/nlohmann-json \ uthash>=0:devel/uthash LIB_DEPENDS= libdbus-1.so:devel/dbus \ libexpat.so:textproc/expat2 \ libjson-c.so:devel/json-c \ libuuid.so:misc/libuuid \ libuv.so:devel/libuv \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= iso-codes>=0:misc/iso-codes \ xkeyboard-config>=0:x11/xkeyboard-config # gettext-tools for both build-time hard requirement and Fcitx5 helper shell scripts USES= cmake compiler:c++20-lang gettext-runtime \ - gettext-tools:build,run gnome kde:5 pkgconfig tar:zst + gettext-tools:build,run gnome kde pkgconfig tar:zst CXXFLAGS+= -fexperimental-library PLIST_SUB= VER=${DISTVERSION} CONFLICTS= zh-fcitx OPTIONS_DEFINE= ENCHANT WAYLAND X11 OPTIONS_DEFAULT= ENCHANT WAYLAND X11 OPTIONS_SUB= yes SUB_FILES= pkg-message X11_USES= xorg X11_USE= XORG=xcb,xkbfile X11_BUILD_DEPENDS= xcb-imdkit>=1.0.3:x11/xcb-imdkit X11_LIB_DEPENDS= libxcb-ewmh.so:x11/xcb-util-wm \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-util.so:x11/xcb-util X11_RUN_DEPENDS= xcb-imdkit>=1.0.3:x11/xcb-imdkit X11_CMAKE_BOOL= ENABLE_X11 WAYLAND_BUILD_DEPENDS= plasma-wayland-protocols>=1.20:x11/plasma-wayland-protocols \ wayland-protocols>=1.46:graphics/wayland-protocols \ wayland-scanner:graphics/wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND ENCHANT_DESC= Dictionary/spellchecking framework ENCHANT_LIB_DEPENDS= libenchant-2.so:textproc/enchant2 ENCHANT_CMAKE_BOOL= ENABLE_ENCHANT CMAKE_ON= FCITX5_DOWNLOAD_DISALLOWED SYSTEM_USE_UTHASH CMAKE_OFF= ENABLE_TEST MAKE_ENV= FCITX5_DOWNLOAD_DISALLOWED=TRUE USE_GNOME= cairo gdkpixbuf glib20 pango -USE_KDE= ecm +USE_KDE= ecm:build USE_LDCONFIG= yes # These must follow src/modules/spell/CMakeLists.txt SPELL_EN_DICT_VER= 20121020 SPELL_EN_DICT_TAR= en_dict-${SPELL_EN_DICT_VER}.tar.gz post-extract: ${CP} ${DISTDIR}/${DIST_SUBDIR}/${SPELL_EN_DICT_TAR} ${WRKSRC}/src/modules/spell/ .include diff --git a/x11/xcb-imdkit/Makefile b/x11/xcb-imdkit/Makefile index 70519dcf667c..21ffd57b0c00 100644 --- a/x11/xcb-imdkit/Makefile +++ b/x11/xcb-imdkit/Makefile @@ -1,26 +1,27 @@ PORTNAME= xcb-imdkit DISTVERSION= 1.0.9 +PORTREVISION= 1 CATEGORIES= x11 textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ MAINTAINER= khng@FreeBSD.org COMMENT= Input method development support for XCB WWW= https://github.com/fcitx/xcb-imdkit LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-only.txt BUILD_DEPENDS= uthash>=0:devel/uthash LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-util.so:x11/xcb-util -USES= cmake compiler:c11 kde:5 pkgconfig tar:zstd xorg +USES= cmake compiler:c11 kde pkgconfig tar:zstd xorg -USE_KDE= ecm +USE_KDE= ecm:build USE_XORG= xcb CMAKE_ON= SYSTEM_USE_UTHASH PLIST_SUB= VER=${PORTVERSION} .include