diff --git a/audio/dmidiplayer/Makefile b/audio/dmidiplayer/Makefile index 8a0b477055f6..92a3b62db8f2 100644 --- a/audio/dmidiplayer/Makefile +++ b/audio/dmidiplayer/Makefile @@ -1,24 +1,25 @@ PORTNAME= dmidiplayer DISTVERSION= 1.7.2 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Featured MIDI file player WWW= https://sourceforge.net/projects/dmidiplayer/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libdrumstick-widgets.so:audio/drumstick \ libOpenGL.so:graphics/libglvnd \ libuchardet.so:textproc/uchardet USES= compiler:c++17-lang cmake desktop-file-utils pkgconfig qt:6 tar:bz2 USE_QT= base tools:build CMAKE_ARGS= -DUSE_QT=6 CMAKE_ON= EMBED_TRANSLATIONS CMAKE_OFF= BUILD_DOCS .include diff --git a/audio/drumstick/Makefile b/audio/drumstick/Makefile index 99ddc44a8030..1c852564d3c5 100644 --- a/audio/drumstick/Makefile +++ b/audio/drumstick/Makefile @@ -1,53 +1,54 @@ PORTNAME= drumstick DISTVERSION= 2.8.0 +PORTREVISION= 1 CATEGORIES= audio multimedia MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= MIDI libraries for Qt/C++ WWW= https://sourceforge.net/projects/drumstick LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang cmake desktop-file-utils gl pkgconfig qt:6 shared-mime-info tar:bz2 USE_QT= base svg 5compat tools:build USE_GL= gl opengl USE_LDCONFIG= yes CMAKE_ARGS= -DUSE_QT=6 CMAKE_OFF= BUILD_TESTING OPTIONS_DEFINE= ALSA MANPAGES OPTIONS_MULTI= RT_BACKEND OPTIONS_MULTI_RT_BACKEND= FLUIDSYNTH NETWORK SONIVOX OPTIONS_DEFAULT= ALSA MANPAGES ${OPTIONS_MULTI_RT_BACKEND} OPTIONS_SUB= yes ALSA_CMAKE_BOOL= BUILD_ALSA ALSA_USES= localbase ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib MANPAGES_CMAKE_BOOL= BUILD_DOCS MANPAGES_BUILD_DEPENDS= xsltproc:textproc/libxslt \ docbook-xsl>0:textproc/docbook-xsl FLUIDSYNTH_DESC= Build FluidSynth RT backend FLUIDSYNTH_CMAKE_BOOL= USE_FLUIDSYNTH FLUIDSYNTH_RUN_DEPENDS= ${LOCALBASE}/share/sounds/sf2/FluidR3_GM.sf2:audio/fluid-soundfont FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth NETWORK_DESC= Build Network RT backend NETWORK_CMAKE_BOOL= USE_NETWORK # QtNetwork is used SONIVOX_DESC= Build FluidSynth RT backend SONIVOX_CMAKE_BOOL= USE_SONIVOX USE_PULSEAUDIO # these two options have to be always equal SONIVOX_LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libsonivox.so:audio/sonivox post-patch: # instead of default.sf2 use FluidR3_GM.sf2 installed by fluid-soundfont @${REINPLACE_CMD} -e 's|"default.sf2"|"${LOCALBASE}/share/sounds/sf2/FluidR3_GM.sf2"|' \ ${WRKSRC}/library/rt-backends/fluidsynth/fluidsynthengine.cpp .include diff --git a/audio/kid3/Makefile b/audio/kid3/Makefile index 0a686b4f93f6..e10debafcd50 100644 --- a/audio/kid3/Makefile +++ b/audio/kid3/Makefile @@ -1,115 +1,116 @@ PORTNAME= kid3 PORTVERSION= 3.9.4 +PORTREVISION= 1 CATEGORIES= audio kde MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION} PKGNAMESUFFIX= -${FLAVOR} MAINTAINER= jhale@FreeBSD.org COMMENT= Audio file tag editor WWW= https://kid3.kde.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/html/docbook.xsl:textproc/docbook-xsl LIB_DEPENDS= libtag.so:audio/taglib FLAVORS= qt5 qt6 kf5 FLAVOR?= ${FLAVORS:[1]} USES= cmake compiler:c++11-lang desktop-file-utils gnome pkgconfig \ tar:xz USE_GNOME= libxslt:build USE_LDCONFIG= yes CMAKE_ARGS= -DWITH_DOCBOOKDIR="${LOCALBASE}/share/xsl/docbook" \ -DWITH_LIBDIR=lib \ -DWITH_MANDIR=man \ -DWITH_PLUGINSDIR=lib/kid3 \ -DFFMPEG_ROOT="${LOCALBASE}" \ -DWITH_APPS="${KID3_APPS:S/ /;/gW}" CMAKE_OFF= WITH_ID3LIB \ WITH_MP4V2 \ WITH_QML CMAKE_ON= WITH_TAGLIB PLIST_SUB+= SHLIB_VER=${PORTVERSION} .if ${FLAVOR} == qt5 USES+= qt:5 USE_QT= core dbus gui multimedia network xml widgets \ buildtools:build linguisttools:build qmake:build CMAKE_OFF+= BUILD_WITH_QT6 PLIST_SUB+= KF5="@comment " \ QT="" \ QT_SUFX="-qt" KID3_APPS+= QT .elif ${FLAVOR} == qt6 USES+= gl qt:6 USE_GL= opengl USE_QT= base multimedia tools:build CMAKE_ON+= BUILD_WITH_QT6 PLIST_SUB+= KF5="@comment " \ QT="" \ QT_SUFX="-qt" KID3_APPS+= QT .elif ${FLAVOR} == kf5 USES+= kde:5 qt:5 USE_KDE= auth codecs config configwidgets coreaddons kio \ service widgetsaddons xmlgui doctools:build ecm:build USE_QT= concurrent core dbus gui multimedia network xml widgets \ buildtools:build linguisttools:build qmake:build CMAKE_OFF+= BUILD_WITH_QT6 PLIST_SUB+= KF5="" \ QT="@comment " \ QT_SUFX="" KID3_APPS+= KDE .endif .for f in ${FLAVORS} . if ${FLAVOR} != ${f} CONFLICTS_INSTALL+= kid3-${f} . endif .endfor OPTIONS_DEFINE= CLI ACOUSTID FLAC VORBIS TEST OPTIONS_DEFAULT= CLI ACOUSTID FLAC VORBIS OPTIONS_SUB= yes NO_OPTIONS_SORT= yes ACOUSTID_LIB_DEPENDS= libchromaprint.so:audio/chromaprint \ libavcodec.so:multimedia/ffmpeg ACOUSTID_CMAKE_BOOL= WITH_CHROMAPRINT WITH_FFMPEG CLI_DESC= Build and install command line utility CLI_USES= python:test readline CLI_VARS= KID3_APPS+=CLI FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CMAKE_BOOL= WITH_FLAC FLAC_IMPLIES= VORBIS TEST_USE= LOCALE=en_US.UTF-8 .if ${FLAVOR} == qt5 || ${FLAVOR} == kf5 TEST_USE+= QT=testlib:build .endif TEST_CMAKE_BOOL= BUILD_TESTING TEST_TARGET= # define to override CMAKE_ARGS from Uses/kde.mk TEST_WRKSRC= ${BUILD_WRKSRC}/src/test TEST_VARS= KID3_APPS+=TEST VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg VORBIS_CMAKE_BOOL= WITH_VORBIS .include pre-test: @${CP} ${WRKSRC}/src/test/*.py ${TEST_WRKSRC} do-test: -@(cd ${TEST_WRKSRC}; ${SETENV} ${TEST_ENV} ./kid3-test) do-test-CLI-on: -@(cd ${TEST_WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHON_CMD} test_cli_functions.py) .include diff --git a/audio/qjackctl/Makefile b/audio/qjackctl/Makefile index 87d40dae4dc9..383fabe6264f 100644 --- a/audio/qjackctl/Makefile +++ b/audio/qjackctl/Makefile @@ -1,47 +1,48 @@ PORTNAME= qjackctl DISTVERSIONPREFIX= qjackctl_ DISTVERSION= 0_9_11 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Qt interface for JACK Audio Connection Kit WWW= https://qjackctl.sourceforge.io/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libjack.so:audio/jack USES= cmake compiler:c++17-lang desktop-file-utils gl localbase:ldflags pkgconfig qt:6 USE_QT= base svg tools:build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= rncbc OPTIONS_DEFINE= DBUS SYSTRAY XUNIQUE OPTIONS_DEFAULT= DBUS SYSTRAY XUNIQUE OPTIONS_GROUP= AIFACE OPTIONS_GROUP_AIFACE= ALSA PORTAUDIO AIFACE_DESC= Other audio interfaces SYSTRAY_DESC= System tray icon support XUNIQUE_DESC= X11 unique/single instance ALSA_CMAKE_BOOL= CONFIG_ALSA_SEQ ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib DBUS_CMAKE_BOOL= CONFIG_DBUS PORTAUDIO_CMAKE_BOOL= CONFIG_PORTAUDIO PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio SYSTRAY_CMAKE_BOOL= CONFIG_SYSTEM_TRAY XUNIQUE_CMAKE_BOOL= CONFIG_XUNIQUE XUNIQUE_USES= xorg XUNIQUE_USE= XORG=x11 BINARY_ALIAS= git=false .include diff --git a/audio/qmidictl/Makefile b/audio/qmidictl/Makefile index bd3acba0f48a..1701f0ee6ae4 100644 --- a/audio/qmidictl/Makefile +++ b/audio/qmidictl/Makefile @@ -1,21 +1,22 @@ PORTNAME= qmidictl DISTVERSION= 0.9.10 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= yuri@FreeBSD.org COMMENT= MIDI remote control application sending MIDI over UDP/IP multicast WWW= https://qmidictl.sourceforge.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake compiler:c++17-lang gl localbase pkgconfig qt:6 GNU_CONFIGURE= yes USE_QT= base svg tools:build USE_GL= gl BINARY_ALIAS= qmake=${QMAKE} \ git=false .include diff --git a/audio/qmidinet/Makefile b/audio/qmidinet/Makefile index 7aacc91e3456..1211fb54a65d 100644 --- a/audio/qmidinet/Makefile +++ b/audio/qmidinet/Makefile @@ -1,23 +1,24 @@ PORTNAME= qmidinet DISTVERSION= 0.9.10 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= yuri@FreeBSD.org COMMENT= MIDI network gateway application WWW= https://qmidinet.sourceforge.io LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libjack.so:audio/jack USES= cmake compiler:c++17-lang gl pkgconfig qt:6 USE_QT= base svg tools:build USE_GL= gl opengl CMAKE_OFF= CONFIG_ALSA_MIDI # libalsa doesn't have MIDI functionality on FreeBSD BINARY_ALIAS= git=false .include diff --git a/audio/qsampler/Makefile b/audio/qsampler/Makefile index c75289b4fefa..115397871030 100644 --- a/audio/qsampler/Makefile +++ b/audio/qsampler/Makefile @@ -1,25 +1,26 @@ PORTNAME= qsampler DISTVERSIONPREFIX= qsampler_ DISTVERSION= 0_9_10 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Qt-based front end to LinuxSampler WWW= http://qsampler.sourceforge.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgig.so:audio/libgig \ liblscp.so:audio/liblscp RUN_DEPENDS= linuxsampler:audio/linuxsampler USES= cmake compiler:c++17-lang desktop-file-utils gl localbase:ldflags pkgconfig \ shared-mime-info qmake:no_env qt:6 xorg USE_GL= gl USE_QT= base svg tools:build USE_GITHUB= yes GH_ACCOUNT= rncbc .include diff --git a/audio/qsynth/Makefile b/audio/qsynth/Makefile index 50c3903f97af..0938da440fc3 100644 --- a/audio/qsynth/Makefile +++ b/audio/qsynth/Makefile @@ -1,45 +1,46 @@ PORTNAME= qsynth DISTVERSION= 0.9.11 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= yuri@FreeBSD.org COMMENT= Qt fluidsynth front-end application WWW= https://qsynth.sourceforge.io/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth USES= cmake compiler:c++17-lang pkgconfig qt:6 USE_QT= base svg tools:build # cf. PR 224488 LDFLAGS+= -Wl,--as-needed OPTIONS_DEFINE= GRADIENT SYSTEM_TRAY XUNIQUE OPTIONS_DEFAULT= GRADIENT SYSTEM_TRAY XUNIQUE GRADIENT_DESC= Gradient eye-candy SYSTEM_TRAY_DESC= System-tray icon support XUNIQUE_DESC= X11 unique/single instance GRADIENT_CMAKE_BOOL= gradient SYSTEM_TRAY_CMAKE_BOOL= CONFIG_SYSTEM_TRAY XUNIQUE_USES= xorg XUNIQUE_USE= XORG=x11 XUNIQUE_CMAKE_BOOL= CONFIG_XUNIQUE BINARY_ALIAS= git=false post-patch: @${REINPLACE_CMD} -e ' \ s|oss,alsa,alsa_seq,|jack,sndio,oss,|; \ s|alsa,jack,oss,dsound,|jack,sndio,oss,|; \ s|"/MidiDriver", "alsa_seq"|"/MidiDriver", "jack"|; \ s|m_settings.value("/SoundFontDir").toString();|m_settings.value("/SoundFontDir").toString().isEmpty() ? "${LOCALBASE}/share/sounds/sf2" : m_settings.value("/SoundFontDir").toString();|' \ ${WRKSRC}/src/qsynthOptions.cpp \ ${WRKSRC}/src/man1/qsynth.1 ${WRKSRC}/src/man1/qsynth.fr.1 .include diff --git a/audio/qxgedit/Makefile b/audio/qxgedit/Makefile index f7921ec447b1..479c07d7fe55 100644 --- a/audio/qxgedit/Makefile +++ b/audio/qxgedit/Makefile @@ -1,21 +1,22 @@ PORTNAME= qxgedit DISTVERSION= 0.9.10 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF MAINTAINER= yuri@FreeBSD.org COMMENT= Editor for MIDI System Exclusive files for XG devices WWW= https://qxgedit.sourceforge.io LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libasound.so:audio/alsa-lib USES= cmake compiler:c++17-lang desktop-file-utils gl pkgconfig qt:6 USE_QT= base svg tools:build USE_GL= gl opengl BINARY_ALIAS= git=false .include diff --git a/audio/sonivox-eas/Makefile b/audio/sonivox-eas/Makefile index 906e53e12d2f..60ffdc652fbc 100644 --- a/audio/sonivox-eas/Makefile +++ b/audio/sonivox-eas/Makefile @@ -1,28 +1,29 @@ PORTNAME= sonivox-eas DISTVERSIONPREFIX= v DISTVERSION= 1.5.0 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Sonivox EAS for Qt WWW= https://github.com/pedrolcl/Linux-SonivoxEas LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libdrumstick-alsa.so:audio/drumstick \ libGLX.so:graphics/libglvnd \ libpulse.so:audio/pulseaudio \ libsonivox.so:audio/sonivox USES= cmake compiler:c++17-lang desktop-file-utils pkgconfig qt:6 USE_QT= base USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= pedrolcl GH_PROJECT= Linux-SonivoxEas CMAKE_ARGS= -DUSE_QT=6 .include diff --git a/audio/vmpk/Makefile b/audio/vmpk/Makefile index c20c0300659e..c5483380a64d 100644 --- a/audio/vmpk/Makefile +++ b/audio/vmpk/Makefile @@ -1,33 +1,33 @@ PORTNAME= vmpk DISTVERSION= 0.8.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= SF/vmpk/vmpk/${PORTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Virtual MIDI Piano Keyboard WWW= http://vmpk.sourceforge.net LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdrumstick-rt.so:audio/drumstick USES= compiler:c++11-lang cmake localbase:ldflags pkgconfig qt:6 tar:bz2 xorg USE_QT= base svg tools:build USE_XORG= xcb CMAKE_ON= EMBED_TRANSLATIONS CMAKE_ARGS= -DUSE_QT=6 OPTIONS_DEFINE= DBUS MANPAGES OPTIONS_DEFAULT= DBUS MANPAGES OPTIONS_SUB= yes DBUS_CMAKE_BOOL= ENABLE_DBUS MANPAGES_CMAKE_BOOL= BUILD_DOCS MANPAGES_BUILD_DEPENDS= xsltproc:textproc/libxslt \ docbook-xsl>0:textproc/docbook-xsl .include diff --git a/deskutils/calibre/Makefile b/deskutils/calibre/Makefile index 26c889e54026..4294b06a27db 100644 --- a/deskutils/calibre/Makefile +++ b/deskutils/calibre/Makefile @@ -1,160 +1,161 @@ PORTNAME= calibre PORTVERSION= 6.23.0 +PORTREVISION= 1 CATEGORIES= deskutils python MASTER_SITES= http://download.calibre-ebook.com/${PORTVERSION}/ \ https://curl.haxx.se/ca/:cacert DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ cacert.pem:cacert DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTFILES:C/:[^:]+$//:Ncacert.pem} MAINTAINER= madpilot@FreeBSD.org COMMENT= Ebook management application WWW= https://calibre-ebook.com/ LICENSE= GPLv3 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libpoppler-qt6.so:graphics/poppler-qt6 \ libwmflite.so:graphics/libwmf \ libchm.so:misc/chmlib \ libicudata.so:devel/icu \ libpodofo.so:graphics/podofo \ libmtp.so:multimedia/libmtp \ libfreetype.so:print/freetype2 \ libhunspell-1.7.so:textproc/hunspell \ libhyphen.so:textproc/hyphen \ libstemmer.so:textproc/snowballstemmer \ libxkbcommon.so:x11/libxkbcommon \ libuchardet.so:textproc/uchardet BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mechanize>=0:www/py-mechanize@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}css-parser>=1.0.4:www/py-css-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}apsw>=0:databases/py-apsw@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=0.3:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=0:textproc/py-regex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5-parser>=0.4.3:www/py-html5-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyicu>0:devel/py-pyicu@${PY_FLAVOR} \ ${LOCALBASE}/bin/cmake:devel/cmake-core \ liberation-fonts-ttf>=2.1.3:x11-fonts/liberation-fonts-ttf \ MathJax3>0:www/mathjax3 \ ${NONEXISTENT}:misc/iso-codes:extract RUN_DEPENDS= xdg-open:devel/xdg-utils \ ${PYTHON_PKGNAMEPREFIX}css-parser>=1.0.4:www/py-css-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dnspython>=0:dns/py-dnspython@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mechanize>=0:www/py-mechanize@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}netifaces>=0:net/py-netifaces@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cssselect>=0:www/py-cssselect@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}apsw>=0:databases/py-apsw@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}msgpack>=0.3:devel/py-msgpack@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}regex>=0:textproc/py-regex@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>=0:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=0:textproc/py-charset-normalizer@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}html5-parser>=0.4.3:www/py-html5-parser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.8:textproc/py-feedparser@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jeepney>=0.6:devel/py-jeepney@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pillow>=7.0.0:graphics/py-pillow@${PY_FLAVOR} \ pdftohtml:graphics/poppler-utils \ ${PYTHON_PKGNAMEPREFIX}zeroconf>0:net/py-zeroconf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} \ liberation-fonts-ttf>=2.1.3:x11-fonts/liberation-fonts-ttf\ MathJax3>0:www/mathjax3 USES= desktop-file-utils gettext-runtime gl gnome localbase:ldflags \ pkgconfig pyqt:6 python qt:6 shared-mime-info shebangfix \ ssl tar:xz xorg USE_RC_SUBR= calibre SUB_LIST+= PYTHON_VERSION=${PYTHON_VERSION} USE_PYQT= pyqt6 pysip qtbuilder sip webengine USE_QT= base USE_GL= egl gl USE_GNOME= glib20 USE_XORG= xrender xext x11 USE_GITHUB= nodefault GH_TUPLE= kovidgoyal:calibre-translations:41c9da0:translations \ LibreOffice:dictionaries:d1ddba9:hypenation SHEBANG_GLOB= *.sh *.py *.recipe python_OLD_CMD= "/usr/bin/env python" ${LOCALBASE}/bin/python3 MAKE_ENV+= FC_INC_DIR="${LOCALBASE}/include/fontconfig" \ FC_LIB_DIR="${LOCALBASE}/lib" \ OVERRIDE_CFLAGS="${CFLAGS}" \ OVERRIDE_LDFLAGS="${LDFLAGS}" \ PODOFO_LIB_DIR="${LOCALBASE}/lib" \ PODOFO_INC_DIR="${LOCALBASE}/include/podofo" \ WITH_USB=yes \ CALIBRE_CONFIG_DIRECTORY=${WRKDIR}/calibre-config \ XDG_DATA_DIRS=${STAGEDIR}${PREFIX}/share \ XDG_CONFIG_HOME=${WRKDIR}/xdg-config \ XDG_UTILS_INSTALL_MODE=system \ QMAKE=${QMAKE} \ SIP_BIN=${SIP} \ SIP_DIR=${PYQT_SIPDIR} \ PYTHONDONTWRITEBYTECODE=true .include ISOCODESWRKSRC!= ${BSDMAKE} -C ${.CURDIR}/../../misc/iso-codes -V WRKSRC post-extract: @${MV} ${WRKSRC_translations} ${WRKSRC}/src/translations @${CP} ${DISTDIR}/${DIST_SUBDIR}/cacert.pem ${WRKSRC}/resources/mozilla-ca-certs.pem @${CP} ${FILESDIR}/user-agent-data.json ${WRKSRC}/resources post-patch: @${REINPLACE_CMD} -e "s|#!/usr/bin/env python{py_major_version}|#!${PYTHON_CMD}|" \ -e "s|#!/usr/bin/env python|#!${PYTHON_CMD}|" \ ${WRKSRC}/setup/install.py \ ${WRKSRC}/src/calibre/gui2/dialogs/custom_recipes.py \ ${WRKSRC}/src/calibre/gui2/preferences/tweaks.py @${REINPLACE_CMD} -e "s|%%ISOCODESWRKSRC%%|${ISOCODESWRKSRC}|" \ ${WRKSRC}/setup/iso_codes.py do-configure: # do nothing do-build: @${MKDIR} ${WRKDIR}/calibre-config ${WRKDIR}/xdg-config @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ ${PYSETUP} bootstrap \ --system-liberation_fonts \ --path-to-liberation_fonts=${LOCALBASE}/share/fonts/Liberation \ --system-mathjax \ --path-to-mathjax=${LOCALBASE}/www/MathJax3 \ --path-to-hyphenation=${WRKSRC_hypenation} \ ) @${RMDIR} ${LOCALBASE}/libexec/qt6/locales 2>/dev/null || ${TRUE} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION}/site-packages \ ${STAGEDIR}${PREFIX}/share/icons/hicolor \ ${STAGEDIR}${PREFIX}/share/applications \ ${STAGEDIR}${PREFIX}/share/desktop-directories \ ${STAGEDIR}${PREFIX}/share/mime/packages # Create this file to avoid what looks like a bug in xdg-desktop-menu @${TOUCH} ${STAGEDIR}${PREFIX}/share/applications/defaults.list (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ ${PYSETUP} install --prefix ${PREFIX} \ --staging-root ${STAGEDIR}${PREFIX}) @${RM} ${STAGEDIR}${PREFIX}/bin/calibre-uninstall \ ${STAGEDIR}${PREFIX}/share/applications/defaults.list @${RMDIR} ${STAGEDIR}${PREFIX}/share/desktop-directories @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/calibre/calibre/plugins/* update-recent-uas: patch @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \ ${PYSETUP} recent_uas) ${CP} ${BUILD_WRKSRC}/resources/user-agent-data.json ${FILESDIR} .include diff --git a/deskutils/qmediamanager/Makefile b/deskutils/qmediamanager/Makefile index a3f68e4feca5..78f3d85bafa7 100644 --- a/deskutils/qmediamanager/Makefile +++ b/deskutils/qmediamanager/Makefile @@ -1,34 +1,35 @@ PORTNAME= qmediamanager DISTVERSION= 0.1.1 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= jwb@FreeBSD.org COMMENT= GUI tool for managing removable media WWW= https://github.com/outpaddling/qmediamanager LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= libxtend>=0.1.8:devel/libxtend LIB_DEPENDS= libxtend.so:devel/libxtend RUN_DEPENDS= npmount>0:sysutils/npmount \ devd-mount>0:sysutils/devd-mount \ auto-admin>=0.7.18:sysutils/auto-admin \ rxvt-unicode>0:x11/rxvt-unicode USES= gl qmake qt:6 USE_QT= base tools:build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= outpaddling WITH_DEBUG= yes PLIST_FILES= bin/qmediamanager man/man1/qmediamanager.1.gz do-install: ${INSTALL} -c ${WRKSRC}/qmediamanager ${STAGEDIR}${PREFIX}/bin ${INSTALL} -c ${WRKSRC}/Man/qmediamanager.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/devel/py-qt6-pyqt/Makefile b/devel/py-qt6-pyqt/Makefile index 2a5340f9f292..1dd711452a7d 100644 --- a/devel/py-qt6-pyqt/Makefile +++ b/devel/py-qt6-pyqt/Makefile @@ -1,44 +1,44 @@ PORTNAME= pyqt PORTVERSION= ${PYQT_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITES_PYQT} PKGNAMEPREFIX= ${PYQT_PY_RELNAME}- DISTNAME= ${PYQT_DISTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt6 toolkit, QtCore module WWW= https://riverbankcomputing.com/software/pyqt PYQT_DIST= yes LIB_DEPENDS= libqscintilla2_qt6.so:devel/qscintilla2-qt6 \ libdbus-1.so:devel/dbus BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>1:devel/py-dbus@${PY_FLAVOR} RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>1:devel/py-dbus@${PY_FLAVOR} USES= gl pkgconfig python pyqt:6 qt:6 USE_GL+= gl opengl USE_PYTHON= concurrent flavors py3kplist USE_PYQT= qtbuilder sip pysip USE_QT= 5compat base declarative imageformats languageserver lottie \ multimedia positioning quick3d remoteobjects sensors \ serialport shadertools svg tools translations webchannel \ websockets PORTSCOUT?= limit:^${_QT_VERSION:R} post-extract: ${RM} -r ${WRKSRC}/pyuic/uic/port_v2 post-install: ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -f -d ${PYTHONPREFIX_SITELIBDIR}/PyQt6 \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt6 ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \ -f -d ${PYTHONPREFIX_SITELIBDIR}/PyQt6 \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt6 @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt6 \ -name '*.so*' -exec ${STRIP_CMD} {} + .include diff --git a/devel/py-qt6-qscintilla2/Makefile b/devel/py-qt6-qscintilla2/Makefile index a3d93e23a570..17bed172941e 100644 --- a/devel/py-qt6-qscintilla2/Makefile +++ b/devel/py-qt6-qscintilla2/Makefile @@ -1,43 +1,43 @@ PORTNAME= qscintilla2 PORTVERSION= ${QSCI2_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITES_QSCI2} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt6- DISTNAME= ${QSCI2_DISTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for QScintilla2 (PyQt6), QSci module WWW= https://riverbankcomputing.com/software/pyqt \ https://www.riverbankcomputing.com/software/qscintilla LIB_DEPENDS= libqscintilla2_qt6.so:devel/qscintilla2-qt6 DISTINFO_FILE= ${.CURDIR:H}/qscintilla2-qt6/distinfo DESTDIRNAME= INSTALL_ROOT USES= python pyqt:6 gl qt:6 USE_GL= gl USE_PYQT= pyqt6 sip:build qtbuilder USE_PYTHON= concurrent flavors py3kplist USE_QT= base OPTIONS_DEFINE= DEBUG DEBUG_CONFIGURE_ON= --debug --trace WRKSRC= ${WRKDIR}/${DISTNAME}/Python ALL_TARGET= #empty post-extract: ${CP} ${WRKSRC}/pyproject-qt6.toml ${WRKSRC}/pyproject.toml do-build: (cd ${WRKSRC} ; sip-build-${PYTHON_VER} --qmake ${QMAKE} --verbose --no-make --build-dir build ; ${MAKE} -C ./build ) do-install: (cd ${WRKSRC} ; ${MAKE} -C ./build install INSTALL_ROOT=${STAGEDIR} ) post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyQt6/Qsci.abi3.so .include diff --git a/devel/py-qt6-sip/Makefile b/devel/py-qt6-sip/Makefile index 4f52293e68b7..3bcd31201863 100644 --- a/devel/py-qt6-sip/Makefile +++ b/devel/py-qt6-sip/Makefile @@ -1,23 +1,24 @@ PORTNAME= sip PORTVERSION= ${PYQT6SIP_VERSION} +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITES_PYQT6SIP} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}qt6- DISTNAME= ${PYQT6SIP_DISTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Python to C and C++ bindings generator WWW= http://www.riverbankcomputing.co.uk/software/sip/ LICENSE= SIP GPLv2 GPLv3 LICENSE_COMB= multi LICENSE_GROUPS_SIP= FSF GPL OSI LICENSE_NAME_SIP= SIP License LICENSE_FILE_SIP= ${FILESDIR}/LICENSE LICENSE_PERMS_SIP= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= python pyqt:6 USE_PYTHON= autoplist concurrent distutils flavors py3kplist USE_PYQT= # .include diff --git a/devel/py-qt6/Makefile b/devel/py-qt6/Makefile index 20e7e2c2cfa7..6f4f32cf5370 100644 --- a/devel/py-qt6/Makefile +++ b/devel/py-qt6/Makefile @@ -1,15 +1,15 @@ PORTNAME= qt6 PORTVERSION= ${PYQT_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt 6 toolkit (meta port) WWW= https://riverbankcomputing.com/software/pyqt USES= metaport python pyqt:6 USE_PYTHON= concurrent flavors py3kplist USE_PYQT= pyqt6 chart networkauth .include diff --git a/devel/qscintilla2-qt6/Makefile b/devel/qscintilla2-qt6/Makefile index ba9c0011732e..06d8ad029b48 100644 --- a/devel/qscintilla2-qt6/Makefile +++ b/devel/qscintilla2-qt6/Makefile @@ -1,47 +1,47 @@ PORTNAME= qscintilla2-qt6 PORTVERSION= ${QSCI2_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITES_QSCI2} DISTNAME= ${QSCI2_DISTNAME} MAINTAINER= kde@FreeBSD.org COMMENT= Qt 6 port of the Scintilla C++ editor class WWW= http://www.riverbankcomputing.co.uk/software/qscintilla/ USES= compiler:c++11-lang gl qmake pyqt:6 qt:6 USE_GL= gl USE_PYQT= # USE_QT= base USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL} BUILD_WRKSRC= ${WRKSRC}/src CONFIGURE_WRKSRC= ${BUILD_WRKSRC} INSTALL_WRKSRC= ${BUILD_WRKSRC} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES NLS OPTIONS_SUB= yes .include post-patch: .if empty(PORT_OPTIONS:MNLS) cd ${BUILD_WRKSRC} && ${REINPLACE_CMD} -e \ 's|trans qsci|qsci|' qscintilla.pro .endif post-install: cd ${WRKSRC} &&\ ${MKDIR} ${STAGEDIR}${DOCSDIR}/html ${STAGEDIR}${DOCSDIR}/Scintilla &&\ ${INSTALL_DATA} NEWS ${STAGEDIR}${DOCSDIR} &&\ ${INSTALL_DATA} doc/html/* ${STAGEDIR}${DOCSDIR}/html &&\ ${INSTALL_DATA} doc/Scintilla/* ${STAGEDIR}${DOCSDIR}/Scintilla cd ${WRKSRC}/example &&\ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/images &&\ ${INSTALL_DATA} *.* ${STAGEDIR}${EXAMPLESDIR} &&\ ${INSTALL_DATA} images/* ${STAGEDIR}${EXAMPLESDIR}/images .include diff --git a/devel/qt6/Makefile b/devel/qt6/Makefile index ef815c0d2e94..f66d22cb0323 100644 --- a/devel/qt6/Makefile +++ b/devel/qt6/Makefile @@ -1,13 +1,13 @@ PORTNAME= qt6 DISTVERSION= ${QT6_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MAINTAINER= kde@FreeBSD.org COMMENT= Cross-platform application and UI framework (metaport) WWW= https://www.qt.io/ USES= metaport qt:6 USE_QT= ${_USE_QT_ALL:S/$/:run/} .include diff --git a/devel/qtcreator/Makefile b/devel/qtcreator/Makefile index 4e88f50b6e40..64b5ee0e652f 100644 --- a/devel/qtcreator/Makefile +++ b/devel/qtcreator/Makefile @@ -1,100 +1,101 @@ PORTNAME= qtcreator DISTVERSION= 10.0.2 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= QT/official_releases/qtcreator/${DISTVERSION:R}/${DISTVERSION} DISTNAME= qt-creator-opensource-src-${DISTVERSION} DIST_SUBDIR= KDE/Qt/qtcreator MAINTAINER= kde@FreeBSD.org COMMENT= C++ and QML IDE for Qt development WWW= https://qt-project.org/wiki/Category:Tools::QtCreator LICENSE= QtGPL LICENSE_GROUPS_QtGPL= GPL LICENSE_NAME= GPLv3 with Qt Company GPL Exception 1.0 LICENSE_FILE= ${WRKSRC}/LICENSE.GPL3-EXCEPT LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \ libxkbcommon.so:x11/libxkbcommon \ libzstd.so:archivers/zstd USES= cmake compiler:c++17-lang desktop-file-utils gl llvm:build,run,min=15 \ pkgconfig python qt:6 shebangfix tar:xz USE_GL= gl USE_LDCONFIG= ${LOCALBASE}/lib/${PORTNAME} USE_QT= 5compat base declarative positioning quick3d quicktimeline \ serialport shadertools sqldriver-sqlite svg tools translations webchannel SHEBANG_FILES= bin/qtcreator.sh \ doc/fixnavi.pl \ doc/qtcreatordev/examples/aggregation/test.sh \ scripts/*.pl \ scripts/*.py \ scripts/*.sh \ share/qtcreator/scripts/openTerminal.py \ share/qtcreator/translations/check-ts.pl \ share/qtcreator/translations/*.py \ src/app/winicons/createicons.sh \ src/libs/glsl/make-parser.sh \ src/libs/qmljs/parser/changeLicense.py \ src/libs/qmljs/parser/gen-parser.sh \ src/libs/qt-breakpad/qtbreakpadsymbols \ src/plugins/perfprofiler/tracepoints.sh \ src/tools/icons/*.sh \ src/tools/icons/*.py \ tests/system/tools/findUnusedObjects.py \ tests/system/tools/objectsToTable.py # Provide library paths, default llvm first as a hint to the clang code model. CMAKE_ARGS+= -DCMAKE_PREFIX_PATH:STRING="${LLVM_PREFIX};${PREFIX}" # - Prevent accidental pickup of devel/elfutils libraries. # - Prevent accidental use of devel/googletest headers, use bundled. CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_elfutils \ CMAKE_DISABLE_FIND_PACKAGE_Googletest # - Disable precompiled headers for now, they are missing compile flags. # - Suppress installed yaml-cpp, use bundled. CMAKE_OFF= BUILD_WITH_PCH \ yaml-cpp_FOUND LDFLAGS+= -lexecinfo # be paranoid and do not extract qbs (devel/qbs) copy from source tree EXTRACT_AFTER_ARGS+= --exclude '${DISTNAME}/src/shared/qbs' PLIST_SUB= SHLIB_VER="${PORTVERSION}" \ SHLIB_SHVER="${PORTVERSION:C/\..*//}" PORTDOCS= * OPTIONS_DEFINE= DOCS EXAMPLES QTWEBENGINE OPTIONS_DEFAULT= DOCS EXAMPLES OPTIONS_DEFAULT_amd64= QTWEBENGINE OPTIONS_DEFAULT_i386= QTWEBENGINE OPTIONS_SUB= yes DOCS_DESC= Install the Qt6 api documentation EXAMPLES_DESC= Install the Qt6 example projects QTWEBENGINE_DESC= Add dependency on qt6-webengine DOCS_USE= QT=doc:run DOCS_CMAKE_BOOL= WITH_DOCS EXAMPLES_USE= QT=examples:run QTWEBENGINE_USE= qt=webengine QTWEBENGINE_CMAKE_BOOL= BUILD_HELPVIEWERBACKEND_QTWEBENGINE # Documentation is excluded from the default build targets. do-build-DOCS-on: ${CMAKE_BIN} --build ${BUILD_WRKSRC} --target docs # This also means separate install steps for documentation. do-install-DOCS-on: ${CMAKE_BIN} --install ${BUILD_WRKSRC} --prefix ${STAGEDIR}${PREFIX} \ --component qch_docs ${CMAKE_BIN} --install ${BUILD_WRKSRC} --prefix ${STAGEDIR}${PREFIX} \ --component html_docs .include diff --git a/editors/focuswriter/Makefile b/editors/focuswriter/Makefile index 49f0ce45462b..d9c5a635af17 100644 --- a/editors/focuswriter/Makefile +++ b/editors/focuswriter/Makefile @@ -1,32 +1,33 @@ PORTNAME= focuswriter DISTVERSION= 1.8.5 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= https://gottcode.org/${PORTNAME}/ MAINTAINER= eduardo@FreeBSD.org COMMENT= Simple, distraction-free writing environment WWW= https://gottcode.org/focuswriter/ LICENSE= GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/resources/images/icons/oxygen/COPYING LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell USES= cmake compiler:c++17-lang desktop-file-utils gl iconv pkgconfig \ qt:6 tar:bz2 USE_GL= gl USE_QT= base multimedia tools:build PORTDATA= * PORTDOCS= CREDITS ChangeLog README OPTIONS_DEFINE= DOCS LTO OPTIONS_DEFAULT= LTO LTO_CMAKE_BOOL= ENABLE_LINK_TIME_OPTIMIZATION post-install-DOCS-on: cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} .include diff --git a/editors/ghostwriter/Makefile b/editors/ghostwriter/Makefile index 14033a0a1e99..28f69d882a1a 100644 --- a/editors/ghostwriter/Makefile +++ b/editors/ghostwriter/Makefile @@ -1,46 +1,46 @@ PORTNAME= ghostwriter DISTVERSION= 2.2.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= editors kde MAINTAINER= madpilot@FreeBSD.org COMMENT= Distraction-free Markdown editor WWW= https://ghostwriter.kde.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell FLAVORS= qt5 qt6 FLAVOR?= qt5 qt5_PKGNAMESUFFIX= qt6_PKGNAMESUFFIX= -qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME} USES= compiler:c++11-lang desktop-file-utils kde:5 pkgconfig qmake .if ${FLAVOR} == qt5 USES+= qt:5 USE_QT= buildtools:build core gui linguisttools:build svg \ webchannel webengine widgets RCCREGEXP= \/lib\/qt5\/bin\/rcc .else USES+= qt:6 USE_QT= 5compat base svg tools webchannel webengine RCCREGEXP= \/libexec\/qt6\/rcc .endif # cf. PR 224488 LDFLAGS+= -Wl,--as-needed KDE_INVENT= 151268bcfdca57bba4944caa7172dde9549f0622 office post-configure: @${REINPLACE_CMD} -e 's|^\(build/release/qrc_QtAwesomeFree.cpp:[^\\]*\)\\|\1|' \ -e '/3rdparty\/QtAwesome\/fonts\/Font/d' \ -e '/${RCCREGEXP} \\/d' \ ${WRKSRC}/Makefile .include diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile index a38956c3d36b..28c7d8ec70b6 100644 --- a/editors/libreoffice/Makefile +++ b/editors/libreoffice/Makefile @@ -1,394 +1,394 @@ -PORTREVISION= 0 +PORTREVISION= 1 .include "${.CURDIR}/Makefile.common" MASTER_SITES= https://download.documentfoundation.org/libreoffice/src/${LOVERSION}/ \ https://dev-www.libreoffice.org/src/:src \ https://dev-www.libreoffice.org/extern/:ext DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}-help-${DISTVERSION}${EXTRACT_SUFX} DIST_SUBDIR= libreoffice EXTRACT_ONLY:= ${DISTFILES} COMMENT= Full integrated office productivity suite WWW?= https://www.libreoffice.org/ BUILD_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \ zip:archivers/zip \ ${LOCALBASE}/include/sqlext.h:databases/unixODBC \ cppunit-config:devel/cppunit \ dmake:devel/dmake \ gperf>=3.1:devel/gperf \ ${LOCALBASE}/include/libcuckoo/cuckoohash_map.hh:devel/libcuckoo \ libunwind>=20211201_1:devel/libunwind \ mdds>=2.0:devel/mdds \ ucpp:devel/ucpp \ ${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \ vigra-config:graphics/vigra \ ${LOCALBASE}/include/glm/glm.hpp:math/glm \ bash:shells/bash \ gsed:textproc/gsed \ ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ coreutils>=8.23:sysutils/coreutils \ flex>=0.26:textproc/flex LIB_DEPENDS= libapr-1.so:devel/apr1 \ libboost_date_time.so:devel/boost-libs \ libbox2d.so:misc/box2d \ libicutu.so:devel/icu \ liblangtag.so:devel/liblangtag \ libltdl.so:devel/libltdl \ liborcus-0.17.so:devel/liborcus \ libplds4.so:devel/nspr \ libcurl.so:ftp/curl \ libgraphite2.so:graphics/graphite2 \ liblcms2.so:graphics/lcms2 \ libcdr-0.1.so:graphics/libcdr01 \ libepoxy.so:graphics/libepoxy \ libetonyek-0.1.so:graphics/libetonyek01 \ libfreehand-0.1.so:graphics/libfreehand \ libwpg-0.3.so:graphics/libwpg03 \ libzmf-0.0.so:graphics/libzmf \ libpng.so:graphics/png \ libpoppler.so:graphics/poppler \ libwebp.so:graphics/webp \ liblpsolve55.so:math/lp_solve \ libcmis-0.5.so:net/libcmis \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libmspub-0.1.so:print/libmspub01 \ libpagemaker-0.0.so:print/libpagemaker \ libassuan.so:security/libassuan \ libgpgme.so:security/gpgme \ libgpgmepp.so:security/gpgme-cpp \ libgpg-error.so:security/libgpg-error \ libnss3.so:security/nss \ libxmlsec1-nss.so:security/xmlsec1 \ libclucene-core.so:textproc/clucene \ libexpat.so:textproc/expat2 \ libhunspell-1.7.so:textproc/hunspell \ libhyphen.so:textproc/hyphen \ libabw-0.1.so:textproc/libabw \ libe-book-0.1.so:textproc/libe-book \ libepubgen-0.1.so:textproc/libepubgen \ libexttextcat-2.0.so:textproc/libexttextcat \ libmwaw-0.3.so:textproc/libmwaw03 \ libnumbertext-1.0.so:textproc/libnumbertext \ libodfgen-0.1.so:textproc/libodfgen01 \ libqxp-0.0.so:textproc/libqxp \ librevenge-0.0.so:textproc/librevenge \ libstaroffice-0.0.so:textproc/libstaroffice \ libvisio-0.1.so:textproc/libvisio01 \ libwpd-0.10.so:textproc/libwpd010 \ libwps-0.4.so:textproc/libwps \ libmythes-1.2.so:textproc/mythes \ libraptor2.so:textproc/raptor2 \ librdf.so:textproc/redland \ libZXing.so:textproc/zxing-cpp \ libfontconfig.so:x11-fonts/fontconfig \ libxcb-icccm.so:x11/xcb-util-wm \ libserf-1.so:www/serf RUN_DEPENDS= xdg-open:devel/xdg-utils \ ${LOCALBASE}/share/fonts/Caladea/Caladea-Bold.ttf:x11-fonts/crosextrafonts-caladea-ttf \ ${LOCALBASE}/share/fonts/Carlito/Carlito-Bold.ttf:x11-fonts/crosextrafonts-carlito-ttf \ ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu \ ${LOCALBASE}/share/fonts/twemoji-color-font-ttf/TwitterColorEmoji-SVGinOT.ttf:x11-fonts/twemoji-color-font-ttf \ ${LOCALBASE}/share/fonts/GentiumBasic/GenBasI.ttf:x11-fonts/gentium-basic \ ${LOCALBASE}/share/fonts/Liberation/LiberationMono-Bold.ttf:x11-fonts/liberation-fonts-ttf \ ${LOCALBASE}/share/fonts/LinLibertineG/LinLibertine_DR_G.ttf:x11-fonts/linuxlibertine-g DISTFILES+= f543e6e2d7275557a839a164941c0a86e5f2c3f2a0042bfc434c88c6dde9e140-opens___.ttf:ext DISTFILES+= dtoa-20180411.tgz:src DISTFILES+= dragonbox-1.1.3.tar.gz:src DISTFILES+= skia-m103-b301ff025004c9cd82816c86c547588e6c24b466.tar.xz:src NOT_FOR_ARCHS= armv6 armv7 NOT_FOR_ARCHS_REASON= Unsupported host_cpu .if defined(PRERELEASE) MASTER_SITES+= https://dev-builds.libreoffice.org/pre-releases/src/ .endif CONFLICTS_INSTALL= libreoffice6 INSTALL_TARGET= distro-pack-install SHEBANG_GLOB= *.py GNU_CONFIGURE= yes USES= autoreconf:build bison compiler:c++17-lang cpe desktop-file-utils \ gettext gl gmake gnome jpeg ldap localbase:ldflags perl5 pkgconfig \ python shebangfix shared-mime-info ssl tar:xz xorg USE_GL= gl glew glu USE_GNOME= cairo glib20 libxml2 libxslt USE_PERL5= build USE_XORG= ice sm x11 xaw xcb xext xinerama xrandr xrender USES+= elfctl ELF_FEATURES= +wxneeded:instdir/program/soffice.bin OPTIONS_DEFINE= COINMP CUPS DOCS GNOME GTK3 GTK4 JAVA KF5 LTO MMEDIA PDFIUM PGSQL MARIADB SDK TEST WEBDAV OPTIONS_RADIO= QT OPTIONS_RADIO_QT= QT5 QT6 OPTIONS_DEFAULT= CUPS DOCS JAVA MMEDIA PDFIUM QT5 #OPTIONS_EXCLUDE= GTK4 COINMP_DESC= Enable CoinMP (deprecated) math solver GTK4_DESC= GTK+ 4 GUI toolkit support (experimental, broken) JAVA_DESC= Add Java support (XML filters, macros, DB connections) KF5_DESC= KF5/Qt5 GUI toolkit support (implies QT5) MMEDIA_DESC= Enable multimedia backend for Impress PDFIUM_DESC= Enable PDFium secure engine PGSQL_DESC= Build with PostgreSQL-SDBC driver MARIADB_DESC= Build with MariaDB/MySQL-SDBC driver QT_DESC= Select Qt GUI engine version QT5_DESC= Qt5 GUI toolkit support (default visual style) QT6_DESC= Qt6 GUI toolkit support (experimental visual style) SDK_DESC= Build with SDK TEST_DESC= Run all regression tests WEBDAV_DESC= Enable WebDAV protocol COINMP_CONFIGURE_ENABLE= coinmp COINMP_CONFIGURE_ON= --with-system-coinmp COINMP_LIB_DEPENDS= libCoinMP.so:math/coinmp CUPS_CONFIGURE_ENABLE= cups CUPS_LIB_DEPENDS= libcups.so:print/cups DOCS_CONFIGURE_ON= --with-help=html GNOME_CONFIGURE_ENABLE= dbus dconf GNOME_IMPLIES= GTK3 GNOME_LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib GNOME_USE= GNOME=dconf GTK3_CONFIGURE_ENABLE= gtk3 GTK3_USE= GNOME=gtk30 GTK4_CONFIGURE_ENABLE= gtk4 GTK4_USE= GNOME=gtk40 JAVA_BUILD_DEPENDS= ant:devel/apache-ant \ ${JAVAJARDIR}/commons-codec.jar:java/apache-commons-codec \ ${JAVAJARDIR}/commons-httpclient.jar:java/apache-commons-httpclient \ ${JAVAJARDIR}/commons-lang3.jar:java/apache-commons-lang3 \ ${JAVAJARDIR}/commons-logging.jar:java/apache-commons-logging \ ${JAVAJARDIR}/junit.jar:java/junit JAVA_CATEGORIES= java JAVA_CONFIGURE_ON= --with-ant-home=${LOCALBASE}/share/java/apache-ant \ --with-commons-codec-jar=${JAVAJARDIR}/commons-codec.jar \ --with-commons-httpclient-jar=${JAVAJARDIR}/commons-httpclient.jar \ --with-commons-lang-jar=${JAVAJARDIR}/commons-lang3.jar \ --with-commons-logging-jar=${JAVAJARDIR}/commons-logging.jar \ --with-jdk-home="${JAVA_HOME}" \ --with-junit=${JAVAJARDIR}/junit.jar \ --with-hamcrest=${JAVAJARDIR}/hamcrest.jar \ --with-system-jars \ --without-system-beanshell \ --without-system-jfreereport JAVA_CONFIGURE_WITH= java # XXX jni.h from GNU classpath causes ABI conflicts. JAVA_CONFLICTS_BUILD= classpath-[0-9]* JAVA_DISTFILES= 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip:src \ 3404ab6b1792ae5f16bbd603bd1e1d03-libformula-1.1.7.zip:src \ 35c94d2df8893241173de1d16b6034c0-swingExSrc.zip:src \ 39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip:src \ 3bdf40c0d199af31923e900d082ca2dd-libfonts-1.1.6.zip:src \ 798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip:src \ 8249374c274932a21846fa7629c2aa9b-officeotron-0.7.4-master.jar:ext \ 8ce2fcd72becf06c41f7201d15373ed9-librepository-1.1.6.zip:src \ 97b2d4dba862397f446b217e2b623e71-libloader-1.1.6.zip:src \ a084cd548b586552cb7d3ee51f1af969-odfvalidator-1.1.8-incubating-SNAPSHOT-jar-with-dependencies.jar:ext \ ace6ab49184e329db254e454a010f56d-libxml-1.1.7.zip:src \ ba2930200c9f019c2d93a8c88c651a0f-flow-engine-0.9.4.zip:src \ beeca87be45ec87d241ddd0e1bad80c1-bsh-2.0b6-src.zip:src \ d8bd5eed178db6e2b18eeed243f85aa8-flute-1.1.6.zip:src \ db60e4fde8dd6d6807523deb71ee34dc-liblayout-0.2.10.zip:src \ eeb2c7ddf0d302fba4bfc6e97eac9624-libbase-1.1.6.zip:src \ f94d9870737518e3b597f9265f4e9803-libserializer-1.1.6.zip:src JAVA_USE= JAVA=yes JAVA_VARS= JAVA_BUILD=yes JAVA_RUN=yes JAVA_VERSION=11+ KF5_CONFIGURE_ENABLE= kf5 KF5_USE= kde=config,coreaddons,i18n,kio,windowsystem KF5_USES= kde:5 KF5_IMPLIES= QT5 LTO_CONFIGURE_ENABLE= lto MMEDIA_USES= gstreamer MMEDIA_CONFIGURE_ENABLE= gstreamer-1-0 PDFIUM_CONFIGURE_ENABLE= pdfium PDFIUM_DISTFILES= pdfium-5778.tar.bz2:src PDFIUM_LIB_DEPENDS= libabsl_strings.so:devel/abseil \ libopenjp2.so:graphics/openjpeg PGSQL_CONFIGURE_ENABLE= postgresql-sdbc PGSQL_CONFIGURE_WITH= gssapi krb5 PGSQL_USES= pgsql MARIADB_CONFIGURE_ENABLE= mariadb-sdbc MARIADB_USES= mysql:client QT5_CONFIGURE_ENABLE= qt5 QT5_USE= qt=buildtools:build,core,gui,network,qmake:build,widgets,x11extras QT5_USES= qt:5 QT6_CONFIGURE_ENABLE= qt6 QT6_CONFIGURE_ENV= QMAKE6=${QMAKE} MOC6=${MOC} PATH="${QT_TOOLDIR}:${PATH}" QT6_PREVENTS= KF5 QT6_PREVENTS_MSG= KF5 support require Qt5 engine QT6_USE= qt=base,declarative:build,tools:build QT6_USES= qt:6 SDK_BUILD_DEPENDS= doxygen:devel/doxygen SDK_CONFIGURE_ENABLE= odk SDK_CONFIGURE_OFF= --without-doxygen SDK_CONFIGURE_ON= --with-doxygen=${LOCALBASE}/bin/doxygen SDK_DISTFILES= 185d60944ea767075d27247c3162b3bc-unowinreg.dll:ext TEST_ALL_TARGET= build TEST_ALL_TARGET_OFF= build TEST_CONFIGURE_ENABLE= cve-tests WEBDAV_CONFIGURE_ON= --with-webdav=neon WEBDAV_CONFIGURE_OFF= --with-webdav=no WEBDAV_LIB_DEPENDS= libneon.so:www/neon CONFIGURE_ARGS= --disable-dependency-tracking \ --disable-epm \ --disable-fetch-external \ --disable-firebird-sdbc \ --disable-mergelibs \ --disable-online-update \ --enable-cairo-canvas \ --enable-python=system \ --enable-release-build \ --enable-extension-integration \ --disable-mpl-subset \ --disable-report-builder \ --exec-prefix=${PREFIX} \ --with-boost=${LOCALBASE} \ --with-build-version="FreeBSD ports ${PKGVERSION}" \ --with-external-dict-dir=${LOCALBASE}/share/hunspell \ --with-external-hyph-dir=${LOCALBASE}/share/hyphen \ --with-external-tar=${DISTDIR}/${DIST_SUBDIR} \ --with-external-thes-dir=${LOCALBASE}/share/mythes \ --with-os-version=${OSVERSION} \ --with-parallelism=${MAKE_JOBS_NUMBER} \ --with-system-abseil \ --with-system-cppunit \ --with-system-cuckoo \ --with-system-curl \ --with-system-dicts \ --with-system-dragonbox=no \ --with-system-gpgmepp \ --with-system-libfixmath=no \ --with-system-libs \ --with-system-libtiff \ --with-system-libxml \ --with-system-mdds \ --with-system-nss \ --with-system-openjpeg \ --with-system-orcus \ --with-system-ucpp \ --with-system-zlib \ --with-system-zxing \ --with-tls=nss \ --with-vendor="FreeBSD ports" \ --without-fonts \ --without-myspell-dicts CONFIGURE_ENV= DMAKE=${LOCALBASE}/bin/dmake \ FLEX=${LOCALBASE}/bin/flex \ CONFIG_SHELL=${LOCALBASE}/bin/bash \ GNUTAR="${TAR}" \ GPERF=${LOCALBASE}/bin/gperf \ ICU_CFLAGS="`icu-config --cflags`" \ ICU_LIBS="`icu-config --ldflags`" \ PYTHON_CFLAGS="`${PYTHON_VERSION}-config --cflags`" \ PYTHON_LIBS="`${PYTHON_VERSION}-config --libs`" \ ZXING_CFLAGS="-I${LOCALBASE}/include/ZXing \ CPLUS_INCLUDE_PATH="-I${LOCALBASE}/include \ ac_cv_path_SED=${LOCALBASE}/bin/gsed CONFIGURE_SHELL= ${LOCALBASE}/bin/bash MAKE_SHELL= ${LOCALBASE}/bin/bash MAKE_ARGS+= TMPDIR=${WRKDIR} MAKE_ENV+= CXXFLAGS_WARN="${CXXFLAGS_WARN}" MAKE_ENV+= GNUSED=${LOCALBASE}/bin/gsed MAKE_ENV+= DISPLAY= MAKE_ENV+= verbose=1 BINARY_ALIAS= sed=gsed #MAKE_JOBS_UNSAFE= yes .include .include .if ${OPSYS} == FreeBSD && ( \ (${OSVERSION} >= 1300525 && ${OSVERSION} < 1301000) || \ (${OSVERSION} >= 1301500 && ${OSVERSION} < 1301502) || \ (${OSVERSION} >= 1400051 && ${OSVERSION} < 1400057)) BROKEN= please update FreeBSD base system first to fix an ABI incompatibility .endif .if ${ARCH} == powerpc || ${ARCH} == powerpcspe || ${ARCH} == powerpc64 CONFIGURE_ARGS+= --disable-skia .endif .if ${PORT_OPTIONS:MGTK3} && ${PORT_OPTIONS:MKF5} CONFIGURE_ARGS+= --enable-gtk3-kde5 .endif .if ${PORT_OPTIONS:MLTO} && ${CHOSEN_COMPILER_TYPE} == clang && ${COMPILER_VERSION} < 130 LLVM_DEFAULT= 13 CPP= ${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} CC= ${LOCALBASE}/bin/clang${LLVM_DEFAULT} CXX= ${LOCALBASE}/bin/clang++${LLVM_DEFAULT} BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} LLD_UNSAFE= yes .endif .if ${CHOSEN_COMPILER_TYPE} == clang CXXFLAGS_WARN= -Woverloaded-virtual -Wno-c++11-narrowing \ -Wno-unused-parameter -Wno-unused-local-typedefs .else CXXFLAGS_WARN= -Wshadow -Woverloaded-virtual .endif post-patch: .if ${COMPILER_FEATURES:Mlibstdc++} ${REINPLACE_CMD} -e 's/gb_CC/gb_CXX/' ${WRKSRC}/solenv/gbuild/platform/unxgcc.mk .endif pre-configure: @${TOUCH} ${WRKSRC}/autogen.lastrun post-configure: @${TOUCH} ${WRKSRC}/src.downloaded post-install: @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s lib/libreoffice -type d -empty \ -exec ${ECHO_CMD} "@dir {}" \; >> ${TMPPLIST} @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s bin lib man -not -type d >> ${TMPPLIST} .for subdir in applications bash-completion icons metainfo mime @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s share/${subdir} -not -type d >> ${TMPPLIST} .endfor post-install-SDK-on: .for subdir in include share share/doc @cd ${STAGEDIR}${PREFIX} && \ ${FIND} -s ${subdir}/libreoffice -not -type d >> ${TMPPLIST} .endfor .include diff --git a/editors/retext/Makefile b/editors/retext/Makefile index 9f9090c5ed8e..c507129bd6bf 100644 --- a/editors/retext/Makefile +++ b/editors/retext/Makefile @@ -1,28 +1,29 @@ PORTNAME= retext DISTVERSION= 8.0.1 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= PYPI DISTNAME= ReText-${DISTVERSION} MAINTAINER= eduardo@FreeBSD.org COMMENT= Markdown editor WWW= https://github.com/retext-project/retext LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE_GPL RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}enchant>=0:textproc/py-enchant@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>=3.0:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markups>=3.0.0:textproc/py-markups@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-markdown-math>=0.6:textproc/py-python-markdown-math@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymdown-extensions>0:textproc/py-pymdown-extensions@${PY_FLAVOR} USES= desktop-file-utils pyqt:6 python:3.9+ USE_PYTHON= autoplist distutils noflavors pytest USE_PYQT= pyqt6:run sip:run NO_ARCH= yes .include diff --git a/emulators/pcsx2/Makefile b/emulators/pcsx2/Makefile index 6f1b5582fc24..659b6af7ad95 100644 --- a/emulators/pcsx2/Makefile +++ b/emulators/pcsx2/Makefile @@ -1,99 +1,99 @@ PORTNAME= pcsx2 PORTVERSION= 1.7.4097 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= emulators MAINTAINER= martymac@FreeBSD.org COMMENT= Free and open-source PlayStation 2 emulator WWW= https://pcsx2.net LICENSE= GPLv3 LGPL3 LICENSE_COMB= multi ONLY_FOR_ARCHS= amd64 # Notes on dependencies (see cmake/SearchForStuff.cmake): # - rapidyaml (and c4core) come from 3rdparty/ (0.4.0 is needed) # - glad comes from 3rdparty/ (conflicts with libglvnd) # - zydis comes from 3rdparty/ LIB_DEPENDS= libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswresample.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libSoundTouch.so:audio/soundtouch \ libfmt.so:devel/libfmt \ libzip.so:archivers/libzip \ libcurl.so:ftp/curl \ libpulse.so:audio/pulseaudio \ libjack.so:audio/jack \ libsndio.so:audio/sndio \ libzstd.so:archivers/zstd # libryml.so:devel/rapidyaml \ # libglad.so:graphics/glad \ USES= cmake desktop-file-utils gl pkgconfig qt:6 sdl xorg USE_GITHUB= yes GH_PROJECT= pcsx2 .include "${.CURDIR}/Makefile.tuples" USE_GL= egl USE_SDL= sdl2 USE_XORG= ice x11 xcb xext xpm xrandr USE_QT= base tools # SSE 4.1 instructions are a hard requirement, if CPUTYPE is defined # use whatever is set and let the build fail if it falls below # baseline requirements. If it's undefined set penryn as target # as it's the oldest CPU arch that supports SSE 4.1 .if defined(CPUTYPE) EXTRA_PATCHES= ${PATCHDIR}/extra-patch-no-march-native .else EXTRA_PATCHES= ${PATCHDIR}/extra-patch-no-march-minimum-req .endif # See: cmake/BuildParameters.cmake CMAKE_ARGS+= \ -DCMAKE_REQUIRED_INCLUDES:STRING=${LOCALBASE}/include/ \ -DQT_BUILD:BOOL=ON \ -DUSE_VTUNE:BOOL=OFF \ -DUSE_VULKAN:BOOL=OFF \ -DENABLE_TESTS:BOOL=OFF \ -DPCSX2_RESOURCES_PATH:STRING=${DATADIR}/resources OPTIONS_DEFINE= DOCS PORTDOCS= Debugger.pdf GameIndex.pdf PCSX2_FAQ.pdf # - Program and resources are copied from target dir ${CONFIGURE_WRKSRC}/bin # because only necessary resources are installed there (e.g. no dx11 stuff) do-install: cd ${CONFIGURE_WRKSRC}/bin && \ ${COPYTREE_SHARE} resources/ ${STAGEDIR}${DATADIR}/ ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/bin/pcsx2-qt \ ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/pcsx2/Resources/AppIcon64.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/PCSX2.png ${INSTALL_DATA} ${WRKSRC}/.github/workflows/scripts/linux/pcsx2-qt.desktop \ ${STAGEDIR}${PREFIX}/share/applications/PCSX2.desktop ${INSTALL_MAN} ${WRKSRC}/bin/docs/PCSX2.1 ${STAGEDIR}${MANPREFIX}/man/man1/ post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} && \ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/bin/docs/|} \ ${STAGEDIR}${DOCSDIR} # For maintainer (do not forget to clean up Makefile.tuples afterwards to # remove useless submodules) Makefile.tuples:: @${RM} -f ${.CURDIR}/Makefile.tuples @${RM} -rf ${WRKDIR}/.maintainer.checkout @${MKDIR} ${WRKDIR}/.maintainer.checkout && \ cd ${WRKDIR}/.maintainer.checkout && \ git clone --recursive --branch=v${PORTVERSION} \ https://github.com/${PORTNAME}/${PORTNAME} . && \ ${SH} ${FILESDIR}/gen_gh_tuple.sh >> ${.CURDIR}/Makefile.tuples .include diff --git a/emulators/rpcs3/Makefile b/emulators/rpcs3/Makefile index b35470a30979..37a3bb55673e 100644 --- a/emulators/rpcs3/Makefile +++ b/emulators/rpcs3/Makefile @@ -1,119 +1,120 @@ PORTNAME= rpcs3 DISTVERSIONPREFIX= v DISTVERSION= 0.0.28-15391 # git rev-list --count HEAD +PORTREVISION= 1 DISTVERSIONSUFFIX= -g782344eed8 CATEGORIES= emulators wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= PS3 emulator/debugger WWW= https://rpcs3.net/ LICENSE= APACHE20 ISCL GPLv2 MIT ZLIB LICENSE_COMB= multi LICENSE_FILE_ISCL= ${WRKSRC_cubeb}/LICENSE LICENSE_FILE_ZLIB= ${WRKSRC_asmjit}/LICENSE.md FLAVORS= qt5 qt6 BUILD_DEPENDS= flatc:devel/flatbuffers LIB_DEPENDS= libxxhash.so:devel/xxhash \ libcurl.so:ftp/curl \ libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg \ libpugixml.so:textproc/pugixml ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= requires int128 and SSE2 USE_GITHUB= yes GH_ACCOUNT= RPCS3 GH_TUPLE= RPCS3:hidapi:hidapi-0.14.0-2-g8b43a97:hidapi/3rdparty/hidapi/hidapi \ RPCS3:soundtouch:2.3.1-16-g83cfba6:soundtouch/3rdparty/SoundTouch/soundtouch \ asmjit:asmjit:c598476:asmjit/3rdparty/asmjit/asmjit \ jbeder:yaml-cpp:yaml-cpp-0.7.0-1-g0b67821:yamlcpp/3rdparty/yaml-cpp/yaml-cpp \ KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-187-g85a1ed2:spirv_headers/3rdparty/SPIRV/SPIRV-Headers \ KhronosGroup:SPIRV-Tools:v2022.4:spirv_tools/3rdparty/SPIRV/SPIRV-Tools \ KhronosGroup:glslang:11.11.0-2-g10423ec6:glslang/3rdparty/glslang/glslang \ kinetiknz:cubeb:cubeb-0.2-1425-g88585b6:cubeb/3rdparty/cubeb/cubeb \ miniupnp:miniupnp:miniupnpd_2_3_3:miniupnp/3rdparty/miniupnp/miniupnp \ wolfSSL:wolfssl:v5.6.3-stable:wolfssl/3rdparty/wolfssl/wolfssl USES= cmake elfctl gl iconv:wchar_t llvm:min=16,lib localbase:ldflags \ openal:soft pkgconfig python:build qt:5 xorg USE_GL= gl glew USE_QT= qmake:build buildtools:build core concurrent dbus gui multimedia svg widgets USE_XORG= x11 CMAKE_ON= CMAKE_SKIP_RPATH ${CURL FFMPEG FLATBUFFERS LIBPNG PUGIXML XXHASH:L:S/^/USE_SYSTEM_/} CMAKE_ON+= BUNDLE_SPEEX # only used by cubeb tests CMAKE_OFF= USE_NATIVE_INSTRUCTIONS USE_PRECOMPILED_HEADERS LDFLAGS+= -Wl,--as-needed # GLU ELF_FEATURES= +wxneeded:bin/${PORTNAME} .if ${FLAVOR:U} == qt6 || make(makesum) || make(fetch) PATCH_SITES+= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/:qt6 PATCHFILES+= a8bbb2191c0c.patch:-p1:qt6 # https://github.com/RPCS3/rpcs3/pull/12471 PKGNAMESUFFIX= -${FLAVOR} USES:= ${USES:S/qt:5/qt:6/} USE_QT= base multimedia svg CONFLICTS_INSTALL= ${PORTNAME} post-patch: ${FLAVOR}-post-patch ${FLAVOR}-post-patch: # patch(1) doesn't support renames unlike git-apply(1) @${MV} ${WRKSRC}/rpcs3/rpcs3qt/qt_camera_video_surface.cpp \ ${WRKSRC}/rpcs3/rpcs3qt/qt_camera_video_sink.cpp @${MV} ${WRKSRC}/rpcs3/rpcs3qt/qt_camera_video_surface.h \ ${WRKSRC}/rpcs3/rpcs3qt/qt_camera_video_sink.h .else CONFLICTS_INSTALL= ${PORTNAME}-qt6 .endif OPTIONS_DEFINE= ALSA EVDEV FAUDIO PULSEAUDIO JACK SDL SNDIO VULKAN OPTIONS_DEFAULT=EVDEV FAUDIO PULSEAUDIO JACK SDL SNDIO VULKAN ALSA_BUILD_DEPENDS= alsa-lib>0:audio/alsa-lib ALSA_CMAKE_BOOL= USE_ALSA EVDEV_DESC= libevdev-based joystick support EVDEV_CMAKE_BOOL= USE_LIBEVDEV EVDEV_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto EVDEV_LIB_DEPENDS= libevdev.so:devel/libevdev \ libudev.so:devel/libudev-devd FAUDIO_DESC= FAudio audio support FAUDIO_LIB_DEPENDS= libFAudio.so:audio/faudio FAUDIO_CMAKE_BOOL= USE_FAUDIO USE_SYSTEM_FAUDIO JACK_BUILD_DEPENDS= jackit>0:audio/jack JACK_CMAKE_BOOL= USE_JACK PULSEAUDIO_BUILD_DEPENDS=pulseaudio>0:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSE SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CMAKE_BOOL= USE_SDL USE_SYSTEM_SDL SNDIO_BUILD_DEPENDS= sndio>0:audio/sndio SNDIO_CMAKE_BOOL= USE_SNDIO VULKAN_DESC= Vulkan renderer VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CMAKE_BOOL= USE_VULKAN # XXX Unbundle audio/rtmidi GH_TUPLE+= thestk:rtmidi:5.0.0:rtmidi/3rdparty/rtmidi/rtmidi ALSA_LIB_DEPENDS+= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL+= RTMIDI_API_ALSA JACK_LIB_DEPENDS+= libjack.so:audio/jack JACK_CMAKE_BOOL+= RTMIDI_API_JACK post-patch: @${REINPLACE_CMD} -e '/GIT_BRANCH/s/local_build/master/' \ -e '/GIT_FULL_BRANCH/s/local_build/${GH_ACCOUNT}\/${GH_PROJECT}\/master/' \ -e '/GIT_VERSION/s/local_build/${GH_TAGNAME:C/[^-]*-//}/' \ ${WRKSRC}/${PORTNAME}/git-version.cmake .include diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile index 8ae9ae9919c5..ffd7728aa92e 100644 --- a/emulators/yuzu/Makefile +++ b/emulators/yuzu/Makefile @@ -1,174 +1,175 @@ PORTNAME= yuzu PORTVERSION= s20230724 +PORTREVISION= 1 CATEGORIES= emulators wayland .if make(makesum) MASTER_SITES= https://api.yuzu-emu.org/gamedb/?dummy=/:gamedb .else MASTER_SITES= LOCAL/jbeich:gamedb .endif DISTFILES= ${PORTNAME}-s20230424/compatibility_list.json:gamedb EXTRACT_ONLY= ${DISTFILES:N*\:gamedb:C/\:.*//} MAINTAINER= jbeich@FreeBSD.org COMMENT= Nintendo Switch emulator/debugger WWW= https://yuzu-emu.org/ LICENSE= APACHE20 BSD3CLAUSE GPLv3+ ISCL MIT UNLICENSE LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/externals/sirit/LICENSE.txt LICENSE_FILE_GPLv3+ = ${WRKSRC}/LICENSE.txt LICENSE_FILE_ISCL= ${WRKSRC}/externals/cubeb/LICENSE LICENSE_FILE_MIT= ${WRKSRC}/externals/sirit/externals/SPIRV-Headers/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= requires int128 and dynarmic backend BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ nlohmann-json>0:devel/nlohmann-json \ xbyak>0:devel/xbyak \ glslangValidator:graphics/glslang \ vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libzstd.so:archivers/zstd \ libopus.so:audio/opus \ libinih.so:devel/inih \ libfmt.so:devel/libfmt \ libavcodec.so:multimedia/ffmpeg \ libenet.so:net/enet TEST_DEPENDS= catch2>0:devel/catch2 FLAVORS= qt5 qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 qt6_PKGNAMESUFFIX= -qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME} qt6_OPTIONS_SLAVE= QT6 qt6_OPTIONS_EXCLUDE= QT5 USE_GITHUB= yes GH_ACCOUNT= yuzu-emu GH_TAGNAME= 18000df5e9 GH_TUPLE= yuzu-emu:mbedtls:v2.16.9-115-g8c88150ca:mbedtls/externals/mbedtls \ yuzu-emu:sirit:ab75463:sirit/externals/sirit \ GPUOpen-LibrariesAndSDKs:VulkanMemoryAllocator:v3.0.1-94-g9b0fc3e:VulkanMemoryAllocator/externals/VulkanMemoryAllocator \ KhronosGroup:SPIRV-Headers:1.5.4.raytracing.fixed-201-gc214f6f:SPIRV_Headers/externals/sirit/externals/SPIRV-Headers \ MerryMage:dynarmic:6.4.7-2-g7da37803:dynarmic/externals/dynarmic \ arun11299:cpp-jwt:v1.4-14-ge12ef06:cpp_jwt/externals/cpp-jwt \ arsenm:sanitizers-cmake:aab6948:sanitizers_cmake/externals/cubeb/cmake/sanitizers-cmake \ benhoyt:inih:r52:inih/externals/inih/inih \ eggert:tz:2022c:tz/externals/nx_tzdb/tzdb_to_nx/externals/tz/tz \ kinetiknz:cubeb:cubeb-0.2-1452-g48689ae:cubeb/externals/cubeb \ lat9nq:tzdb_to_nx:220816-27-g212afa2:tzdb_to_nx/externals/nx_tzdb/tzdb_to_nx \ yhirose:cpp-httplib:v0.12.0-3-g6d963fb:cpp_httplib/externals/cpp-httplib USES= cmake:testing elfctl localbase:ldflags pkgconfig sdl ssl USE_SDL= sdl2 CMAKE_ON= Boost_USE_STATIC_LIBS CMAKE_ON+= BUNDLE_SPEEX # only used by cubeb tests CMAKE_ON+= CMAKE_DISABLE_FIND_PACKAGE_LLVM # only need Demangle but llvm* is huge CMAKE_OFF= YUZU_CHECK_SUBMODULES YUZU_USE_EXTERNAL_SDL2 YUZU_USE_EXTERNAL_VULKAN_HEADERS CMAKE_OFF+= HTTPLIB_USE_BROTLI_IF_AVAILABLE # unused by ENABLE_WEB_SERVICE CMAKE_OFF+= ${ARCH:Maarch64:C/.+/YUZU_USE_PRECOMPILED_HEADERS DYNARMIC_USE_PRECOMPILED_HEADERS/} CMAKE_OFF+= ${CMAKE_TESTING_ON} CMAKE_TESTING_ON= YUZU_TESTS LDFLAGS+= -Wl,--as-needed # Qt5Network ELF_FEATURES= ${PLIST_FILES:Mbin/*:S/^/+wxneeded:/} PLIST_FILES= bin/${PORTNAME}-cmd \ bin/${PORTNAME}-room OPTIONS_DEFINE= ALSA GUI PULSEAUDIO JACK LTO NLS SNDIO VAAPI VULKAN WEBENGINE OPTIONS_DEFAULT=PULSEAUDIO JACK LTO QT5 SNDIO VAAPI VULKAN WEBENGINE OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= QT5 QT6 OPTIONS_SLAVE= ${${FLAVOR}_OPTIONS_SLAVE} OPTIONS_EXCLUDE= ${${FLAVOR}_OPTIONS_EXCLUDE} ALSA_BUILD_DEPENDS= alsa-lib>0:audio/alsa-lib ALSA_CMAKE_BOOL= USE_ALSA GUI_USES= desktop-file-utils shared-mime-info GUI_CMAKE_BOOL= ENABLE_QT GUI_PLIST_FILES= bin/${PORTNAME} \ share/applications/org.yuzu_emu.yuzu.desktop \ share/icons/hicolor/scalable/apps/org.yuzu_emu.yuzu.svg \ share/metainfo/org.yuzu_emu.yuzu.metainfo.xml \ share/mime/packages/org.yuzu_emu.yuzu.xml JACK_BUILD_DEPENDS= jackit>0:audio/jack JACK_CMAKE_BOOL= USE_JACK LTO_CMAKE_BOOL= YUZU_ENABLE_LTO NLS_DESC= UI translations (implies ${NLS_IMPLIES}) NLS_USE= QT=${"${PORT_OPTIONS:MQT5}":?linguist:}tools:build NLS_CMAKE_BOOL= ENABLE_QT_TRANSLATION NLS_IMPLIES= GUI PULSEAUDIO_BUILD_DEPENDS=pulseaudio>0:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSE QT5_USES= qt:5 QT5_USE= QT=qmake:build,buildtools:build,concurrent:build,core,dbus,gui,multimedia,widgets QT5_IMPLIES= GUI QT6_USES= qt:6 QT6_USE= QT=base QT6_CMAKE_BOOL= ENABLE_QT6 QT6_IMPLIES= GUI SNDIO_BUILD_DEPENDS= sndio>0:audio/sndio SNDIO_CMAKE_BOOL= USE_SNDIO VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VULKAN_DESC= Vulkan renderer VULKAN_RUN_DEPENDS= ${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader WEBENGINE_DESC= Web applet support (implies ${WEBENGINE_IMPLIES}) WEBENGINE_USE= QT=webengine WEBENGINE_CMAKE_BOOL= YUZU_USE_QT_WEB_ENGINE WEBENGINE_IMPLIES= GUI post-extract: @${CP} ${DISTFILES:M*\:gamedb:C/\:.*//:S,^,${_DISTDIR},} \ ${WRKSRC}/dist/compatibility_list/ post-patch: @${REINPLACE_CMD} -e 's/@GIT_BRANCH@/master/' \ -e 's/@GIT_DESC@/${GH_TAGNAME}/' \ ${WRKSRC}/src/common/scm_rev.cpp.in # Temporarily use ConsoleKit2 like sysutils/gnome-settings-daemon @${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \ -e 's,login1,ConsoleKit,' \ ${WRKSRC}/src/${PORTNAME}/main.cpp post-patch-VAAPI-off: @${REINPLACE_CMD} -i .nova '/pkg_check.*libva/d' \ ${WRKSRC}/CMakeLists.txt # XXX Drop after FreeBSD 13.2 EOL around 2024-05-01 (don't forget distinfo) .if !exists(/usr/include/c++/v1/__ranges/as_rvalue_view.h) || make(makesum) || make(fetch) . if !exists(/usr/include/c++/v1/__memory/concepts.h) USES+= llvm:min=14,build PATH:= ${LLVM_PREFIX}/bin:${PATH} # XXX _CMAKE_TOOLCHAIN_SUFFIX vs. devel/llvm* CC= clang${LLVM_VERSION} CXX= clang++${LLVM_VERSION} CPP= clang-cpp${LLVM_VERSION} CONFIGURE_ENV+= CC="${CC}" CXX="${CXX}" CPP="${CPP}" . endif # XXX Move into separate port and standardize via USES GH_TUPLE+= llvm:llvm-project:llvmorg-16.0.1:libcxx CXXFLAGS+= -nostdinc++ -isystem${WRKDIR}/libcxx_prefix/include/c++/v1 # Don't link against new libc++ to avoid ABI mismatch in Qt #LDFLAGS+= -nostdlib++ -L${WRKDIR}/libcxx_prefix/lib -l:libc++.a -lcxxrt pre-configure: bundled-libcxx bundled-libcxx: @${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS:M*Ninja*} \ -DLIBCXX_INCLUDE_BENCHMARKS:BOOL=OFF \ -DCMAKE_INSTALL_PREFIX:PATH=${WRKDIR}/libcxx_prefix \ -B ${WRKDIR}/libcxx_build -S ${WRKSRC_libcxx}/libcxx @${DO_MAKE_BUILD:NDESTDIR*} install -C ${WRKDIR}/libcxx_build .endif .include diff --git a/games/anki/Makefile b/games/anki/Makefile index 3a95f0b5a366..0caa5afa3bde 100644 --- a/games/anki/Makefile +++ b/games/anki/Makefile @@ -1,668 +1,668 @@ PORTNAME= anki DISTVERSION= 2.1.65 -PORTREVISION= 2 +PORTREVISION= 3 # Don't forget to update ${_MY_BUILDHASH} if DISTVERSION changes CATEGORIES= games education python MASTER_SITES= LOCAL/kai/:yarncache DISTFILES= anki-yarn-cache-${DISTVERSION}${EXTRACT_SUFX}:yarncache MAINTAINER= kai@FreeBSD.org COMMENT= Flashcard trainer with spaced repetition WWW= https://apps.ankiweb.net/ LICENSE= AGPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc NOT_FOR_ARCHS_REASON= devel/py-orjson, which is required for runtime, is only available for 64-bit systems. BUILD_DEPENDS= protoc:devel/protobuf \ rsync:net/rsync \ yarn:www/yarn \ ${PYTHON_PKGNAMEPREFIX}black>0:devel/py-black@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mypy-protobuf>=1.21:devel/py-mypy-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libzstd.so:archivers/zstd RUN_DEPENDS= lame:audio/lame \ ${PYTHON_PKGNAMEPREFIX}pyaudio>0:audio/py-pyaudio@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}decorator>0:devel/py-decorator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}jsonschema>0:devel/py-jsonschema@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}send2trash>0:deskutils/py-send2trash@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}distro>0:sysutils/py-distro@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}orjson>0:devel/py-orjson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}Flask-Cors>0:www/py-flask-cors@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=4.21:devel/py-protobuf@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}waitress>=2.0.0:www/py-waitress@${PY_FLAVOR} # USES=ssl is required for the compilation of the Rust code USES= cargo desktop-file-utils ninja nodejs:build pyqt:6 python:3.9+ \ shebangfix ssl USE_GITHUB= yes GH_ACCOUNT= ankitects # Translation files GH_TUPLE= ankitects:anki-core-i18n:86ee592:ftlrslib \ ankitects:anki-desktop-ftl:e2d2a9e:ftlextra USE_PYQT= pyqt6 sip:build webengine SHEBANG_FILES= qt/tools/runanki.system.in CARGO_CRATES= addr2line-0.19.0 \ adler-1.0.2 \ aes-0.7.5 \ ahash-0.7.6 \ aho-corasick-0.7.20 \ ammonia-3.3.0 \ android_system_properties-0.1.5 \ anes-0.1.6 \ anstream-0.2.6 \ anstyle-0.3.5 \ anstyle-parse-0.1.1 \ anstyle-wincon-0.2.0 \ anyhow-1.0.71 \ apple-bundles-0.17.0 \ arrayref-0.3.7 \ arrayvec-0.7.2 \ assert-json-diff-2.0.2 \ async-channel-1.8.0 \ async-compression-0.3.15 \ async-stream-0.3.4 \ async-stream-impl-0.3.4 \ async-trait-0.1.68 \ atty-0.2.14 \ autocfg-1.1.0 \ axum-0.6.12 \ axum-client-ip-0.3.1 \ axum-core-0.3.3 \ axum-macros-0.3.7 \ backtrace-0.3.67 \ base64-0.13.1 \ base64-0.21.0 \ base64ct-1.6.0 \ bitflags-1.3.2 \ bitflags-2.0.2 \ blake3-1.3.3 \ block-buffer-0.10.4 \ block-padding-0.3.2 \ bstr-0.2.17 \ bstr-1.4.0 \ bumpalo-3.12.0 \ byteorder-1.4.3 \ bytes-1.4.0 \ bzip2-0.4.4 \ bzip2-sys-0.1.11+1.0.8 \ camino-1.1.4 \ cast-0.3.0 \ cbc-0.1.2 \ cc-1.0.79 \ cfg-if-1.0.0 \ chrono-0.4.24 \ ciborium-0.2.0 \ ciborium-io-0.2.0 \ ciborium-ll-0.2.0 \ cipher-0.3.0 \ cipher-0.4.4 \ clap-3.2.23 \ clap-4.2.1 \ clap_builder-4.2.1 \ clap_complete-4.2.0 \ clap_derive-4.2.0 \ clap_lex-0.2.4 \ clap_lex-0.4.1 \ coarsetime-0.1.23 \ codespan-0.11.1 \ codespan-reporting-0.11.1 \ concolor-override-1.0.0 \ concolor-query-0.3.3 \ concurrent-queue-2.1.0 \ constant_time_eq-0.1.5 \ constant_time_eq-0.2.5 \ convert_case-0.6.0 \ core-foundation-0.9.3 \ core-foundation-sys-0.8.3 \ cpufeatures-0.2.6 \ crc32fast-1.3.2 \ criterion-0.4.0 \ criterion-plot-0.5.0 \ crossbeam-channel-0.5.8 \ crossbeam-deque-0.8.3 \ crossbeam-epoch-0.9.14 \ crossbeam-utils-0.8.15 \ crypto-common-0.1.6 \ cxx-1.0.94 \ cxx-build-1.0.94 \ cxxbridge-flags-1.0.94 \ cxxbridge-macro-1.0.94 \ deadpool-0.9.5 \ deadpool-runtime-0.1.2 \ des-0.8.1 \ difflib-0.4.0 \ digest-0.10.6 \ displaydoc-0.2.3 \ doc-comment-0.3.3 \ duct-0.13.6 \ dunce-1.0.3 \ either-1.8.1 \ elasticlunr-rs-3.0.2 \ encoding_rs-0.8.32 \ env_logger-0.10.0 \ errno-0.3.0 \ errno-dragonfly-0.1.2 \ event-listener-2.5.3 \ fallible-iterator-0.2.0 \ fallible-streaming-iterator-0.1.9 \ fastrand-1.9.0 \ filetime-0.2.20 \ find-winsdk-0.2.0 \ fixedbitset-0.4.2 \ flate2-1.0.25 \ fluent-0.16.0 \ fluent-bundle-0.15.2 \ fluent-langneg-0.13.0 \ fluent-syntax-0.11.0 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ form_urlencoded-1.1.0 \ forwarded-header-value-0.1.1 \ fs2-0.4.3 \ fsevent-sys-4.1.0 \ futf-0.1.5 \ futures-0.3.28 \ futures-channel-0.3.28 \ futures-core-0.3.28 \ futures-executor-0.3.28 \ futures-io-0.3.28 \ futures-lite-1.12.0 \ futures-macro-0.3.28 \ futures-sink-0.3.28 \ futures-task-0.3.28 \ futures-timer-3.0.2 \ futures-util-0.3.28 \ generic-array-0.14.7 \ getopts-0.2.21 \ getrandom-0.1.16 \ getrandom-0.2.8 \ gimli-0.27.2 \ gitignore-1.0.7 \ glob-0.3.1 \ globset-0.4.10 \ h2-0.3.18 \ half-1.8.2 \ handlebars-4.3.6 \ hashbrown-0.12.3 \ hashlink-0.8.1 \ headers-0.3.8 \ headers-core-0.2.0 \ heck-0.4.1 \ hermit-abi-0.1.19 \ hermit-abi-0.2.6 \ hermit-abi-0.3.1 \ hex-0.4.3 \ hmac-0.12.1 \ html5ever-0.26.0 \ htmlescape-0.3.1 \ http-0.2.9 \ http-body-0.4.5 \ http-range-header-0.3.0 \ http-types-2.12.0 \ httparse-1.8.0 \ httpdate-1.0.2 \ humantime-2.1.0 \ hyper-0.14.25 \ hyper-rustls-0.23.2 \ hyper-tls-0.5.0 \ iana-time-zone-0.1.56 \ iana-time-zone-haiku-0.1.1 \ id_tree-1.8.0 \ idna-0.3.0 \ indexmap-1.9.3 \ indoc-1.0.9 \ infer-0.2.3 \ inflections-1.1.1 \ inotify-0.9.6 \ inotify-sys-0.1.5 \ inout-0.1.3 \ instant-0.1.12 \ intl-memoizer-0.5.1 \ intl_pluralrules-7.0.2 \ io-lifetimes-1.0.9 \ ipnet-2.7.2 \ is-terminal-0.4.6 \ itertools-0.10.5 \ itoa-1.0.6 \ jobserver-0.1.26 \ js-sys-0.3.61 \ junction-1.0.0 \ kqueue-1.0.7 \ kqueue-sys-1.0.3 \ lazy_static-1.4.0 \ libc-0.2.140 \ libsqlite3-sys-0.26.0 \ line-wrap-0.1.1 \ link-cplusplus-1.0.8 \ linkify-0.7.0 \ linux-raw-sys-0.3.1 \ lock_api-0.4.9 \ log-0.4.17 \ lzma-sys-0.1.20 \ mac-0.1.1 \ maplit-1.0.2 \ markup5ever-0.11.0 \ markup5ever_rcdom-0.2.0 \ matchers-0.1.0 \ matches-0.1.10 \ matchit-0.7.0 \ mdbook-0.4.28 \ memchr-2.5.0 \ memoffset-0.8.0 \ mime-0.3.17 \ mime_guess-2.0.4 \ minimal-lexical-0.2.1 \ miniz_oxide-0.6.2 \ mio-0.8.6 \ multer-2.0.4 \ multimap-0.8.3 \ native-tls-0.2.11 \ new_debug_unreachable-1.0.4 \ nom-7.1.3 \ nonempty-0.7.0 \ notify-5.1.0 \ notify-debouncer-mini-0.2.1 \ nu-ansi-term-0.46.0 \ num-format-0.4.4 \ num-integer-0.1.45 \ num-traits-0.2.15 \ num_cpus-1.15.0 \ num_enum-0.5.11 \ num_enum_derive-0.5.11 \ object-0.30.3 \ once_cell-1.17.1 \ oorandom-11.1.3 \ opaque-debug-0.3.0 \ opener-0.5.2 \ openssl-0.10.48 \ openssl-macros-0.1.0 \ openssl-probe-0.1.5 \ openssl-sys-0.9.83 \ os_pipe-1.1.3 \ os_str_bytes-6.5.0 \ overload-0.1.1 \ p12-0.6.3 \ parking-2.0.0 \ parking_lot-0.12.1 \ parking_lot_core-0.9.7 \ password-hash-0.4.2 \ pbkdf2-0.11.0 \ pem-1.1.1 \ percent-encoding-2.2.0 \ pest-2.5.7 \ pest_derive-2.5.7 \ pest_generator-2.5.7 \ pest_meta-2.5.7 \ petgraph-0.6.3 \ phf-0.10.1 \ phf-0.11.1 \ phf_codegen-0.10.0 \ phf_generator-0.10.0 \ phf_generator-0.11.1 \ phf_macros-0.11.1 \ phf_shared-0.10.0 \ phf_shared-0.11.1 \ pin-project-1.0.12 \ pin-project-internal-1.0.12 \ pin-project-lite-0.2.9 \ pin-utils-0.1.0 \ pkg-config-0.3.26 \ plist-1.4.3 \ plotters-0.3.4 \ plotters-backend-0.3.4 \ plotters-svg-0.3.3 \ ppv-lite86-0.2.17 \ precomputed-hash-0.1.1 \ prettyplease-0.1.25 \ proc-macro-crate-1.3.1 \ proc-macro-hack-0.5.20+deprecated \ proc-macro2-1.0.54 \ prost-0.11.8 \ prost-build-0.11.8 \ prost-derive-0.11.8 \ prost-types-0.11.8 \ pulldown-cmark-0.8.0 \ pulldown-cmark-0.9.2 \ pyo3-0.18.2 \ pyo3-build-config-0.18.2 \ pyo3-ffi-0.18.2 \ pyo3-macros-0.18.2 \ pyo3-macros-backend-0.18.2 \ quick-xml-0.28.1 \ quote-1.0.26 \ rand-0.7.3 \ rand-0.8.5 \ rand_chacha-0.2.2 \ rand_chacha-0.3.1 \ rand_core-0.5.1 \ rand_core-0.6.4 \ rand_hc-0.2.0 \ rayon-1.7.0 \ rayon-core-1.11.0 \ rc2-0.8.1 \ rcgen-0.10.0 \ redox_syscall-0.2.16 \ redox_syscall-0.3.5 \ regex-1.7.3 \ regex-automata-0.1.10 \ regex-syntax-0.6.29 \ reqwest-0.11.16 \ retain_mut-0.1.9 \ ring-0.16.20 \ rusqlite-0.29.0 \ rustc-demangle-0.1.22 \ rustc-hash-1.1.0 \ rustix-0.37.5 \ rustls-0.20.8 \ rustls-native-certs-0.6.2 \ rustls-pemfile-1.0.2 \ rustversion-1.0.12 \ ryu-1.0.13 \ safemem-0.3.3 \ same-file-1.0.6 \ schannel-0.1.21 \ scoped-tls-1.0.1 \ scopeguard-1.1.0 \ scratch-1.0.5 \ sct-0.7.0 \ security-framework-2.8.2 \ security-framework-sys-2.8.0 \ self_cell-0.10.2 \ semver-1.0.17 \ serde-1.0.159 \ serde-aux-4.1.2 \ serde_derive-1.0.159 \ serde_json-1.0.95 \ serde_path_to_error-0.1.11 \ serde_qs-0.8.5 \ serde_repr-0.1.12 \ serde_tuple-0.5.0 \ serde_tuple_macros-0.5.0 \ serde_urlencoded-0.7.1 \ sha1-0.10.5 \ sha2-0.10.6 \ sharded-slab-0.1.4 \ shared_child-1.0.0 \ shlex-1.1.0 \ signal-hook-registry-1.4.1 \ simple-file-manifest-0.11.0 \ siphasher-0.3.10 \ slab-0.4.8 \ smallvec-1.10.0 \ snafu-0.7.4 \ snafu-derive-0.7.4 \ snowflake-1.3.0 \ socket2-0.4.9 \ spin-0.5.2 \ spin-0.9.8 \ string_cache-0.8.7 \ string_cache_codegen-0.5.2 \ strsim-0.10.0 \ strum-0.24.1 \ strum_macros-0.24.3 \ subtle-2.4.1 \ syn-1.0.109 \ syn-2.0.12 \ sync_wrapper-0.1.2 \ tar-0.4.38 \ target-lexicon-0.12.6 \ tempfile-3.5.0 \ tendril-0.4.3 \ termcolor-1.2.0 \ terminal_size-0.2.6 \ textwrap-0.16.0 \ thiserror-1.0.40 \ thiserror-impl-1.0.40 \ thread_local-1.1.7 \ time-0.3.20 \ time-core-0.1.0 \ time-macros-0.2.8 \ tinystr-0.7.1 \ tinytemplate-1.2.1 \ tinyvec-1.6.0 \ tinyvec_macros-0.1.1 \ tokio-1.27.0 \ tokio-macros-2.0.0 \ tokio-native-tls-0.3.1 \ tokio-rustls-0.23.4 \ tokio-socks-0.5.1 \ tokio-stream-0.1.12 \ tokio-tungstenite-0.18.0 \ tokio-util-0.7.7 \ toml-0.5.11 \ toml_datetime-0.6.1 \ toml_edit-0.19.8 \ topological-sort-0.2.2 \ tower-0.4.13 \ tower-http-0.4.0 \ tower-layer-0.3.2 \ tower-service-0.3.2 \ tracing-0.1.37 \ tracing-appender-0.2.2 \ tracing-attributes-0.1.23 \ tracing-core-0.1.30 \ tracing-log-0.1.3 \ tracing-subscriber-0.3.16 \ try-lock-0.2.4 \ tugger-common-0.10.0 \ tugger-windows-0.10.0 \ tugger-windows-codesign-0.10.0 \ tungstenite-0.18.0 \ type-map-0.4.0 \ typenum-1.16.0 \ ucd-trie-0.1.5 \ unic-char-property-0.9.0 \ unic-char-range-0.9.0 \ unic-common-0.9.0 \ unic-langid-0.9.1 \ unic-langid-impl-0.9.1 \ unic-langid-macros-0.9.1 \ unic-langid-macros-impl-0.9.1 \ unic-ucd-category-0.9.0 \ unic-ucd-version-0.9.0 \ unicase-2.6.0 \ unicode-bidi-0.3.13 \ unicode-ident-1.0.8 \ unicode-normalization-0.1.22 \ unicode-segmentation-1.10.1 \ unicode-width-0.1.10 \ unindent-0.1.11 \ untrusted-0.7.1 \ url-2.3.1 \ utf-8-0.7.6 \ utf8parse-0.2.1 \ utime-0.3.1 \ valuable-0.1.0 \ vcpkg-0.2.15 \ version_check-0.9.4 \ waker-fn-1.1.0 \ walkdir-2.3.3 \ want-0.3.0 \ warp-0.3.4 \ wasi-0.9.0+wasi-snapshot-preview1 \ wasi-0.11.0+wasi-snapshot-preview1 \ wasm-bindgen-0.2.84 \ wasm-bindgen-backend-0.2.84 \ wasm-bindgen-futures-0.4.34 \ wasm-bindgen-macro-0.2.84 \ wasm-bindgen-macro-support-0.2.84 \ wasm-bindgen-shared-0.2.84 \ wasm-streams-0.2.3 \ web-sys-0.3.61 \ webpki-0.22.0 \ webpki-roots-0.22.6 \ which-4.4.0 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-0.48.0 \ windows-sys-0.42.0 \ windows-sys-0.45.0 \ windows-sys-0.48.0 \ windows-targets-0.42.2 \ windows-targets-0.48.0 \ windows_aarch64_gnullvm-0.42.2 \ windows_aarch64_gnullvm-0.48.0 \ windows_aarch64_msvc-0.42.2 \ windows_aarch64_msvc-0.48.0 \ windows_i686_gnu-0.42.2 \ windows_i686_gnu-0.48.0 \ windows_i686_msvc-0.42.2 \ windows_i686_msvc-0.48.0 \ windows_x86_64_gnu-0.42.2 \ windows_x86_64_gnu-0.48.0 \ windows_x86_64_gnullvm-0.42.2 \ windows_x86_64_gnullvm-0.48.0 \ windows_x86_64_msvc-0.42.2 \ windows_x86_64_msvc-0.48.0 \ winnow-0.4.1 \ winreg-0.5.1 \ winreg-0.10.1 \ wiremock-0.5.17 \ xattr-0.2.3 \ xml5ever-0.17.0 \ xz2-0.1.7 \ yasna-0.5.1 \ zip-0.6.4 \ zstd-0.11.2+zstd.1.5.2 \ zstd-0.12.3+zstd.1.5.2 \ zstd-safe-5.0.2+zstd.1.5.2 \ zstd-safe-6.0.4+zstd.1.5.4 \ zstd-sys-2.0.7+zstd.1.5.4 \ percent-encoding-iri@git+https://github.com/ankitects/rust-url.git?rev=bb930b8d089f4d30d7d19c12e54e66191de47b88\#bb930b8d089f4d30d7d19c12e54e66191de47b88 \ csv,csv-core@git+https://github.com/ankitects/rust-csv.git?rev=1c9d3aab6f79a7d815c69f925a46a4590c115f90\#1c9d3aab6f79a7d815c69f925a46a4590c115f90 \ linkcheck@git+https://github.com/ankitects/linkcheck.git?rev=184b2ca50ed39ca43da13f0b830a463861adb9ca\#184b2ca50ed39ca43da13f0b830a463861adb9ca CARGO_CARGOTOML= ${WRKSRC}/Cargo.toml CARGO_BUILD= no CARGO_INSTALL= no CARGO_TARGET_DIR= ${WRKSRC}/out/rust # Custom variables introduced to the runner build system via patches MAKE_ENV+= NO_BUNDLE=1 \ NO_VENV=1 \ OFFLINE_BUILD=1 \ OFFLINE_YARNCACHE=${_MY_YARNCACHE} # Variables already known and used by the "runner" build system MAKE_ENV+= NODE_BINARY=${LOCALBASE}/bin/node \ PROTOC_BINARY=${LOCALBASE}/bin/protoc \ PYTHON_BINARY=${PYTHON_CMD} \ YARN_BINARY=${LOCALBASE}/bin/yarn \ out=${WRKSRC}/out # If RELEASE is unset the "runner" build system omits the # "--release" flag for cargo(1). .if !defined(WITH_DEBUG) MAKE_ENV+= RELEASE=1 .endif OPTIONS_DEFAULT= MPV OPTIONS_GROUP= PLAYER OPTIONS_GROUP_PLAYER= MPLAYER MPV OPTIONS_SUB= yes MPV_DESC= mpv media player support MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer MPV_RUN_DEPENDS= mpv:multimedia/mpv # Should contain the most recent commit that reflects ${DISTVERSION} and must # be exactly 8 digits otherwise the check for newer versions won't work as # expected. _MY_BUILDHASH= aa9a734f # Remove ${CARGO_BUILD_TARGET} from ${CARGO_ENV} to avoid problems with # hardcoded paths as the "runner" build system expects its components # in ${WRKSRC}/out/rust/debug _MY_CARGO_ENV= ${CARGO_ENV:C/CARGO_BUILD_TARGET=.+//} # Path of the cache that is used by www/yarn _MY_YARNCACHE= ${WRKDIR}/.yarn post-extract: # Some parts of the runner build system expects to be in a git repository @${TOUCH} ${WRKSRC}/.git # Prepare the virtual repositories for the translation files @${RM} -r ${WRKSRC}/ftl/core-repo ${WRKSRC}/ftl/qt-repo @${RLN} ${WRKSRC_ftlrslib} ${WRKSRC}/ftl/core-repo @${RLN} ${WRKSRC_ftlextra} ${WRKSRC}/ftl/qt-repo post-patch: @${REINPLACE_CMD} -e 's|\@PREFIX\@|${PREFIX}|' \ ${WRKSRC}/qt/tools/runanki.system.in pre-configure: # Create paths for the Python pseudo venv and link some binaries to it. ${MKDIR} ${WRKSRC}/out/pyenv/bin ${LN} -s ${PYTHON_CMD} ${WRKSRC}/out/pyenv/bin/python ${LN} -s ${LOCALBASE}/bin/protoc-gen-mypy ${WRKSRC}/out/pyenv/bin/protoc-gen-mypy # Overview of the build process # # 1. The "runner" build system is built without the "--release" flag to avoid # issues with hardcoded paths. Once completed the binaries are placed # into ${WRKSRC}/out/rust/debug. # 2. As soon as step 1 is finished, the "runner" build system is executed, # which then processes the following steps: # * build remaining components of "runner" (= ninja_gen, configure, etc.) # * generate the ninja file and run ninja afterwards # * create the Python wheel files in ${WRKSRC}/out/wheels pre-build: ${ECHO_CMD} -e "${_MY_BUILDHASH}" >> ${WRKSRC}/out/buildhash ${ECHO_MSG} "===> Building runner build framework" cd ${WRKSRC} && ${SET_ENV} ${MAKE_ENV} ${_MY_CARGO_ENV} \ ${CARGO} build --package runner --verbose --verbose do-build: ${ECHO_MSG} "===> Executing runner build framework" cd ${WRKSRC} && ${SET_ENV} ${MAKE_ENV} ${_MY_CARGO_ENV} \ ${WRKSRC}/out/rust/debug/runner build wheels post-build: ${MKDIR} ${WRKSRC}/out/dist cd ${WRKSRC}/out/wheels \ && ${UNZIP_NATIVE_CMD} -d ${WRKSRC}/out/dist anki*.whl \ && ${UNZIP_NATIVE_CMD} -d ${WRKSRC}/out/dist aqt*.whl # Update the timestamps otherwise the set dates of the wheels # (= 1980-01-01 00:00:00) are used ${FIND} ${WRKSRC}/out/dist -type f -exec ${TOUCH} {} + do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/_aqt \ ${STAGEDIR}${DATADIR}/anki \ ${STAGEDIR}${DATADIR}/aqt \ ${STAGEDIR}${PREFIX}/share/pixmaps \ ${STAGEDIR}${PREFIX}/share/applications cd ${WRKSRC}/out/dist/ \ && ${COPYTREE_SHARE} _aqt ${STAGEDIR}${DATADIR} "! -name .gitignore" \ && ${COPYTREE_SHARE} anki ${STAGEDIR}${DATADIR} "! -name .gitignore" \ && ${COPYTREE_SHARE} aqt ${STAGEDIR}${DATADIR} "! -name .gitignore" cd ${WRKSRC}/qt/bundle/lin \ && ${INSTALL_DATA} anki.xpm anki.png ${STAGEDIR}${PREFIX}/share/pixmaps \ && ${INSTALL_DATA} anki.desktop ${STAGEDIR}${PREFIX}/share/applications \ && ${INSTALL_MAN} anki.1 ${STAGEDIR}${MANPREFIX}/man/man1 cd ${WRKSRC}/qt/tools \ && ${INSTALL_SCRIPT} runanki.system.in ${STAGEDIR}${PREFIX}/bin/anki ${STRIP_CMD} ${STAGEDIR}${DATADIR}/anki/_rsbridge.so # Helper target to make the generation of the yarn cache easier make-yarn-cache: patch @${RM} -r ${_MY_YARNCACHE} @cd ${WRKSRC} \ && ${LOCALBASE}/bin/yarn --cache-folder ${_MY_YARNCACHE} install --ignore-scripts @cd ${WRKDIR} \ && ${TAR} -czf ${PORTNAME}-yarn-cache-${DISTVERSION}${EXTRACT_SUFX} .yarn \ && ${ECHO_CMD} "Please upload the file ${WRKDIR}/${PORTNAME}-yarn-cache-${DISTVERSION}${EXTRACT_SUFX}" .include diff --git a/games/connectagram/Makefile b/games/connectagram/Makefile index 0be2f867b355..38a52c258976 100644 --- a/games/connectagram/Makefile +++ b/games/connectagram/Makefile @@ -1,25 +1,26 @@ PORTNAME= connectagram PORTVERSION= 1.3.4 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://gottcode.org/connectagram/ MAINTAINER= jhale@FreeBSD.org COMMENT= Word unscrambling game WWW= https://gottcode.org/connectagram/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++17-lang gl qt:6 tar:bzip2 USE_GL= opengl USE_QT= base tools:build OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog README \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/cutemaze/Makefile b/games/cutemaze/Makefile index cea1cb51a500..56d96f52bb9e 100644 --- a/games/cutemaze/Makefile +++ b/games/cutemaze/Makefile @@ -1,26 +1,27 @@ PORTNAME= cutemaze PORTVERSION= 1.3.2 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://gottcode.org/${PORTNAME}/ MAINTAINER= jhale@FreeBSD.org COMMENT= Simple, top-down game in which mazes are randomly generated WWW= https://gottcode.org/cutemaze/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++17-lang gl qt:6 tar:bzip2 USE_GL= opengl USE_QT= base svg tools:build PORTDOCS= ChangeLog README OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/games/gottet/Makefile b/games/gottet/Makefile index a001a6c712a3..3a3a81a463f4 100644 --- a/games/gottet/Makefile +++ b/games/gottet/Makefile @@ -1,25 +1,26 @@ PORTNAME= gottet PORTVERSION= 1.2.2 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://gottcode.org/gottet/ MAINTAINER= jhale@FreeBSD.org COMMENT= Tetris clone WWW= https://gottcode.org/gottet/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++17-lang gl qt:6 tar:bzip2 USE_GL= opengl USE_QT= base tools:build OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog README \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/hexalate/Makefile b/games/hexalate/Makefile index de18b73dc1f9..97edc546fd64 100644 --- a/games/hexalate/Makefile +++ b/games/hexalate/Makefile @@ -1,20 +1,21 @@ PORTNAME= hexalate PORTVERSION= 1.2.2 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://gottcode.org/${PORTNAME}/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Color matching game WWW= https://gottcode.org/hexalate/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++17-lang gl qt:6 tar:bzip2 USE_QT= base tools:build USE_GL= gl OPTIONS_DEFINE= NLS OPTIONS_SUB= yes .include diff --git a/games/peg-e/Makefile b/games/peg-e/Makefile index 19ee95da8898..9f5b6eb28fc1 100644 --- a/games/peg-e/Makefile +++ b/games/peg-e/Makefile @@ -1,20 +1,21 @@ PORTNAME= peg-e PORTVERSION= 1.3.2 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://gottcode.org/${PORTNAME}/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Peg elimination game WWW= https://gottcode.org/peg-e/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++17-lang gl qt:6 tar:bzip2 USE_QT= base tools:build USE_GL= gl OPTIONS_DEFINE= NLS OPTIONS_SUB= yes .include diff --git a/games/pentobi/Makefile b/games/pentobi/Makefile index 32cc817d316d..a3370b8073f9 100644 --- a/games/pentobi/Makefile +++ b/games/pentobi/Makefile @@ -1,39 +1,40 @@ PORTNAME= pentobi PORTVERSION= 23.1 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Computer opponent for the board game Blokus WWW= https://pentobi.sourceforge.io/ \ https://github.com/enz/pentobi LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_FreeBSD_12= does not build: no member named 'test' in 'std::__1::atomic_flag' BUILD_DEPENDS= itstool:textproc/itstool \ xsltproc:textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:textproc/docbook-xsl USES= compiler:c++20-lang cmake desktop-file-utils gettext-tools gnome qt:6 \ shared-mime-info tar:xz USE_GNOME= librsvg2:build USE_QT= base declarative tools:build PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= DOCS TEST OPTIONS_DEFAULT=TEST TEST_CMAKE_BOOL= BUILD_TESTING TEST_TEST_TARGET= test post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS.md CONTRIBUTING.md NEWS.md \ README.md ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/py-mnemosyne/Makefile b/games/py-mnemosyne/Makefile index 8761abe5de33..587fc7262cc7 100644 --- a/games/py-mnemosyne/Makefile +++ b/games/py-mnemosyne/Makefile @@ -1,38 +1,38 @@ PORTNAME= mnemosyne PORTVERSION= 2.10.1 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= games education python MASTER_SITES= SF/mnemosyne-proj/${PORTNAME}/${PORTNAME}-${DISTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= Mnemosyne-${DISTVERSION} MAINTAINER= eduardo@FreeBSD.org COMMENT= Flash-card tool which optimises your learning process WWW= https://www.mnemosyne-proj.org/ LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PY_PILLOW} \ ${PYTHON_PKGNAMEPREFIX}argon2-cffi>0:security/py-argon2-cffi@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}cheroot>=5.0:www/py-cheroot@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}googletrans>=3.0:textproc/py-googletrans@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gTTS>=0:audio/py-gtts@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webob>=1.4:www/py-webob@${PY_FLAVOR} USES= pyqt:6 python shebangfix USE_PYQT= pyqt6:run sip:run webengine:run USE_PYTHON= autoplist concurrent distutils SHEBANG_FILES= mnemosyne/pyqt_ui/mnemosyne NO_ARCH= yes post-patch: @${REINPLACE_CMD} -e 's|icons|pixmaps|' ${WRKSRC}/setup.py .include diff --git a/games/qnetwalk/Makefile b/games/qnetwalk/Makefile index 65bb70928096..e18d3ed13e1c 100644 --- a/games/qnetwalk/Makefile +++ b/games/qnetwalk/Makefile @@ -1,37 +1,37 @@ PORTNAME= qnetwalk PORTVERSION= 1.9.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MAINTAINER= amdmi3@FreeBSD.org COMMENT= Game for system administrators WWW= https://github.com/AMDmi3/qnetwalk LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++17-lang USE_GITHUB= yes GH_ACCOUNT= AMDmi3 PORTDOCS= ChangeLog.md README.md PORTDATA= * OPTIONS_DEFINE= QT6 SOUND DOCS NLS OPTIONS_DEFAULT=QT6 SOUND OPTIONS_SUB= yes QT6_CMAKE_BOOL= USE_QT6 QT6_USES= qt:6 QT6_USE= qt=base,tools:build QT6_USES_OFF= qt:5 QT6_USE_OFF= qt=core,gui,widgets,qmake:build,buildtools:build,linguisttools:build SOUND_CMAKE_BOOL=ENABLE_SOUND SOUND_USE= qt=multimedia NLS_CMAKE_BOOL= ENABLE_NLS post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/simsu/Makefile b/games/simsu/Makefile index 39eddfad9d71..b7a0e7f24306 100644 --- a/games/simsu/Makefile +++ b/games/simsu/Makefile @@ -1,20 +1,21 @@ PORTNAME= simsu PORTVERSION= 1.4.2 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://gottcode.org/${PORTNAME}/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Basic Sudoku game WWW= https://gottcode.org/simsu/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++17-lang gl qt:6 tar:bzip2 USE_QT= base tools:build USE_GL= gl OPTIONS_DEFINE= NLS OPTIONS_SUB= yes .include diff --git a/games/tanglet/Makefile b/games/tanglet/Makefile index b2c7586a8659..edd98946810d 100644 --- a/games/tanglet/Makefile +++ b/games/tanglet/Makefile @@ -1,26 +1,27 @@ PORTNAME= tanglet PORTVERSION= 1.6.4 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://gottcode.org/tanglet/ MAINTAINER= jhale@FreeBSD.org COMMENT= Single player word finding game based on Boggle WWW= https://gottcode.org/tanglet/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++17-lang desktop-file-utils gl \ qt:6 shared-mime-info tar:bzip2 USE_GL= opengl USE_QT= base tools:build OPTIONS_DEFINE= DOCS NLS OPTIONS_SUB= yes post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog README \ ${STAGEDIR}${DOCSDIR}) .include diff --git a/games/tetzle/Makefile b/games/tetzle/Makefile index 1662254e88f6..b1bd4911e42b 100644 --- a/games/tetzle/Makefile +++ b/games/tetzle/Makefile @@ -1,20 +1,21 @@ PORTNAME= tetzle PORTVERSION= 2.2.2 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://gottcode.org/${PORTNAME}/ MAINTAINER= amdmi3@FreeBSD.org COMMENT= Jigsaw puzzle with tetrominoes WWW= https://gottcode.org/tetzle/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake compiler:c++17-lang desktop-file-utils gl qt:6 tar:bzip2 USE_QT= base tools:build USE_GL= gl OPTIONS_DEFINE= NLS OPTIONS_SUB= yes .include diff --git a/graphics/cxxplot/Makefile b/graphics/cxxplot/Makefile index 9626f16ed885..d3d71f41eb53 100644 --- a/graphics/cxxplot/Makefile +++ b/graphics/cxxplot/Makefile @@ -1,29 +1,30 @@ PORTNAME= cxxplot DISTVERSIONPREFIX= v DISTVERSION= 0.4.2 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= yuri@FreeBSD.org COMMENT= C++ 2D plotting library WWW= https://github.com/USNavalResearchLaboratory/cxxplot LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/license.txt USES= cmake:testing compiler:c++20-lang gl qt:6 USE_QT= base tools:build USE_GL= gl opengl USE_GITHUB= yes GH_ACCOUNT= USNavalResearchLaboratory CMAKE_ON= BUILD_SHARED_LIBS CMAKE_TESTING_TARGET= post-test: # 'make test' opens a lot of windows; 1 test fails, see https://github.com/USNavalResearchLaboratory/cxxplot/issues/10 .for name in 01_test 02_test 03_test 04_test 05_test 06_test_csv 07_test_image @${ECHO} "==> Running the test ${name}" @${TEST_WRKSRC}/tests/${name}/libcxxplot_${name:C/test_.*/test/} .endfor .include diff --git a/graphics/poppler/Makefile b/graphics/poppler/Makefile index ddc38c2fcc8f..04bfd3f09420 100644 --- a/graphics/poppler/Makefile +++ b/graphics/poppler/Makefile @@ -1,113 +1,114 @@ PORTNAME= poppler DISTVERSION= 23.05.0 +PORTREVISION= 1 CATEGORIES= graphics print MASTER_SITES= https://poppler.freedesktop.org/ MAINTAINER?= desktop@FreeBSD.org COMMENT?= PDF rendering library WWW= https://poppler.freedesktop.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libnspr4.so:devel/nspr \ liblcms2.so:graphics/lcms2 \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libnss3.so:security/nss \ libfontconfig.so:x11-fonts/fontconfig BUILD_DEPENDS= ${LOCALBASE}/include/boost/container/small_vector.hpp:devel/boost-libs \ gsed:textproc/gsed RUN_DEPENDS= poppler-data>0:graphics/poppler-data USES= cmake:insource compiler:c++17-lang cpe gnome gperf jpeg libtool \ localbase pathfix pkgconfig tar:xz CPE_VENDOR= freedesktop USE_GNOME= cairo libxml2 USE_LDCONFIG= yes CMAKE_ON= ENABLE_LIBJPEG \ ENABLE_LIBPNG \ ENABLE_LIBTIFF \ ENABLE_UNSTABLE_API_ABI_HEADERS \ ENABLE_ZLIB \ ENABLE_NSS \ ENABLE_SPLASH CMAKE_OFF= BUILD_GTK_TESTS # Ensure that path ordering does not lead to openjpeg15 being found and picked # instead of openjpeg2 on systems that have both installed # Note: since f3ba77e14cac05d43caf35100848eeaee3bc64b4 graphics/openjpeg15 installs # its cmake files to ${PREFIX}/lib/openjpeg15 CMAKE_ARGS+= -DCMAKE_IGNORE_PATH:PATH=${PREFIX}/lib/openjpeg-1.5 # Slave ports. _POPPLER_SLAVES= library glib qt5 qt6 utils _SLAVE_PORT?= library BINARY_ALIAS= gperf=${GPERF} \ sed=${LOCALBASE}/bin/gsed # Activate the wanted module, and deactivate the others. CMAKE_ON+= ENABLE_${_SLAVE_PORT:tu} CMAKE_OFF+= ${_POPPLER_SLAVES:N${_SLAVE_PORT}:tu:S/^/ENABLE_/} .if ${_SLAVE_PORT} == library PORTSCOUT= limitw:1,even USES+= iconv CMAKE_ON+= ENABLE_CPP PLIST_SUB+= SHLIB_VER=128 OPTIONS_DEFINE= CURL OPENJPEG OPTIONS_DEFAULT= OPENJPEG OPTIONS_SUB= yes .else PORTSCOUT= ignore:1 LIB_DEPENDS+= libpoppler.so:graphics/poppler PKGNAMESUFFIX= -${_SLAVE_PORT} BUILD_WRKSRC= ${WRKSRC}/${_SLAVE_PORT} INSTALL_WRKSRC= ${WRKSRC}/${_SLAVE_PORT} CMAKE_ARGS+= -DENABLE_LIBOPENJPEG:STRING="none" \ -DENABLE_LIBCURL:BOOL=FALSE . if ${_SLAVE_PORT} == glib USES+= python:build USE_GNOME+= glib20 introspection:Build BINARY_ALIAS+= python3=${PYTHON_CMD} . elif ${_SLAVE_PORT} == qt5 USES+= qt:5 USE_QT= core gui widgets xml \ buildtools:build qmake:build testlib:build . elif ${_SLAVE_PORT} == qt6 USES+= gl qt:6 USE_GL+= gl opengl USE_QT= base . elif ${_SLAVE_PORT} == utils LIB_DEPENDS+= libpoppler-glib.so:graphics/poppler-glib USES+= gnome . endif .endif CURL_CMAKE_BOOL= ENABLE_LIBCURL CURL_LIB_DEPENDS= libcurl.so:ftp/curl OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_ON= -DENABLE_LIBOPENJPEG:STRING="openjpeg2" OPENJPEG_CMAKE_OFF= -DENABLE_LIBOPENJPEG:STRING="none" post-install: .if ${_SLAVE_PORT} == glib ${INSTALL_DATA} ${WRKSRC}/poppler-glib.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig .elif ${_SLAVE_PORT} == qt5 ${INSTALL_DATA} ${WRKSRC}/poppler-qt5.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig .elif ${_SLAVE_PORT} == qt6 ${INSTALL_DATA} ${WRKSRC}/poppler-qt6.pc \ ${STAGEDIR}${PREFIX}/libdata/pkgconfig .endif .include diff --git a/graphics/yacreader/Makefile b/graphics/yacreader/Makefile index 6655f0afdc60..ae4743fbd030 100644 --- a/graphics/yacreader/Makefile +++ b/graphics/yacreader/Makefile @@ -1,44 +1,45 @@ PORTNAME= yacreader DISTVERSION= 9.13.1 +PORTREVISION= 1 CATEGORIES= graphics MAINTAINER= jbeich@FreeBSD.org COMMENT= Yet another comic reader WWW= https://www.yacreader.com/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING.txt FLAVORS= qt5 qt6 USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake qt:5 USE_GITHUB= yes USE_QT= qmake:build buildtools:build core concurrent:build declarative \ gui linguisttools:build multimedia network quickcontrols2 \ sql sql-sqlite3:run svg testlib:build widgets .if ${FLAVOR:U} == qt6 PKGNAMESUFFIX= -${FLAVOR} USES:= ${USES:S/qt:5/qt:6/} USE_QT= 5compat base declarative multimedia svg tools:build CONFLICTS_INSTALL= ${PORTNAME} .else CONFLICTS_INSTALL= ${PORTNAME}-qt6 .endif OPTIONS_DEFINE= ARCHIVE OPENGL POPPLER OPTIONS_DEFAULT=OPENGL POPPLER ARCHIVE_DESC= libarchive instead of unarr for reading compressed formats ARCHIVE_USES= libarchive ARCHIVE_QMAKE_ON= CONFIG+=libarchive ARCHIVE_LIB_DEPENDS_OFF=libunarr.so:archivers/unarr OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_QMAKE_OFF= CONFIG+=no_opengl POPPLER_LIB_DEPENDS= libpoppler-${FLAVOR}.so:graphics/poppler-${FLAVOR} POPPLER_QMAKE_OFF= CONFIG+=no_pdf .include diff --git a/math/vtk9/Makefile b/math/vtk9/Makefile index 43d1ae076cdb..be41f0735452 100644 --- a/math/vtk9/Makefile +++ b/math/vtk9/Makefile @@ -1,142 +1,143 @@ PORTNAME= vtk DISTVERSION= 9.2.6 +PORTREVISION= 1 CATEGORIES= math graphics MASTER_SITES= https://vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 9 DISTNAME= ${PORTNAME:tu}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Visualization toolkit WWW= https://vtk.org/ LICENSE= BSD3CLAUSE LIB_DEPENDS= \ libexpat.so:textproc/expat2 \ libfreetype.so:print/freetype2 \ libhdf5.so:science/hdf5 \ libnetcdf.so:science/netcdf \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= alias cmake compiler:c++11-lang gl jpeg localbase xorg USE_LDCONFIG= ${PREFIX}/lib/vtk-${VTK_SHORT_VER} USE_XORG= ice x11 xt xext sm xcursor xfixes xrender CFLAGS_powerpc64le= -DSQLITE_BYTEORDER=1234 CMAKE_ON= BUILD_SHARED_LIBS \ VTK_INSTALL_NO_DOCUMENTATION \ Module_vtkTestingCore Module_vtkTestingRendering .for m in expat freetype hdf5 jpeg netcdf png tiff zlib # mpi4py should be here, but this fails, see https://gitlab.kitware.com/vtk/vtk/-/issues/18693 CMAKE_ON+= VTK_MODULE_USE_EXTERNAL_VTK_${m} .endfor CMAKE_ARGS= -DVTK_INSTALL_LIBRARY_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_ARCHIVE_DIR=lib/vtk-${VTK_SHORT_VER} \ -DVTK_INSTALL_QT_DIR=/${QT_LIBDIR_REL}/plugins/designer \ -DSTAGEDIR=${STAGEDIR} # all build options are documented here: https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/build.md # all modules can be obtailed by: find . -name vtk.module # there's also CMake/vtkWrapSettings.cmake with options # disable finding Qt6 CMAKE_ON+= CMAKE_DISABLE_FIND_PACKAGE_Qt6 # enable all modules #CMAKE_ON+= VTK_BUILD_ALL_MODULES VTK_SHORT_VER= ${PORTVERSION:R} DOCSDIR= ${PREFIX}/share/doc/vtk-${VTK_SHORT_VER} DATADIR= ${PREFIX}/share/vtk-${VTK_SHORT_VER} # Options OPTIONS_DEFINE= DESIGNER DOCS OMPI OSMESA PYTHON QT5 EXAMPLES OPTIONS_DEFAULT= OMPI PYTHON QT5 # vtk python binding is needed by other packages, and is unfortunately is unseparable. It is a candidate to be a subpackage. OSMESA_DESC= Use Mesa for off-screen rendering OMPI_DESC= OpenMPI (Message Passing Interface) support DESIGNER_DESC= Build the Qt Designer plugin OPTIONS_SUB= yes # Option groups that enable groups of modules in VTK VTK_GROUPS= JAVA TCLTK OPTIONS_GROUP= GROUPS OPTIONS_GROUP_GROUPS= ${VTK_GROUPS} GROUPS_DESC= Groups .for w in ${VTK_GROUPS} $w_DESC= Enable $w group .endfor PYTHON_USES= python PYTHON_CMAKE_BOOL= VTK_WRAP_PYTHON PYTHON_CMAKE_ON= -DVTK_PYTHON_VERSION=${PYTHON_MAJOR_VER} -DPython3_EXECUTABLE=${PYTHON_CMD} PYTHON_VARS= SUB_FILES=PKG-INFO SUB_LIST=PORTVERSION=${PORTVERSION} QT5_USES= qt:5 QT5_USE= QT=core,declarative,gui,network,opengl,sql,uiplugin,widgets,x11extras,qmake,buildtools # qmake and buildtools should be with :build, but see https://gitlab.kitware.com/vtk/vtk/-/issues/18705 QT5_CMAKE_ON= -DVTK_GROUP_ENABLE_Qt:STRING=YES \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 #QT6_USES= qt:6 #QT6_USE= QT=base,declarative,tools:build #QT6_CMAKE_ON= -DVTK_GROUP_ENABLE_Qt:STRING=YES \ -DCMAKE_PREFIX_PATH:STRING=${LOCALBASE}/lib/qt5 DESIGNER_CMAKE_BOOL= QT_DESIGNER_PLUGIN DESIGNER_USE= QT=designer DESIGNER_IMPLIES= QT5 OMPI_CMAKE_BOOL= VTK_USE_MPI OMPI_USES= mpi:openmpi OMPI_CMAKE_ON= -DMPI_HOME=${LOCALBASE}/mpi/openmpi OMPI_LDFLAGS= ${MPI_LIBS} OSMESA_CMAKE_ON= -DVTK_OPENGL_HAS_OSMESA:BOOL=ON \ -DOSMESA_INCLUDE_DIR:PATH=${LOCALBASE}/include/Mesa \ -DOSMESA_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DOPENGL_gl_LIBRARY:FILEPATH=${LOCALBASE}/lib/libOSMesa.so \ -DVTK_USE_X:BOOL=OFF OSMESA_LIB_DEPENDS= libOSMesa.so:graphics/libosmesa JAVA_VARS= USE_JAVA=yes JAVA_CMAKE_BOOL= VTK_WRAP_JAVA JAVA_CMAKE_ON= -DJAVA_INCLUDE_PATH:PATH=${JAVA_HOME}/include \ -DJAVA_AWT_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ARCH}/libjawt.so \ -DJAVA_JVM_LIBRARY:PATH=${JAVA_HOME}/jre/lib/${ATCH}/libjava.so TCLTK_USES= tk TCLTK_CMAKE_ON= -DVTK_GROUP_ENABLE_Tk:STRING=YES \ -DTCL_INCLUDE_PATH:PATH=${TCL_INCLUDEDIR} \ -DTK_INCLUDE_PATH:PATH=${TK_INCLUDEDIR} \ -DVTK_INSTALL_TCL_DIR=lib/vtk-${VTK_SHORT_VER} DOCS_CMAKE_BOOL= BUILD_DOCUMENTATION DOCS_BUILD_DEPENDS= doxygen:devel/doxygen EXAMPLES_CMAKE_BOOL= BUILD_EXAMPLES .include .if !${PORT_OPTIONS:MOSMESA} USES+= gl USE_GL= gl glu .endif .if ${PORT_OPTIONS:MPYTHON} && ${PORT_OPTIONS:MOMPI} BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} .endif CONFLICTS= vtk6 vtk8 do-install-PYTHON-on: # cmake doesn't install pip's .egg-info: https://gitlab.kitware.com/vtk/vtk/-/issues/18087 @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/vtk-${DISTVERSION}-py${PYTHON_VER}.egg-info @${INSTALL_DATA} ${WRKDIR}/PKG-INFO ${STAGEDIR}${PYTHON_SITELIBDIR}/vtk-${DISTVERSION}-py${PYTHON_VER}.egg-info # workaround for: VTK installs mpi4py which makes it to conflict with the standalone mpi4py package, see https://gitlab.kitware.com/vtk/vtk/-/issues/18691 @${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/mpi4py post-install: # autoplist: thousands of files, complex dependencies on options @cd ${STAGEDIR}${PREFIX} && \ ${FIND} * -type f -or -type l >> ${TMPPLIST} .include diff --git a/misc/qt6-examples/Makefile b/misc/qt6-examples/Makefile index 91342b7e6c13..7bd7fce7f9d7 100644 --- a/misc/qt6-examples/Makefile +++ b/misc/qt6-examples/Makefile @@ -1,42 +1,43 @@ PORTNAME= examples PORTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= QT/official_releases/qt/${QT6_VERSION:R}/${QT6_VERSION}/single PKGNAMEPREFIX= qt6- DISTNAME= qt-everywhere-src-${QT6_VERSION} #WRKSRC= ${WRKDIR}/qt-everywhere-src-${QT5_VERSION} DIST_SUBDIR= KDE/Qt/${QT6_VERSION} MAINTAINER= kde@FreeBSD.org COMMENT= Qt 6 examples sourcecode NO_ARCH= yes NO_BUILD= yes USES= qt:6 tar:xz USE_QT= # EXAMPLESDIR= ${PREFIX}/share/examples/qt6 # The destination location depends on the values given in # share/doc/qt5//examples-manifest.xml. The exception is # qtscript and qtserialbus where the examples are looked up in $EXAMPLESDIR/. # This way, the examples show up in qtcreator on the examples front page. _QT_DISTS= 3d 5compat activeqt base charts coap connectivity datavis3d \ declarative doc httpserver mqtt multimedia networkauth opcua \ positioning quick3d quick3dphysics remoteobjects scxml \ sensors serialbus serialport speech svg tools virtualkeyboard \ wayland webchannel webengine websockets webview EXAMPLES= ${_QT_DISTS:C/^/qt/} .for example in ${EXAMPLES} EXTRACT_AFTER_ARGS+= ${DISTNAME:S/-opensource//}/${example}/examples .endfor do-install: .for example in ${EXAMPLES} cd ${WRKSRC}/${example}/examples && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} .endfor .include diff --git a/misc/qt6ct/Makefile b/misc/qt6ct/Makefile index 3120206e5cb1..bfa773ff3e11 100644 --- a/misc/qt6ct/Makefile +++ b/misc/qt6ct/Makefile @@ -1,26 +1,27 @@ PORTNAME= qt6ct DISTVERSION= 0.8 +PORTREVISION= 1 CATEGORIES= misc MAINTAINER= tcberner@FreeBSD.org COMMENT= Qt 6 configuration tool WWW= https://github.com/trialuser02/qt6ct/tags LICENSE= BSD2CLAUSE LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers USES= cmake compiler:c++11-lang gettext-runtime gl qt:6 USE_GITHUB= yes GH_ACCOUNT= trialuser02 USE_GL= gl opengl USE_QT= base svg tools OPTIONS_DEFINE= DOCS post-install-DOCS-on: ${MKDIR} ${STAGEDIR}/${DOCSDIR} && \ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR} .include diff --git a/multimedia/audacious-plugins/Makefile b/multimedia/audacious-plugins/Makefile index ee7cdd8c72a3..f3f0e167be11 100644 --- a/multimedia/audacious-plugins/Makefile +++ b/multimedia/audacious-plugins/Makefile @@ -1,209 +1,210 @@ PORTNAME= audacious-plugins PORTVERSION= 4.3.1 +PORTREVISION= 1 CATEGORIES= multimedia audio MASTER_SITES= http://distfiles.audacious-media-player.org/ MAINTAINER= madpilot@FreeBSD.org COMMENT= Plugins needed for audacious WWW= https://audacious-media-player.org/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libmpg123.so:audio/mpg123 FLAVORS= qt5 qt6 gtk2 gtk3 FLAVOR?= ${FLAVORS:[1]} USES= compiler:c++11-lib gettext-tools gmake gnome iconv \ localbase meson pkgconfig tar:bzip2 xorg USE_GNOME= glib20 libxml2 gdkpixbuf2 USE_XORG= x11 CONFIGURE_ENV= LIBRARY_PATH="${LOCALBASE}/lib" MAKE_ENV= LIBRARY_PATH="${LOCALBASE}/lib" MESON_ARGS= -Dmms=false -Dcoreaudio=false qt5_CONFLICTS_INSTALL= audacious-plugins-qt6 audacious-plugins-gtk2 audacious-plugins-gtk3 qt5_RUN_DEPENDS= audacious:multimedia/audacious@qt5 qt5_BUILD_DEPENDS= audacious:multimedia/audacious@qt5 qt6_PKGNAMESUFFIX= -qt6 qt6_CONFLICTS_INSTALL= audacious-plugins audacious-plugins-gtk2 audacious-plugins-gtk3 qt6_RUN_DEPENDS= audacious:multimedia/audacious@qt6 qt6_BUILD_DEPENDS= audacious:multimedia/audacious@qt6 gtk2_PKGNAMESUFFIX= -gtk2 gtk2_CONFLICTS_INSTALL= audacious-plugins audacious-plugins-qt6 audacious-plugins-gtk3 gtk2_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz gtk2_RUN_DEPENDS= audacious:multimedia/audacious@gtk2 gtk2_BUILD_DEPENDS= audacious:multimedia/audacious@gtk2 gtk3_PKGNAMESUFFIX= -gtk3 gtk3_CONFLICTS_INSTALL= audacious-plugins audacious-plugins-qt6 audacious-plugins-gtk2 gtk3_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz gtk3_RUN_DEPENDS= audacious:multimedia/audacious@gtk3 gtk3_BUILD_DEPENDS= audacious:multimedia/audacious@gtk3 .if ${FLAVOR} == qt5 MESON_ARGS+= -Dqt=true -Dqt6=false -Dgtk=false -Dgtk3=false USES+= qt:5 USE_QT= core gui multimedia network widgets x11extras PLIST_SUB= QT="" QT5="" GTK="@comment " .elif ${FLAVOR} == qt6 MESON_ARGS+= -Dqt=true -Dqt6=true -Dgtk=false -Dgtk3=false USES+= qt:6 USE_QT= base multimedia PLIST_SUB= QT="" QT5="@comment " GTK="@comment " .elif ${FLAVOR} == gtk2 MESON_ARGS+= -Dqt=false -Dqt6=false -Dgtk=true -Dgtk3=false -Dhotkey=true USE_GNOME+= cairo gtk20 PLIST_SUB= QT="@comment " QT6="@comment " GTK="" .elif ${FLAVOR} == gtk3 MESON_ARGS+= -Dqt=false -Dqt6=false -Dgtk=true -Dgtk3=true -Dhotkey=true USE_GNOME+= cairo gtk30 PLIST_SUB= QT="@comment " QT6="@comment " GTK="" .endif OPTIONS_DEFINE= AAC ADPLUG AMIDI BS2B CDDA CONSOLE CUE FFMPEG FLAC LAME LIRC \ MODPLUG MPG123 MPRIS NEON NLS NOTIFY OPENGL OPENMPT OPUS \ SAMPLERATE SCROBBLER SID SNDFILE SOXR SPEEDPITCH VORBIS \ WAVPACK OPTIONS_MULTI= OUTPUT OPTIONS_MULTI_OUTPUT= ALSA FILEWRITER JACK OSS PIPEWIRE PULSEAUDIO SDL SNDIO OPTIONS_DEFAULT= AAC ADPLUG CDDA CUE FILEWRITER FFMPEG FLAC MPRIS \ MPG123 NEON NLS NOTIFY OPENMPT OPUS OSS PIPEWIRE PULSEAUDIO \ SCROBBLER SID VORBIS WAVPACK OPTIONS_SUB= yes .if ${FLAVOR} == gtk2 || ${FLAVOR} == gtk3 OPTIONS_DEFINE+= AOSD OPTIONS_DEFAULT+= AOSD .endif ADPLUG_DESC= ADPLUG plugin AMIDI_DESC= Amidi decoder AOSD_DESC= Audacious OSD BS2B_DESC= BS2B effect CONSOLE_DESC= Game Console Music Emulation FILEWRITER_DESC= File writer MPRIS_DESC= NPRIS plugin NEON_DESC= Neon plugin OPENMPT_DESC= OpenMPT plugin SCROBBLER_DESC= Scrobbler decoder SID_DESC= Sound chip emulator of Commodore SPEEDPITCH_DESC= Speed and Pitch plugin AAC_LIB_DEPENDS= libfaad.so:audio/faad AAC_MESON_TRUE= aac ADPLUG_LIB_DEPENDS= libadplug.so:audio/libadplug \ libbinio.so:devel/libbinio ADPLUG_MESON_TRUE= adplug ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MESON_TRUE= alsa AMIDI_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth AMIDI_MESON_TRUE= amidiplug AOSD_USES= xorg AOSD_USE= gnome=pango xorg=xrender AOSD_LIB_DEPENDS= libXcomposite.so:x11/libXcomposite AOSD_MESON_TRUE= aosd BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_MESON_TRUE= bs2b CDDA_LIB_DEPENDS= libcdio_cdda.so:sysutils/libcdio-paranoia \ libcddb.so:audio/libcddb \ libcdio.so:sysutils/libcdio CDDA_MESON_TRUE= cdaudio CONSOLE_MESON_TRUE= console CUE_LIB_DEPENDS= libcue.so:textproc/libcue CUE_MESON_TRUE= cue FILEWRITER_MESON_TRUE= filewriter FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_MESON_TRUE= ffaudio FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_MESON_TRUE= flac JACK_LIB_DEPENDS= libjack.so:audio/jack \ libsamplerate.so:audio/libsamplerate JACK_MESON_TRUE= jack LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_MESON_TRUE= lirc MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_MESON_TRUE= modplug MPRIS_MESON_TRUE= mpris2 NEON_LIB_DEPENDS= libneon.so:www/neon NEON_MESON_TRUE= neon MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 MPG123_MESON_TRUE= mpg123 NLS_USES= gettext-runtime NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_MESON_TRUE= notify OPENGL_USES= gl OPENGL_USE= gl=gl .if ${FLAVOR} == qt5 OPENGL_USE+= qt=opengl .endif OPENGL_MESON_TRUE= gl-spectrum OPENMPT_LIB_DEPENDS= libopenmpt.so:audio/libopenmpt OPENMPT_MESON_TRUE= openmpt OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile \ libopus.so:audio/opus OPUS_MESON_TRUE= opus OSS_MESON_TRUE= oss PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_MESON_TRUE= pipewire PULSEAUDIO_LIB_DEPENDS= libpulse-mainloop-glib.so:audio/pulseaudio PULSEAUDIO_MESON_TRUE= pulse SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_MESON_TRUE= resample SCROBBLER_LIB_DEPENDS= libcurl.so:ftp/curl SCROBBLER_MESON_TRUE= scrobbler2 SDL_MESON_TRUE= sdlout SDL_USES= sdl SDL_USE= SDL=sdl2 SID_LIB_DEPENDS= libsidplayfp.so:audio/libsidplayfp SID_MESON_TRUE= sid SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_MESON_TRUE= sndfile SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_MESON_TRUE= sndio SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_MESON_TRUE= soxr SPEEDPITCH_MESON_TRUE= speedpitch SPEEDPITCH_IMPLIES= SAMPLERATE VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg VORBIS_MESON_TRUE= vorbis WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_MESON_TRUE= wavpack .include .if ${PORT_OPTIONS:MFILEWRITER} .if ${PORT_OPTIONS:MFLAC} MESON_ARGS+= -Dfilewriter-flac=true .else MESON_ARGS+= -Dfilewriter-flac=false .endif .if ${PORT_OPTIONS:MLAME} MESON_ARGS+= -Dfilewriter-mp3=true .else MESON_ARGS+= -Dfilewriter-mp3=false .endif .if ${PORT_OPTIONS:MVORBIS} MESON_ARGS+= -Dfilewriter-ogg=true .else MESON_ARGS+= -Dfilewriter-ogg=false .endif .else MESON_ARGS+= -Dfilewriter-flac=false -Dfilewriter-mp3=false -Dfilewriter-ogg=false .endif post-patch-NLS-off: @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build .include diff --git a/multimedia/audacious/Makefile b/multimedia/audacious/Makefile index 3412e0b140ce..ffde7fca5fac 100644 --- a/multimedia/audacious/Makefile +++ b/multimedia/audacious/Makefile @@ -1,89 +1,90 @@ PORTNAME= audacious PORTVERSION= 4.3.1 +PORTREVISION= 1 CATEGORIES= multimedia audio MASTER_SITES= https://distfiles.audacious-media-player.org/ MAINTAINER= madpilot@FreeBSD.org COMMENT= Lightweight and versatile audio player WWW= https://audacious-media-player.org/ LICENSE= BSD2CLAUSE BSD3CLAUSE LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig FLAVORS= qt5 qt6 gtk2 gtk3 FLAVOR?= ${FLAVORS:[1]} USES= compiler:c++11-lib desktop-file-utils gettext-tools gmake \ gnome iconv localbase meson pkgconfig tar:bzip2 xorg USE_GNOME= glib20 USE_XORG= x11 sm USE_LDCONFIG= yes SUB_FILES= pkg-message CONFIGURE_ENV= LIBRARY_PATH="${LOCALBASE}/lib" MAKE_ENV= LIBRARY_PATH="${LOCALBASE}/lib" qt5_CONFLICTS_INSTALL= audacious-qt6 audacious-gtk2 audacious-gtk3 qt6_PKGNAMESUFFIX= -qt6 qt6_CONFLICTS_INSTALL= audacious audacious-gtk2 audacious-gtk3 gtk2_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz gtk2_PKGNAMESUFFIX= -gtk2 gtk2_CONFLICTS_INSTALL= audacious audacious-qt6 audacious-gtk3 gtk3_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz gtk3_PKGNAMESUFFIX= -gtk3 gtk3_CONFLICTS_INSTALL= audacious audacious-qt6 audacious-gtk2 .if ${FLAVOR} == qt5 MESON_ARGS+= -Dqt=true -Dqt6=false -Dgtk=false -Dgtk3=false USES+= qt:5 USE_QT= buildtools:build core gui widgets PLIST_SUB= QT="" GTK="@comment " .elif ${FLAVOR} == qt6 MESON_ARGS+= -Dqt=true -Dqt6=true -Dgtk=false -Dgtk3=false USES+= qt:6 USE_QT= base PLIST_SUB= QT="" GTK="@comment " .elif ${FLAVOR} == gtk2 MESON_ARGS+= -Dqt=false -Dqt6=false -Dgtk=true -Dgtk3=false USE_GNOME+= cairo gdkpixbuf2 gtk20 PLIST_SUB= QT="@comment " GTK="" .elif ${FLAVOR} == gtk3 MESON_ARGS+= -Dqt=false -Dqt6=false -Dgtk=true -Dgtk3=true USE_GNOME+= cairo gdkpixbuf2 gtk30 PLIST_SUB= QT="@comment " GTK="" .endif OPTIONS_DEFINE= NLS LIBARCHIVE EXECINFO OPTIONS_DEFAULT= EXECINFO OPTIONS_SUB= yes EXECINFO_DESC= Build with libexecinfo support LIBARCHIVE_DESC= Build with libarchive support LIBARCHIVE_MESON_TRUE= libarchive LIBARCHIVE_USES= libarchive NLS_USES= gettext-runtime post-patch-NLS-off: @${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build post-patch-EXECINFO-on: @${REINPLACE_CMD} 's|-lm |-lm -lexecinfo |' \ ${WRKSRC}/src/audacious/Makefile @${REINPLACE_CMD} 's|-laudcore|-laudcore -lexecinfo|' \ ${WRKSRC}/audacious.pc.in post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/metainfo ${INSTALL_DATA} ${WRKSRC}/contrib/audacious.appdata.xml \ ${STAGEDIR}${PREFIX}/share/metainfo/ .include diff --git a/multimedia/obs-scrab/Makefile b/multimedia/obs-scrab/Makefile index ea3b393082ff..5f3420622b81 100644 --- a/multimedia/obs-scrab/Makefile +++ b/multimedia/obs-scrab/Makefile @@ -1,44 +1,44 @@ PORTNAME= obs-scrab DISTVERSIONPREFIX= v DISTVERSION= 1.2.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= OBS Studio Plugin: Screenshot plugin WWW= https://github.com/univrsal/scrab LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN= installs into the build directory, see https://github.com/univrsal/scrab/issues/7 LIB_DEPENDS= libobs.so:multimedia/obs-studio USES= cmake gl localbase:ldflags qt:6 USE_QT= base tools:build USE_GL= gl USE_GITHUB= yes GH_ACCOUNT= univrsal GH_PROJECT= scrab CMAKE_ARGS= -DOS_POSIX:BOOL=TRUE -DLINUX_PORTABLE:BOOL=FALSE CXXFLAGS+= -I${LOCALBASE}/include/obs PLIST_FILES= lib/obs-plugins/scrab.so \ share/obs/obs-plugins/scrab/locale/en-US.ini do-install: # workaround for https://github.com/univrsal/scrab/issues/7 ${MKDIR} \ ${STAGEDIR}${PREFIX}/lib/obs-plugins \ ${STAGEDIR}${PREFIX}/share/obs/obs-plugins/scrab/locale ${INSTALL} \ ${BUILD_WRKSRC}/scrab.so \ ${STAGEDIR}${PREFIX}/lib/obs-plugins ${INSTALL} \ ${WRKSRC}/data/locale/en-US.ini \ ${STAGEDIR}${PREFIX}/share/obs/obs-plugins/scrab/locale .include diff --git a/multimedia/obs-streamfx/Makefile b/multimedia/obs-streamfx/Makefile index c18de25a17c2..c8bc96150b30 100644 --- a/multimedia/obs-streamfx/Makefile +++ b/multimedia/obs-streamfx/Makefile @@ -1,39 +1,40 @@ PORTNAME= obs-streamfx DISTVERSION= 0.12.0b299 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= OBS Studio Plugin: Modern effects WWW= https://github.com/Xaymar/obs-StreamFX LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= plugin requires a lot of memory for many of the filters to even run, physical or virtual memory can exceed 4GB BUILD_DEPENDS= ${LOCALBASE}/include/nlohmann/json.hpp:devel/nlohmann-json LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libcurl.so:ftp/curl \ libobs.so:multimedia/obs-studio USES= cmake gl localbase:ldflags qt:6 # localbase:ldflags is related to https://github.com/Xaymar/obs-StreamFX/issues/828 USE_QT= base tools:build USE_GL= gl opengl USE_GITHUB= yes GH_ACCOUNT= Xaymar GH_PROJECT= obs-StreamFX GH_TUPLE= nlohmann:json:db78ac1d7716f56fc9f1b030b715f872f93964e4:nlohmann_json/third-party/nlohmann-json \ Xaymar:msvc-redist-helper:aa4665ccf68a382f1c2b115fb6c9668b6a8bd64d:Xaymar_msvc_redist_helper/third-party/msvc-redist-helper \ NVIDIA:MAXINE-AR-SDK:ca10ac3:NVIDIA_MAXINE_AR_SDK/third-party/nvidia-maxine-ar-sdk \ NVIDIA:MAXINE-VFX-SDK:f63d9d1:NVIDIA_MAXINE_VFX_SDK/third-party/nvidia-maxine-vfx-sdk \ Xaymar:cmake-clang:f249747:Xaymar_cmake_clang/cmake/clang \ Xaymar:cmake-version:16bfa95:Xaymar_cmake_version/cmake/version CMAKE_ARGS= -DOBS_STUDIO_DIR=${LOCALBASE}/lib CMAKE_ON= STRUCTURE_PACKAGEMANAGER CXXFLAGS+= -I${LOCALBASE}/include/obs # workaround for https://github.com/Xaymar/obs-StreamFX/issues/828 .include diff --git a/multimedia/obs-studio/Makefile b/multimedia/obs-studio/Makefile index 7c4cd948dc0d..595c666128bf 100644 --- a/multimedia/obs-studio/Makefile +++ b/multimedia/obs-studio/Makefile @@ -1,129 +1,129 @@ PORTNAME= obs-studio DISTVERSION= 29.1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Open source streaming/recording software WWW= https://obsproject.com/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_12= fatal error: 'sys/eventfd.h' file not found BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat \ swig:devel/swig LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libfdk-aac.so:audio/fdk-aac \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libjansson.so:devel/jansson \ libmbedtls.so:security/mbedtls \ libpci.so:devel/libpci \ librist.so:multimedia/librist \ librnnoise.so:audio/rnnoise \ libspeexdsp.so:audio/speexdsp \ libsrt.so:www/srt \ libsysinfo.so:devel/libsysinfo \ libudev.so:devel/libudev-devd \ libv4l2.so:multimedia/libv4l \ libx264.so:multimedia/libx264 \ libxcb-ewmh.so:x11/xcb-util-wm \ libxcb-image.so:x11/xcb-util-image \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxcb-render-util.so:x11/xcb-util-renderutil \ libxcb-util.so:x11/xcb-util \ libxkbcommon.so:x11/libxkbcommon \ libuuid.so:misc/e2fsprogs-libuuid \ libva.so:multimedia/libva USES= cmake compiler:c++17-lang desktop-file-utils gl gnome lua luajit \ pkgconfig python qt:6 xorg USE_QT= base svg tools:build USE_GNOME= glib20 USE_GL= gl USE_XORG= ice sm x11 xcb xcomposite xext xfixes xinerama xrandr USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= obsproject GH_TUPLE= obsproject:obs-amd-encoder:d5a136c6834c39293ad749cf8f07bdaa772fe44b:obsproject_obs_amd_encoder/plugins/enc-amf \ obsproject:obs-browser:e2310b02df3e6c184fe6eb6608244a82e37f582e:obsproject_obs_browser/plugins/obs-browser \ obsproject:obs-websocket:5716577019b1ccda01a12db2cba35a023082b7ad:obsproject_obs_websocket/plugins/obs-websocket \ chriskohlhoff:asio:b73dc1d:chriskohlhoff_asio/plugins/obs-websocket/deps/asio \ nayuki:QR-Code-generator:8518684:nayuki_QR_Code_generator/plugins/obs-websocket/deps/qr \ nlohmann:json:a34e011:nlohmann_json/plugins/obs-websocket/deps/json \ zaphoyd:websocketpp:56123c8:zaphoyd_websocketpp/plugins/obs-websocket/deps/websocketpp \ obsproject:libdshowcapture:a93f1a34c14e91b5c540f264fb965f32caf77336:obsproject_libdshowcapture/plugins/win-dshow/libdshowcapture \ elgatosf:capture-device-support:bedcf28ed7a74eb7bf96a383fd18d2f5a1849b10:elgatosf_capture_device_support/plugins/win-dshow/libdshowcapture/external/capture-device-support \ palana:Syphon-Framework:01b144811f6f7080b70b2d7cc729da071f86f9d7:palana_Syphon_Framework/plugins/mac-syphon/syphon-framework \ Mixer:ftl-sdk:d0c8469f66806b5ea738d607f7d2b000af8b1129:Mixer_ftl_sdk/plugins/obs-outputs/ftl-sdk \ curl:curl:44b9b4d4f56d6f6de92c89636994c03984e9cd01:curl_curl/plugins/obs-outputs/ftl-sdk/libcurl \ akheron:jansson:bc5741fb1ac730ead24e9bd08977fc6c248e04b0:akheron_jansson/plugins/obs-outputs/ftl-sdk/libjansson CMAKE_ON= UNIX_STRUCTURE CMAKE_ARGS= -DOBS_VERSION_OVERRIDE:STRING="${PORTVERSION}" \ -DQT_VERSION=6 \ -DPython_EXECUTABLE="${PYTHON_CMD}" LDFLAGS+= -fPIC # pending https://github.com/obsproject/obs-studio/issues/3436 OPTIONS_DEFINE= BROWSER PIPEWIRE VLC VST WAYLAND OPTIONS_DEFAULT= PIPEWIRE VLC VST WAYLAND OPTIONS_MULTI= AUDIO OPTIONS_MULTI_AUDIO= JACK PULSEAUDIO SNDIO OPTIONS_DEFAULT+= ${OPTIONS_MULTI_AUDIO} OPTIONS_SUB= yes AUDIO_DESC= Audio backends BROWSER_DESC= Build OSB browser BROWSER_CMAKE_BOOL= BUILD_BROWSER BROWSER_BROKEN= Needs CEF (Chromium Embedded Framework) which isn't yet ported JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_ON= -DENABLE_JACK=TRUE JACK_CMAKE_OFF= -DDISABLE_JACK=TRUE PIPEWIRE_DESC= Screen capture via PipeWire PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= ENABLE_PIPEWIRE PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_ON= -DENABLE_PULSEAUDIO=TRUE PULSEAUDIO_CMAKE_OFF= -DDISABLE_PULSEAUDIO=TRUE PULSEAUDIO_BROKEN_OFF= https://github.com/obsproject/obs-studio/issues/4025 SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_ON= -DENABLE_SNDIO=TRUE SNDIO_CMAKE_OFF= -DDISABLE_SNDIO=TRUE VLC_DESC= Enable VLC plugin VLC_CMAKE_BOOL= ENABLE_VLC VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc VST_DESC= Build VST submodule VST_CMAKE_BOOL= BUILD_VST WAYLAND_CATEGORIES= wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CMAKE_BOOL= ENABLE_WAYLAND .include .if ${ARCH} != amd64 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != powerpc && ${ARCH} != powerpc64 && ${ARCH} != powerpc64le PLIST_SUB+= LUAJIT="@comment " .else PLIST_SUB+= LUAJIT="" .endif post-install: # https://github.com/obsproject/obs-studio/issues/2625 ${INSTALL_DATA} ${WRKSRC}/UI/obs-frontend-api/obs-frontend-api.h ${STAGEDIR}${PREFIX}/include/obs # https://github.com/obsproject/obs-studio/issues/2647 (only for multimedia/obs-audio-spectralizer, should be removed later) ${INSTALL_DATA} ${WRKSRC}/cmake/Modules/ObsHelpers.cmake ${STAGEDIR}${PREFIX}/lib/cmake ${INSTALL_DATA} ${WRKSRC}/cmake/external/ObsPluginHelpers.cmake ${STAGEDIR}${PREFIX}/lib/cmake .include diff --git a/multimedia/qmmp-plugin-pack-qt6/Makefile b/multimedia/qmmp-plugin-pack-qt6/Makefile index 226ac2f2130e..93e74efca23d 100644 --- a/multimedia/qmmp-plugin-pack-qt6/Makefile +++ b/multimedia/qmmp-plugin-pack-qt6/Makefile @@ -1,70 +1,70 @@ PORTNAME= qmmp-plugin-pack PORTVERSION= 2.1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia MASTER_SITES= http://qmmp.ylsoftware.com/files/${PORTNAME}/${PORTVERSION:R}/ \ SF/qmmp-dev/${PORTNAME}/${PORTVERSION:R}/ PKGNAMESUFFIX= -qt6 MAINTAINER= fluffy@FreeBSD.org COMMENT= Additional plug-ins for QMMP (Qt6) WWW= https://qmmp.ylsoftware.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libqmmpui.so:multimedia/qmmp-qt6 BUILD_DEPENDS= qmmp-qt6>=2.1:multimedia/qmmp-qt6 CONFLICTS= ${PORTNAME}-qt5 PORTSCOUT= limit:^1\..* USES= cmake pkgconfig qt:6 tar:bzip2 USE_QT= base tools:build USE_LDCONFIG= yes OPTIONS_SUB= yes OPTIONS_MULTI= PLUGINS OPTIONS_MULTI_PLUGINS= FFAP FFVIDEO GOOM MODPLUG SRCONV YTB OPTIONS_DEFAULT= FFAP FFVIDEO GOOM MODPLUG YTB OPTIONS_DEFINE_i386= FFAPASM GOOMASM OPTIONS_DEFAULT_i386= FFAPASM GOOMASM OPTIONS_DEFINE_amd64= FFAPASM GOOMASM OPTIONS_DEFAULT_amd64= FFAPASM GOOMASM FFAP_DESC= Support APE sound file FFAP_LIB_DEPENDS= libtag.so:audio/taglib FAAP_USES= iconv FFAP_CMAKE_BOOL= USE_FFAP FFAPASM_DESC= Optimize FFap decoder using devel/yasm FFAPASM_BUILD_DEPENDS= yasm:devel/yasm FFAPASM_CMAKE_BOOL= USE_ASM FFVIDEO_DESC= FFmpeg video FFVIDEO_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFVIDEO_CMAKE_BOOL= USE_FFVIDEO GOOM_DESC= Goom spectacle GOOM_CMAKE_BOOL= USE_GOOM GOOMASM_DESC= Optimize Goom spectacle using devel/yasm GOOMASM_BUILD_DEPENDS= yasm:devel/yasm GOOMASM_CMAKE_BOOL= GOOM_ASM MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CMAKE_BOOL= USE_MODPLUG SRCONV_DESC= Support the sample rate converter SRCONV_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SRCONV_CMAKE_BOOL= USE_SRC YTB_DESC= YouTube plugin YTB_CMAKE_BOOL= USE_YTB PLIST_SUB+= APP_SUFFIX=${PORTVERSION:R} pre-configure: @${RM} ${BUILD_WRKSRC}/CMakeCache.txt .include diff --git a/multimedia/qmmp-qt6/Makefile b/multimedia/qmmp-qt6/Makefile index c186bbf64802..be9bc8d59dbc 100644 --- a/multimedia/qmmp-qt6/Makefile +++ b/multimedia/qmmp-qt6/Makefile @@ -1,328 +1,329 @@ PORTNAME= qmmp PORTVERSION= 2.1.4 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://qmmp.ylsoftware.com/files/${PORTNAME}/${PORTVERSION:R}/ \ SF/qmmp-dev/${PORTNAME}/${PORTVERSION:R}/ PKGNAMESUFFIX= -qt6 MAINTAINER= fluffy@FreeBSD.org COMMENT= Qt6-based multimedia player WWW= https://qmmp.ylsoftware.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING CONFLICTS= ${PORTNAME}-qt5 PORTSCOUT= limit:^1\..* USES= cmake gl gnome pathfix pkgconfig qt:6 tar:bzip2 USE_GL= gl opengl USE_QT= base:build declarative:build tools:build USE_LDCONFIG= yes CMAKE_OFF= USE_MMS OPTIONS_SUB= yes OPTIONS_GROUP= DOCUMENTS PLUGIN_APPLICATION PLUGIN_FORMATS \ PLUGIN_DSP_EFFECTS PLUGIN_VISUAL_EFFECTS PLUGIN_OUTPUT \ PLUGIN_PLAYLIST PLUGIN_NETWORKING MISC PLUGIN_APPLICATION_DESC= Main program view OPTIONS_GROUP_PLUGIN_APPLICATION= GNOMEHOTKEY HISTORY HOTKEY KDENOTIFY \ NOTIFIER QMMP_DIALOG QSUI SKINNEDUI STATICON TWOPANELDIALOG DOCUMENTS_DESC= Documentation and API Reference OPTIONS_GROUP_DOCUMENTS= DOCS DOXYGEN PLUGIN_FORMATS_DESC= Support various media formats OPTIONS_GROUP_PLUGIN_FORMATS= ARCHIVE CDDA FAAD FFMPEG FLAC GME \ MAD MPG123 MUSEPACK OPUS SNDFILE VORBIS WAVPACK WILDMIDI XMP PLUGIN_DSP_EFFECTS_DESC= DSP effects OPTIONS_GROUP_PLUGIN_DSP_EFFECTS= BS2B CROSSFADE LADSPA SOXR STEREO PLUGIN_VISUAL_EFFECTS_DESC= Visual effects OPTIONS_GROUP_PLUGIN_VISUAL_EFFECTS= ANALYZER PROJECTM PLUGIN_OUTPUT_DESC= Output sound systems OPTIONS_GROUP_PLUGIN_OUTPUT= ALSA JACK NULLOUT OSS OSS4 \ PIPEWIRE PULSEAUDIO QTMULTIMEDIA SHOUTCAST PLUGIN_PLAYLIST_DESC= Playlist operation OPTIONS_GROUP_PLUGIN_PLAYLIST= COPYPASTE DIR_ASSOC FILEOPS \ TRACKCHANGE UDISKS PLUGIN_NETWORKING_DESC= Features via the Net OPTIONS_GROUP_PLUGIN_NETWORKING= COVER CURL LYRICS SB SCROBBLER MISC_DESC= Other features OPTIONS_GROUP_MISC= CONVERTER CUE ENCA FILEWRITER MPLAYER MPRIS RGSCAN SID OPTIONS_DEFAULT= ALSA ANALYZER ARCHIVE BS2B CDDA CONVERTER COPYPASTE COVER \ CROSSFADE CUE CURL DIR_ASSOC ENCA FFMPEG FILEOPS FILEWRITER FLAC \ GNOMEHOTKEY GME HISTORY HOTKEY JACK KDENOTIFY LADSPA LYRICS \ MPRIS MPLAYER MUSEPACK NOTIFIER NULLOUT \ OPUS OSS4 PROJECTM PIPEWIRE PULSEAUDIO QMMP_DIALOG QSUI RGSCAN \ SHOUTCAST SB SCROBBLER SID SKINNEDUI SNDFILE SOXR STATICON STEREO \ TRACKCHANGE TWOPANELDIALOG UDISKS VORBIS WAVPACK WILDMIDI XMP DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen QSUI_DESC= Simple UI based on standard widgets set QSUI_CMAKE_BOOL= USE_QSUI SKINNEDUI_DESC= Skinned GUI SKINNEDUI_USES= xorg SKINNEDUI_USE= QT=base XORG=x11 SKINNEDUI_CMAKE_BOOL= USE_SKINNED DIR_ASSOC_DESC= inode/directory mime type association DIR_ASSOC_CMAKE_BOOL= USE_DIR_ASSOC DIR_ASSOC_USES= desktop-file-utils JACK_LIB_DEPENDS= libjack.so:audio/jack \ libsoxr.so:audio/libsoxr JACK_BUILD_DEPENDS= jackit>=0.121.2:audio/jack JACK_CMAKE_BOOL= USE_JACK ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= USE_ALSA BS2B_DESC= Support the Bauer stereophonic2binaural effect BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_CMAKE_BOOL= USE_BS2B HISTORY_DESC= Information about listened tracks HISTORY_USE= QT=base HISTORY_CMAKE_BOOL= USE_HISTORY PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= USE_PIPEWIRE PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSE QTMULTIMEDIA_DESC= Support to use Qt low-level multimedia API QTMULTIMEDIA_USE= QT=multimedia QTMULTIMEDIA_CMAKE_BOOL= USE_QTMULTIMEDIA SHOUTCAST_LIB_DEPENDS= libogg.so:audio/libogg \ libshout.so:audio/libshout \ libsoxr.so:audio/libsoxr \ libvorbis.so:audio/libvorbis SHOUTCAST_CMAKE_BOOL= USE_SHOUT FLAC_LIB_DEPENDS= libFLAC.so:audio/flac \ libtag.so:audio/taglib FLAC_USES= iconv FLAC_CMAKE_BOOL= USE_FLAC MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack \ libtag.so:audio/taglib MUSEPACK_USES= iconv MUSEPACK_CMAKE_BOOL= USE_MPC GME_DESC= Support video game music files GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CMAKE_BOOL= USE_GME FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= USE_FFMPEG FAAD_LIB_DEPENDS= libfaad.so:audio/faad \ libtag.so:audio/taglib FAAD_USES= iconv FAAD_CMAKE_BOOL= USE_AAC CDDA_LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libcddb.so:audio/libcddb \ libcdio_cdda.so:sysutils/libcdio-paranoia CDDA_CMAKE_BOOL= USE_CDA ENCA_DESC= Support automatic character set detection ENCA_LIB_DEPENDS= libenca.so:converters/enca ENCA_CMAKE_BOOL= USE_ENCA FILEWRITER_DESC= Dump output sound into ogg audio file FILEWRITER_LIB_DEPENDS= libvorbisenc.so:audio/libvorbis FILEWRITER_CMAKE_BOOL= USE_FILEWRITER MPLAYER_DESC= Enable showing videos by mplayer MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer MPLAYER_CMAKE_BOOL= USE_MPLAYER PROJECTM_DESC= Support the projectM music visualiser PROJECTM_LIB_DEPENDS= libprojectM.so:graphics/libprojectm PROJECTM_CMAKE_BOOL= USE_PROJECTM OSS_CMAKE_BOOL= USE_OSS OSS4_DESC= Open Sound System (ver4) support OSS4_BUILD_DEPENDS= ${LOCALBASE}/lib/oss/include/sys/soundcard.h:audio/oss OSS4_CMAKE_BOOL= USE_OSS4 LADSPA_RUN_DEPENDS= analyseplugin:audio/ladspa LADSPA_CMAKE_BOOL= USE_LADSPA WILDMIDI_DESC= Support to playback MIDI files WILDMIDI_LIB_DEPENDS= libWildMidi.so:audio/wildmidi WILDMIDI_CMAKE_BOOL= USE_MIDI MAD_LIB_DEPENDS= libmad.so:audio/libmad \ libtag.so:audio/taglib MUAD_USES= iconv MAD_CMAKE_BOOL= USE_MAD MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 \ libtag.so:audio/taglib MPG123K_USES= iconv MPG123_CMAKE_BOOL= USE_MPG123 OPUS_DESC= Enable reading opusfile tags OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile \ libopus.so:audio/opus \ libtag.so:audio/taglib OPUS_USES= iconv OPUS_CMAKE_BOOL= USE_OPUS RGSCAN_DESC= ReplayGain scanner RGSCAN_LIB_DEPENDS= libtag.so:audio/taglib RGSCAN_CMAKE_BOOL= USE_RGSCAN SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CMAKE_BOOL= USE_SNDFILE VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg \ libtag.so:audio/taglib VORBIS_USES= iconv VORBIS_CMAKE_BOOL= USE_VORBIS WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CMAKE_BOOL= USE_WAVPACK XMP_DESC= Support various module formats using libxmp XMP_LIB_DEPENDS= libxmp.so:audio/libxmp XMP_CMAKE_BOOL= USE_XMP CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CMAKE_BOOL= USE_CURL CUE_CMAKE_BOOL= USE_CUE NULLOUT_DESC= Support null output NULLOUT_CMAKE_BOOL= USE_NULL SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CMAKE_BOOL= USE_SOXR CROSSFADE_DESC= Support cross-fade effect CROSSFADE_CMAKE_BOOL= USE_CROSSFADE STEREO_DESC= Support stereo effect STEREO_CMAKE_BOOL= USE_STEREO ANALYZER_DESC= Support spectrum analyzer visualization ANALYZER_CMAKE_BOOL= USE_ANALYZER ARCHIVE_DESC= Read archived media file ARCHIVE_USES= libarchive ARCHIVE_CMAKE_BOOL= USE_ARCHIVE CONVERTER_DESC= Support file type converter CONVERTER_LIB_DEPENDS= libtag.so:audio/taglib CONVERTER_CMAKE_BOOL= USE_CONVERTER COPYPASTE_DESC= Enable copy/paste track infos between playlists COPYPASTE_CMAKE_BOOL= USE_COPYPASTE MPRIS_DESC= Support the Media Player Remote MPRIS_USE= QT=base MPRIS_CMAKE_BOOL= USE_MPRIS SCROBBLER_DESC= Support Libre.fm/Last.fm scrobbler feature SCROBBLER_CMAKE_BOOL= USE_SCROBBLER SID_DESC= Support sid SID_LIB_DEPENDS= libsidplayfp.so:audio/libsidplayfp SID_CMAKE_BOOL= USE_SID STATICON_DESC= Support to show status icon STATICON_CMAKE_BOOL= USE_STATICON SB_DESC= Browser for IceCast stream directory SB_CMAKE_BOOL= USE_SB NOTIFIER_DESC= Support to popup notifier NOTIFIER_CMAKE_BOOL= USE_NOTIFIER LYRICS_DESC= Support to show lyrics using lyrics.wikia.com LYRICS_CMAKE_BOOL= USE_LYRICS HOTKEY_DESC= Support global shortcut keys HOTKEY_USE= QT=base XORG=x11 HOTKEY_CMAKE_BOOL= USE_HOTKEY GNOMEHOTKEY_DESC= Support GNOME/Cinnamon shortcut keys GNOMEHOTKEY_USE= QT=base GNOMEHOTKEY_CMAKE_BOOL= USE_GNOMEHOTKEY FILEOPS_DESC= Support file operation FILEOPS_CMAKE_BOOL= USE_FILEOPS COVER_DESC= Support to show cover images COVER_CMAKE_BOOL= USE_COVER KDENOTIFY_DESC= Support to popup notifier for KDE KDENOTIFY_USE= QT=base KDENOTIFY_CMAKE_BOOL= USE_KDENOTIFY TRACKCHANGE_DESC= Enable to run external command each track TRACKCHANGE_CMAKE_BOOL= USE_TRACKCHANGE UDISKS_DESC= Support removable disc detection using UDisks UDISKS_RUN_DEPENDS= bsdisks:sysutils/bsdisks UDISKS_USE= QT=base UDISKS_CMAKE_BOOL= USE_UDISKS QMMP_DIALOG_DESC= An original dialog QMMP_DIALOG_CMAKE_BOOL= USE_QMMP_DIALOG TWOPANELDIALOG_DESC= File dialog by two-panel selector TWOPANELDIALOG_CMAKE_BOOL= USE_TWO_PANEL_DIALOG PLIST_SUB+= SHLIB_VER=${PORTVERSION:C/-.*//} LIB_SUFFX=-${PORTVERSION:R} BIN_SUFFX=-${PORTVERSION:R:R} PATHFIX_CMAKELISTSTXT= \\"CMakeLists.txt -exec grep -l /pkgconfig {} +\\" PORTDOCS= README README.RUS AUTHORS .include .if (${PORT_OPTIONS:MMAD} || ${PORT_OPTIONS:MMPG123}) PLIST_SUB+= MPEG="" .else PLIST_SUB+= MPEG="@comment " .endif post-patch: @${GREP} -L '${LOCALBASE}/lib/oss' \ ${WRKSRC}/src/plugins/Output/oss4/CMakeLists.txt | ${XARGS} \ ${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|' pre-configure: @${RM} ${BUILD_WRKSRC}/CMakeCache.txt post-build-DOXYGEN-on: cd ${WRKSRC}/doc && doxygen Doxyfile post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}; \ cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-DOXYGEN-on: cd ${WRKSRC}/doc/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html @${FIND} -P ${STAGEDIR}${DOCSDIR}/html -type f 2>/dev/null | \ ${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST} .include diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile index 49fff97bdd12..715779f433b8 100644 --- a/net-im/telegram-desktop/Makefile +++ b/net-im/telegram-desktop/Makefile @@ -1,125 +1,126 @@ PORTNAME= telegram-desktop DISTVERSION= 4.8.4 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ DISTNAME= tdesktop-${DISTVERSION}-full DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Telegram Desktop messaging app WWW= https://desktop.telegram.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= does not build, webrtc related BROKEN_SSL= openssl30 openssl31 BROKEN_SSL_REASON= undefined symbol: ERR_load_BIO_strings NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe NOT_FOR_ARCHS_REASON= Only little endian is supported BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ microsoft-gsl>0:devel/microsoft-gsl \ range-v3>0:devel/range-v3 \ tl-expected>0:devel/tl-expected \ v4l_compat>0:multimedia/v4l_compat \ yasm:devel/yasm \ ${LOCALBASE}/lib/libtg_owt.a:net-im/tg_owt LIB_DEPENDS= libabsl_base.so:devel/abseil \ libavformat.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ libdispatch.so:devel/libdispatch \ libfmt.so:devel/libfmt \ libhunspell-1.7.so:textproc/hunspell \ liblz4.so:archivers/liblz4 \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpipewire-0.3.so:multimedia/pipewire \ libprotobuf.so:devel/protobuf \ libqrcodegencpp.so:graphics/qr-code-generator \ librnnoise.so:audio/rnnoise \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxkbcommon.so:x11/libxkbcommon \ libxxhash.so:devel/xxhash \ libvpx.so:multimedia/libvpx FLAVORS= qt5 qt6 FLAVOR?= ${FLAVORS:[1]} qt5_PKGNAMESUFFIX= qt6_PKGNAMESUFFIX= -qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME} USES= cmake desktop-file-utils gl gnome jpeg localbase \ minizip openal pkgconfig python:build ssl xorg USE_CXXSTD= c++17 USE_GITHUB= nodefault GH_ACCOUNT= telegramdesktop GH_PROJECT= tdesktop .if ${FLAVOR} == qt5 USES+= kde:5 qt:5 USE_QT= buildtools:build core dbus gui imageformats network qmake:build \ svg wayland widgets USE_KDE= coreaddons kimageformats .else USES+= qt:6 USE_QT= 5compat base imageformats lottie shadertools svg tools:build wayland .endif USE_GL= gl USE_GNOME= glib20 glibmm26 introspection USE_XORG= x11 xcb xcomposite xdamage xext xfixes xrandr xrender xtst CMAKE_ARGS= -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \ DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION # Since cmake 3.25.0, BSDs are no longer recognised as Linux (in this port). CMAKE_ARGS+= -DLINUX=true # libdispatch components LDFLAGS+= -lBlocksRuntime # Telegram uses OpenAL for its audio, but libtgvoip (for voice calls) can use PulseAudio or ALSA. # It dynamically loads PulseAudio, and if this fails, it loads ALSA. # If both of them are not installed, then voice calls do not work, but other functionalities still work. OPTIONS_DEFINE= SYSTEM_FONTS OPTIONS_DEFAULT= ALSA OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO AUDIO_DESC= Audio backend for voice calls SYSTEM_FONTS_DESC= Use system fonts instead of bundled patched ones ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio ALSA_CMAKE_BOOL_OFF= LIBTGVOIP_DISABLE_ALSA PULSEAUDIO_CMAKE_BOOL_OFF= LIBTGVOIP_DISABLE_PULSEAUDIO SYSTEM_FONTS_CMAKE_BOOL_OFF= DESKTOP_APP_USE_PACKAGED_FONTS # Telegram asks each custom build to have its own API ID and hash. TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d TELEGRAM_API_ID= 601761 .include .if ${OSVERSION} > 1400000 USES+= llvm:build CC= ${_LLVM_MK_PREFIX}/bin/clang CPP= ${_LLVM_MK_PREFIX}/bin/clang-cpp CXX= ${_LLVM_MK_PREFIX}/bin/clang++ #LD?= ${_LLVM_MK_PREFIX}/bin/ld .else USES+= compiler:c++17-lang .endif post-patch: # XXX fix the following on every source file # warning: unknown warning option '-Wno-maybe-uninitialized' # warning: argument unused during compilation: '-fstack-clash-protection' ${REINPLACE_CMD} -e /-Wno-maybe-uninitialized/d -e /-fstack-clash-protection/d \ ${WRKSRC}/cmake/options_linux.cmake .include diff --git a/net/downzemall/Makefile b/net/downzemall/Makefile index 8209afe94659..00c4876b24d7 100644 --- a/net/downzemall/Makefile +++ b/net/downzemall/Makefile @@ -1,40 +1,41 @@ PORTNAME= ${GH_PROJECT:tl} PORTVERSION= 3.0.6 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= net MAINTAINER= danfe@FreeBSD.org COMMENT= Multi-protocol standalone download manager WWW= https://setvisible.github.io/DownZemAll/ LICENSE= LGPL21+ LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar2 USES= cmake qt:6 ssl USE_QT= base USE_GITHUB= yes GH_ACCOUNT= setvisible GH_PROJECT= DownZemAll CMAKE_OFF= BUILD_LAUNCHER BUILD_TESTS PLIST_FILES= bin/DownZemAll \ share/applications/DownZemAll.desktop \ share/pixmaps/DownZemAll.png post-extract: @${RM} -r ${WRKSRC}/3rd/libtorrent-rasterbar @${RM} ${WRKSRC}/cmake/Modules/FindLibtorrentRasterbar.cmake do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/src/DownZemAll \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} \ ${WRKSRC}/installer/unix/appimage/DownZemAll.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} \ ${WRKSRC}/installer/unix/portable/DownZemAll_64x64.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/DownZemAll.png .include diff --git a/net/py-qt6-networkauth/Makefile b/net/py-qt6-networkauth/Makefile index 10c6c2542e38..a04151789f55 100644 --- a/net/py-qt6-networkauth/Makefile +++ b/net/py-qt6-networkauth/Makefile @@ -1,23 +1,23 @@ PORTNAME= networkauth PORTVERSION= ${PYQTNETWORKAUTH_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net devel python MASTER_SITES= ${MASTER_SITES_PYQTNETWORKAUTH} PKGNAMEPREFIX= ${PYQT_PY_RELNAME}- DISTNAME= ${PYQTNETWORKAUTH_DISTNAME} PYQT_DIST= yes MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt6 toolkit, QtNetworkAuth module WWW= https://riverbankcomputing.com/software/pyqt LIB_DEPENDS= libqscintilla2_qt6.so:devel/qscintilla2-qt6 USES= gl pyqt:6 python qt:6 USE_GL= gl USE_PYQT= sip:build pyqt6 qtbuilder USE_PYTHON= concurrent flavors py3kplist USE_QT= base networkauth .include diff --git a/print/pdfmixtool/Makefile b/print/pdfmixtool/Makefile index a5a80cf04ec4..f5e3b38488e9 100644 --- a/print/pdfmixtool/Makefile +++ b/print/pdfmixtool/Makefile @@ -1,41 +1,41 @@ PORTNAME= pdfmixtool DISTVERSION= 1.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print graphics editors PKGNAMESUFFIX= -${FLAVOR} MAINTAINER= dev@submerge.ch COMMENT= Application to split, merge, rotate and mix PDF files WWW= https://www.scarpetta.eu/pdfmixtool/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libqpdf.so:print/qpdf qt6_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers FLAVORS= qt5 qt6 FLAVOR?= ${FLAVORS:[1]} USES= cmake compiler:c++11-lang desktop-file-utils magick pkgconfig .if ${FLAVOR} == qt5 USES+= qt:5 USE_QT= buildtools:build core gui linguisttools:build qmake:build \ svg widgets xml .elif ${FLAVOR} == qt6 USES+= gl qt:6 USE_GL= gl opengl USE_QT= base tools:build svg CMAKE_ARGS+= -DQT_VERSION=6 .endif USE_GITLAB= yes GL_ACCOUNT= scarpetta GL_TAGNAME= 35d482029881d9904c6e7487fe7572a3a5795406 LDFLAGS+= -L${LOCALBASE}/lib CONFLICTS_INSTALL= pdfmixtool-qt5 pdfmixtool-qt6 .include diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile index c86d4c4ee704..11bf509a36cf 100644 --- a/security/gpgme/Makefile +++ b/security/gpgme/Makefile @@ -1,188 +1,188 @@ PORTNAME= gpgme PORTVERSION= 1.21.0 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= security MASTER_SITES= GNUPG/gpgme MAINTAINER= jhale@FreeBSD.org COMMENT?= Library to make access to GnuPG easier WWW= https://www.gnupg.org/related_software/gpgme/ LICENSE?= LGPL21+ LICENSE_FILE?= ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= libassuan.so:security/libassuan \ libgpg-error.so:security/libgpg-error USES= compiler:c11 cpe gmake libtool localbase:ldflags tar:bzip2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CFLAGS+= -Wno-suggest-override -Wno-unknown-warning-option INSTALL_TARGET?=install-strip TEST_TARGET= check CPE_VENDOR= gnu .if !defined(SLAVEPORT) CONFIGURE_ARGS+=--enable-languages="cl" INFO= gpgme PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README THANKS TODO OPTIONS_DEFINE= DOCS TEST UISERVER OPTIONS_SINGLE= GNUPG OPTIONS_SINGLE_GNUPG= GNUPG1 GNUPG2 OPTIONS_DEFAULT= GNUPG2 UISERVER GNUPG1_DESC= Build gpgme library for GnuPG 1.x GNUPG1_BUILD_DEPENDS= gpgv:security/gnupg1 GNUPG1_RUN_DEPENDS= gpgv:security/gnupg1 GNUPG2_DESC= Build gpgme library for GnuPG 2.x GNUPG2_BUILD_DEPENDS= gpg2:security/gnupg GNUPG2_RUN_DEPENDS= gpg2:security/gnupg TEST_CONFIGURE_ENABLE= g13-test gpg-test gpgconf-test gpgsm-test TEST_PREVENTS= GNUPG1 TEST_PREVENTS_MSG= TEST option is mainly designed for use with the GNUPG2 option UISERVER_DESC= GnuPG UI server support UISERVER_CONFIGURE_ENABLE= fd-passing .else LIB_DEPENDS+= libgpgme.so:security/gpgme BUILD_WRKSRC= ${WRKSRC}/lang/${BINDING_NAME} INSTALL_WRKSRC= ${WRKSRC}/lang/${BINDING_NAME} TEST_WRKSRC= ${WRKSRC}/lang/${BINDING_NAME}/tests . if ${SLAVEPORT} != "cpp" && ${SLAVEPORT} != "qt-headers" OPTIONS_DEFINE+= TEST . endif . if ${SLAVEPORT} == "cpp" USES+= compiler:c++11-lib CONFIGURE_ARGS+=--enable-languages="cpp" NO_TEST= yes . endif . if ${SLAVEPORT} == "qt-headers" CONFIGURE_ARGS+=--enable-languages="" ALL_TARGET= all-am INSTALL_TARGET= install-data NO_TEST= yes . endif . if ${SLAVEPORT} == "qt" LIB_DEPENDS+= libgpgmepp.so:security/gpgme-cpp RUN_DEPENDS+= ${LOCALBASE}/include/qgpgme/qgpgme_version.h:security/gpgme-qt-headers FLAVORS= qt5 qt6 FLAVOR?= ${FLAVORS:[1]} qt5_PKGNAMESUFFIX= -qt5 qt6_PKGNAMESUFFIX= -qt6 . if ${FLAVOR:U} == "qt5" USES+= compiler:c++11-lib pkgconfig qt:5 USE_QT= buildtools:build core TEST_USE= QT=testlib:build PLIST_SUB= QT_SUFFIX="" qt_SUFFIX="" . else USES+= compiler:c++17-lang pkgconfig qt:6 USE_QT= base USE_CXXSTD= c++17 PLIST_SUB= QT_SUFFIX="Qt6" qt_SUFFIX="qt6" . endif CONFIGURE_ARGS+=--enable-languages="cpp ${FLAVOR}" DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} OPTIONS_DEFINE+= DOXYGEN DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz . endif . if ${SLAVEPORT} == "python" BUILD_DEPENDS+= swig:devel/swig \ ${PY_SETUPTOOLS} RUN_DEPENDS+= ${PY_SETUPTOOLS} USES+= python USE_PYTHON= flavors CONFIGURE_ARGS+=--enable-languages="python" CONFIGURE_ENV+= BSD_PYTHON="${PYTHON_CMD}" \ BSD_PYTHON_VERSION="${PYTHON_VER}" \ SWIG="${LOCALBASE}/bin/swig" PLIST_SUB+= VERSION=${PORTVERSION} . endif .endif post-patch: .if defined(SLAVEPORT) @${FIND} ${BUILD_WRKSRC} -name "Makefile.in" -type f | ${XARGS} \ ${REINPLACE_CMD} -e 's|../../../src/libgpgme.la|-lgpgme|g' . if ${SLAVEPORT} == "qt" @${FIND} ${BUILD_WRKSRC} -name "Makefile.in" -type f | ${XARGS} \ ${REINPLACE_CMD} -e 's|../../cpp/src/libgpgmepp.la|-lgpgmepp|g' @${REINPLACE_CMD} -e 's|install-exec-am install-data-am|install-exec-am install-data-local|' \ ${WRKSRC}/lang/qt/src/Makefile.in . endif . if ${SLAVEPORT} == "qt-headers" @${REINPLACE_CMD} -e '/^all-am/s|$$(LTLIBRARIES)||' \ -e '/^install-data-am/s|install-data-local||' \ ${WRKSRC}/lang/qt/src/Makefile.in . endif .endif @${REINPLACE_CMD} -e 's|^clfilesdir.*|clfilesdir=$$\(libdir\)/common-lisp/gpgme|g' \ ${WRKSRC}/lang/cl/Makefile.in post-patch-DOXYGEN-off: @${REINPLACE_CMD} -e '/SUBDIRS/s|doc||' \ ${WRKSRC}/lang/qt/Makefile.in post-patch-TEST-off: @${REINPLACE_CMD} -e '/SUBDIRS/s|tests||' \ ${WRKSRC}/lang/python/Makefile.in \ ${WRKSRC}/lang/qt/Makefile.in # The gnupg programs will create sockets for the tests in a temporary directory # under /var/run/user/${UID} if it exists. Otherwise, they will try to create # them in the test build directories. To prevent errors in cases where the test # build directory path length exceeds the socket path length limitation of 104 # characters, the sockets are redirected to a temporary directory. pre-build-TEST-on: @if [ ! -d "/var/run/user/${UID}" ]; then \ SOCKETS="dirmngr gpg-agent gpg-agent.browser gpg-agent.extra gpg-agent.ssh scdaemon uiserver"; \ TESTSUBDIRS="lang/python/tests lang/qt/tests tests/gpg tests/gpgsm"; \ TMPSOCKETDIR=$$(${MKTEMP} -d -t gpgmetest); \ ${ECHO_CMD} "$${TMPSOCKETDIR}" > ${WRKDIR}/.tmpsocketdir; \ trap "${RM} -r $${TMPSOCKETDIR}; exit 1" 1 2 3 5 10 13 15; \ for sock in $${SOCKETS}; do \ for subdir in $${TESTSUBDIRS}; do \ ${PRINTF} "%%Assuan%%\nsocket=$${TMPSOCKETDIR}/S.$${sock}\n" > ${WRKSRC}/$${subdir}/S.$${sock}; \ done; \ done; \ fi post-build-TEST-on: @if [ -f "${WRKDIR}/.tmpsocketdir" ]; then \ ${XARGS} ${RM} -rf < ${WRKDIR}/.tmpsocketdir; \ ${RM} ${WRKDIR}/.tmpsocketdir; \ fi pre-test: pre-build-TEST-on post-test: post-build-TEST-on .if !defined(SLAVEPORT) post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .endif post-install-DOXYGEN-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/html cd ${WRKSRC}/lang/qt/doc/generated/html && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html @${FIND} -P ${STAGEDIR}${DOCSDIR} -type f 2>/dev/null | \ ${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST} .include diff --git a/sysutils/daggy/Makefile b/sysutils/daggy/Makefile index 2fe78e8176dc..54f45e6620ad 100644 --- a/sysutils/daggy/Makefile +++ b/sysutils/daggy/Makefile @@ -1,33 +1,34 @@ PORTNAME= daggy DISTVERSIONPREFIX= v DISTVERSION= 2.1.3 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= yuri@FreeBSD.org COMMENT= Data Aggregation Utility: runs commands on remote hosts simultaneously WWW= https://daggy.dev/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/kainjow/mustache.hpp:devel/mustache LIB_DEPENDS= libbotan-2.so:security/botan2 \ libssh2.so:security/libssh2 \ libyaml-cpp.so:devel/yaml-cpp USES= gl cmake compiler:c++17-lang localbase:ldflags pkgconfig qt:6 ssl USE_QT= base tools:build USE_GL= gl USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= synacker CMAKE_ARGS= -DVERSION=${DISTVERSION} CMAKE_ON= BUILD_SHARED_LIBS CXXFLAGS+= -I${LOCALBASE}/include/kainjow WRKSRC_SUBDIR= src .include diff --git a/textproc/fcitx5-qt/Makefile b/textproc/fcitx5-qt/Makefile index 43253f487674..4ffe764c7d7b 100644 --- a/textproc/fcitx5-qt/Makefile +++ b/textproc/fcitx5-qt/Makefile @@ -1,53 +1,54 @@ PORTNAME= fcitx5-qt DISTVERSION= 5.0.17 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/ MAINTAINER= khng@FreeBSD.org COMMENT?= Fcitx support for Qt (${FLAVOR}) WWW= https://github.com/fcitx/fcitx5-qt LICENSE= BSD3CLAUSE LGPL21+ LICENSE_COMB= multi LICENSE_FILE_LGPL21+ = ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSES/BSD-3-Clause.txt LIB_DEPENDS= libFcitx5Utils.so:textproc/fcitx5 \ libxkbcommon.so:x11/libxkbcommon FLAVORS?= qt5 qt6 FLAVOR?= ${FLAVORS:[1]} qt5_PKGNAMESUFFIX= 5 qt6_PKGNAMESUFFIX= 6 USES= cmake compiler:c++17-lang gettext-tools kde:5 pkgconfig tar:xz \ xorg CMAKE_OFF?= ENABLE_QT4 .if ${FLAVOR} == qt5 USES+= qt:5 USE_QT= concurrent core dbus gui widgets xml buildtools:build \ qmake:build CMAKE_ON= ENABLE_QT5 CMAKE_OFF+= ENABLE_QT6 EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt RUN_DEPENDS= fcitx5-qt-common>=${DISTVERSION}:textproc/fcitx5-qt-common .elif ${FLAVOR} == qt6 USES+= qt:6 USE_QT= base CMAKE_ON= ENABLE_QT6 CMAKE_OFF+= ENABLE_QT5 EXTRA_PATCHES= ${PATCHDIR}/extra-patch-CMakeLists.txt RUN_DEPENDS= fcitx5-qt-common>=${DISTVERSION}:textproc/fcitx5-qt-common .endif PLIST?= ${PKGDIR}/pkg-plist.${FLAVOR} PLIST_SUB= VER=${PORTVERSION} USE_KDE= ecm USE_XORG= x11 xcb USE_LDCONFIG= yes .include diff --git a/www/py-qt6-webengine/Makefile b/www/py-qt6-webengine/Makefile index 2a0d09161840..61a890887251 100644 --- a/www/py-qt6-webengine/Makefile +++ b/www/py-qt6-webengine/Makefile @@ -1,25 +1,25 @@ PORTNAME= webengine DISTVERSION= ${PYQTWEBENGINE_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www devel python MASTER_SITES= ${MASTER_SITES_PYQTWEBENGINE} PKGNAMEPREFIX= ${PYQT_PY_RELNAME}- DISTNAME= ${PYQTWEBENGINE_DISTNAME} PYQT_DIST= yes MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt6 toolkit, QtWebEngine module WWW= https://riverbankcomputing.com/software/pyqt LICENSE= GPLv3 USES= gl python pyqt:6 qt:6 USE_GL= gl USE_PYQT= sip:build pyqt6 USE_PYTHON= concurrent flavors py3kplist USE_QT= base declarative positioning webchannel webengine PLIST_SUB= PYQT_WEBENGINE_VERSION=${DISTVERSION} .include diff --git a/x11-toolkits/py-qt6-chart/Makefile b/x11-toolkits/py-qt6-chart/Makefile index 6f05df3f78d4..0f5dbd2424f1 100644 --- a/x11-toolkits/py-qt6-chart/Makefile +++ b/x11-toolkits/py-qt6-chart/Makefile @@ -1,25 +1,25 @@ PORTNAME= chart PORTVERSION= ${PYQTCHART_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11-toolkits devel python MASTER_SITES= ${MASTER_SITES_PYQTCHART} PKGNAMEPREFIX= ${PYQT_PY_RELNAME}- DISTNAME= ${PYQTCHART_DISTNAME} PYQT_DIST= yes MAINTAINER= kde@FreeBSD.org COMMENT= Python bindings for the Qt6 toolkit, QtChart module WWW= https://riverbankcomputing.com/software/pyqtchart LICENSE= ${PYQT6_LICENSE} LIB_DEPENDS= libqscintilla2_qt6.so:devel/qscintilla2-qt6 USES= gl pyqt:6 python qt:6 USE_GL= gl USE_PYQT= sip:build pyqt6 qtbuilder USE_PYTHON= concurrent flavors py3kplist USE_QT= base charts declarative .include diff --git a/x11-toolkits/qt6pas/Makefile b/x11-toolkits/qt6pas/Makefile index 84f8bcaf5e6a..4a6404e3f0b5 100644 --- a/x11-toolkits/qt6pas/Makefile +++ b/x11-toolkits/qt6pas/Makefile @@ -1,19 +1,20 @@ PORTNAME= qt6pas PORTVERSION= 6.2.6 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= LOCAL/acm/ MAINTAINER= acm@FreeBSD.org COMMENT= Qt6 binding for FreePascal WWW= https://wiki.lazarus.freepascal.org/index.php/Qt6_Interface USES= compiler:c++11-lang qmake qt:6 USE_QT= base:build declarative:build tools:build USE_LDCONFIG= yes QT6_VER_MIN= 6.2.6 post-patch: @${REINPLACE_CMD} -e 's|-mincoming-stack-boundary=2||g' ${WRKSRC}/Qt6Pas.pro .include diff --git a/x11/albert/Makefile b/x11/albert/Makefile index a43e44b0d2a1..5988fa76f039 100644 --- a/x11/albert/Makefile +++ b/x11/albert/Makefile @@ -1,29 +1,29 @@ PORTNAME= albert DISTVERSIONPREFIX=v DISTVERSION= 0.20.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MAINTAINER= jsm@FreeBSD.org COMMENT= Albert a keyboard launcher WWW= https://github.com/albertlauncher/albert LICENSE= GPLv3 BUILD_DEPENDS= pybind11>=2.4.3:devel/pybind11 LIB_DEPENDS= libmuparser.so:math/muparser \ libqalculate.so:math/libqalculate RUN_DEPENDS= play:audio/sox USES= cmake compiler:c++20-lang gl localbase:ldflags pkgconfig python qt:6 xorg USE_GL= gl opengl USE_QT= base declarative scxml svg USE_XORG=x11 xext sm ice USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= albertlauncher GH_TUPLE= albertlauncher:plugins:5a4611e31b41ab3ae638252116c72e2a7050a2cc:plugins/plugins \ albertlauncher:python:6f734c7586c3889796846618fc9d8edb1a1ea386:python/plugins/python/plugins \ skycoder42:QHotkey:34330d6ff5d2ca111c376f6d7da66be9d1817430:QHotkey/lib/QHotkey .include diff --git a/x11/hyprland-share-picker/Makefile b/x11/hyprland-share-picker/Makefile index 180d48f7801c..514482bce816 100644 --- a/x11/hyprland-share-picker/Makefile +++ b/x11/hyprland-share-picker/Makefile @@ -1,33 +1,34 @@ PORTNAME= hyprland-share-picker DISTVERSIONPREFIX= v DISTVERSION= 0.4.0 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Share picker for xdg-desktop-portal-hyprland WWW= https://github.com/hyprwm/xdg-desktop-portal-hyprland LICENSE= MIT LICENSE_FILE= ${WRKSRC:H}/LICENSE FLAVORS= qt5 qt6 USES= compiler:c++11-lib cmake qt:5 USE_GITHUB= yes USE_QT= qmake:build buildtools:build core gui wayland:run widgets GH_ACCOUNT= hyprwm GH_PROJECT= xdg-desktop-portal-hyprland WRKSRC_SUBDIR= ${PORTNAME} LDFLAGS+= -Wl,--as-needed # GL PLIST_FILES= bin/${PORTNAME} .if ${FLAVOR:U} == qt6 PKGNAMESUFFIX= -${FLAVOR} USES:= ${USES:S/qt:5/qt:6/} USE_QT= base wayland:run CONFLICTS_INSTALL= ${PORTNAME} .else CONFLICTS_INSTALL= ${PORTNAME}-qt6 .endif .include