diff --git a/accessibility/speech-dispatcher/Makefile b/accessibility/speech-dispatcher/Makefile index e89604bb54d5..3621dae44795 100644 --- a/accessibility/speech-dispatcher/Makefile +++ b/accessibility/speech-dispatcher/Makefile @@ -1,119 +1,120 @@ PORTNAME= speech-dispatcher DISTVERSION= 0.11.5 +PORTREVISION= 1 CATEGORIES?= accessibility audio MASTER_SITES= https://github.com/brailcom/speechd/releases/download/${PORTVERSION}/ MAINTAINER= multimedia@FreeBSD.org COMMENT?= Common interface to speech synthesis WWW= https://devel.freebsoft.org/speechd LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= help2man:misc/help2man LIB_DEPENDS= libdotconf.so:devel/dotconf \ libltdl.so:devel/libltdl \ libsndfile.so:audio/libsndfile USES= alias gettext gmake gnome libtool makeinfo pathfix pkgconfig USE_GNOME= glib20 intltool GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-espeak-ng=no \ --with-baratinoo=no \ --with-kali=no \ --with-ibmtts=no \ --with-oss \ --without-systemdsystemunitdir CFLAGS+= -fcommon -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes INSTALL_TARGET= install-strip .if !defined(SPEECH_SLAVE) CONFIGURE_ARGS+= --disable-python ETCFILES= clients/emacs.conf modules/cicero.conf modules/dtk-generic.conf \ modules/epos-generic.conf modules/espeak-mbrola-generic.conf \ modules/espeak-ng-mbrola-generic.conf modules/espeak-ng-mbrola.conf \ modules/espeak-ng.conf modules/espeak.conf modules/festival.conf \ modules/flite.conf modules/llia_phon-generic.conf modules/mary-generic.conf \ modules/mimic3-generic.conf modules/swift-generic.conf speechd.conf PORTDOCS= ANNOUNCE AUTHORS FAQ NEWS README* TODO INFO= spd-say speech-dispatcher speech-dispatcher-cs ssip OPTIONS_DEFINE= ALSA AO DOCS ESPEAK FESTIVAL FLITE NAS PULSEAUDIO VOXIN OPTIONS_DEFAULT= ESPEAK PULSEAUDIO OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_WITH= alsa AO_LIB_DEPENDS= libao.so:audio/libao AO_CONFIGURE_WITH= libao ESPEAK_LIB_DEPENDS= libespeak-ng.so:audio/espeak-ng ESPEAK_CONFIGURE_WITH= espeak FESTIVAL_DESC= Festival Speech Synthesis System support FESTIVAL_RUN_DEPENDS= ${LOCALBASE}/share/festival/lib/${PORTNAME}.scm:audio/festival-freebsoft-utils \ festival:audio/festival FLITE_DESC= Flite speech synthesis engine support FLITE_LIB_DEPENDS= libflite.so:audio/flite FLITE_CONFIGURE_WITH= flite NAS_LIB_DEPENDS= libaudio.so:audio/nas NAS_CONFIGURE_WITH= nas PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulse VOXIN_BROKEN= libvoxin not yet ported VOXIN_DESC= Voxin speech synthesis engine support (not yet ported) #VOXIN_LIB_DEPENDS= libvoxin.so:accessibility/libvoxin VOXIN_CONFIGURE_WITH= voxin .include .if ${PORT_OPTIONS:MVOXIN} ETCFILES+= modules/voxin.conf .endif post-patch: # ibmtts.c is omitted, because it is disabled by default .for f in espeak.c ivona.c pico.c ${REINPLACE_CMD} -e 's,/usr/share,${LOCALBASE}/share,g' \ ${WRKSRC}/src/modules/${f} .endfor ${REINPLACE_CMD} -e 's,/etc,${LOCALBASE}/etc,g ;\ s,/usr/bin,${LOCALBASE}/bin,g ;\ s,/usr/share,${LOCALBASE}/share,g' \ ${WRKSRC}/config/modules/*.conf post-install: .for f in ${ETCFILES} @${MV} ${STAGEDIR}${ETCDIR}/${f} ${STAGEDIR}${ETCDIR}/${f}.sample .endfor @${RM} -r ${STAGEDIR}${DATADIR}/conf @${RMDIR} ${STAGEDIR}${DATADIR} || ${TRUE} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .else PORTSCOUT= ignore:1 NO_ARCH= yes USES+= python shebangfix SHEBANG_FILES= src/api/python/speechd_config/spd-conf USE_PYTHON= flavors BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} LIB_DEPENDS+= libspeechd.so:accessibility/speech-dispatcher RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} .endif .include diff --git a/audio/alsa-plugins/Makefile b/audio/alsa-plugins/Makefile index ccd1f945d3b5..152bf5d17698 100644 --- a/audio/alsa-plugins/Makefile +++ b/audio/alsa-plugins/Makefile @@ -1,45 +1,46 @@ PORTNAME= alsa-plugins PORTVERSION= 1.2.12 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://www.alsa-project.org/files/pub/plugins/ MAINTAINER= ports@FreeBSD.org COMMENT= ALSA compatibility library plugins WWW= https://www.alsa-project.org/ LICENSE= LGPL21+ LIB_DEPENDS= libasound.so:audio/alsa-lib USES= alias libtool:keepla localbase pkgconfig tar:bzip2 USE_LDCONFIG= ${PREFIX}/lib/alsa-lib GNU_CONFIGURE= yes MAKE_ARGS+= RM="${RM}" INSTALL_TARGET= install-strip CPPFLAGS+= -I${.CURDIR}/../alsa-lib/files OPTIONS_DEFINE= FFMPEG JACK PULSEAUDIO SAMPLERATE SPEEX OPTIONS_SUB= yes FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CONFIGURE_ENABLE= libav JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_CONFIGURE_ENABLE= samplerate SPEEX_LIB_DEPENDS= libspeexdsp.so:audio/speexdsp SPEEX_CONFIGURE_ON= --with-speex=lib SPEEX_CONFIGURE_OFF= --without-speex post-install: # sanitize links cd ${STAGEDIR}${PREFIX}/etc/alsa/conf.d && for i in [0-9][0-9]-*.conf ; do \ ${LN} -sf ../../../share/alsa/alsa.conf.d/$$i . ; done .include diff --git a/audio/aqualung/Makefile b/audio/aqualung/Makefile index 962bd01d1d5e..c50daa633a09 100644 --- a/audio/aqualung/Makefile +++ b/audio/aqualung/Makefile @@ -1,68 +1,68 @@ PORTNAME= aqualung DISTVERSION= 1.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MAINTAINER= portmaster@BSDforge.com COMMENT= Music player with rich features WWW= https://aqualung.jeremyevans.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libFLAC.so:audio/flac \ libmp3lame.so:audio/lame \ libmad.so:audio/libmad \ libmodplug.so:audio/libmodplug \ libogg.so:audio/libogg \ liboggz.so:audio/liboggz \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis \ libmac.so:audio/mac \ libspeex.so:audio/speex \ libwavpack.so:audio/wavpack \ libavcodec.so:multimedia/ffmpeg \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libcdio.so:sysutils/libcdio \ libcdio_paranoia.so:sysutils/libcdio-paranoia \ liblrdf.so:textproc/liblrdf \ libfontconfig.so:x11-fonts/fontconfig USES= autoreconf compiler:c++11-lang cpe gettext gnome localbase lua:52 pkgconfig USE_GNOME= cairo gdkpixbuf2 gtk20 libxml2 libxslt USE_GITHUB= yes GH_ACCOUNT= jeremyevans GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-cddb=no \ --with-ifp=no \ --with-mpc=no DESKTOP_ENTRIES="Aqualung" "" "${DATADIR}/general.png" "aqualung" \ "Audio;AudioVideo;GTK;" "" OPTIONS_DEFINE= ALSA DOCS JACK PULSEAUDIO SNDIO ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-alsa=yes ALSA_CONFIGURE_OFF= --with-alsa=no JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ON= --with-jack=yes JACK_CONFIGURE_OFF= --with-jack=no PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ON= --with-pulse=yes PULSEAUDIO_CONFIGURE_OFF= --with-pulse=no SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ON= --with-sndio=yes SNDIO_CONFIGURE_OFF= --with-sndio=no post-patch: # Remove unused duplicate global symbols (-fno-common) @${REINPLACE_CMD} -E '/^g?char command/d' \ ${WRKSRC}/src/gui_main.c .include diff --git a/audio/bambootracker/Makefile b/audio/bambootracker/Makefile index 8440a4a80ee9..c00c110072f8 100644 --- a/audio/bambootracker/Makefile +++ b/audio/bambootracker/Makefile @@ -1,73 +1,74 @@ PORTNAME= bambootracker DISTVERSIONPREFIX= v DISTVERSION= 0.6.4 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://github.com/BambooTracker/BambooTracker/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ DISTNAME= BambooTracker-src-${DISTVERSIONPREFIX}${DISTVERSION} MAINTAINER= ehaupt@FreeBSD.org COMMENT= Music tracker for the Yamaha YM2608 (OPNA) sound chip WWW= https://github.com/rerrahkr/BambooTracker LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= librtaudio.so:audio/rtaudio \ librtmidi.so:audio/rtmidi USES= compiler:c++14-lang desktop-file-utils gl qmake qt:5 \ shared-mime-info xorg USE_GL= gl USE_QT= buildtools core gui multimedia network widgets \ linguisttools:build # Required since: # https://github.com/BambooTracker/BambooTracker/pull/509 QMAKE_ARGS+= CONFIG+="no_warnings_are_errors" DATADIR= ${PREFIX}/share/BambooTracker DOCSDIR= ${PREFIX}/share/doc/BambooTracker EXAMPLESDIR= ${PREFIX}/share/examples/BambooTracker WRKSRC= ${WRKDIR}/BambooTracker-src-${DISTVERSIONPREFIX}${DISTVERSION} OPTIONS_DEFINE= ALSA EXAMPLES JACK NLS PULSEAUDIO OPTIONS_DEFAULT= PULSEAUDIO OPTIONS_SUB= yes ALSA_DESC= ALSA audio architecture support (EXPERIMENTAL) JACK_DESC= JACK audio server support (EXPERIMENTAL) ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib JACK_LIB_DEPENDS= libjack.so:audio/jack PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio .include .if ${PORT_OPTIONS:MALSA} QMAKE_ARGS+= CONFIG+="use_alsa" .endif .if ${PORT_OPTIONS:MJACK} QMAKE_ARGS+= CONFIG+="jack_has_rename" CONFIG+="use_jack" .endif .if ${PORT_OPTIONS:MPULSEAUDIO} QMAKE_ARGS+= CONFIG+="use_pulse" .endif post-install: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${PREFIX}/share/man/man1 ${MV} ${STAGEDIR}${PREFIX}/share/BambooTracker/demos/* ${STAGEDIR}${EXAMPLESDIR}/ ${MV} ${STAGEDIR}${PREFIX}/share/man/en/man1/BambooTracker.1 ${STAGEDIR}${PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${PREFIX}/share/BambooTracker/demos ${RMDIR} ${STAGEDIR}${PREFIX}/share/man/en/man1 ${RMDIR} ${STAGEDIR}${PREFIX}/share/man/en # maintainer targets try-latest: clean extract @${RM} -rf ${WRKSRC} @git clone --recurse-submodules https://github.com/BambooTracker/BambooTracker.git ${WRKSRC} .include diff --git a/audio/cava/Makefile b/audio/cava/Makefile index f50b5fb93537..c4722cbffdc5 100644 --- a/audio/cava/Makefile +++ b/audio/cava/Makefile @@ -1,89 +1,90 @@ PORTNAME= cava DISTVERSION= 0.10.2 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= vendion@gmail.com COMMENT= Cross-platform Audio Visualizer WWW= https://github.com/karlstav/cava LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfftw3.so:math/fftw3 \ libiniparser.so:devel/iniparser USES= autoreconf compiler:c11 libtool localbase pkgconfig USE_GITHUB= yes GH_ACCOUNT= karlstav GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-input-alsa \ --disable-input-pipewire PLIST_FILES= bin/cava PORTDOCS= README.md PORTEXAMPLES= config SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS EXAMPLES VT OPTIONS_DEFAULT= GLSL JACK NCURSES OSS PORTAUDIO PULSEAUDIO SDL SNDIO VT OPTIONS_GROUP= INPUT OUTPUT OPTIONS_GROUP_INPUT= JACK OSS PORTAUDIO PULSEAUDIO SNDIO OPTIONS_GROUP_OUTPUT= GLSL NCURSES SDL GLSL_DESC= Build with GLSL support (implies ${GLSL_IMPLIES}) GLSL_BUILD_DEPENDS= ${LOCALBASE}/share/aclocal/ax_check_gl.m4:devel/autoconf-archive GLSL_USES= gl GLSL_USE= GL=gl GLSL_CONFIGURE_ENABLE= output-sdl-glsl GLSL_IMPLIES= SDL JACK_DESC= Build with JACK support JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= input-jack NCURSES_DESC= Build with ncurses support NCURSES_USES= ncurses NCURSES_CONFIGURE_ENABLE= output-ncurses OSS_DESC= Build with OSS support OSS_CONFIGURE_ENABLE= input-oss PORTAUDIO_DESC= Build with portaudio support PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CONFIGURE_ENABLE= input-portaudio PULSEAUDIO_DESC= Build with pulseaudio support PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio \ libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= input-pulse SDL_DESC= Build with SDL support SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_ENABLE= output-sdl SNDIO_DESC= Build with sndio support SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= input-sndio VT_DESC= Build and install custom font for vt(4) VT_BUILD_DEPENDS= psf2bdf:x11-fonts/psftools VT_CONFIGURE_ENABLE= cava-font VT_PLIST_FILES= ${DATADIR}/cava.fnt CPPFLAGS+= -I${PREFIX}/include/iniparser pre-configure: ${ECHO_CMD} ${DISTVERSION} > ${WRKSRC}/version post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/example_files/config ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/audio/cli-visualizer/Makefile b/audio/cli-visualizer/Makefile index 7dfae36db4d5..f9e04b4e26c2 100644 --- a/audio/cli-visualizer/Makefile +++ b/audio/cli-visualizer/Makefile @@ -1,24 +1,24 @@ PORTNAME= cli-visualizer DISTVERSIONPREFIX= v DISTVERSION= 1.8-27 DISTVERSIONSUFFIX= -g4fc1552 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= CLI based audio visualizer WWW= https://github.com/dpayne/cli-visualizer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libfftw3.so:math/fftw3 \ libpulse.so:audio/pulseaudio USES= cmake compiler:c++14-lang localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= dpayne PLIST_FILES= bin/vis .include diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile index f2de9ac381e0..90ecb1428afd 100644 --- a/audio/cmus/Makefile +++ b/audio/cmus/Makefile @@ -1,160 +1,161 @@ PORTNAME= cmus DISTVERSIONPREFIX= v DISTVERSION= 2.12.0 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= eduardo@FreeBSD.org COMMENT= Console-based music player with really cool features WWW= https://cmus.github.io/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c11 cpe gmake iconv ncurses pkgconfig USE_GITHUB= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= prefix=${PREFIX} mandir=${PREFIX}/share/man \ exampledir=${EXAMPLESDIR} # So the build does not use gcc for compiling ttman CONFIGURE_ARGS+= HOSTCC=${CC} # Verbose build makes it easier to spot problems MAKE_ARGS= ICONV_CFLAGS="-I${ICONV_INCLUDE_PATH}" \ ICONV_LIBS="-L${ICONV_PREFIX}/lib ${ICONV_LIB}" \ V=2 # Disable all configure options first. These will be overwritten by # enabled port options later. The args to cmus' configure script # follow shell value semantics i.e. later assignments overwrite # previous assignments. The options here appear in the same order as # ${WRKSRC}/configure --help. Please keep it that way. _CMUS_CONFIGURE_OPTS= AAC ALSA AO ARTS CDDB CDIO COREAUDIO CUE DISCID \ FFMPEG FLAC JACK MAD MIKMOD BASS MODPLUG MP4 MPC MPRIS OPUS OSS \ PULSE ROAR SAMPLERATE SNDIO SUN TREMOR VORBIS VTX WAVEOUT \ WAVPACK WAV .for opt in ${_CMUS_CONFIGURE_OPTS} CONFIGURE_ARGS+= CONFIG_${opt}=n .endfor # AAC, FLAC, MP4, OPUS, VORBIS and WAV handled by FFMPEG # MPRIS (BASU) error: https://github.com/cmus/cmus/issues/1124 # https://github.com/cmus/cmus/issues/609 OPTIONS_DEFINE= BASU EXAMPLES OPTIONS_DEFAULT= BASU FFMPEG MODPLUG OSS SNDIO OPTIONS_SUB= yes OPTIONS_GROUP= OUT IN OPTIONS_GROUP_OUT= AO JACK OSS PULSEAUDIO SNDIO OPTIONS_GROUP_IN= AAC CDIO CUE DISCID FFMPEG FLAC MAD MIKMOD \ MODPLUG MP4 OPUS SAMPLERATE TREMOR \ VORBIS WAV WAVPACK BASU_DESC= MPRIS protocol support via basu DISCID_DESC= libdiscid CDDA identification support IN_DESC= Input plugins OUT_DESC= Output plugins AAC_CONFIGURE_ON= CONFIG_AAC=y AAC_LIB_DEPENDS= libfaad.so:audio/faad AO_CONFIGURE_ON= CONFIG_AO=y AO_LIB_DEPENDS= libao.so:audio/libao BASU_CONFIGURE_ON= CONFIG_MPRIS=y BASU_LIB_DEPENDS= libbasu.so:devel/basu CDIO_CONFIGURE_ON= CONFIG_CDIO=y CDIO_LIB_DEPENDS= libcdio_cdda.so:sysutils/libcdio-paranoia \ libcdio.so:sysutils/libcdio CUE_CONFIGURE_ON= CONFIG_CUE=y CUE_LIB_DEPENDS= libcue.so:textproc/libcue DISCID_CONFIGURE_ON= CONFIG_DISCID=y DISCID_LIB_DEPENDS= libdiscid.so:audio/libdiscid FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CONFIGURE_ON= CONFIG_FFMPEG=y FLAC_CONFIGURE_ON= CONFIG_FLAC=y FLAC_LIB_DEPENDS= libFLAC.so:audio/flac JACK_CONFIGURE_ON= CONFIG_JACK=y JACK_LIB_DEPENDS= libjack.so:audio/jack MAD_CONFIGURE_ON= CONFIG_MAD=y MAD_LIB_DEPENDS= libmad.so:audio/libmad MIKMOD_CONFIGURE_ON= CONFIG_MIKMOD=y MIKMOD_LIB_DEPENDS= libmikmod.so:audio/libmikmod MODPLUG_CONFIGURE_ON= CONFIG_MODPLUG=y MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MP4_CONFIGURE_ON= CONFIG_MP4=y MP4_LIB_DEPENDS= libfaad.so:audio/faad \ libmp4v2.so:multimedia/mp4v2 OPUS_CONFIGURE_ON= CONFIG_OPUS=y OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile OSS_CONFIGURE_ON= CONFIG_OSS=y PULSEAUDIO_CONFIGURE_ON= CONFIG_PULSE=y PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio # Requires a port of RoarAudio #ROAR_CONFIGURE_ON= CONFIG_ROAR=y #ROAR_LIB_DEPENDS= ????:???? SAMPLERATE_IMPLIES= JACK SAMPLERATE_CONFIGURE_ON= CONFIG_SAMPLERATE=y SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SNDIO_CONFIGURE_ON= CONFIG_SNDIO=y SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio TREMOR_IMPLIES= VORBIS TREMOR_CONFIGURE_ON= CONFIG_TREMOR=y TREMOR_LIB_DEPENDS= libvorbisidec.so:audio/libtremor VORBIS_CONFIGURE_ON= CONFIG_VORBIS=y VORBIS_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis # VTX requires libayemu which isn't ported yet #VTX_CONFIGURE_ON= CONFIG_VTX=y #VTX_LIB_DEPENDS= libayemu.so:????? WAV_CONFIGURE_ON= CONFIG_WAV=y WAVPACK_CONFIGURE_ON= CONFIG_WAVPACK=y WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack post-patch: # Doc/cmus.txt is used to generate the man pages. Fix paths to point # to the correct directories. @${REINPLACE_CMD} \ -e 's,/usr/share/doc/cmus/examples,${EXAMPLESDIR},g' \ -e 's,/usr/share/cmus,${DATADIR},g' \ ${WRKSRC}/Doc/cmus.txt post-configure: # Prevent passing wrong flags from devel/ncurses' pkg-config file to the build @${REINPLACE_CMD} -e 's|-D_POSIX_C_SOURCE=200112L||g; s|-D_XOPEN_SOURCE=600||g' \ ${WRKSRC}/config.mk post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cmus* @${FIND} ${STAGEDIR}${PREFIX}/lib -path '${STAGEDIR}${PREFIX}/lib/cmus/*' \ -name '*.so*' -exec ${STRIP_CMD} {} + # Install bash and zsh completion files ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/contrib/cmus.bash-completion \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/_cmus.bash ${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/contrib/_cmus \ ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_cmus .include diff --git a/audio/deadbeef/Makefile b/audio/deadbeef/Makefile index b6bb8200bd8b..02b067f7cbbf 100644 --- a/audio/deadbeef/Makefile +++ b/audio/deadbeef/Makefile @@ -1,240 +1,240 @@ PORTNAME= deadbeef PORTVERSION= 0.7.2 -PORTREVISION= 28 +PORTREVISION= 29 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/Archive MAINTAINER= danfe@FreeBSD.org COMMENT= Ultimate music player for Unix-like systems WWW= https://deadbeef.sourceforge.io/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual GNU_CONFIGURE= yes USES= compiler:c11 desktop-file-utils gettext gmake gnome iconv \ libtool pkgconfig shebangfix tar:bzip2 USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-alsa --disable-nullout --disable-static CPPFLAGS+= -I../dumb/dumb-kode54/include -I../../plugins/libmp4ff \ -I../../plugins/gme/game-music-emu-0.6pre \ -I./sidplay-libs/libsidplay/include/sidplay \ -I${LOCALBASE}/include CFLAGS+= -Wno-narrowing LDFLAGS_i386= -Wl,-z,notext LIBS+= -L${LOCALBASE}/lib -lexecinfo -lintl USE_GNOME= intltool SHEBANG_FILES= yasmwrapper.sh INSTALL_TARGET= install-strip OPTIONS_DEFINE= PULSEAUDIO GUI VFS LASTFM ART SUPEREQ SID FFAP VTX \ HOTKEYS OGG FFMPEG FLAC SNDFILE WAVPACK CDDA GME DUMB NOTIFY \ MUSEPACK WILDMIDI TTA DCA AAC MMS SHN SHELLEXEC NLS M3U \ PSF ADPLUG DSP MONO2STEREO CONVERTER VFS_ZIP ALAC PLTBROWSER \ WMA SC68 OPTIONS_DEFAULT=MAD GTK2 VFS LASTFM ART SUPEREQ SID FFAP VTX HOSTKEYS \ OGG FLAC SNDFILE WAVPACK GME DUMB NOTIFY MUSEPACK \ WILDMIDI TTA DCA AAC MMS SHN SHELLEXEC M3U PSF ADPLUG DSP \ MONO2STEREO CONVERTER VFS_ZIP HOTKEYS ALAC PLTBROWSER WMA SC68 PULSEAUDIO_DESC= PulseAudio output plugin (unsupported) GUI_DESC= Standard GUI plugin VFS_DESC= HTTP streaming VFS plugin LASTFM_DESC= Last.fm/Libre.fm scrobbler plugin ART_DESC= Cover artwork loader plugin SUPEREQ_DESC= SuperEQ DSP plugin (equalizer) SID_DESC= Commodore 64 SID music player plugin FFAP_DESC= ${APE_DESC} VTX_DESC= VTX ZX-Spectrum music player plugin ADPLUG_DESC= AdPlug audio format (OPL2/OPL3) support HOTKEYS_DESC= Local and global hotkeys support GME_DESC= Chiptune music support (based on GME) DUMB_DESC= D.U.M.B. plugin for MOD, S3M, etc. NOTIFY_DESC= OSD notification support in GTKUI plugin WILDMIDI_DESC= WildMIDI synthesizer plugin SC68_DESC= sc68 Atari ST And Amiga player SHN_DESC= Shorten waveform encoder support SHELLEXEC_DESC= Shell commands execution plugin M3U_DESC= M3U and PLS playlist format support PSF_DESC= AOSDK-based PSF(,QSF,SSF,DSF) plugin DSP_DESC= High-quality sample rate conversion support MONO2STEREO_DESC= Mono to stereo converter DSP plugin CONVERTER_DESC= Plugin for converting files from/to any formats VFS_ZIP_DESC= Play files directly from ZIP archives PLTBROWSER_DESC= Playlist browser GUI plugin OPTIONS_SUB= yes OPTIONS_RADIO+= GUI OPTIONS_RADIO_GUI= GTK2 GTK3 GUI_IMPLIES= CONVERTER OPTIONS_GROUP+= MP3 OPTIONS_GROUP_MP3= MAD MPG123 MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CONFIGURE_OFF= --disable-libmad MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 MPG123_CONFIGURE_OFF= --disable-libmpg123 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse GTK2_USE= gnome=gtk20,glib20 GTK2_CONFIGURE_OFF= --disable-gtk2 GTK2_CONFIGURE_ON= --enable-gtk2 GTK2_VARS= GTK_VER=2 GTK2_IMPLIES= GUI GTK3_USE= gnome=gtk30 GTK3_CONFIGURE_OFF= --disable-gtk3 GTK3_CONFIGURE_ON= --enable-gtk3 GTK3_VARS= GTK_VER=3 GTK3_IMPLIES= GUI PLIST_SUB+= GTK_VER=${GTK_VER} GUI_CONFIGURE_OFF= --disable-gtk2 --disable-gtk3 GUI_LIB_DEPENDS= libjansson.so:devel/jansson VFS_LIB_DEPENDS= libcurl.so:ftp/curl VFS_CONFIGURE_OFF= --disable-vfs-curl LASTFM_LIB_DEPENDS= libcurl.so:ftp/curl LASTFM_CONFIGURE_OFF= --disable-lfm ART_LIB_DEPENDS= libcurl.so:ftp/curl \ libImlib2.so:graphics/imlib2 ART_USES= jpeg ART_CONFIGURE_OFF= --disable-artwork --disable-artwork-imlib2 ART_IMPLIES= VFS SUPEREQ_CONFIGURE_OFF= --disable-supereq SID_CONFIGURE_OFF= --disable-sid FFAP_BUILD_DEPENDS= yasm:devel/yasm FFAP_CONFIGURE_OFF= --disable-ffap VTX_CONFIGURE_OFF= --disable-vtx ADPLUG_CONFIGURE_OFF= --disable-adplug HOTKEYS_CONFIGURE_OFF= --disable-hotkeys OGG_LIB_DEPENDS= libvorbis.so:audio/libvorbis OGG_CONFIGURE_OFF= --disable-vorbis FFMPEG_BROKEN= fails to compile FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg FFMPEG_CONFIGURE_ENABLE= ffmpeg FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_OFF= --disable-flac SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CONFIGURE_OFF= --disable-sndfile WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_OFF= --disable-wavpack CDDA_LIB_DEPENDS= libcdio.so:sysutils/libcdio \ libcddb.so:audio/libcddb CDDA_CONFIGURE_OFF= --disable-cdda GME_CONFIGURE_OFF= --disable-gme DUMB_CONFIGURE_OFF= --disable-dumb NOTIFY_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib NOTIFY_CONFIGURE_OFF= --disable-notify MUSEPACK_CONFIGURE_OFF= --disable-musepack WILDMIDI_RUN_DEPENDS= ${LOCALBASE}/share/freepats/crude.cfg:audio/freepats WILDMIDI_CONFIGURE_OFF= --disable-wildmidi TTA_CONFIGURE_OFF= --disable-tta DCA_CONFIGURE_OFF= --disable-dca AAC_LIB_DEPENDS= libfaad.so:audio/faad AAC_CONFIGURE_OFF= --disable-aac MMS_CONFIGURE_OFF= --disable-mms SC68_CONFIGURE_ON= --enable-sc68 SC68_CONFIGURE_OFF= --disable-sc68 SHN_CONFIGURE_OFF= --disable-shn SHELLEXEC_CONFIGURE_OFF= --disable-shellexec NLS_CONFIGURE_OFF= --disable-nls M3U_CONFIGURE_OFF= --disable-m3u PSF_CONFIGURE_OFF= --disable-psf DSP_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate DSP_CONFIGURE_OFF= --disable-src MONO2STEREO_CONFIGURE_OFF= --disable-mono2stereo CONVERTER_CONFIGURE_OFF= --disable-converter VFS_ZIP_LIB_DEPENDS= libzip.so:archivers/libzip VFS_ZIP_CONFIGURE_OFF= --disable-vfs-zip ALAC_CONFIGURE_OFF= --disable-alac PLTBROWSER_CONFIGURE_OFF= --disable-pltbrowser WMA_CONFIGURE_OFF= --disable-wma .include .if !${PORT_OPTIONS:MGTK2} && !${PORT_OPTIONS:MGTK3} PORT_OPTIONS:= ${PORT_OPTIONS:NGUI} .endif .if !${PORT_OPTIONS:MMAD} && !${PORT_OPTIONS:MMPG123} CONFIGURE_ARGS+= --disable-mp3 PLIST_SUB+= MP3="@comment " .else PLIST_SUB+= MP3="" .endif .if ${PORT_OPTIONS:MCDDA} DEPRECATED= CDDA depends on expired audio/libcddb .endif post-patch: @${REINPLACE_CMD} -e 's,register ,,' \ ${WRKSRC}/plugins/adplug/adplug/rix.cpp \ ${WRKSRC}/plugins/adplug/libbinio/binio.cpp # Do not link to libsupc++ which may be PIC-unsafe (breaks 64-bit arches) @${REINPLACE_CMD} -e 's, -lsupc++,,' \ ${WRKSRC}/plugins/adplug/Makefile.in \ ${WRKSRC}/plugins/gme/Makefile.in \ ${WRKSRC}/plugins/sid/Makefile.in \ ${WRKSRC}/plugins/supereq/Makefile.in @${REINPLACE_CMD} -e 's,/etc/timidity++/timidity-freepats.cfg:/etc/timidity/freepats.cfg:/etc/timidity/,${LOCALBASE}/share/,' \ ${WRKSRC}/plugins/wildmidi/wildmidiplug.c # Clang accepts `-msse2' command line option even on !x86, need better check @${REINPLACE_CMD} -e '25177s,^,#include ,' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e '/chnresolv/s,const char,signed &,' \ ${WRKSRC}/plugins/adplug/adplug/s3m.cpp \ ${WRKSRC}/plugins/adplug/adplug/s3m.h @${REINPLACE_CMD} -e "/sampleConvertTable/s,int8_t,u&, ; \ 86,+1 { s,',,g; s,\\\\x,0x,g; }" \ ${WRKSRC}/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.cpp \ ${WRKSRC}/plugins/sid/sidplay-libs/libsidplay/src/xsid/xsid.h # Fix build with libzip-1.0 @${REINPLACE_CMD} 's,zip_file_t,zip_file_DB,g' \ ${WRKSRC}/plugins/vfs_zip/vfs_zip.c .include diff --git a/audio/dragonfly-reverb-lv2/Makefile b/audio/dragonfly-reverb-lv2/Makefile index 53bf05adfeac..460125bcf04e 100644 --- a/audio/dragonfly-reverb-lv2/Makefile +++ b/audio/dragonfly-reverb-lv2/Makefile @@ -1,63 +1,63 @@ PORTNAME= dragonfly-reverb DISTVERSION= 3.2.10 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Bundle of free audio effects WWW= https://github.com/michaelwillis/dragonfly-reverb LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 \ bash:shells/bash LIB_DEPENDS= libdbus-1.so:devel/dbus \ libpulse.so:audio/pulseaudio USES= compiler:c++11-lang gl gmake localbase pkgconfig shebangfix xorg USE_GL= gl USE_XORG= x11 xext xrandr USE_GITHUB= yes GH_ACCOUNT= michaelwillis GH_TUPLE= DISTRHO:DPF:63dfb76:DISTRHO_DPF/dpf \ DISTRHO:pugl:844528e:DISTRHO_DPF_pugl/dpf/dgl/src/pugl-upstream SHEBANG_FILES= dpf/utils/generate-ttl.sh MAKE_ARGS= LINUX=true # it fails to set it for BSD for some reason even though the code seems to intend to do this CXXFLAGS+= -I${FILESDIR} EFFECTS= DragonflyEarlyReflections DragonflyHallReverb DragonflyPlateReverb DragonflyRoomReverb OPTIONS_DEFINE= APPS VST OPTIONS_DEFAULT= APPS VST OPTIONS_SUB= yes APPS_DESC= Install apps instantiating effects in Jack sound server APPS_LIB_DEPENDS= libjack.so:audio/jack VST_DESC= Install VST plugins # project doesn't have the install target: https://github.com/michaelwillis/dragonfly-reverb/issues/80 do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/lv2 .for r in ${EFFECTS} cd ${WRKSRC}/bin && ${COPYTREE_SHARE} ${r}.lv2 ${STAGEDIR}${PREFIX}/lib/lv2 .endfor do-install-APPS-on: .for r in ${EFFECTS} ${INSTALL_PROGRAM} ${WRKSRC}/bin/${r} ${STAGEDIR}${PREFIX}/bin .endfor do-install-VST-on: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst .for r in ${EFFECTS} ${INSTALL_LIB} ${WRKSRC}/bin/${r}-vst.so ${STAGEDIR}${PREFIX}/lib/vst .endfor .include diff --git a/audio/drumstick/Makefile b/audio/drumstick/Makefile index 2313eac97174..9f91734aa548 100644 --- a/audio/drumstick/Makefile +++ b/audio/drumstick/Makefile @@ -1,53 +1,54 @@ PORTNAME= drumstick DISTVERSION= 2.9.1 +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++17-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/fluidsynth/Makefile b/audio/fluidsynth/Makefile index 8065e0bdb0ae..2ba96ab5ccb1 100644 --- a/audio/fluidsynth/Makefile +++ b/audio/fluidsynth/Makefile @@ -1,76 +1,77 @@ PORTNAME= fluidsynth DISTVERSIONPREFIX= v DISTVERSION= 2.4.0 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= multimedia@FreeBSD.org COMMENT= Real-time software synthesizer based on the SoundFont 2 specifications WWW= https://www.fluidsynth.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake cpe gnome pathfix pkgconfig USE_GITHUB= yes GH_ACCOUNT= FluidSynth USE_GNOME= glib20 USE_LDCONFIG= yes LDFLAGS+= -lpthread # would require unreleased libinstpatch >= 1.1.0 CMAKE_OFF= CMAKE_DISABLE_FIND_PACKAGE_Doxygen \ enable-dsound \ enable-libinstpatch \ enable-midishare \ enable-waveout \ enable-winmidi OPTIONS_DEFINE= ALSA DBUS JACK LADSPA PIPEWIRE PORTAUDIO \ PULSEAUDIO READLINE SDL SNDFILE OPTIONS_DEFAULT= JACK READLINE SNDFILE_DESC= Support for SF3 files via libsndfile ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= enable-alsa ALSA_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_ALSA:BOOL=True DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_BOOL= enable-dbus DBUS_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_DBus1:BOOL=True JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= enable-jack JACK_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Jack:BOOL=True LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LADSPA_RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LADSPA_USES= localbase LADSPA_CMAKE_BOOL= enable-ladspa PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= enable-pipewire PIPEWIRE_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PipeWire:BOOL=True PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_BOOL= enable-portaudio PORTAUDIO_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PortAudio:BOOL=True PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= enable-pulseaudio PULSEAUDIO_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:BOOL=True READLINE_USES= readline READLINE_CMAKE_BOOL= enable-readline READLINE_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Readline:BOOL=True SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CMAKE_BOOL= enable-sdl2 SDL_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_SDL2:BOOL=True SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CMAKE_BOOL= enable-libsndfile .include diff --git a/audio/ft2-clone/Makefile b/audio/ft2-clone/Makefile index 1637698fb918..6b087a78a1ee 100644 --- a/audio/ft2-clone/Makefile +++ b/audio/ft2-clone/Makefile @@ -1,57 +1,58 @@ PORTNAME= ft2-clone DISTVERSIONPREFIX= v DISTVERSION= 1.88 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= ehaupt@FreeBSD.org COMMENT= Fasttracker II clone WWW= https://github.com/8bitbubsy/ft2-clone LICENSE= BSD3CLAUSE CC-BY-NC-SA-4.0 LICENSE_COMB= multi LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/src/LICENSE.txt LICENSE_FILE_CC-BY-NC-SA-4.0= ${WRKSRC}/src/gfxdata/bmp/LICENSE.txt USES= cmake compiler dos2unix iconv:wchar_t localbase:ldflags sdl USE_GITHUB= yes GH_ACCOUNT= 8bitbubsy USE_SDL= sdl2 CFLAGS_i386+= -msse2 LDFLAGS+= -lSDL2 -lpthread -lstdc++ -lm -liconv DESKTOP_ENTRIES= "FastTracker II Clone" \ "${COMMENT}" \ "${PREFIX}/share/pixmaps/ft2-clone.ico" \ "ft2-clone" \ "" \ false PLIST_FILES= bin/ft2-clone \ share/pixmaps/ft2-clone.ico OPTIONS_DEFINE= ALSA PULSEAUDIO OPTIONS_DEFAULT= ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CFLAGS+= -D__LINUX_ALSA__ ALSA_LDFLAGS+= -lasound PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_LDFLAGS+= -lpulse .include # clang reports: # error: invalid argument '-std=c99' not allowed with 'C++' .if ${CHOSEN_COMPILER_TYPE} == gcc USE_CSTD= c99 .endif post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/src/gfxdata/icon/ft2-clone.ico \ ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/audio/gbsplay/Makefile b/audio/gbsplay/Makefile index d6ac436abaa8..309dbd059d77 100644 --- a/audio/gbsplay/Makefile +++ b/audio/gbsplay/Makefile @@ -1,67 +1,68 @@ PORTNAME= gbsplay DISTVERSION= 0.0.97 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= audio MAINTAINER= ehaupt@FreeBSD.org COMMENT= Emulates the sound hardware of the Nintendo Game Boy(TM) WWW= https://github.com/mmitch/gbsplay LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYRIGHT BUILD_DEPENDS= bash:shells/bash USES= compiler:c++11-lib desktop-file-utils gmake localbase:ldflags \ shared-mime-info USE_CSTD= gnu89 USE_GITHUB= yes GH_ACCOUNT= mmitch HAS_CONFIGURE= yes CONFIGURE_ARGS= --disable-pipewire \ --mandir=${PREFIX}/share/man \ --prefix=${PREFIX} \ --sysconfdir=${PREFIX}/etc MAKE_ENV+= EXAMPLESDIR="${STAGEDIR}${EXAMPLESDIR}" CONFLICTS_INSTALL= mate-control-center # share/applications/mimeinfo.cache OPTIONS_DEFINE= ALSA BASH_COMPLETIONS DOCS EXAMPLES NAS NLS PULSEAUDIO \ SDL OPTIONS_DEFAULT= BASH_COMPLETIONS OPTIONS_SUB= yes BASH_COMPLETIONS_DESC= Install bash completions ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa NAS_LIB_DEPENDS= libaudio.so:audio/nas NAS_CONFIGURE_ENABLE= nas NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-i18n NLS_LDFLAGS= -lintl PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse SDL_USES= sdl2 SDL_CONFIGURE_OFF= --disable-sdl post-patch: @${REINPLACE_CMD} -e "s|/etc/\(gbsplayrc\)|${PREFIX}/etc/\1|" \ ${WRKSRC}/man/gbsplay.in.1 ${WRKSRC}/man/gbsplayrc.in.5 post-install: ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample \ ${STAGEDIR}${PREFIX}/etc/gbsplayrc.sample ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/gbsplay \ ${STAGEDIR}${PREFIX}/bin/gbsinfo ${STAGEDIR}${PREFIX}/bin/gbs2gb post-install-BASH_COMPLETIONS-on: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${INSTALL_DATA} ${WRKSRC}/contrib/gbsplay.bashcompletion \ ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME} .include diff --git a/audio/giada/Makefile b/audio/giada/Makefile index 9ad51f717395..c545b3fbf06c 100644 --- a/audio/giada/Makefile +++ b/audio/giada/Makefile @@ -1,41 +1,41 @@ PORTNAME= giada DISTVERSIONPREFIX= v DISTVERSION= 0.17.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Hardcore loop machine WWW= https://www.giadamusic.com/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libjack.so:audio/jack \ libjansson.so:devel/jansson \ libpulse.so:audio/pulseaudio \ librtmidi.so:audio/rtmidi \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile USES= autoreconf compiler:c++14-lang gmake localbase pkgconfig xorg GH_TUPLE= nlohmann:json:db78ac1d7716f56fc9f1b030b715f872f93964e4:json/src/deps/json \ monocasual:rtaudio:5386a90:rtaudio/src/deps/rtaudio USE_GITHUB= yes GH_ACCOUNT= monocasual GNU_CONFIGURE= yes CONFIGURE_ARGS= --target=${OPSYS:tl} USE_XORG= x11 xcursor xext xfixes xft xinerama xpm xrender CXXFLAGS+= `pkg-config --cflags rtmidi` LDFLAGS+= -lfltk PLIST_FILES= bin/${PORTNAME} .include diff --git a/audio/gogglesmm/Makefile b/audio/gogglesmm/Makefile index 9219ab21b601..17a485c040b8 100644 --- a/audio/gogglesmm/Makefile +++ b/audio/gogglesmm/Makefile @@ -1,110 +1,110 @@ PORTNAME= gogglesmm PORTVERSION= 1.2.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MAINTAINER= jhale@FreeBSD.org COMMENT= Music collection manager and player WWW= https://gogglesmm.github.io/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_powerpc64= fails to compile: ap_mad.cpp:358:2: \#error fixme LIB_DEPENDS= libtag.so:audio/taglib \ libexpat.so:textproc/expat2 \ libFOX-1.7.so:x11-toolkits/fox17 USES= cmake compiler:c++11-lib desktop-file-utils gnome \ localbase:ldflags pkgconfig sqlite xorg USE_GITHUB= yes USE_XORG= ice sm x11 CMAKE_OFF= WITH_CFOX PORTDOCS= AUTHORS ChangeLog README OPTIONS_DEFINE= A52 ALSA DBUS DCA DOCS FAAD FLAC MAD NLS \ OGG OPENGL OPUS PULSEAUDIO SNDIO ZLIB OPTIONS_RADIO= SSL VORBISDEC OPTIONS_RADIO_SSL= GCRYPT GNUTLS OPENSSL VORBISDEC_DESC= Vorbis decoder library OPTIONS_RADIO_VORBISDEC= TREMOR VORBIS OPTIONS_DEFAULT= DBUS FAAD FLAC MAD OGG OPENGL OPENSSL OPUS VORBIS ZLIB OPTIONS_SUB= yes A52_LIB_DEPENDS= liba52.so:audio/liba52 A52_CMAKE_BOOL= WITH_A52 ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= WITH_ALSA DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_BOOL= WITH_DBUS DCA_LIB_DEPENDS= libdca.so:multimedia/libdca DCA_CMAKE_BOOL= WITH_DCA FAAD_LIB_DEPENDS= libfaad.so:audio/faad FAAD_CMAKE_BOOL= WITH_FAAD FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CMAKE_BOOL= WITH_FLAC FLAC_IMPLIES= OGG GCRYPT_DESC= MD5 calculation via libgcrypt (no https) GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_CMAKE_BOOL= WITH_GCRYPT GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CMAKE_BOOL= WITH_GNUTLS MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CMAKE_BOOL= WITH_MAD NLS_USES= gettext NLS_CMAKE_BOOL= WITH_NLS OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_CMAKE_BOOL= WITH_OGG OPENGL_LIB_DEPENDS= libepoxy.so:graphics/libepoxy OPENGL_USES= gl OPENGL_USE= GL=opengl,glu OPENGL_CMAKE_BOOL= WITH_OPENGL OPENSSL_USES= ssl OPENSSL_CMAKE_BOOL= WITH_OPENSSL OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CMAKE_BOOL= WITH_OPUS OPUS_IMPLIES= OGG PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WITH_PULSE SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_BOOL= WITH_SNDIO TREMOR_LIB_DEPENDS= libvorbisidec.so:audio/libtremor TREMOR_CMAKE_BOOL= WITH_TREMOR TREMOR_IMPLIES= OGG VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CMAKE_BOOL= WITH_VORBIS VORBIS_IMPLIES= OGG ZLIB_CMAKE_BOOL= WITH_ZLIB .include .if ${PORT_OPTIONS:MOGG} && !${PORT_OPTIONS:MTREMOR} && !${PORT_OPTIONS:MVORBIS} IGNORE= you have selected an option that requires a Vorbis decoder. Run 'make config' and select one .endif post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/gsequencer/Makefile b/audio/gsequencer/Makefile index 361dda1da40b..52c74476f3ea 100644 --- a/audio/gsequencer/Makefile +++ b/audio/gsequencer/Makefile @@ -1,87 +1,88 @@ PORTNAME= gsequencer DISTVERSION= 6.16.20 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Advanced Gtk+ sequencer WWW= https://nongnu.org/gsequencer/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= dssi>0:audio/dssi \ gtkdocize:textproc/gtk-doc \ lv2>0:audio/lv2 BUILD_DEPENDS+= p5-File-Find-Rule>0:devel/p5-File-Find-Rule # only for bsd steps in custom configure LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgraphene-1.0.so:graphics/graphene \ libharfbuzz.so:print/harfbuzz \ libinstpatch-1.0.so:audio/libinstpatch \ libjson-glib-1.0.so:devel/json-glib \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libsoup-3.0.so:devel/libsoup3 \ libuuid.so:misc/e2fsprogs-libuuid \ libvulkan.so:graphics/vulkan-loader \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 RUN_DEPENDS= dssi>0:audio/dssi USES= autoreconf desktop-file-utils gettext-runtime gettext-tools gmake gnome gstreamer \ libtool localbase:ldflags perl5 pkgconfig shared-mime-info USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk40 libxml2 pango USE_XORG= x11 USE_CSTD= gnu99 USE_LDCONFIG= yes USE_PERL5= build # only for custom bsd steps in configure USE_GITHUB= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ENV= CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" \ INTROSPECTION_SCANNER=g-ir-scanner INTROSPECTION_COMPILER=g-ir-compiler MAKE=${GMAKE} CC=${CC} CXX=${CXX} LD=clang CONFIGURE_ARGS= --disable-alsa --enable-oss --enable-introspection --disable-rt CPPFLAGS+= -DAGS_LICENSE_FILENAME=\\\"${LOCALBASE}/share/licenses/${PKGNAME}/${LICENSE}\\\" \ -DAGS_LOGO_FILENAME=\\\"${DATADIR}/images/ags.png\\\" # there should be no need to supply AGS_LOGO_FILENAME here since the app knows its location LDFLAGS+= -luuid INSTALL_TARGET= install-strip PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= DOCS JACK PULSEAUDIO X11 OPTIONS_DEFAULT= X11 DOCS_CONFIGURE_ON= HTMLHELP_XSL=${LOCALBASE}/share/xsl/docbook/htmlhelp/htmlhelp.xsl --docdir=${DOCSDIR} --enable-single-docdir DOCS_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl DOCS_USE= GNOME=libxslt:build DOCS_ALL_TARGET= html DOCS_INSTALL_TARGET= install-html JACK_CONFIGURE_ENABLE= jack # the JACK option is probably broken, see https://github.com/gsequencer/gsequencer/issues/62 JACK_LIB_DEPENDS= libjack.so:audio/jack PULSEAUDIO_CONFIGURE_ENABLE= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio X11_CONFIGURE_ENABLE= x11 # not sure what does X11 support realy mean, because it also shows the window wuth X11=OFF X11_USES= xorg PORTDOCS= * post-extract: @${RM} ${WRKSRC}/configure.ac.orig do-configure: # it fails to build with clang without this custom configure step @${ECHO} "==> Configure, patch symbols, and re-run configure again" @cd ${WRKSRC} && \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS} && \ ${MAKE_CMD} gen-symbols-all-bsd && \ ${MAKE_CMD} fix-symbols-all-bsd && \ ${CONFIGURE_ENV} ${CONFIGURE_CMD} ${CONFIGURE_ARGS} .include diff --git a/audio/gstreamer1-plugins-pulse/Makefile b/audio/gstreamer1-plugins-pulse/Makefile index 856a9c12166a..50a13f862567 100644 --- a/audio/gstreamer1-plugins-pulse/Makefile +++ b/audio/gstreamer1-plugins-pulse/Makefile @@ -1,15 +1,15 @@ -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= audio COMMENT= GStreamer pulseaudio plugin LIB_DEPENDS= libpulse.so:audio/pulseaudio MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins PLIST= ${.CURDIR}/pkg-plist DIST= good GST_PLUGIN= pulse .include "${MASTERDIR}/Makefile" diff --git a/audio/harp/Makefile b/audio/harp/Makefile index fc50856dbf50..c40b84dc3f19 100644 --- a/audio/harp/Makefile +++ b/audio/harp/Makefile @@ -1,63 +1,63 @@ PORTNAME= harp PORTVERSION= 0.6.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio MAINTAINER= heckendorfc@gmail.com COMMENT= Minimalist audio player WWW= https://github.com/heckendorfc/harp LICENSE= GPLv3 USE_GITHUB= yes GH_ACCOUNT= heckendorfc USES= cmake sqlite USE_LDCONFIG= yes CMAKE_ARGS= -DINSTALL_MANPREFIX=${PREFIX}/share OPTIONS_DEFINE= AAC FLAC MP3 SHOUTCAST VORBIS DOCS OPTIONS_SINGLE= AUDIO_OUT OPTIONS_SINGLE_AUDIO_OUT= JACK OSS PULSEAUDIO OPTIONS_DEFAULT= AAC FLAC MP3 OSS SHOUTCAST VORBIS OPTIONS_SUB= yes PORTDOCS= README AAC_LIB_DEPENDS= libfaad.so:audio/faad AAC_CMAKE_ON= -DWITH_AAC:BOOL=ON AAC_CMAKE_OFF= -DWITH_AAC:BOOL=OFF FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CMAKE_ON= -DWITH_FLAC:BOOL=ON FLAC_CMAKE_OFF= -DWITH_FLAC:BOOL=OFF MP3_LIB_DEPENDS+= libmpg123.so:audio/mpg123 MP3_CMAKE_ON= -DWITH_MP3:BOOL=ON MP3_CMAKE_OFF= -DWITH_MP3:BOOL=OFF SHOUTCAST_CMAKE_ON= -DWITH_STREAM:BOOL=ON SHOUTCAST_CMAKE_OFF= -DWITH_STREAM:BOOL=OFF VORBIS_LIB_DEPENDS= libvorbisfile.so:audio/libvorbis VORBIS_CMAKE_ON= -DWITH_VORBIS:BOOL=ON VORBIS_CMAKE_OFF= -DWITH_VORBIS:BOOL=OFF OSS_CMAKE_ON= -DWITH_OSS:BOOL=ON OSS_CMAKE_OFF= -DWITH_OSS:BOOL=OFF JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_LIB_DEPENDS+= libsamplerate.so:audio/libsamplerate JACK_CMAKE_ON= -DWITH_JACK:BOOL=ON JACK_CMAKE_OFF= -DWITH_JACK:BOOL=OFF PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_ON= -DWITH_PULSE:BOOL=ON PULSEAUDIO_CMAKE_OFF= -DWITH_PULSE:BOOL=OFF post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/hydrogen/Makefile b/audio/hydrogen/Makefile index 02cb024811c2..f9548e73d221 100644 --- a/audio/hydrogen/Makefile +++ b/audio/hydrogen/Makefile @@ -1,80 +1,80 @@ PORTNAME= hydrogen DISTVERSION= 1.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= https://github.com/hydrogen-music/${PORTNAME}/releases/download/${DISTVERSION}/ \ SF/hydrogen/Hydrogen/${DISTVERSION}%20Sources/ MAINTAINER= FreeBSD@ShaneWare.Biz COMMENT= Advanced drum machine WWW= http://www.hydrogen-music.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libsndfile.so:audio/libsndfile \ liblo.so:audio/liblo USES= cmake compiler:c++17-lang desktop-file-utils pkgconfig \ localbase qt:5 USE_LDCONFIG= yes USE_QT= core gui network widgets xml xmlpatterns buildtools:build \ linguisttools:build qmake:build svg testlib:build PLIST_SUB= HYDROGEN_VERSION="${PORTVERSION}" OPTIONS_DEFINE= ALSA DEBUG JACK LADSPA LASH OSS PORTAUDIO \ PULSEAUDIO RDF TEST OPTIONS_DEFAULT= JACK LADSPA LIBARCHIVE OSS RDF OPTIONS_SINGLE= EXPORT OPTIONS_SINGLE_EXPORT= LIBARCHIVE LIBTAR EXPORT_DESC= Export support for drumkit LIBARCHIVE_DESC= LibArchive support LIBTAR_DESC= Libtar support RDF_DESC= RDF File support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins ALSA_CMAKE_BOOL= WANT_ALSA DEBUG_CMAKE_BOOL= WANT_DEBUG JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= WANT_JACK WANT_JACKSESSION LADSPA_BUILD_DEPENDS= ladspa>=0:audio/ladspa LADSPA_RUN_DEPENDS= analyseplugin:audio/ladspa LADSPA_CMAKE_BOOL= WANT_LADSPA LADSPA_CMAKE_ON= -DLADSPA_LIBRARIES:STRING=${LOCALBASE}/lib/ladspa LASH_LIB_DEPENDS= liblash.so:audio/lash LASH_CMAKE_BOOL= WANT_LASH LIBARCHIVE_USES= libarchive LIBARCHIVE_CMAKE_BOOL= WANT_LIBARCHIVE LIBTAR_LIB_DEPENDS= libtar.so:devel/libtar LIBTAR_CMAKE_BOOL= WANT_LIBTAR LIBTAR_CMAKE_ON= -DCMAKE_REQUIRED_INCLUDES:STRING=${LOCALBASE}/include/ OSS_CMAKE_BOOL= WANT_OSS PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_BOOL= WANT_PORTAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WANT_PULSEAUDIO RDF_LIB_DEPENDS= liblrdf.so:textproc/liblrdf RDF_CMAKE_BOOL= WANT_LRDF RDF_CMAKE_ON= -DLRDF_INCLUDE_DIR:STRING=${LOCALBASE}/include/raptor2 TEST_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/cppunit.pc:devel/cppunit TEST_CMAKE_BOOL= WANT_CPPUNIT TEST_LDFLAGS= -lexecinfo do-test-TEST-on: cd ${WRKSRC} && ./src/tests/tests .include diff --git a/audio/kmix/Makefile b/audio/kmix/Makefile index 73b092b2417b..ace043dc0a59 100644 --- a/audio/kmix/Makefile +++ b/audio/kmix/Makefile @@ -1,40 +1,40 @@ PORTNAME= kmix DISTVERSION= ${KDE_APPLICATIONS_VERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Sound mixer for KDE WWW= https://www.kde.org/applications/multimedia/kmix/ LICENSE= GPLv2 LIB_DEPENDS= libasound.so:audio/alsa-lib USES= cmake compiler:c++11-lang gettext kde:5 qt:5 tar:xz xorg USE_KDE= auth codecs config configwidgets coreaddons dbusaddons \ emoticons globalaccel i18n iconthemes init itemmodels \ itemviews kcmutils kdelibs4support notifications package \ plasma-framework service solid widgetsaddons windowsystem xmlgui \ ecm:build USE_QT= core dbus gui widgets xml \ buildtools:build qmake:build USE_XORG= x11 # we want the KF5 version of kmix CMAKE_ARGS= -DKMIX_KF5_BUILD:BOOL=TRUE OPTIONS_DEFINE= PULSEAUDIO DOCS # TODO: readd ALSA option # # ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib # ALSA_EXTRA_PATCHES_OFF= ${FILESDIR}/extrapatch-no_alsa PULSEAUDIO_LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libpulse.so:audio/pulseaudio PULSEAUDIO_USES= gnome PULSEAUDIO_USE= GNOME=glib20 PULSEAUDIO_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Canberra \ CMAKE_DISABLE_FIND_PACKAGE_PulseAudio .include diff --git a/audio/kwave/Makefile b/audio/kwave/Makefile index ecd356071a5c..df65d96b18ac 100644 --- a/audio/kwave/Makefile +++ b/audio/kwave/Makefile @@ -1,39 +1,40 @@ PORTNAME= kwave DISTVERSION= ${KDE_APPLICATIONS_VERSION} +PORTREVISION= 1 CATEGORIES= audio kde kde-applications MAINTAINER= kde@FreeBSD.org COMMENT= Sound editor for KDE WWW= https://kwave.sourceforge.net/ LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ libFLAC.so:audio/flac \ libfftw3.so:math/fftw3 \ libid3.so:audio/id3lib \ libmad.so:audio/libmad \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libsamplerate.so:audio/libsamplerate \ libvorbisenc.so:audio/libvorbis USES= cmake compiler:c++11-lang desktop-file-utils gettext kde:5 \ localbase:ldflags magick:6,build pkgconfig qt:5 tar:xz xorg USE_KDE= archive auth bookmarks codecs completion config configwidgets \ coreaddons crash dbusaddons i18n iconthemes itemviews \ jobwidgets kio service solid sonnet textwidgets widgetsaddons \ windowsystem xmlgui \ ecm:build USE_QT= concurrent core dbus gui multimedia network widgets xml \ buildtools:build qmake:build USE_XORG= x11 OPTIONS_GROUP= AUDIOPLUGIN OPTIONS_GROUP_AUDIOPLUGIN= ALSA PULSEAUDIO ALSA_CMAKE_BOOL= WITH_ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio OPTIONS_DEFINE= DOCS .include diff --git a/audio/libcanberra/Makefile b/audio/libcanberra/Makefile index fc1ba0bc9712..6622c3759985 100644 --- a/audio/libcanberra/Makefile +++ b/audio/libcanberra/Makefile @@ -1,67 +1,67 @@ PORTNAME= libcanberra PORTVERSION= 0.30 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= audio devel MASTER_SITES= http://0pointer.de/lennart/projects/libcanberra/ \ http://pkgs.fedoraproject.org/repo/pkgs/libcanberra/libcanberra-0.30.tar.xz/34cb7e4430afaf6f447c4ebdb9b42072/ MAINTAINER= desktop@FreeBSD.org COMMENT= Implementation of the Freedesktop sound theme spec WWW= https://0pointer.de/lennart/projects/libcanberra/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LGPL LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ libltdl.so:devel/libltdl USES= gmake gnome localbase libtool pathfix pkgconfig tar:xz USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-lynx --disable-tdb --disable-alsa --disable-udev INSTALL_TARGET= install-strip SLAVEPORT?= PLIST_SUB= VERSION=${PORTVERSION} .if ${SLAVEPORT} != "" PKGNAMESUFFIX= -${SLAVEPORT} .endif .if ${SLAVEPORT:U} == gtk3 USE_GNOME+= gtk30 LIB_DEPENDS+= libcanberra.so:audio/libcanberra CONFIGURE_ARGS+= --enable-gtk3 \ --disable-gtk \ --disable-gstreamer \ --disable-pulse PLIST_SUB+= BASE="@comment " GTK3="" GTK2="@comment " .elif ${SLAVEPORT:U} == gtk2 USE_GNOME+= gnomeprefix gtk20 LIB_DEPENDS+= libcanberra.so:audio/libcanberra CONFIGURE_ARGS+= --enable-gtk \ --disable-gtk3 \ --disable-gstreamer \ --disable-pulse PLIST_SUB+= BASE="@comment " GTK3="@comment " GTK2="" .else CONFIGURE_ARGS+= --disable-gtk \ --disable-gtk3 PLIST_SUB+= BASE="" GTK3="@comment " GTK2="@comment " OPTIONS_DEFINE= PULSEAUDIO GSTREAMER OPTIONS_SUB= yes .endif PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulse GSTREAMER_USES= gstreamer GSTREAMER_CONFIGURE_ENABLE= gstreamer post-patch: @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's| gtkdoc | |g' \ ${WRKSRC}/Makefile.in .include diff --git a/audio/libmatemixer/Makefile b/audio/libmatemixer/Makefile index 5196250e6c09..47439580c5fd 100644 --- a/audio/libmatemixer/Makefile +++ b/audio/libmatemixer/Makefile @@ -1,33 +1,34 @@ PORTNAME= libmatemixer PORTVERSION= 1.28.0 +PORTREVISION= 1 CATEGORIES= audio mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= Mixer library for MATE desktop WWW= https://github.com/mate-desktop/libmatemixer LICENSE= LGPL21 PORTSCOUT= limitw:1,even USES= gettext gmake gnome libtool pathfix pkgconfig tar:xz USE_GNOME= glib20 intlhack GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-null \ --enable-oss \ --disable-gtk-doc \ --disable-gtk-doc-html \ --disable-gtk-doc-pdf INSTALL_TARGET= install-strip OPTIONS_DEFINE= PULSEAUDIO ALSA OPTIONS_SUB= yes PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio ALSA_CONFIGURE_ENABLE= alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib .include diff --git a/audio/libopenmpt/Makefile b/audio/libopenmpt/Makefile index a7fca662cb3b..ad5f0423be84 100644 --- a/audio/libopenmpt/Makefile +++ b/audio/libopenmpt/Makefile @@ -1,66 +1,67 @@ PORTNAME= libopenmpt DISTVERSION= 0.7.11 +PORTREVISION= 1 DISTVERSIONSUFFIX= +release.autotools CATEGORIES= audio MASTER_SITES= https://lib.openmpt.org/files/libopenmpt/src/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Module music library based on OpenMPT WWW= https://lib.openmpt.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libmpg123.so:audio/mpg123 \ libvorbis.so:audio/libvorbis USES= compiler:c++17-lang cpe gmake libtool pathfix pkgconfig CPE_VENDOR= openmpt USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-doxygen-doc \ --with-mpg123 \ --with-vorbis \ --with-vorbisfile \ --without-portaudiocpp TEST_TARGET= check OPTIONS_DEFINE= DOCS EXAMPLES OPENMPT123 PULSEAUDIO OPTIONS_DEFAULT= OPENMPT123 OPTIONS_SUB= yes OPENMPT123_DESC= Enable command line player PULSEAUDIO_DESC= Enable PulseAudio support for openmpt123 OPENMPT123_LIB_DEPENDS= libFLAC.so:audio/flac \ libogg.so:audio/libogg \ libportaudio.so:audio/portaudio \ libsndfile.so:audio/libsndfile OPENMPT123_CONFIGURE_OFF= --disable-openmpt123 OPENMPT123_CONFIGURE_WITH= flac portaudio sndfile PULSEAUDIO_IMPLIES= OPENMPT123 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio pre-configure: @${REINPLACE_CMD} -e 's/+release.autotools//' \ ${PATCH_WRKSRC}/configure post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenmpt.so.* post-install-DOCS-on: @${RM} ${STAGEDIR}${DOCSDIR}/LICENSE # do not install twice post-install-EXAMPLES-on: @${MV} ${STAGEDIR}${DOCSDIR}/examples ${STAGEDIR}${EXAMPLESDIR} post-install-EXAMPLES-off: @${RM} -rf ${STAGEDIR}${DOCSDIR}/examples .include diff --git a/audio/libvgm/Makefile b/audio/libvgm/Makefile index 1efe4f37b73f..32517dc0871e 100644 --- a/audio/libvgm/Makefile +++ b/audio/libvgm/Makefile @@ -1,48 +1,49 @@ PORTNAME= libvgm DISTVERSION= g20240608 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= tagattie@FreeBSD.org COMMENT= More modular rewrite of most components from VGMPlay WWW= https://github.com/ValleyBell/libvgm USES= cmake compiler:c++14-lang iconv pathfix USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= ValleyBell GH_TAGNAME= 34c368c CMAKE_ON= AUDIODRV_OSS CMAKE_OFF= CMAKE_CXX_EXTENSIONS CMAKE_ARGS= -DLIBRARY_TYPE=SHARED OPTIONS_DEFINE= PLAYER VGM2WAV OPTIONS_DEFAULT= PLAYER VGM2WAV OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA AO PULSEAUDIO OPTIONS_SUB= yes PLAYER_DESC= Build and install libvgm-player command VGM2WAV_DESC= Build and install vgm2wav command AUDIO_DESC= Additional audio backends support PLAYER_CMAKE_BOOL= BUILD_PLAYER VGM2WAV_CMAKE_BOOL= BUILD_VGM2WAV ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= AUDIODRV_ALSA AO_LIB_DEPENDS= libao.so:audio/libao AO_CMAKE_BOOL= AUDIODRV_LIBAO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_USES= localbase:ldflags PULSEAUDIO_CMAKE_BOOL= AUDIODRV_PULSE post-install-PLAYER-on: ${MV} ${STAGEDIR}${PREFIX}/bin/player \ ${STAGEDIR}${PREFIX}/bin/libvgm-player .include diff --git a/audio/lingot/Makefile b/audio/lingot/Makefile index 901efad1df43..a01ec4bce63c 100644 --- a/audio/lingot/Makefile +++ b/audio/lingot/Makefile @@ -1,49 +1,50 @@ PORTNAME= lingot DISTVERSION= 1.1.1 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SAVANNAH MAINTAINER= eduardo@FreeBSD.org COMMENT= Musical instrument tuner WWW= https://www.nongnu.org/lingot/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libjson-c.so:devel/json-c USES= gettext-tools gmake gnome libtool pkgconfig USE_GNOME= cairo gtk30 intltool GNU_CONFIGURE= yes CONFIGURE_ENV= DATADIRNAME="share" INSTALL_TARGET= install-strip # fix: "ld: error: undefined reference due to --no-allow-shlib-undefined: environ" # by adding "-Wl,--allow-shlib-undefined" (not needed on 1500014 as I tested) LDFLAGS+= -Wl,--allow-shlib-undefined -L${LOCALBASE}/lib -lintl PORTDOCS= * OPTIONS_DEFINE= DOCS FFTW NLS OPTIONS_DEFAULT= FFTW JACK OPTIONS_GROUP= SOUND OPTIONS_GROUP_SOUND= ALSA JACK PULSEAUDIO OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins ALSA_CONFIGURE_WITH= alsa FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FFTW_CONFIGURE_WITH= fftw JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_WITH= jack NLS_CONFIGURE_ENABLE= nls PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio .include diff --git a/audio/lmms/Makefile b/audio/lmms/Makefile index 93e0cf90db53..3673bdb8c1f4 100644 --- a/audio/lmms/Makefile +++ b/audio/lmms/Makefile @@ -1,86 +1,86 @@ PORTNAME= lmms DISTVERSIONPREFIX= v DISTVERSION= 1.2.2 -PORTREVISION= 9 +PORTREVISION= 10 PORTEPOCH= 2 CATEGORIES= audio MAINTAINER= rodrigo@FreeBSD.org COMMENT= All-in-one sequencer, drum machine, sampler, and more WWW= https://lmms.io/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LIB_DEPENDS= libcarla_utils.so:audio/carla \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libFLAC.so:audio/flac \ libfltk.so:x11-toolkits/fltk \ libfluidsynth.so:audio/fluidsynth \ libfontconfig.so:x11-fonts/fontconfig \ libmp3lame.so:audio/lame \ libogg.so:audio/libogg \ libQt5X11Extras.so:x11/qt5-x11extras \ libQt5Xml.so:textproc/qt5-xml \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/cmt.so:audio/cmt \ ${LOCALBASE}/share/ladspa/rdf/caps.rdf:audio/caps-plugins \ ${LOCALBASE}/share/ladspa/rdf/swh-plugins.rdf:audio/swhplugins \ ${LOCALBASE}/share/ladspa/rdf/tap-plugins.rdf:audio/tap-plugins USES= cmake compiler:c++11-lang desktop-file-utils localbase:ldflags \ pkgconfig qt:5 shared-mime-info xorg USE_GITHUB= yes GH_ACCOUNT= LMMS GH_TUPLE= mjansson:rpmalloc:1.4.0:rpmalloc/src/3rdparty/rpmalloc/rpmalloc \ lukas-w:qt5-x11embed:ec77d4ba40bebc0c53a016adb646b6fa65dd5faf:qt5x11embed/src/3rdparty/qt5-x11embed USE_LDCONFIG= yes USE_QT= core gui widgets x11extras xml buildtools:build \ linguisttools:build qmake:build USE_XORG= xcursor xext xfixes xft xinerama xrender CMAKE_ON= WANT_QT5 CMAKE_OFF= WANT_ALSA WANT_CALF WANT_CAPS WANT_CMT WANT_STK WANT_SWH \ WANT_TAP WANT_VST OPTIONS_DEFINE= JACK OSS PORTAUDIO PULSEAUDIO SDL SNDIO OPTIONS_DEFAULT= OSS JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= WANT_JACK PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_BOOL= WANT_PORTAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WANT_PULSEAUDIO SDL_USES= sdl SDL_USE= SDL=sdl SDL_CMAKE_OFF= WANT_SDL SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_BOOL= WANT_SNDIO .include post-patch: @${REINPLACE_CMD} 's|/usr|${LOCALBASE}|g' ${WRKSRC}/src/core/ConfigManager.cpp @${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/src/core/LadspaManager.cpp @${REINPLACE_CMD} -e 's/lib64/lib/' \ ${WRKSRC}/cmake/modules/DetectMachine.cmake post-patch-OSS-off: @${REINPLACE_CMD} \ -e 's|SET(LMMS_HAVE_OSS TRUE)|SET(LMMS_HAVE_OSS FALSE)|; \ s|SET(STATUS_OSS "OK")|SET(STATUS_OSS "")|' \ ${WRKSRC}/CMakeLists.txt post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions && \ ${INSTALL_DATA} ${WRKSRC}/doc/bash-completion/lmms ${STAGEDIR}${PREFIX}/share/bash-completion/completions/ @${RLN} ${STAGEDIR}${DATADIR}/themes/default/icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/lmms.png .include diff --git a/audio/mhwaveedit/Makefile b/audio/mhwaveedit/Makefile index 88c8ca415162..211c84a9872d 100644 --- a/audio/mhwaveedit/Makefile +++ b/audio/mhwaveedit/Makefile @@ -1,62 +1,62 @@ PORTNAME= mhwaveedit PORTVERSION= 1.4.24 -PORTREVISION= 7 +PORTREVISION= 8 DISTVERSIONPREFIX= v CATEGORIES= audio MAINTAINER= amdmi3@FreeBSD.org COMMENT= Graphical program for editing sound files WWW= https://github.com/magnush/mhwaveedit/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= magnush USES= autoreconf gnome localbase pathfix pkgconfig tar:bzip2 USE_GNOME= gtk20 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --without-alsalib \ --without-arts \ --without-esound \ --with-build-date="-" \ --with-build-time="-" BROKEN_powerpc64= fails to compile on powerpc64: convert_inc.c: conflicting types for 'C_FLOAT_PCM32SBEPM' OPTIONS_DEFINE= DOUBLE_SAMPLES JACK LADSPA OSS PORTAUDIO \ PULSEAUDIO SAMPLERATE SDL SNDFILE NLS OPTIONS_DEFAULT= OSS SAMPLERATE SNDFILE OPTIONS_SUB= yes DOUBLE_SAMPLES_DESC= Increase quality for 24/32-bit samplerates DOUBLE_SAMPLES_CONFIGURE_WITH= double-samples JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_WITH= jack LADSPA_BUILD_DEPENDS= ladspa>0:audio/ladspa LADSPA_RUN_DEPENDS= ladspa>0:audio/ladspa LADSPA_CONFIGURE_ENV_OFF= ac_cv_header_ladspa_h=no OSS_CONFIGURE_WITH= oss PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CONFIGURE_WITH= portaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulse SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_CONFIGURE_WITH= libsamplerate SDL_USES= sdl SDL_USE= sdl=sdl SDL_CONFIGURE_WITH= sdl SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CONFIGURE_WITH= libsndfile NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-patch: @${REINPLACE_CMD} -e \ '/^Icon/s|=.*|=${PREFIX}/share/pixmaps/mhwaveedit.xpm|' \ ${WRKSRC}/share/applications/mhwaveedit.desktop .include diff --git a/audio/mumble/Makefile b/audio/mumble/Makefile index 3f68374263b2..f68919e2763f 100644 --- a/audio/mumble/Makefile +++ b/audio/mumble/Makefile @@ -1,105 +1,105 @@ PORTNAME= mumble DISTVERSION= 1.5.634 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= audio MASTER_SITES= https://github.com/${PORTNAME}-voip/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= vvd@FreeBSD.org COMMENT= Voice chat software primarily intended for use while gaming WWW= https://www.mumble.info/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ microsoft-gsl>=3.0.0:devel/microsoft-gsl \ ${LOCALBASE}/include/nlohmann/json.hpp:devel/nlohmann-json LIB_DEPENDS= libsndfile.so:audio/libsndfile \ libopus.so:audio/opus \ libspeexdsp.so:audio/speexdsp \ libabsl_base.so:devel/abseil \ libpcre2-8.so:devel/pcre2 \ libPocoXML.so:devel/poco \ libPocoZip.so:devel/poco \ libprotobuf.so:devel/protobuf \ libexpat.so:textproc/expat2 USES= cmake compiler:c++17-lang cpe desktop-file-utils \ pkgconfig python:build qt:5 ssl xorg USE_CXXSTD= c++17 USE_LDCONFIG= yes USE_QT= buildtools:build concurrent core dbus gui l10n linguist:build network \ qmake:build sql sql-sqlite3:run svg widgets xml USE_XORG= x11 xext xi CMAKE_ARGS= -DCMAKE_CXX_STANDARD=17 CMAKE_ON= client oss overlay plugins translations xinput2 CMAKE_OFF= bundled-gsl bundled-json bundle-qt-translations bundled-speex \ crash-report g15 server tracy update CONFIGURE_ENV= MUMBLE_PYTHON=${PYTHON_CMD} CXXFLAGS+= -Wno-deprecated-declarations PLIST_SUB= MUMBLE_VERSION="${DISTVERSION:R}" OPTIONS_DEFINE= ALSA AVAHI JACK LTO PIPEWIRE PORTAUDIO PULSEAUDIO RENAMENOISE OPTIONS_DEFINE_amd64= OVERLAY_32BIT OPTIONS_DEFAULT= RENAMENOISE OPTIONS_DEFAULT_amd64= OVERLAY_32BIT OPTIONS_RADIO= SPEECH OPTIONS_RADIO_SPEECH= QTSPEECH SPEECHD OVERLAY_32BIT_DESC= Build and install 32bit overlay module QTSPEECH_DESC= Use Qt's text-to-speech system RENAMENOISE_DESC= Use ReNameNoise for machine learning noise reduction SPEECHD_DESC= Support for Speech Dispatcher SPEECH_DESC= Support text-to-speech ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= alsa AVAHI_LIB_DEPENDS= libdns_sd.so:net/avahi-libdns AVAHI_CMAKE_BOOL= zeroconf JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= jackaudio LTO_BROKEN= "QWidget: Cannot create a QWidget without QApplication": \ https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273078 LTO_CMAKE_BOOL= lto OVERLAY_32BIT_CMAKE_BOOL= overlay-xcompile PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= pipewire PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_BOOL= portaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= pulseaudio QTSPEECH_USE= QT=speech QTSPEECH_CMAKE_BOOL= qtspeech RENAMENOISE_CMAKE_BOOL= bundled-renamenoise renamenoise SPEECHD_LIB_DEPENDS= libspeechd.so:accessibility/speech-dispatcher SPEECHD_USES= gettext-runtime gnome SPEECHD_USE= GNOME=glib20 SPEECHD_CMAKE_BOOL= speechd .include .if ${PORT_OPTIONS:MOVERLAY_32BIT} . if ${ARCH} == amd64 PLIST_SUB+= OVERLAY_32BIT="" PLIST_SUB+= OVERLAY_32BIT_SUFFIX=.x86 PLIST_SUB+= OVERLAY_NATIVE_SUFFIX=.x86_64 . endif .else PLIST_SUB+= OVERLAY_32BIT="@comment " PLIST_SUB+= OVERLAY_NATIVE_SUFFIX="" .endif .include diff --git a/audio/musescore3/Makefile b/audio/musescore3/Makefile index e1c58ceed5c8..49382d59a210 100644 --- a/audio/musescore3/Makefile +++ b/audio/musescore3/Makefile @@ -1,89 +1,89 @@ PORTNAME= ${GH_PROJECT:tl}3 DISTVERSIONPREFIX= v DISTVERSION= 3.6.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MAINTAINER= adridg@FreeBSD.org COMMENT= Free music composition & notation software (legacy version) WWW= https://musescore.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.GPL LIB_DEPENDS= libmp3lame.so:audio/lame \ libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg \ libfreetype.so:print/freetype2 USES= cmake compiler:c++11-lib desktop-file-utils localbase \ pkgconfig qt:5 shared-mime-info USE_QT= concurrent core declarative designer graphicaleffects gui \ help location network opengl printsupport \ quickcontrols2 scripttools sql svg testlib \ webchannel widgets xml xmlpatterns \ buildtools:build linguisttools:build qmake:build uitools:build USE_GITHUB= yes GH_PROJECT= MuseScore GH_ACCOUNT= musescore # Each release gets a subdir containing the distfiles for that release, # so hope that scanning the parent dir finds new ones. # # Note needs PORTVERSION:R once there is a .minor version DATADIR= ${PREFIX}/share/mscore-${PORTVERSION:R} ALL_TARGET= lrelease manpages all CMAKE_OFF= BUILD_PORTMIDI BUILD_PCH MSCORE_UNSTABLE CMAKE_ON= USE_SYSTEM_FREETYPE CMAKE_BUILD_TYPE= release # WebEngine is only available on i386/amd64, amd ppc64 starting FreeBSD 13.0. # If enabled on arches that don't have WebEngine, the build breaks. OPTIONS_DEFINE= ALSA JACK PORTAUDIO PULSEAUDIO WEBENGINE OPTIONS_DEFAULT= PORTAUDIO OPTIONS_DEFAULT_amd64= WEBENGINE OPTIONS_DEFAULT_i386= WEBENGINE WEBENGINE_DESC= Use WebEngine in the welcome panel ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= BUILD_ALSA HAS_MIDI JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= BUILD_JACK PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_BOOL= BUILD_PORTAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= BUILD_PULSEAUDIO WEBENGINE_USE= qt=webengine WEBENGINE_CMAKE_BOOL= BUILD_WEBENGINE post-install: ${MV} ${STAGEDIR}${PREFIX}/bin/mscore ${STAGEDIR}${PREFIX}/bin/mscore3 ${RM} ${STAGEDIR}${PREFIX}/bin/musescore ${LN} -s mscore3 ${STAGEDIR}${PREFIX}/bin/musescore3 ${MV} ${STAGEDIR}${PREFIX}/share/man/man1/mscore.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/mscore3.1.gz ${RM} ${STAGEDIR}${PREFIX}/share/man/man1/musescore.1.gz ${LN} -s mscore3.1.gz ${STAGEDIR}${PREFIX}/share/man/man1/musescore3.1.gz ${RM} ${STAGEDIR}${DATADIR}/sound/MuseScore_General.sf3 ${INSTALL_DATA} ${DISTDIR}/MuseScore_General.sf3 ${STAGEDIR}${DATADIR}/sound/ ${FIND} ${STAGEDIR}${PREFIX} -name mscore.png -execdir ${MV} mscore.png mscore3.png \; ${RM} ${STAGEDIR}${PREFIX}/share/applications/mscore.desktop ${INSTALL_DATA} ${FILESDIR}/mscore3.desktop ${STAGEDIR}${PREFIX}/share/applications/ .include DISTFILES+= MuseScore_General.sf3:sfont MASTER_SITES+= https://ftp.osuosl.org/pub/musescore/soundfont/MuseScore_General/:sfont EXTRACT_ONLY= ${GH_ACCOUNT}-${GH_PROJECT}-${GH_TAGNAME}_GH0${EXTRACT_SUFX} .if ${CHOSEN_COMPILER_TYPE} == clang CXXFLAGS+= -Wno-inconsistent-missing-override .endif .include diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile index d0e65e4bed6f..ad8c97636f58 100644 --- a/audio/musicpd/Makefile +++ b/audio/musicpd/Makefile @@ -1,249 +1,249 @@ PORTNAME= musicpd PORTVERSION= 0.23.15 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= https://www.musicpd.org/download/mpd/${PORTVERSION:R}/ DISTNAME= mpd-${PORTVERSION} MAINTAINER= riggs@FreeBSD.org COMMENT= Remote-controllable music daemon WWW= https://www.musicpd.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ libfmt.so:devel/libfmt \ libicudata.so:devel/icu USES= compiler:c++17-lang localbase:ldflags meson pkgconfig \ python:build tar:xz USE_RC_SUBR= ${PORTNAME} MESON_ARGS= --auto-features=disabled \ -Dbzip2=enabled \ -Dhttpd=true \ -Dicu=enabled \ -Dmpcdec=disabled \ -Doss=enabled \ -Dpipe=true \ -Dsyslog=enabled \ -Dzlib=enabled PORTDOCS= AUTHORS README.md NEWS SUB_FILES= pkg-message OPTIONS_SUB= yes OPTIONS_DEFINE= DOCS ID3TAG IPV6 ISO9660 MANPAGES SQLITE3 \ PROXYDB VORBISENC ZZIP OPTIONS_RADIO= RESAMPLER ZEROCONF OPTIONS_RADIO_ZEROCONF= AVAHI MDNSRESPONDER OPTIONS_RADIO_RESAMPLER= SAMPLERATE SOXR OPTIONS_MULTI= DOCUMENTATION FILE_FORMAT OPTIONS_MULTI_FILE_FORMAT= \ ADPLUG AUDIOFILE FAAD FFMPEG FLAC FLUIDSYNTH \ GME MAD MIKMOD MODPLUG MPG123 \ OPUS SIDPLAY SNDFILE TWOLAME \ VORBIS WAVPACK WILDMIDI OPTIONS_GROUP= ACCESS PLAYBACK OPTIONS_GROUP_ACCESS= CDPARANOIA CURL LAME NFS PLAYLISTS QOBUZ \ SMB SOUNDCLOUD UPNP YAJL OPTIONS_GROUP_PLAYBACK= AO JACK OPENAL OPENMPT PIPEWIRE PULSEAUDIO \ SHOUTCAST SNDIO ADPLUG_DESC= AdPlug support FAAD_DESC= AAC/MP4 decoding via libfaad GME_DESC= GME support (video game music files) ISO9660_DESC= Direct support for ISO 9660 images PROXYDB_DESC= Proxy database support via libmpdclient LAME_DESC= Support for MP3 Icecast Streams OPENMPT_DESC= Support for OpenMPT playback PLAYLISTS_DESC= Enable extra playlist support (wma, RSS) QOBUZ_DESC= Streaming service support: Qobuz SIDPLAY_DESC= Sidplay support (C64 mono and stereo files) SMB_DESC= SMB network support (currently strongly discouraged) SOUNDCLOUD_DESC=Streaming service support: SoundCloud TWOLAME_DESC= TwoLAME support (mp2) VORBISENC_DESC= Ogg Vorbis encoder WILDMIDI_DESC= WildMIDI support (MIDI files) YAJL_DESC= JSON support via libyajl ZZIP_DESC= Support for zzip archives OPTIONS_DEFAULT=CURL FFMPEG FLAC ID3TAG LAME MANPAGES OPUS \ PLAYLISTS PROXYDB SNDFILE VORBIS VORBISENC \ WAVPACK MANPAGES_MESON_ENABLED= documentation MANPAGES_BUILD_DEPENDS= ${LOCALBASE}/bin/sphinx-build:textproc/py-sphinx@${PY_FLAVOR} # Decoder plugins ADPLUG_MESON_ENABLED= adplug ADPLUG_LIB_DEPENDS= libadplug.so:audio/libadplug AUDIOFILE_MESON_ENABLED=audiofile AUDIOFILE_LIB_DEPENDS= libaudiofile.so:audio/libaudiofile FAAD_MESON_ENABLED= faad FAAD_LIB_DEPENDS= libfaad.so:audio/faad FFMPEG_MESON_ENABLED= ffmpeg FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg FLAC_MESON_ENABLED= flac FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLUIDSYNTH_MESON_ENABLED= fluidsynth FLUIDSYNTH_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth GME_MESON_ENABLED= gme GME_LIB_DEPENDS= libgme.so:audio/libgme MAD_MESON_ENABLED= mad MAD_LIB_DEPENDS= libmad.so:audio/libmad MIKMOD_MESON_ENABLED= mikmod MIKMOD_LIB_DEPENDS= libmikmod.so:audio/libmikmod MODPLUG_MESON_ENABLED= modplug MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MPG123_MESON_ENABLED= mpg123 MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 NFS_MESON_ENABLED= nfs NFS_LIB_DEPENDS= libnfs.so:net/libnfs OPENMPT_MESON_ENABLED= openmpt OPENMPT_LIB_DEPENDS= libopenmpt.so:audio/libopenmpt OPUS_MESON_ENABLED= opus OPUS_LIB_DEPENDS= libopus.so:audio/opus \ libogg.so:audio/libogg PLAYLISTS_MESON_ENABLED=expat PLAYLISTS_LIB_DEPENDS= libexpat.so:textproc/expat2 SIDPLAY_MESON_ENABLED= sidplay SIDPLAY_LIB_DEPENDS= libsidplayfp.so:audio/libsidplayfp SIDPLAY_CXXFLAGS= -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR SNDFILE_MESON_ENABLED= sndfile SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile VORBIS_MESON_ENABLED= vorbis VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis WAVPACK_MESON_ENABLED= wavpack WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WILDMIDI_MESON_ENABLED= wildmidi WILDMIDI_LIB_DEPENDS= libWildMidi.so:audio/wildmidi # Encoder plugins VORBISENC_IMPLIES= VORBIS VORBISENC_MESON_ENABLED= vorbisenc VORBISENC_LIB_DEPENDS= libvorbisenc.so:audio/libvorbis LAME_MESON_ENABLED= lame LAME_LIB_DEPENDS= libmp3lame.so:audio/lame TWOLAME_MESON_ENABLED= twolame TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame # Filter plugins SAMPLERATE_MESON_ENABLED= libsamplerate SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SOXR_MESON_ENABLED= soxr SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr # Output plugins AO_MESON_ENABLED= ao AO_LIB_DEPENDS= libao.so:audio/libao JACK_MESON_ENABLED= jack JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CXXFLAGS= -Wno-register OPENAL_MESON_ENABLED= openal OPENAL_USES= openal PIPEWIRE_MESON_ENABLED= pipewire PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PULSEAUDIO_MESON_ENABLED= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio SHOUTCAST_MESON_ENABLED=shout SHOUTCAST_LIB_DEPENDS= libshout.so:audio/libshout SHOUTCAST_IMPLIES= VORBIS SNDIO_MESON_ENABLED= sndio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio # Input plugins CDPARANOIA_MESON_ENABLED= cdio_paranoia CDPARANOIA_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CURL_MESON_ENABLED= curl webdav CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_IMPLIES= PLAYLISTS SMB_MESON_ENABLED= smbclient SMB_USES= samba:lib # Archive plugins ZZIP_MESON_ENABLED= zzip ZZIP_LIB_DEPENDS= libzzip.so:devel/zziplib ISO9660_MESON_ENABLED= iso9660 ISO9660_LIB_DEPENDS= libiso9660.so:sysutils/libcdio # Database plugins SQLITE3_MESON_ENABLED= sqlite SQLITE3_LIB_DEPENDS= libsqlite3.so:databases/sqlite3 PROXYDB_MESON_ENABLED= libmpdclient PROXYDB_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient # Tag plugins ID3TAG_MESON_ENABLED= id3tag ID3TAG_LIB_DEPENDS= libid3tag.so:audio/libid3tag # Network support IPV6_MESON_ENABLED= ipv6 # Commercial service support QOBUZ_MESON_ENABLED= qobuz QOBUZ_LIB_DEPENDS= libgcrypt.so:security/libgcrypt QOBUZ_IMPLIES= CURL YAJL SOUNDCLOUD_MESON_ENABLED= soundcloud SOUNDCLOUD_IMPLIES= CURL YAJL # Misc library support AVAHI_MESON_ON= -Dzeroconf=avahi AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app MDNSRESPONDER_MESON_ON= -Dzeroconf=bonjour MDNSRESPONDER_LIB_DEPENDS= libdns_sd.so:net/mDNSResponder UPNP_MESON_ON= -Dupnp=npupnp UPNP_LIB_DEPENDS= libnpupnp.so:net/libnpupnp YAJL_MESON_ENABLED= yajl YAJL_LIB_DEPENDS= libyajl.so:devel/yajl MPDUSER?= mpd MPDGROUP?= mpd USERS= ${MPDUSER} GROUPS= ${MPDGROUP} post-patch: # Make musicpd run as ${MPDUSER} by default @${REINPLACE_CMD} -e 's|%%MPDUSER%%|${MPDUSER}|' \ ${WRKSRC}/doc/mpdconf.example # Fix man pages for executable names @${REINPLACE_CMD} \ -e 's#^``mpd#``${PORTNAME}#' \ -e 's#:: mpd#:: ${PORTNAME}#' \ -e 's#mpd(1)#${PORTNAME}(1)#' \ -e 's#mpd.conf(5)#${PORTNAME}.conf(5)#' \ ${WRKSRC}/doc/mpd.1.rst ${WRKSRC}/doc/mpd.conf.5.rst @${REINPLACE_CMD} \ -e "s#'mpd'#'${PORTNAME}'#" \ -e "s#'mpd.conf'#'${PORTNAME}.conf'#" \ -e "s#'mpd.conf doc#'${PORTNAME}.conf doc#" \ ${WRKSRC}/doc/conf.py do-install: ${INSTALL_PROGRAM} ${WRKSRC}/_build/mpd \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ ${INSTALL_DATA} ${WRKSRC}/doc/mpdconf.example \ ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample do-install-MANPAGES-on: ${INSTALL_MAN} ${WRKSRC}/_build/doc/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 ${INSTALL_MAN} ${WRKSRC}/_build/doc/${PORTNAME}.conf.5 \ ${STAGEDIR}${PREFIX}/share/man/man5 .include diff --git a/audio/myxer/Makefile b/audio/myxer/Makefile index bf023c6226aa..71df924b4f07 100644 --- a/audio/myxer/Makefile +++ b/audio/myxer/Makefile @@ -1,96 +1,96 @@ PORTNAME= myxer DISTVERSION= 1.3.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Modern volume mixer for PulseAudio WWW= https://github.com/Aurailus/Myxer LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.md BROKEN_powerpc64le= rust compiler crashes, see https://github.com/rust-lang/rust/issues/120583 LIB_DEPENDS= libpulse.so:audio/pulseaudio USES= cargo gnome USE_GNOME= glib20 gtk30 USE_GITHUB= yes GH_ACCOUNT= Aurailus GH_PROJECT= Myxer CARGO_CRATES= anyhow-1.0.44 \ atk-0.9.0 \ atk-sys-0.10.0 \ autocfg-1.0.1 \ bitflags-1.3.2 \ cairo-rs-0.9.1 \ cairo-sys-rs-0.10.0 \ cc-1.0.70 \ colorsys-0.6.4 \ either-1.6.1 \ futures-0.3.17 \ futures-channel-0.3.17 \ futures-core-0.3.17 \ futures-executor-0.3.17 \ futures-io-0.3.17 \ futures-macro-0.3.17 \ futures-sink-0.3.17 \ futures-task-0.3.17 \ futures-util-0.3.17 \ gdk-0.13.2 \ gdk-pixbuf-0.9.0 \ gdk-pixbuf-sys-0.10.0 \ gdk-sys-0.10.0 \ gio-0.9.1 \ gio-sys-0.10.1 \ glib-0.10.3 \ glib-macros-0.10.1 \ glib-sys-0.10.1 \ gobject-sys-0.10.0 \ gtk-0.9.2 \ gtk-sys-0.10.0 \ heck-0.3.3 \ itertools-0.9.0 \ libc-0.2.153 \ libpulse-binding-2.25.0 \ libpulse-sys-1.19.2 \ memchr-2.4.1 \ num-derive-0.3.3 \ num-traits-0.2.14 \ once_cell-1.8.0 \ pango-0.9.1 \ pango-sys-0.10.0 \ pin-project-lite-0.2.7 \ pin-utils-0.1.0 \ pkg-config-0.3.19 \ proc-macro-crate-0.1.5 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro-hack-0.5.19 \ proc-macro-nested-0.1.7 \ proc-macro2-1.0.29 \ quote-1.0.9 \ serde-1.0.130 \ slab-0.4.4 \ slice_as_array-1.1.0 \ strum-0.18.0 \ strum_macros-0.18.0 \ syn-1.0.76 \ system-deps-1.3.2 \ thiserror-1.0.29 \ thiserror-impl-1.0.29 \ toml-0.5.8 \ unicode-segmentation-1.8.0 \ unicode-xid-0.2.2 \ version-compare-0.0.10 \ version_check-0.9.3 \ winapi-0.3.9 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-x86_64-pc-windows-gnu-0.4.0 PLIST_FILES= bin/${PORTNAME} .include diff --git a/audio/ncpamixer/Makefile b/audio/ncpamixer/Makefile index 22913db47edd..baf27a61bc8c 100644 --- a/audio/ncpamixer/Makefile +++ b/audio/ncpamixer/Makefile @@ -1,25 +1,26 @@ PORTNAME= ncpamixer DISTVERSION= 1.3.7 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Ncurses PulseAudio mixer WWW= https://github.com/fulhax/ncpamixer LICENSE= MIT LICENSE_FILE= ${WRKSRC}/../LICENSE LIB_DEPENDS= libpulse.so:audio/pulseaudio USES= cmake compiler:c++17-lang ncurses USE_GITHUB= yes GH_ACCOUNT= fulhax CMAKE_OFF= BUILD_MANPAGES WRKSRC_SUBDIR= src PLIST_FILES= bin/${PORTNAME} .include diff --git a/audio/ncspot/Makefile b/audio/ncspot/Makefile index a62001c6ee4f..367b04f3342f 100644 --- a/audio/ncspot/Makefile +++ b/audio/ncspot/Makefile @@ -1,53 +1,53 @@ PORTNAME= ncspot DISTVERSIONPREFIX= v DISTVERSION= 1.1.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MAINTAINER= rodrigo@FreeBSD.org COMMENT= Ncurses Spotify client WWW= https://github.com/hrkfdn/ncspot LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libdbus-1.so:devel/dbus USES= cargo ssl USE_GITHUB= yes GH_ACCOUNT= hrkfdn CARGO_FEATURES= --no-default-features termion_backend PLIST_FILES= bin/ncspot PORTDOCS= README.md OPTIONS_DEFINE= CLIPBOARD DOCS MPRIS NOTIFY OPTIONS_DEFAULT= CLIPBOARD MPRIS NOTIFY PORTAUDIO OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= PORTAUDIO PULSEAUDIO CLIPBOARD_DESC= Support for accessing X11 clipboard MPRIS_DESC= D-Bus MPRIS support CLIPBOARD_USES= python:build xorg CLIPBOARD_USE= XORG=xcb CLIPBOARD_BINARY_ALIAS= python3=${PYTHON_CMD} CLIPBOARD_VARS= CARGO_FEATURES+=share_clipboard MPRIS_VARS= CARGO_FEATURES+=mpris NOTIFY_VARS= CARGO_FEATURES+=notify PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_VARS= CARGO_FEATURES+=portaudio_backend PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_USES= localbase:ldflags PULSEAUDIO_VARS= CARGO_FEATURES+=pulseaudio_backend post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/noson-app/Makefile b/audio/noson-app/Makefile index e40f53a30260..39cfe75e13ba 100644 --- a/audio/noson-app/Makefile +++ b/audio/noson-app/Makefile @@ -1,25 +1,26 @@ PORTNAME= noson-app DISTVERSION= 5.6.6 +PORTREVISION= 1 CATEGORIES= audio net MAINTAINER= arved@FreeBSD.org COMMENT= Fast and smart SONOS controller WWW= https://janbar.github.io/noson-app/index.html LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libFLAC.so:audio/flac USES= cmake compiler:c++11-lang qt:5 ssl USE_QT= core dbus declarative graphicaleffects gui network \ quickcontrols2 svg widgets xml buildtools:build qmake:build USE_GITHUB= yes GH_ACCOUNT= janbar OPTIONS_DEFINE= PULSEAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Pulse \ CMAKE_DISABLE_FIND_PACKAGE_Pulse-simple .include diff --git a/audio/openal-soft/Makefile b/audio/openal-soft/Makefile index be5dd2b36be0..305073c3463e 100644 --- a/audio/openal-soft/Makefile +++ b/audio/openal-soft/Makefile @@ -1,113 +1,114 @@ PORTNAME= openal-soft PORTVERSION= 1.23.1 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://openal-soft.org/openal-releases/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Software implementation of the OpenAL specification WWW= https://openal-soft.org/ LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdbus-1.so:devel/dbus USES= cmake compiler:c++14-lang pkgconfig tar:bzip2 USE_LDCONFIG= yes CMAKE_ARGS= -DCMAKE_INSTALL_DATADIR:STRING="${PREFIX}/etc" CMAKE_ON= ALSOFT_BACKEND_WAVE CMAKE_OFF= ALSOFT_BACKEND_ALSA ALSOFT_DLOPEN ALSOFT_EXAMPLES \ ALSOFT_REQUIRE_QSA ALSOFT_REQUIRE_SOLARIS # do not link with librt and libdl. LDFLAGS+= -Wl,--as-needed LDFLAGS_i386= -Wl,-z,notext PLIST_SUB= SOVERSION=${PORTVERSION} OPTIONS_DEFINE= CONFIG EXAMPLES JACK OSS PIPEWIRE PORTAUDIO \ PULSEAUDIO SDL SNDIO UTILS OPTIONS_DEFINE_aarch64= SIMD OPTIONS_DEFINE_amd64= SIMD OPTIONS_DEFINE_i386= SIMD OPTIONS_DEFAULT= OSS UTILS OPTIONS_DEFAULT_aarch64=SIMD OPTIONS_DEFAULT_amd64= SIMD OPTIONS_DEFAULT_i386= SIMD OPTIONS_SUB= yes CONFIG_DESC= Install configuration utility (needs Qt 5) UTILS_DESC= Build and install utility programs CONFIG_USES= qt:5 CONFIG_USE= QT=core,gui,widgets,buildtools:build,qmake:build CONFIG_CMAKE_BOOL_OFF= ALSOFT_NO_CONFIG_UTIL CONFIG_CMAKE_ON= -DALSOFT_NO_QT5:BOOL=OFF JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= ALSOFT_BACKEND_JACK ALSOFT_REQUIRE_JACK OSS_CMAKE_BOOL= ALSOFT_BACKEND_OSS ALSOFT_REQUIRE_OSS PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_USES= localbase:ldflags PIPEWIRE_CMAKE_BOOL= ALSOFT_BACKEND_PIPEWIRE ALSOFT_REQUIRE_PIPEWIRE PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_BOOL= ALSOFT_BACKEND_PORTAUDIO ALSOFT_REQUIRE_PORTAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= ALSOFT_BACKEND_PULSEAUDIO ALSOFT_REQUIRE_PULSEAUDIO SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CMAKE_BOOL= ALSOFT_BACKEND_SDL2 ALSOFT_REQUIRE_SDL2 SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_BOOL= ALSOFT_BACKEND_SNDIO ALSOFT_REQUIRE_SNDIO UTILS_LIB_DEPENDS= libmysofa.so:audio/libmysofa UTILS_CMAKE_BOOL= ALSOFT_UTILS .include .if ${PORT_OPTIONS:MSIMD} . if !${MACHINE_CPU:Msse} CMAKE_OFF+= ALSOFT_CPUEXT_SSE . endif . if !${MACHINE_CPU:Msse2} CMAKE_OFF+= ALSOFT_CPUEXT_SSE2 . endif . if !${MACHINE_CPU:Msse3} CMAKE_OFF+= ALSOFT_CPUEXT_SSE3 . endif . if !${MACHINE_CPU:Msse41} CMAKE_OFF+= ALSOFT_CPUEXT_SSE4_1 . endif .else CMAKE_OFF+= ALSOFT_CPUEXT_NEON \ ALSOFT_CPUEXT_SSE \ ALSOFT_CPUEXT_SSE2 \ ALSOFT_CPUEXT_SSE3 \ ALSOFT_CPUEXT_SSE4_1 .endif # The following is actually meant for lld 15.0 and later, but the ports # framework does not support LINKER_TYPE and LINKER_VERSION yet. .if ${COMPILER_TYPE} == "clang" # Turn off checking of dynamic relocations, to avoid lld diagnostics about # possibly incorrect addend values. LDFLAGS_i386+= -Wl,--no-check-dynamic-relocations .endif post-patch: @${REINPLACE_CMD} 's|/etc/openal|${ETCDIR}|' \ ${WRKSRC}/alc/alconfig.cpp post-install-EXAMPLES-on: (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}) .include diff --git a/audio/owntone/Makefile b/audio/owntone/Makefile index 1232d1c2d711..dff88e56c531 100644 --- a/audio/owntone/Makefile +++ b/audio/owntone/Makefile @@ -1,86 +1,86 @@ PORTNAME= owntone DISTVERSION= 28.10 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= https://github.com/owntone/owntone-server/releases/download/${DISTVERSION}/ MAINTAINER= dinoex@FreeBSD.org COMMENT= DAAP (iTunes), MPD (Music Player Daemon) and RSP (Roku) media server WWW= https://github.com/owntone/owntone-server LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libavahi-client.so:net/avahi-app \ libavcodec.so:multimedia/ffmpeg \ libconfuse.so:devel/libconfuse \ libcurl.so:ftp/curl \ libevent_pthreads.so:devel/libevent \ libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls \ libgpg-error.so:security/libgpg-error \ libjson-c.so:devel/json-c \ libinotify.so:devel/libinotify \ libmxml.so:textproc/mxml \ libplist-2.0.so:devel/libplist \ libsodium.so:security/libsodium \ libunistring.so:devel/libunistring \ libprotobuf-c.so:devel/protobuf-c \ libuuid.so:misc/e2fsprogs-libuuid USES= tar:xz localbase libtool iconv:wchar_t pkgconfig gnome gmake \ gperf sqlite gnome pathfix USE_GNOME= libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-install_systemd \ --with-owntone-user=${OWNTONE_USER} \ --with-owntone-group=${OWNTONE_USER} GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_RC_SUBR= ${PORTNAME} SUB_FILES= pkg-message OWNTONE_USER?= daapd USERS?= daapd GROUPS?= daapd OPTIONS_DEFINE= ITUNES MPD AIRPLAY2 CHROMECAST WEBINTERFACE \ ALSA PULSEAUDIO NLS DOCS OPTIONS_DEFAULT= ITUNES MPD AIRPLAY2 CHROMECAST WEBINTERFACE \ ALSA NLS DOCS NO_OPTIONS_SORT=yes OPTIONS_SUB=yes AIRPLAY2_DESC= Prefer AirPlay 2 ITUNES_DESC= iTunes XML support CHROMECAST_DESC= Chromecast support MPD_DESC= Music Player Daemon protocol support WEBINTERFACE_DESC= Install web interface AIRPLAY2_CONFIGURE_ENABLE= preferairplay2 ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_WITH= alsa ITUNES_CONFIGURE_ENABLE= itunes CHROMECAST_CONFIGURE_ENABLE= chromecast MPD_CONFIGURE_ENABLE= mpd PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio WEBINTERFACE_CONFIGURE_ENABLE= webinterface WEBINTERFACE_CONFIGURE_WITH= libwebsockets WEBINTERFACE_LIB_DEPENDS= libwebsockets.so:net/libwebsockets NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/owntone/owntone-sqlext.so ${MV} ${STAGEDIR}${PREFIX}/etc/owntone.conf \ ${STAGEDIR}${PREFIX}/etc/owntone.conf.sample .include diff --git a/audio/pa-applet/Makefile b/audio/pa-applet/Makefile index d0966db94fd0..03f40e4ab6be 100644 --- a/audio/pa-applet/Makefile +++ b/audio/pa-applet/Makefile @@ -1,30 +1,30 @@ PORTNAME= pa-applet PORTVERSION= g20181009 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MAINTAINER= glowiak1111@yandex.com COMMENT= PulseAudio system tray applet with volume bar WWW= https://github.com/fernandotcl/pa-applet LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libnotify.so:devel/libnotify USES= autoreconf gnome pkgconfig USE_GNOME= cairo gdkpixbuf2 gtk30 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_GITHUB= yes GH_ACCOUNT= fernandotcl GH_TAGNAME= 3b4f8b3 DESKTOP_ENTRIES= "PulseAudio Applet" "${COMMENT}" \ "audio-volume-high" "${PORTNAME}" \ "GNOME;GTK;System;" true PLIST_FILES= bin/pa-applet share/man/man1/pa-applet.1.gz .include diff --git a/audio/paman/Makefile b/audio/paman/Makefile index 845e472b5397..c803afe025f9 100644 --- a/audio/paman/Makefile +++ b/audio/paman/Makefile @@ -1,20 +1,20 @@ PORTNAME= paman PORTVERSION= 0.9.4 -PORTREVISION= 13 +PORTREVISION= 14 CATEGORIES= audio MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/ MAINTAINER= romain@FreeBSD.org COMMENT= Gtk frontend for PulseAudio WWW= https://0pointer.de/lennart/projects/paman/ LIB_DEPENDS= libglademm-2.4.so:devel/libglademm24 \ libpulse.so:audio/pulseaudio GNU_CONFIGURE= yes USES= compiler:c++11-lang gmake pathfix pkgconfig USE_CXXSTD= c++11 CONFIGURE_ARGS= --disable-lynx .include diff --git a/audio/pamixer/Makefile b/audio/pamixer/Makefile index 778e78402aff..7d25a4db0844 100644 --- a/audio/pamixer/Makefile +++ b/audio/pamixer/Makefile @@ -1,22 +1,22 @@ PORTNAME= pamixer DISTVERSION= 1.6 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MAINTAINER= fluffy@FreeBSD.org COMMENT= Pulseaudio command line mixer WWW= https://github.com/cdemoulins/pamixer LICENSE= GPLv3 BUILD_DEPENDS= cxxopts>0:devel/cxxopts LIB_DEPENDS= libpulse.so:audio/pulseaudio USES= compiler:c++11-lang meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= cdemoulins PLIST_FILES= bin/pamixer \ share/man/man1/pamixer.1.gz .include diff --git a/audio/paprefs/Makefile b/audio/paprefs/Makefile index 9829899fc458..35f56c2935a7 100644 --- a/audio/paprefs/Makefile +++ b/audio/paprefs/Makefile @@ -1,29 +1,29 @@ PORTNAME= paprefs PORTVERSION= 1.2 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= http://freedesktop.org/software/pulseaudio/${PORTNAME}/ MAINTAINER= romain@FreeBSD.org COMMENT= GTK configuration dialog for PulseAudio WWW= https://freedesktop.org/software/pulseaudio/paprefs/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libpulse.so:audio/pulseaudio USES= compiler:c++11-lang gnome meson pkgconfig tar:xz USE_GNOME= atkmm glib20 glibmm gtk30 gtkmm30 libsigc++20 OPTIONS_DEFINE= PK NLS OPTIONS_SUB= yes PK_DESC= Force dependency on PackageKit PK_LIB_DEPENDS= libpackagekit-glib2.so:ports-mgmt/packagekit NLS_USES= gettext .include diff --git a/audio/pasystray/Makefile b/audio/pasystray/Makefile index c19caa17031e..611f0bf3db5e 100644 --- a/audio/pasystray/Makefile +++ b/audio/pasystray/Makefile @@ -1,42 +1,43 @@ PORTNAME= pasystray PORTVERSION= 0.8.2 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= julien+freebsdports@delhaye.me COMMENT= System tray applet to control PulseAudio WWW= https://github.com/christophgysin/pasystray LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libpulse.so:audio/pulseaudio USES= autoreconf gnome pkgconfig USE_GNOME= cairo gdkpixbuf2 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share USE_GITHUB= yes GH_ACCOUNT= christophgysin OPTIONS_DEFINE= APPINDICATOR AVAHI GTK2 NOTIFY OPTIONS_DEFAULT= APPINDICATOR AVAHI NOTIFY APPINDICATOR_DESC= AppIndicator support APPINDICATOR_LIB_DEPENDS= libappindicator3.so:devel/libappindicator APPINDICATOR_CONFIGURE_OFF= --disable-appindicator AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CONFIGURE_OFF= --disable-avahi GTK2_DESC= Use GTK 2 instead of GTK 3 GTK2_CONFIGURE_ON= --with-gtk=2 GTK2_USE= GNOME=gtk20 GTK2_USE_OFF= GNOME=gtk30 GTK2_PLIST_FILES= ${DATADIR_REL}/${PORTNAME}.gtk2.glade GTK2_PLIST_FILES_OFF= ${DATADIR_REL}/${PORTNAME}.gtk3.glade GTK2_PREVENTS= APPINDICATOR NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_CONFIGURE_OFF= --disable-notify .include diff --git a/audio/pavucontrol-qt/Makefile b/audio/pavucontrol-qt/Makefile index e2ff1bc31164..2ea54cb4858a 100644 --- a/audio/pavucontrol-qt/Makefile +++ b/audio/pavucontrol-qt/Makefile @@ -1,21 +1,22 @@ PORTNAME= pavucontrol-qt PORTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= LXQT/${PORTNAME} MAINTAINER= lxqt@FreeBSD.org COMMENT= PulseAudio mixer in Qt6 WWW= https://github.com/lxqt/pavucontrol-qt/ LICENSE= GPLv2 LIB_DEPENDS= libpulse.so:audio/pulseaudio USES= cmake compiler:c++17-lang gettext-runtime localbase:ldflags \ lxqt:2 qt:6 perl5 pkgconfig tar:xz gnome USE_PERL5= build USE_QT= base:run tools:build USE_LXQT= buildtools2 USE_GNOME= glib20 .include diff --git a/audio/pavucontrol/Makefile b/audio/pavucontrol/Makefile index a663be638af9..86a40437a02f 100644 --- a/audio/pavucontrol/Makefile +++ b/audio/pavucontrol/Makefile @@ -1,33 +1,33 @@ PORTNAME= pavucontrol PORTVERSION= 5.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio MASTER_SITES= http://freedesktop.org/software/pulseaudio/${PORTNAME}/ MAINTAINER= romain@FreeBSD.org COMMENT= GTK mixer for PulseAudio WWW= https://freedesktop.org/software/pulseaudio/pavucontrol/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libjson-glib-1.0.so:devel/json-glib \ libpulse.so:audio/pulseaudio USES= compiler:c++11-lang gettext gmake gnome pkgconfig tar:xz USE_GNOME= glibmm gtkmm30 intltool libsigc++20 USE_CXXSTD= c++11 GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-lynx post-patch: # Install locales files in right place ${REINPLACE_CMD} -e 's|[$$][(]DATADIRNAME[)]|share|' \ ${WRKSRC}/po/Makefile.in.in .include diff --git a/audio/pavumeter/Makefile b/audio/pavumeter/Makefile index 6ea36509fa57..f3fdbd8117b8 100644 --- a/audio/pavumeter/Makefile +++ b/audio/pavumeter/Makefile @@ -1,22 +1,22 @@ PORTNAME= pavumeter PORTVERSION= 0.9.3 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= audio MASTER_SITES= http://0pointer.de/lennart/projects/${PORTNAME}/ MAINTAINER= romain@FreeBSD.org COMMENT= GTK volume meter for PulseAudio WWW= https://0pointer.de/lennart/projects/pavumeter/ BUILD_DEPENDS= pulseaudio>=0.9.7:audio/pulseaudio RUN_DEPENDS= pulseaudio>=0.9.7:audio/pulseaudio LIB_DEPENDS= libglademm-2.4.so:devel/libglademm24 \ libpulse.so:audio/pulseaudio GNU_CONFIGURE= yes USES= compiler:c++11-lang gmake pkgconfig USE_CXXSTD= c++11 CONFIGURE_ARGS= --disable-lynx .include diff --git a/audio/pcaudiolib/Makefile b/audio/pcaudiolib/Makefile index a8781f401ca2..40667846d79f 100644 --- a/audio/pcaudiolib/Makefile +++ b/audio/pcaudiolib/Makefile @@ -1,30 +1,30 @@ PORTNAME= pcaudiolib DISTVERSION= 1.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= se@FreeBSD.org COMMENT= Portable C audio library WWW= https://github.com/espeak-ng/pcaudiolib LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= libtool pkgconfig #USE_GITHUB= yes GH_ACCOUNT= espeak-ng GNU_CONFIGURE= yes OPTIONS_DEFAULT= OSS OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= ALSA OSS PULSEAUDIO ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio ALSA_CONFIGURE_WITH= alsa OSS_CONFIGURE_WITH= oss PULSEAUDIO_CONFIGURE_WITH= pulseaudio .include diff --git a/audio/plasma5-plasma-pa/Makefile b/audio/plasma5-plasma-pa/Makefile index db79b67aff18..e52ca7abbb37 100644 --- a/audio/plasma5-plasma-pa/Makefile +++ b/audio/plasma5-plasma-pa/Makefile @@ -1,25 +1,26 @@ PORTNAME= plasma-pa DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= audio kde kde-plasma MAINTAINER= kde@FreeBSD.org COMMENT= Plasma5 Plasma pulse audio mixer WWW= https://www.kde.org/plasma-desktop LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libpulse.so:audio/pulseaudio RUN_DEPENDS= ${LOCALBASE}/share/sounds/freedesktop/index.theme:audio/freedesktop-sound-theme USES= cmake compiler:c++11-lib gettext gnome kde:5 pkgconfig qt:5 \ shebangfix tar:xz USE_GNOME= glib20 USE_KDE= config configwidgets coreaddons globalaccel i18n kcmutils \ kdeclarative notifications package plasma-framework \ doctools:build ecm:build USE_QT= core dbus declarative gui network widgets xml \ buildtools:build qmake:build SHEBANG_FILES= data/plasmaVolumeDisableKMixAutostart.pl CMAKE_OFF= USE_GCONF .include diff --git a/audio/plasma6-plasma-pa/Makefile b/audio/plasma6-plasma-pa/Makefile index 85f5a445714d..be12e1408fad 100644 --- a/audio/plasma6-plasma-pa/Makefile +++ b/audio/plasma6-plasma-pa/Makefile @@ -1,22 +1,23 @@ PORTNAME= plasma-pa DISTVERSION= ${KDE_PLASMA_VERSION} +PORTREVISION= 1 CATEGORIES= audio kde kde-plasma MAINTAINER= kde@FreeBSD.org COMMENT= Plasma applet for audio volume management using PulseAudio LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libpulse.so:audio/pulseaudio \ libKF6PulseAudioQt.so:audio/pulseaudio-qt@qt6 RUN_DEPENDS= ${LOCALBASE}/share/sounds/freedesktop/index.theme:audio/freedesktop-sound-theme USES= cmake gettext gl gnome kde:6 pkgconfig qt:6 tar:xz USE_KDE= config coreaddons doctools globalaccel i18n itemmodels \ kcmutils kdeclarative kirigami-addons libplasma \ statusnotifieritem svg \ ecm:build USE_GL= gl opengl USE_GNOME= glib20 USE_QT= base declarative .include diff --git a/audio/psindustrializer/Makefile b/audio/psindustrializer/Makefile index c661c337bcc3..277f5749b752 100644 --- a/audio/psindustrializer/Makefile +++ b/audio/psindustrializer/Makefile @@ -1,50 +1,50 @@ PORTNAME= psindustrializer DISTVERSION= 0.2.7 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= audio MASTER_SITES= SF/industrializer/ MAINTAINER= yuri@FreeBSD.org COMMENT= Percussion sounds synthesizer using physical modelling WWW= https://sourceforge.net/projects/industrializer/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \ libharfbuzz.so:print/harfbuzz USES= gettext-runtime gl gmake gnome libtool pkgconfig tar:xz xorg USE_GNOME= atk cairo gdkpixbuf2 gtk20 libxml2 pango pangox-compat USE_GL= gl glu USE_XORG= x11 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa INSTALL_TARGET= install-strip OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= JACK PULSE OPTIONS_DEFAULT= PULSE BACKEND_DESC= Audio Backend JACK_CONFIGURE_ENABLE= jack JACK_LIB_DEPENDS= libjack.so:audio/jack PULSE_DESC= PulseAudio support PULSE_CONFIGURE_ENABLE= pulse PULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/audio/pulseaudio-module-sndio/Makefile b/audio/pulseaudio-module-sndio/Makefile index 6c2cb3d3a3bc..bdbcf9ebc44e 100644 --- a/audio/pulseaudio-module-sndio/Makefile +++ b/audio/pulseaudio-module-sndio/Makefile @@ -1,30 +1,30 @@ PORTNAME= pulseaudio-module-sndio DISTVERSION= 13.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio MASTER_SITES= https://github.com/t6/pulseaudio-module-sndio/releases/download/${DISTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Sndio module for PulseAudio WWW= https://github.com/t6/pulseaudio-module-sndio LICENSE= ISCL LGPL21+ LICENSE_COMB= multi LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libsndio.so:audio/sndio USES= pkgconfig SUB_FILES= pkg-message PLIST_FILES= ${PULSE_MODDIR}/module-sndio.so PULSE_MODDIR= `${LOCALBASE}/bin/pkg-config --variable=modlibexecdir libpulse` PULSE_VERSION= `${LOCALBASE}/bin/pkg-config --modversion libpulse` post-patch: ${REINPLACE_CMD} \ -e "/^PA_MODULE_VERSION/s/0.0/${PULSE_VERSION}/1" \ ${WRKSRC}/module-sndio.c .include diff --git a/audio/pulseaudio-module-xrdp/Makefile b/audio/pulseaudio-module-xrdp/Makefile index 741a70461ed7..3a732dd438f5 100644 --- a/audio/pulseaudio-module-xrdp/Makefile +++ b/audio/pulseaudio-module-xrdp/Makefile @@ -1,42 +1,42 @@ PORTNAME= pulseaudio-module-xrdp DISTVERSIONPREFIX= v DISTVERSION= 0.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio DIST_SUBDIR= xrdp PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ MAINTAINER= meta@FreeBSD.org COMMENT= PulseAudio module which enables xrdp to use audio redirection WWW= https://github.com/neutrinolabs/pulseaudio-module-xrdp LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${NONEXISTENT}:audio/pulseaudio:configure LIB_DEPENDS= libpulse.so:audio/pulseaudio USES= autoreconf:build compiler:c11 libtool localbase pkgconfig USE_GITHUB= yes GNU_CONFIGURE= yes GH_ACCOUNT= neutrinolabs PLIST_FILES= `${PULSE_MODDIR}`/module-xrdp-sink.so \ `${PULSE_MODDIR}`/module-xrdp-source.so \ etc/xdg/autostart/pulseaudio-xrdp.desktop \ libexec/pulseaudio-module-xrdp/load_pa_modules.sh CONFIGURE_ARGS= PULSE_DIR=${WRKDIR}/pulseaudio-`${PULSE_VERSION}` \ --with-xdgautostart-dir=${PREFIX}/etc/xdg/autostart PULSE_VERSION= pkg-config --modversion libpulse PULSE_MODDIR= pkg-config --variable=modlibexecdir libpulse PULSE_WRKSRC= ${MAKE} -C ${PORTSDIR}/audio/pulseaudio -VWRKSRC pre-configure: @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./bootstrap @${CP} -R "`${PULSE_WRKSRC}`" ${WRKDIR} .include diff --git a/audio/pulseaudio-qt/Makefile b/audio/pulseaudio-qt/Makefile index 6bf357a52de4..40277b896812 100644 --- a/audio/pulseaudio-qt/Makefile +++ b/audio/pulseaudio-qt/Makefile @@ -1,28 +1,29 @@ PORTNAME= pulseaudio-qt DISTVERSION= 1.5.0 +PORTREVISION= 1 MASTER_SITES= KDE/stable/${PORTNAME} CATEGORIES= audio kde PKGNAMESUFFIX= ${FLAVOR:S/qt//} MAINTAINER= kde@FreeBSD.org COMMENT= Pulseaudio bindings for Qt WWW= https://github.com/KDE/pulseaudio-qt FLAVORS= qt5 qt6 FLAVOR?= qt5 LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libpulse.so:audio/pulseaudio USES= cmake compiler:c++11-lib gettext kde:${FLAVOR:S/qt//} \ pkgconfig qt:${FLAVOR:S/qt//} shebangfix tar:xz USE_KDE= ecm:build _USE_QT_qt5= core dbus gui \ buildtools:build qmake:build _USE_QT_qt6= base USE_QT= ${_USE_QT_${FLAVOR}} CMAKE_ARGS= -DQT_MAJOR_VERSION=${FLAVOR:S/qt//} PLIST_SUB= QT_VER=${FLAVOR:S/qt//} .include diff --git a/audio/py-pocketsphinx/Makefile b/audio/py-pocketsphinx/Makefile index ffd5a691eef8..325feb2ff516 100644 --- a/audio/py-pocketsphinx/Makefile +++ b/audio/py-pocketsphinx/Makefile @@ -1,32 +1,32 @@ PORTNAME= pocketsphinx PORTVERSION= 0.1.15 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= audio python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= DtxdF@disroot.org COMMENT= Python interface to CMU Sphinxbase and Pocketsphinx libraries WWW= https://github.com/bambocher/pocketsphinx-python LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= swig40>0:devel/swig40 LIB_DEPENDS= libasound.so:audio/alsa-lib \ libpulse-simple.so:audio/pulseaudio \ libpulse.so:audio/pulseaudio USES= python USE_PYTHON= distutils BINARY_ALIAS= swig=swig40 CFLAGS+= -I${LOCALBASE}/include post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pocketsphinx/_pocketsphinx${PYTHON_EXT_SUFFIX}.so ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinxbase/_ad_alsa${PYTHON_EXT_SUFFIX}.so ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinxbase/_ad_pulse${PYTHON_EXT_SUFFIX}.so ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/sphinxbase/_sphinxbase${PYTHON_EXT_SUFFIX}.so .include diff --git a/audio/py-pulsectl/Makefile b/audio/py-pulsectl/Makefile index 626509cb4362..219c2e1c003c 100644 --- a/audio/py-pulsectl/Makefile +++ b/audio/py-pulsectl/Makefile @@ -1,21 +1,22 @@ PORTNAME= pulsectl DISTVERSION= 24.11.0 +PORTREVISION= 1 CATEGORIES= audio python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tagattie@FreeBSD.org COMMENT= Python high-level interface and ctypes-based bindings for PulseAudio WWW= https://pypi.python.org/pypi/pulsectl LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpulse.so:audio/pulseaudio USES= python USE_PYTHON= autoplist distutils NO_ARCH= yes .include diff --git a/audio/rezound/Makefile b/audio/rezound/Makefile index a2d3eea01fd0..a733654b30f7 100644 --- a/audio/rezound/Makefile +++ b/audio/rezound/Makefile @@ -1,103 +1,103 @@ PORTNAME= rezound DISTVERSION= 0.13.1beta -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/ReZound/${DISTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Graphical audio file editor WWW= https://rezound.sourceforge.net/ LICENSE= GPLv2 LIB_DEPENDS= libFOX-1.6.so:x11-toolkits/fox16 USES= bison compiler:c++11-lang pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-alsa OPTIONS_DEFINE= LARGEFILE JACK AUDIOFILE PORTAUDIO OGG VORBIS FLAC FFTW \ SOUNDTOUCH PULSEAUDIO LADSPA LAME CDRDAO DOCS NLS OPTIONS_DEFAULT= AUDIOFILE PORTAUDIO OGG VORBIS FLAC SOUNDTOUCH \ LADSPA LAME LARGEFILE_DESC= Use 64-bit file I/O FFTW_DESC= Use fast Fourier transform routines CDRDAO_DESC= Burning audio files to CD support LARGEFILE_CONFIGURE_ON= --enable-largefile JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --disable-jack AUDIOFILE_LIB_DEPENDS= libaudiofile.so:audio/libaudiofile PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CONFIGURE_OFF=--disable-portaudio OGG_LIB_DEPENDS= libogg.so:audio/libogg VORBIS_IMPLIES= OGG VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis FLAC_IMPLIES= OGG FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 FFTW_CONFIGURE_OFF= --disable-fftw3 SOUNDTOUCH_LIB_DEPENDS= libSoundTouch.so:audio/soundtouch PULSEAUDIO_IMPLIES= FLAC VORBIS PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF=--disable-pulse LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/amp.so:audio/ladspa LADSPA_CONFIGURE_OFF= --disable-ladspa LAME_RUN_DEPENDS= lame:audio/lame CDRDAO_RUN_DEPENDS= cdrdao:sysutils/cdrdao .include .if ${PORT_OPTIONS:MNLS} USES+= gettext CPPFLAGS+= -I${LOCALBASE}/include PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif post-patch: .SILENT ${REINPLACE_CMD} -E '/atoll|round|nearbyint/d' \ ${WRKSRC}/config/platform/bsd.h ${REINPLACE_CMD} -E 's,(_nl_expand_alias \()\),\1...), ; \ /^C(XX)?FLAGS=/d ; /CXXFLAGS="\$$CXXFLAGS -[gsW]/d ; \ /^return /s,\(int\)( n?gettext),(long)\1, ; \ /boost header not found/d' \ ${WRKSRC}/configure ${REINPLACE_CMD} -e 's,$$(prefix)/doc,$$(datadir)/doc,' \ ${WRKSRC}/config/am_include.mk ${WRKSRC}/Makefile.in \ ${WRKSRC}/src/Makefile.in ${WRKSRC}/src/misc/Makefile.in \ ${WRKSRC}/src/misc/CNestedDataFile/Makefile.in \ ${WRKSRC}/src/PoolFile/Makefile.in \ ${WRKSRC}/src/backend/DSP/Makefile.in \ ${WRKSRC}/src/backend/File/Makefile.in \ ${WRKSRC}/src/backend/Edits/Makefile.in \ ${WRKSRC}/src/backend/Looping/Makefile.in \ ${WRKSRC}/src/backend/Generate/Makefile.in \ ${WRKSRC}/src/backend/Remaster/Makefile.in \ ${WRKSRC}/src/backend/LADSPA/Makefile.in ${REINPLACE_CMD} -e '/^#include/s,soundtouch/,,' \ ${WRKSRC}/src/backend/DSP/T*Changer.h ${REINPLACE_CMD} -e 's,auto_ptr,unique_ptr,' \ ${WRKSRC}/src/backend/AAction.* \ ${WRKSRC}/src/backend/Effects/CFlangeEffect.cpp \ ${WRKSRC}/src/backend/Effects/CVariedRepeatEffect.cpp ${REINPLACE_CMD} -e '/unsigned/s,register ,,' \ ${WRKSRC}/src/backend/CSound.h ${REINPLACE_CMD} -e '/size_t/s,register ,,' \ ${WRKSRC}/src/backend/CSoundPlayerChannel.cpp ${REINPLACE_CMD} -e '/const/s,register ,,' \ ${WRKSRC}/src/backend/CSound_defs.h \ ${WRKSRC}/src/backend/Filters/CBiquadResFilter.cpp \ ${WRKSRC}/src/backend/Filters/CSinglePoleFilter.cpp ${REINPLACE_CMD} -e '/int/s,register ,,' \ ${WRKSRC}/src/misc/endian_util.h .if ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e '/AUTHORS/d; /COPYING/d' ${WRKSRC}/Makefile.in .else ${REINPLACE_CMD} -e 's/ install-pkgdocDATA$$//' ${WRKSRC}/Makefile.in .endif .include diff --git a/audio/rhvoice/Makefile b/audio/rhvoice/Makefile index d5c529dc0f79..caa23324e8da 100644 --- a/audio/rhvoice/Makefile +++ b/audio/rhvoice/Makefile @@ -1,51 +1,51 @@ PORTNAME= RHVoice DISTVERSION= 1.2.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Speech synthesizer for English, Russian, Georgian, and other languages WWW= https://github.com/RHVoice/RHVoice LICENSE= LGPL21+ GPLv3+ # the main code is under LGPL21+, MAGE library is under GPLv3+, voices are licensed for use by individuals only, no commercial use LICENSE_COMB= multi LICENSE_FILE_LGPL21+ = ${WRKSRC}/licenses/lgpl-2.1.txt LICENSE_FILE_GPLv3+ = ${WRKSRC}/licenses/gpl-3.0.txt USES= compiler:c++0x pkgconfig scons USE_LDCONFIG= yes USE_GITHUB= yes GH_TUPLE= arsenm:sanitizers-cmake:99e159e:sanitizers/cmake/thirdparty/sanitizers \ unicode-org:cldr:d1c59ae:cldr/src/third-party/cldr \ rhvoice:victoria-rus:e57c82c:victoria_rus/data/voices/victoria \ rhvoice:evgeniy-rus:dd971ee:evgeniy_rus/data/voices/evgeniy-rus \ rhvoice:evgeniy-eng:c483272:evgeniy_eng/data/voices/evgeniy-eng OPTIONS_RADIO= AUDIO OPTIONS_RADIO_AUDIO= PULSEAUDIO AO PORTAUDIO # only one of them works at a time OPTIONS_DEFAULT= AO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio AO_LIB_DEPENDS= libao.so:audio/libao PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio post-patch-PULSEAUDIO-off: @${REINPLACE_CMD} 's|conf.CheckPKG("libpulse-simple")|False|' ${WRKSRC}/SConstruct post-patch-AO-off: @${REINPLACE_CMD} 's|conf.CheckPKG("ao")|False|' ${WRKSRC}/SConstruct post-patch-PORTAUDIO-off: @${REINPLACE_CMD} 's|conf.CheckPKG("portaudio-2.0")|False|' ${WRKSRC}/SConstruct post-install: # create config file ${MV} ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample # strip binaries cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/RHVoice-test bin/sd_rhvoice lib/libRHVoice.so lib/libRHVoice_audio.so lib/libRHVoice_core.so # install accessibility/speech-dispatcher module ${MKDIR} ${STAGEDIR}${PREFIX}/lib/speech-dispatcher-modules ${RLN} ${STAGEDIR}${PREFIX}/bin/sd_rhvoice ${STAGEDIR}${PREFIX}/lib/speech-dispatcher-modules .include diff --git a/audio/rtaudio/Makefile b/audio/rtaudio/Makefile index 0f9cf0d7c973..c0bf00eaece0 100644 --- a/audio/rtaudio/Makefile +++ b/audio/rtaudio/Makefile @@ -1,40 +1,41 @@ PORTNAME= rtaudio DISTVERSION= 6.0.1 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= C++ classes that provide a common API for realtime audio input/output WWW= https://github.com/thestk/rtaudio LICENSE= MIT USES= cmake:testing compiler:c++11-lang pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= thestk CXXFLAGS+= -I${STAGEDIR}${PREFIX}/include/rtaudio # hack for tests CMAKE_TESTING_ON= RTAUDIO_BUILD_TESTING OPTIONS_MULTI= AUDIO_BACKEND OPTIONS_MULTI_AUDIO_BACKEND= ALSA JACK OSS PULSEAUDIO OPTIONS_DEFAULT= PULSEAUDIO # default should probably be OSS, but it appears to be broken AUDIO_BACKEND_DESC= Audio backend ALSA_CMAKE_BOOL= RTAUDIO_API_ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib JACK_CMAKE_BOOL= RTAUDIO_API_JACK JACK_LDFLAGS= `pkg-config --libs jack` # workaround for https://github.com/thestk/rtaudio/issues/357 JACK_LIB_DEPENDS= libjack.so:audio/jack OSS_CMAKE_BOOL= RTAUDIO_API_OSS # OSS option is possibly broken, see https://github.com/thestk/rtaudio/issues/359 PULSEAUDIO_CMAKE_BOOL= RTAUDIO_API_PULSE # is PULSEAUFIO broken? see https://github.com/thestk/rtaudio/issues/361 PULSEAUDIO_USES= localbase:ldflags # workaround for https://github.com/thestk/rtaudio/issues/360 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio .include diff --git a/audio/shairport-sync/Makefile b/audio/shairport-sync/Makefile index 0446609fb0ff..9444c359e016 100644 --- a/audio/shairport-sync/Makefile +++ b/audio/shairport-sync/Makefile @@ -1,74 +1,74 @@ PORTNAME= shairport-sync DISTVERSION= 4.3.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MAINTAINER= ehaupt@FreeBSD.org COMMENT= AirPlay audio player with multi-room audio synchronisation capability WWW= https://github.com/mikebrady/shairport-sync LICENSE= BSD3CLAUSE LIB_DEPENDS= libavahi-client.so:net/avahi-app \ libconfig.so:devel/libconfig \ libdaemon.so:devel/libdaemon \ libpopt.so:devel/popt \ libsoxr.so:audio/libsoxr USES= autoreconf libtool pkgconfig ssl USE_GITHUB= yes GH_ACCOUNT= mikebrady USE_RC_SUBR= ${PORTNAME} GNU_CONFIGURE= yes CONFIGURE_ARGS= --sysconfdir=${LOCALBASE}/etc \ --with-avahi \ --with-libdaemon \ --with-metadata \ --with-piddir=/var/run/shairport-sync \ --with-pipe \ --with-soxr \ --with-ssl=openssl \ --with-stdout CONFIGURE_ENV+= SSL_CFLAGS=-I${OPENSSLINC} \ SSL_LIBS=-L${OPENSSLLIB} CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lcrypto OPTIONS_DEFINE= AIRPLAY2 ALAC ALSA MQTT PULSEAUDIO SNDIO OPTIONS_DEFAULT= AIRPLAY2 SNDIO AIRPLAY2_DESC= Build with AirPlay 2 protocol support ALAC_DESC= Build with libalac support (experimental) MQTT_DESC= Build with MQTT protocol support AIRPLAY2_BUILD_DEPENDS= vim:editors/vim AIRPLAY2_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ libgcrypt.so:security/libgcrypt \ libplist-2.0.so:devel/libplist \ libsodium.so:security/libsodium \ libuuid.so:misc/e2fsprogs-libuuid AIRPLAY2_RUN_DEPENDS= nqptp:net/nqptp AIRPLAY2_CONFIGURE_ON= --with-airplay-2 AIRPLAY2_SUB_FILES= pkg-message ALAC_LIB_DEPENDS= libalac.so:audio/alac ALAC_CONFIGURE_ON= --with-apple-alac ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ON= --with-alsa MQTT_LIB_DEPENDS= libmosquitto.so:net/mosquitto MQTT_CONFIGURE_ON= --with-mqtt-client PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ON= --with-pa SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ON= --with-sndio post-patch: @${REINPLACE_CMD} -e 's/-Wno-clobbered -Wno-psabi //' \ ${WRKSRC}/Makefile.am .include diff --git a/audio/sidplayfp/Makefile b/audio/sidplayfp/Makefile index 3be542b477d8..fadf81db973e 100644 --- a/audio/sidplayfp/Makefile +++ b/audio/sidplayfp/Makefile @@ -1,43 +1,43 @@ PORTNAME= sidplayfp DISTVERSION= 2.11.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio MASTER_SITES= https://github.com/lib${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Console SID/MUS player using sidplayfp WWW= https://github.com/libsidplayfp/sidplayfp LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libstilview.so:audio/libsidplayfp USES= compiler:c++17-lang localbase:ldflags pkgconfig GNU_CONFIGURE= yes PLIST_FILES= bin/sidplayfp \ bin/stilview \ share/man/man1/sidplayfp.1.gz \ share/man/man1/stilview.1.gz \ share/man/man5/sidplayfp.ini.5.gz OPTIONS_DEFINE= ALSA OUT123 PULSEAUDIO OPTIONS_DEFAULT= OUT123 OUT123_DESC= Audio output support via mpg123's out123 library ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib OUT123_LIB_DEPENDS= libout123.so:audio/mpg123 OUT123_CONFIGURE_WITH= out123 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio pre-configure-ALSA-off: ${REINPLACE_CMD} -e 's|alsa >= 1.0|alsa >= 9999.0|g' \ ${PATCH_WRKSRC}/configure pre-configure-PULSEAUDIO-off: ${REINPLACE_CMD} -e 's|libpulse-simple >= 1.0|libpulse-simple >= 9990.0|g' \ ${PATCH_WRKSRC}/configure .include diff --git a/audio/siren/Makefile b/audio/siren/Makefile index d6d495c29195..13aa9ded7591 100644 --- a/audio/siren/Makefile +++ b/audio/siren/Makefile @@ -1,79 +1,79 @@ PORTNAME= siren PORTVERSION= 0.10 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio MASTER_SITES= http://www.kariliq.nl/${PORTNAME}/dist/ MAINTAINER= ports@FreeBSD.org COMMENT= Text-based audio player WWW= https://www.kariliq.nl/siren/ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENCE BROKEN_mips= fails to configure: cannot find program /nxb-bin/usr/bin/cc BROKEN_mips64= fails to configure: cannot find program /nxb-bin/usr/bin/cc USES= localbase:ldflags ncurses pkgconfig HAS_CONFIGURE= yes USE_CSTD= c99 OPTIONS_DEFINE= FAAD FFMPEG FLAC MAD MPG123 OPUS SNDFILE VORBIS WAVPACK OPTIONS_MULTI= SOUND OPTIONS_MULTI_SOUND= OSS PULSEAUDIO SNDIO OPTIONS_DEFAULT= FFMPEG OSS OSS_CONFIGURE_ON= oss=yes OSS_CONFIGURE_OFF= oss=no PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ON= pulse=yes PULSEAUDIO_CONFIGURE_OFF= pulse=no SNDIO_CONFIGURE_ON= sndio=yes SNDIO_CONFIGURE_OFF= sndio=no SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_USES= localbase:ldflags FAAD_CONFIGURE_ON= aac=yes FAAD_CONFIGURE_OFF= aac=no FAAD_LIB_DEPENDS= libfaad.so:audio/faad \ libmp4v2.so:multimedia/mp4v2 FFMPEG_CONFIGURE_ON= ffmpeg=yes FFMPEG_CONFIGURE_OFF= ffmpeg=no FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg FLAC_CONFIGURE_ON= flac=yes FLAC_CONFIGURE_OFF= flac=no FLAC_LIB_DEPENDS= libFLAC.so:audio/flac MAD_CONFIGURE_ON= mad=yes MAD_CONFIGURE_OFF= mad=no MAD_LIB_DEPENDS= libmad.so:audio/libmad \ libid3tag.so:audio/libid3tag MPG123_CONFIGURE_ON= mpg123=yes MPG123_CONFIGURE_OFF= mpg123=no MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 OPUS_CONFIGURE_ON= opus=yes OPUS_CONFIGURE_OFF= opus=no OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile SNDFILE_CONFIGURE_ON= sndfile=yes SNDFILE_CONFIGURE_OFF= sndfile=no SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile VORBIS_CONFIGURE_ON= vorbis=yes VORBIS_CONFIGURE_OFF= vorbis=no VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis WAVPACK_CONFIGURE_ON= wavpack=yes WAVPACK_CONFIGURE_OFF= wavpack=no WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack OPTIONS_SUB= yes CONFIGURE_ARGS= alsa=no \ ao=no \ sun=no \ portaudio=no \ mandir=${PREFIX}/share/man post-patch: @${REINPLACE_CMD} -e 's|-lcurses|${NCURSESLIBS}|' ${WRKSRC}/configure post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/siren @${FIND} ${STAGEDIR}${PREFIX}/lib/siren -path '*.so' \ | ${XARGS} ${STRIP_CMD} .include diff --git a/audio/songrec/Makefile b/audio/songrec/Makefile index 223851d3030c..8fa680b07677 100644 --- a/audio/songrec/Makefile +++ b/audio/songrec/Makefile @@ -1,314 +1,314 @@ PORTNAME= songrec DISTVERSION= 0.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Shazam client written in Rust WWW= https://github.com/marin-m/SongRec LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_powerpc64le= rust compiler crashes, see https://github.com/rust-lang/rust/issues/120583 LIB_DEPENDS= libasound.so:audio/alsa-lib \ libdbus-1.so:devel/dbus \ libpulse.so:audio/pulseaudio USES= cargo gettext-runtime gnome ssl USE_GNOME= gdkpixbuf2 glib20 gtk30 USE_GITHUB= yes GH_ACCOUNT= marin-m GH_PROJECT= SongRec CARGO_CRATES= aho-corasick-0.7.18 \ alsa-0.9.1 \ alsa-sys-0.3.1 \ ansi_term-0.11.0 \ anyhow-1.0.47 \ app_dirs-1.2.1 \ arrayvec-0.7.6 \ atk-0.9.0 \ atk-sys-0.10.0 \ atty-0.2.14 \ autocfg-1.0.1 \ base64-0.12.3 \ base64-0.13.0 \ bindgen-0.56.0 \ bitflags-1.2.1 \ bitflags-2.6.0 \ block-0.1.6 \ bstr-0.2.17 \ bumpalo-3.8.0 \ bytemuck-1.18.0 \ byteorder-1.4.3 \ bytes-0.5.6 \ bytes-1.1.0 \ cairo-rs-0.9.1 \ cairo-sys-rs-0.10.0 \ cc-1.0.72 \ cesu8-1.1.0 \ cexpr-0.4.0 \ cfg-if-0.1.10 \ cfg-if-1.0.0 \ chfft-0.3.4 \ chrono-0.4.19 \ clang-sys-1.3.0 \ clap-2.33.3 \ claxon-0.4.3 \ combine-4.6.2 \ core-foundation-0.9.2 \ core-foundation-sys-0.8.3 \ coreaudio-rs-0.11.3 \ coreaudio-sys-0.2.8 \ cpal-0.15.3 \ crc32fast-1.2.1 \ csv-1.1.6 \ csv-core-0.1.10 \ dasp_sample-0.11.0 \ dbus-0.6.5 \ directories-4.0.1 \ dirs-3.0.2 \ dirs-sys-0.3.6 \ either-1.6.1 \ encoding_rs-0.8.29 \ fnv-1.0.7 \ foreign-types-0.3.2 \ foreign-types-shared-0.1.1 \ form_urlencoded-1.0.1 \ fuchsia-zircon-0.3.3 \ fuchsia-zircon-sys-0.3.3 \ futures-0.3.17 \ futures-channel-0.3.17 \ futures-core-0.3.17 \ futures-executor-0.3.17 \ futures-io-0.3.17 \ futures-macro-0.3.17 \ futures-sink-0.3.17 \ futures-task-0.3.17 \ futures-util-0.3.17 \ gdk-0.13.2 \ gdk-pixbuf-0.9.0 \ gdk-pixbuf-sys-0.10.0 \ gdk-sys-0.10.0 \ getrandom-0.1.16 \ getrandom-0.2.3 \ gettext-rs-0.5.0 \ gettext-sys-0.19.9 \ gio-0.9.1 \ gio-sys-0.10.1 \ glib-0.10.3 \ glib-macros-0.10.1 \ glib-sys-0.10.1 \ glob-0.3.0 \ gobject-sys-0.10.0 \ gtk-0.9.2 \ gtk-sys-0.10.0 \ h2-0.2.7 \ hashbrown-0.11.2 \ heck-0.3.3 \ hermit-abi-0.1.19 \ hound-3.4.0 \ http-0.2.5 \ http-body-0.3.1 \ httparse-1.5.1 \ httpdate-0.3.2 \ hyper-0.13.10 \ hyper-tls-0.4.3 \ idna-0.2.3 \ indexmap-1.7.0 \ iovec-0.1.4 \ ipnet-2.3.1 \ itertools-0.9.0 \ itoa-0.4.8 \ jni-0.21.1 \ jni-sys-0.3.0 \ jobserver-0.1.24 \ js-sys-0.3.70 \ kernel32-sys-0.2.2 \ lazy_static-1.4.0 \ lazycell-1.3.0 \ lewton-0.10.2 \ libc-0.2.108 \ libdbus-sys-0.2.2 \ libloading-0.7.2 \ libpulse-binding-2.26.0 \ libpulse-sys-1.19.2 \ locale_config-0.3.0 \ log-0.4.14 \ mach2-0.4.2 \ malloc_buf-0.0.6 \ matches-0.1.9 \ memchr-2.4.1 \ mime-0.3.16 \ mime_guess-2.0.3 \ mio-0.6.23 \ miow-0.2.2 \ mpris-player-0.6.1 \ native-tls-0.2.8 \ ndk-0.8.0 \ ndk-context-0.1.1 \ ndk-sys-0.5.0+25.2.9519653 \ net2-0.2.37 \ nom-5.1.2 \ num-complex-0.4.0 \ num-derive-0.3.3 \ num-derive-0.4.2 \ num-integer-0.1.44 \ num-traits-0.2.14 \ num_cpus-1.13.0 \ num_enum-0.7.3 \ num_enum_derive-0.7.3 \ objc-0.2.7 \ objc-foundation-0.1.1 \ objc_id-0.1.1 \ oboe-0.6.1 \ oboe-sys-0.6.1 \ ogg-0.8.0 \ ole32-sys-0.2.0 \ once_cell-1.19.0 \ openssl-0.10.38 \ openssl-probe-0.1.4 \ openssl-sys-0.9.71 \ pango-0.9.1 \ pango-sys-0.10.0 \ peeking_take_while-0.1.2 \ percent-encoding-2.1.0 \ pin-project-1.0.8 \ pin-project-internal-1.0.8 \ pin-project-lite-0.1.12 \ pin-project-lite-0.2.7 \ pin-utils-0.1.0 \ pkg-config-0.3.22 \ ppv-lite86-0.2.15 \ proc-macro-crate-0.1.5 \ proc-macro-crate-1.1.0 \ proc-macro-error-1.0.4 \ proc-macro-error-attr-1.0.4 \ proc-macro-hack-0.5.19 \ proc-macro-nested-0.1.7 \ proc-macro2-1.0.86 \ pulsectl-rs-0.3.2 \ quote-1.0.37 \ rand-0.7.3 \ rand-0.8.4 \ rand_chacha-0.2.2 \ rand_chacha-0.3.1 \ rand_core-0.5.1 \ rand_core-0.6.3 \ rand_hc-0.2.0 \ rand_hc-0.3.1 \ redox_syscall-0.2.10 \ redox_users-0.4.0 \ regex-1.5.4 \ regex-automata-0.1.10 \ regex-syntax-0.6.25 \ remove_dir_all-0.5.3 \ reqwest-0.10.10 \ rodio-0.19.0 \ rustc-hash-1.1.0 \ ryu-1.0.5 \ same-file-1.0.6 \ schannel-0.1.19 \ security-framework-2.3.1 \ security-framework-sys-2.4.2 \ serde-1.0.130 \ serde_derive-1.0.130 \ serde_json-1.0.71 \ serde_urlencoded-0.7.0 \ shell32-sys-0.1.2 \ shlex-0.1.1 \ slab-0.4.5 \ socket2-0.3.19 \ strsim-0.8.0 \ strum-0.18.0 \ strum_macros-0.18.0 \ symphonia-0.5.4 \ symphonia-bundle-mp3-0.5.4 \ symphonia-core-0.5.4 \ symphonia-metadata-0.5.4 \ syn-1.0.81 \ syn-2.0.77 \ system-deps-1.3.2 \ tempfile-3.2.0 \ textwrap-0.11.0 \ thiserror-1.0.64 \ thiserror-impl-1.0.64 \ time-0.1.43 \ tinyvec-1.5.1 \ tinyvec_macros-0.1.0 \ tokio-0.2.25 \ tokio-tls-0.3.1 \ tokio-util-0.3.1 \ toml-0.4.10 \ toml-0.5.8 \ tower-service-0.3.1 \ tracing-0.1.29 \ tracing-core-0.1.21 \ tracing-futures-0.2.5 \ try-lock-0.2.3 \ unicase-2.6.0 \ unicode-bidi-0.3.7 \ unicode-ident-1.0.13 \ unicode-normalization-0.1.19 \ unicode-segmentation-1.8.0 \ unicode-width-0.1.9 \ unicode-xid-0.2.2 \ url-2.2.2 \ uuid-0.8.2 \ vcpkg-0.2.15 \ vec_map-0.8.2 \ version-compare-0.0.10 \ version_check-0.9.3 \ walkdir-2.3.2 \ want-0.3.0 \ wasi-0.9.0+wasi-snapshot-preview1 \ wasi-0.10.2+wasi-snapshot-preview1 \ wasm-bindgen-0.2.93 \ wasm-bindgen-backend-0.2.93 \ wasm-bindgen-futures-0.4.43 \ wasm-bindgen-macro-0.2.93 \ wasm-bindgen-macro-support-0.2.93 \ wasm-bindgen-shared-0.2.93 \ web-sys-0.3.55 \ winapi-0.2.8 \ winapi-0.3.9 \ winapi-build-0.1.1 \ winapi-i686-pc-windows-gnu-0.4.0 \ winapi-util-0.1.5 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ windows-0.54.0 \ windows-core-0.54.0 \ windows-result-0.1.2 \ windows-sys-0.45.0 \ windows-targets-0.42.2 \ windows-targets-0.52.6 \ windows_aarch64_gnullvm-0.42.2 \ windows_aarch64_gnullvm-0.52.6 \ windows_aarch64_msvc-0.42.2 \ windows_aarch64_msvc-0.52.6 \ windows_i686_gnu-0.42.2 \ windows_i686_gnu-0.52.6 \ windows_i686_gnullvm-0.52.6 \ windows_i686_msvc-0.42.2 \ windows_i686_msvc-0.52.6 \ windows_x86_64_gnu-0.42.2 \ windows_x86_64_gnu-0.52.6 \ windows_x86_64_gnullvm-0.42.2 \ windows_x86_64_gnullvm-0.52.6 \ windows_x86_64_msvc-0.42.2 \ windows_x86_64_msvc-0.52.6 \ winreg-0.7.0 \ ws2_32-sys-0.2.1 \ xdg-2.4.0 OPENSSLINC= /usr/include OPENSSLLIB= /usr/lib PLIST_FILES= bin/${PORTNAME} # known problem: The 'Audio input' combobox doesn't have any selections, see https://github.com/marin-m/SongRec/issues/115 .include diff --git a/audio/sonic-visualiser/Makefile b/audio/sonic-visualiser/Makefile index 3a4983341b61..990c62b845f7 100644 --- a/audio/sonic-visualiser/Makefile +++ b/audio/sonic-visualiser/Makefile @@ -1,88 +1,88 @@ PORTNAME= sonic-visualiser DISTVERSION= 4.0.1 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= audio MASTER_SITES= https://code.soundsoftware.ac.uk/attachments/download/2607/ MAINTAINER= uddka@student.kit.edu COMMENT= Program for viewing and analysing the contents of music audio files WWW= https://www.sonicvisualiser.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcapnp.so:devel/capnproto \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ liblrdf.so:textproc/liblrdf \ libogg.so:audio/libogg \ liboggz.so:audio/liboggz \ libopusfile.so:audio/opusfile \ librubberband.so:audio/rubberband \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libserd-0.so:devel/serd \ libsord-0.so:devel/sord \ libvamp-hostsdk.so:audio/vamp-plugin-sdk USES= autoreconf compiler:c++11-lang desktop-file-utils dos2unix gmake gl pkgconfig qt:5 xorg DOS2UNIX_FILES= convert.pro USE_QT= buildtools:build core gui network qmake:build svg testlib widgets xml USE_XORG= x11 USE_GL= gl GNU_CONFIGURE= yes OPTIONS_DEFINE= DEBUG FISHSOUND ID3TAG JACK MAD OSC PORTAUDIO PULSEAUDIO OPTIONS_DEFAULT= FISHSOUND ID3TAG JACK MAD PORTAUDIO OPTIONS_SUB= yes DEBUG_CONFIGURE_ENABLE= debug FISHSOUND_DESC= FLAC, Speex and Vorbis codecs support FISHSOUND_CONFIGURE_WITH= fishsound FISHSOUND_LIB_DEPENDS= libfishsound.so:audio/libfishsound \ libvorbis.so:audio/libvorbis \ libspeex.so:audio/speex \ libFLAC.so:audio/flac ID3TAG_CONFIGURE_WITH= id3tag ID3TAG_LIB_DEPENDS= libid3tag.so:audio/libid3tag JACK_CONFIGURE_WITH= jack JACK_LIB_DEPENDS= libjack.so:audio/jack MAD_CONFIGURE_WITH= mad MAD_LIB_DEPENDS= libmad.so:audio/libmad OSC_DESC= OpenSound Control support OSC_CONFIGURE_WITH= lo OSC_LIB_DEPENDS= liblo.so:audio/liblo PORTAUDIO_CONFIGURE_WITH= portaudio PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PULSEAUDIO_CONFIGURE_WITH= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio post-patch: # remove the bundled vamp-plugin-sdk to avoid possible confusion @${RM} -r ${WRKSRC}/vamp-plugin-sdk # workaround for https://sourceforge.net/p/sv1/bugs/280/, also see Bug#236000 @${FIND} ${WRKSRC} -name "*.pro" -o -name "*.pri" | ${XARGS} ${REINPLACE_CMD} -e 's|-Werror| |' do-install: .for f in sonic-visualiser piper-vamp-simple-server piper-convert checker/vamp-plugin-load-checker ${INSTALL_PROGRAM} ${WRKSRC}/$f ${STAGEDIR}${PREFIX}/bin .endfor .for f in sonic-visualiser.desktop x-sonicvisualiser.desktop x-sonicvisualiser-layer.desktop ${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${PREFIX}/share/applications .endfor ${INSTALL_DATA} ${WRKSRC}/icons/sv-icon.svg ${STAGEDIR}${PREFIX}/share/pixmaps ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} do-install-OSC-on: ${INSTALL_DATA} ${WRKSRC}/README.OSC ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/sonivox-eas/Makefile b/audio/sonivox-eas/Makefile index 3a2b10969fbe..d2c783b73489 100644 --- a/audio/sonivox-eas/Makefile +++ b/audio/sonivox-eas/Makefile @@ -1,28 +1,29 @@ PORTNAME= sonivox-eas DISTVERSIONPREFIX= v DISTVERSION= 1.5.1 +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/soundtracker/Makefile b/audio/soundtracker/Makefile index a519e6f5b6c4..35ffd33ee8c5 100644 --- a/audio/soundtracker/Makefile +++ b/audio/soundtracker/Makefile @@ -1,50 +1,51 @@ PORTNAME= soundtracker DISTVERSION= 1.0.5 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/ MAINTAINER= yuri@FreeBSD.org COMMENT= Pattern-oriented music editor WWW= https://sourceforge.net/projects/soundtracker/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsndfile.so:audio/libsndfile RUN_DEPENDS= bash:shells/bash USES= desktop-file-utils gettext gmake gnome pkgconfig shebangfix tar:xz xorg USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 libxml2 pango USE_XORG= x11 SHEBANG_FILES= soundtracker_convert_config CONFIGURE_ENV= SDL_CONFIG=${LOCALBASE}/bin/sdl2-config GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --disable-alsa OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND= JACK OSS PULSEAUDIO SDL OPTIONS_DEFAULT= OSS PULSEAUDIO SDL # JACK BACKEND_DESC= Audio backends: JACK_CONFIGURE_ENABLE= jack JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_BROKEN= # 2023-10-02: JACK option is be broken because the build doesn't use Jack when the option is set OSS_CONFIGURE_ENABLE= oss PULSEAUDIO_CONFIGURE_ENABLE= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio SDL_CONFIGURE_ENABLE= sdl SDL_USES= sdl SDL_USE= SDL=sdl2 .include diff --git a/audio/sox/Makefile b/audio/sox/Makefile index bb3ad65a5153..f6a4027c0bcf 100644 --- a/audio/sox/Makefile +++ b/audio/sox/Makefile @@ -1,109 +1,109 @@ PORTNAME= sox DISTVERSION= 14.4.2.20210509 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= audio MASTER_SITES= https://dev.gentoo.org/~fordfrog/distfiles/ DISTNAME= sox-code-42b3557e13e0fe01a83465b672d89faddbe65f49 MAINTAINER= dnelson@allantgroup.com COMMENT= SOund eXchange - universal sound sample translator WWW= https://sox.sourceforge.net/ LICENSE= LGPL21 GPLv2 LICENSE_COMB= dual BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive LIB_DEPENDS= libltdl.so:devel/libltdl CONFLICTS= play USES= autoreconf cpe libtool localbase:ldflags pkgconfig zip GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${DISTNAME} OPTIONS_DEFINE= AMRNB AMRWB FLAC GSM ID3TAG LADSPA LAME MAD OPUS PNG \ SNDFILE TWOLAME VORBIS WAVPACK OPTIONS_DEFAULT= AO FLAC GSM ID3TAG LAME MAD OPUS OSS PNG SNDFILE VORBIS OPTIONS_GROUP= SOUND OPTIONS_GROUP_SOUND= ALSA AO OSS PULSEAUDIO SNDIO AMRNB_DESC= AMR Speech Codec (Narrowband) AMRWB_DESC= AMR Speech Codec (Wideband) PNG_DESC= PNG spectrogram creation CONFIGURE_ARGS= --with-pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ --with-distro="${CONFIGURE_TARGET} ${PKGNAME}" \ --disable-stack-protector --disable-static ALSA_CONFIGURE_WITH= alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins AO_CONFIGURE_WITH= ao AO_LIB_DEPENDS= libao.so:audio/libao AMRNB_CONFIGURE_WITH= amrnb AMRNB_LIB_DEPENDS= libamrnb.so:audio/libamrnb AMRWB_CONFIGURE_WITH= amrwb AMRWB_LIB_DEPENDS= libamrwb.so:audio/libamrwb VORBIS_CONFIGURE_WITH= oggvorbis VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis SNDFILE_CONFIGURE_WITH= sndfile SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile LADSPA_CONFIGURE_WITH= ladspa LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/filter.so:audio/ladspa LADSPA_BUILD_DEPENDS= ${LOCALBASE}/lib/ladspa/filter.so:audio/ladspa LAME_CONFIGURE_WITH= lame LAME_LIB_DEPENDS= libmp3lame.so:audio/lame FLAC_CONFIGURE_WITH= flac FLAC_LIB_DEPENDS= libFLAC.so:audio/flac MAD_CONFIGURE_WITH= mad MAD_LIB_DEPENDS= libmad.so:audio/libmad OSS_CONFIGURE_WITH= oss PNG_CONFIGURE_WITH= png PNG_LIB_DEPENDS= libpng.so:graphics/png PULSEAUDIO_CONFIGURE_WITH= pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio SNDIO_CONFIGURE_WITH= sndio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio GSM_CONFIGURE_WITH= gsm libgsm GSM_LIB_DEPENDS= libgsm.so:audio/gsm ID3TAG_CONFIGURE_WITH= id3tag ID3TAG_LIB_DEPENDS= libid3tag.so:audio/libid3tag WAVPACK_CONFIGURE_WITH= wavpack WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack TWOLAME_CONFIGURE_WITH= twolame TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame OPUS_CONFIGURE_WITH= opus OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile INSTALL_TARGET= install-strip post-patch: # rename sox's custom EX/EE macros so they don't get overridden by # the default ones ${REINPLACE_CMD} \ -e 's/EX$$/soxEX/' \ -e 's/EE$$/soxEE/' \ ${WRKSRC}/*.[0-9] .include diff --git a/audio/spotify-player/Makefile b/audio/spotify-player/Makefile index dce375225279..2e1edcac9fc0 100644 --- a/audio/spotify-player/Makefile +++ b/audio/spotify-player/Makefile @@ -1,66 +1,66 @@ PORTNAME= spotify-player DISTVERSIONPREFIX= v DISTVERSION= 0.17.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= audio MAINTAINER= jfree@FreeBSD.org COMMENT= Command driven spotify player WWW= https://github.com/aome510/spotify-player LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= fails to build LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig USES= cargo ssl USE_GITHUB= yes GH_ACCOUNT= aome510 CARGO_CARGOTOML= ${WRKSRC}/spotify_player/Cargo.toml CARGO_FEATURES= --no-default-features CARGO_INSTALL_PATH= ./spotify_player PLIST_FILES= bin/spotify_player PORTDOCS= README.md OPTIONS_DEFINE= CLIPBOARD DAEMON DBUS DOCS IMAGE LYRICS NOTIFY OPTIONS_DEFAULT= CLIPBOARD DBUS NOTIFY PORTAUDIO OPTIONS_SINGLE= BACKEND OPTIONS_SINGLE_BACKEND= PORTAUDIO PULSEAUDIO CLIPBOARD_DESC= Open Spotify links from clipboard DAEMON_DESC= Ability to launch as daemon DBUS_DESC= Media control via MPRIS D-Bus IMAGE_DESC= Terminal album art rendering LYRICS_DESC= Fetch lyrics for current track NOTIFY_DESC= Desktop notifications CLIPBOARD_VARS= CARGO_FEATURES+=clipboard DAEMON_VARS= CARGO_FEATURES+=daemon DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_VARS= CARGO_FEATURES+=media-control IMAGE_VARS= CARGO_FEATURES+=image LYRICS_VARS= CARGO_FEATURES+=lyric-finder NOTIFY_VARS= CARGO_FEATURES+=notify PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_VARS= CARGO_FEATURES+=portaudio-backend PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= CARGO_FEATURES+=pulseaudio-backend post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/spotifyd/Makefile b/audio/spotifyd/Makefile index 0677533ed977..0ea11b4c7970 100644 --- a/audio/spotifyd/Makefile +++ b/audio/spotifyd/Makefile @@ -1,58 +1,58 @@ PORTNAME= spotifyd DISTVERSIONPREFIX= v DISTVERSION= 0.3.5 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= audio MAINTAINER= rodrigo@FreeBSD.org COMMENT= Spotify daemon WWW= https://github.com/Spotifyd/spotifyd LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/cargo-crates/ansi_term-0.12.1/LICENCE LIB_DEPENDS= libogg.so:audio/libogg USES= cargo ssl:build USE_GITHUB= yes GH_ACCOUNT= Spotifyd USE_RC_SUBR= spotifyd CARGO_FEATURES= --no-default-features PLIST_FILES= bin/spotifyd \ "@sample etc/spotifyd.conf.sample" PORTDOCS= README.md OPTIONS_DEFINE= ALSA DBUS DNS-SD DOCS PORTAUDIO PULSEAUDIO OPTIONS_DEFAULT= PORTAUDIO DBUS_DESC= D-Bus MPRIS support DNS-SD_DESC= Avahi mDNSS support ALSA_LIB_DEPENDS= libasound_module_pcm_oss.so:audio/alsa-plugins ALSA_VARS= CARGO_FEATURES+=alsa_backend DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_VARS= CARGO_FEATURES+=dbus_mpris DNS-SD_LIB_DEPENDS= libdns_sd.so:net/avahi-libdns DNS-SD_EXTRA_PATCHES= ${PATCHDIR}/extra-patch.Cargo.toml PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_VARS= CARGO_FEATURES+=portaudio_backend PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= CARGO_FEATURES+=pulseaudio_backend post-patch: @${REINPLACE_CMD} 's,/etc/,${PREFIX}/etc/,g' ${WRKSRC}/src/config.rs post-install: ${INSTALL_DATA} ${FILESDIR}/spotifyd.conf ${STAGEDIR}${PREFIX}/etc/spotifyd.conf.sample post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/strawberry/Makefile b/audio/strawberry/Makefile index bdc8c9714fc8..bf4d44c28f68 100644 --- a/audio/strawberry/Makefile +++ b/audio/strawberry/Makefile @@ -1,90 +1,90 @@ PORTNAME= strawberry DISTVERSION= 1.1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= https://github.com/strawberrymusicplayer/${PORTNAME}/releases/download/${DISTVERSION}/ MAINTAINER= jhale@FreeBSD.org COMMENT= Music player and collection organizer WWW= https://www.strawberrymusicplayer.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= boost-libs>0:devel/boost-libs LIB_DEPENDS= libabsl_base.so:devel/abseil \ libicui18n.so:devel/icu \ libprotobuf.so:devel/protobuf \ libtag.so:audio/taglib USES= cmake compiler:c++17-lang desktop-file-utils gettext-runtime \ gl gnome pkgconfig qt:6 sqlite tar:xz xorg USE_GNOME= glib20 USE_GL= opengl USE_QT= base sqldriver-sqlite:run tools:build USE_XORG= ice sm x11 xcb xext CMAKE_ON= BUILD_WITH_QT6 CMAKE_OFF= ENABLE_UDISKS2 OPTIONS_MULTI= BACKEND SOUND OPTIONS_MULTI_BACKEND= GSTREAMER VLC OPTIONS_MULTI_SOUND= ALSA PULSEAUDIO OPTIONS_DEFINE= CDIO EBUR128 IPOD MOODBAR MTP MUSICBRAINZ NLS TEST OPTIONS_DEFAULT= ALSA EBUR128 GSTREAMER MOODBAR MUSICBRAINZ OPTIONS_SUB= yes BACKEND_DESC= Playback engine IPOD_DESC= iPod Classic support MOODBAR_DESC= Moodbar support MUSICBRAINZ_DESC= Tagging/fingerprinting from MusicBrainz VLC_DESC= Multimedia support via (lib)vlc ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= ENABLE_ALSA CDIO_LIB_DEPENDS= libcdio.so:sysutils/libcdio CDIO_USE= GSTREAMER=cdparanoia CDIO_CMAKE_BOOL= ENABLE_AUDIOCD CDIO_IMPLIES= GSTREAMER EBUR128_DESC= EBU R 128 loudness normalization EBUR128_USES= ebur128 EBUR128_CMAKE_BOOL= ENABLE_EBUR128 EBUR128_IMPLIES= GSTREAMER GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=faac,faad,flac,lame,libav,mpg123,opus,taglib,vorbis GSTREAMER_CMAKE_BOOL= ENABLE_GSTREAMER IPOD_LIB_DEPENDS= libgpod.so:audio/libgpod \ libimobiledevice-1.0.so:comms/libimobiledevice \ libplist-2.0.so:devel/libplist IPOD_CMAKE_BOOL= ENABLE_LIBGPOD MOODBAR_LIB_DEPENDS= libfftw3.so:math/fftw3 MOODBAR_CMAKE_BOOL= ENABLE_MOODBAR MOODBAR_IMPLIES= GSTREAMER MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp MTP_CMAKE_BOOL= ENABLE_LIBMTP MUSICBRAINZ_LIB_DEPENDS= libchromaprint.so:audio/chromaprint MUSICBRAINZ_CMAKE_BOOL= ENABLE_MUSICBRAINZ \ ENABLE_SONGFINGERPRINTING MUSICBRAINZ_IMPLIES= GSTREAMER NLS_USES= gettext-tools NLS_CMAKE_BOOL= ENABLE_TRANSLATIONS PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= ENABLE_LIBPULSE VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc VLC_CMAKE_BOOL= ENABLE_VLC TEST_BUILD_DEPENDS= googletest>=0:devel/googletest TEST_TEST_TARGET= strawberry_tests .include diff --git a/audio/vban/Makefile b/audio/vban/Makefile index 5ce013d2dce0..04b20e2adfb7 100644 --- a/audio/vban/Makefile +++ b/audio/vban/Makefile @@ -1,42 +1,42 @@ PORTNAME= vban DISTVERSION= g20201011 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= audio PKGNAMESUFFIX= -tools MAINTAINER= danfe@FreeBSD.org COMMENT= Command-line VBAN (audio over UDP protocol) tools WWW= https://github.com/quiniouben/vban LICENSE= GPLv3+ USES= autoreconf localbase GNU_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= quiniouben GH_TAGNAME= 4f69e5a PLIST_FILES= bin/vban_emitter bin/vban_receptor bin/vban_sendtext PORTDOCS= README.md PORTSCOUT= skipv:2.1.0 # old tag from Oct 4 2018 OPTIONS_DEFINE= DOCS OPTIONS_MULTI= BACKEND OPTIONS_MULTI_BACKEND=ALSA JACK PULSEAUDIO OPTIONS_DEFAULT= ALSA JACK ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --disable-jack PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulseaudio post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/wolf-shaper-lv2/Makefile b/audio/wolf-shaper-lv2/Makefile index 51e9f06e5fd7..f8de0fa9190f 100644 --- a/audio/wolf-shaper-lv2/Makefile +++ b/audio/wolf-shaper-lv2/Makefile @@ -1,59 +1,59 @@ PORTNAME= wolf-shaper DISTVERSIONPREFIX= v DISTVERSION= 1.0.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Waveshaper plugin with a graph editor WWW= https://github.com/wolf-plugins/wolf-shaper/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 \ bash:shells/bash LIB_DEPENDS= libasound.so:audio/alsa-lib \ libpulse.so:audio/pulseaudio LIB_DEPENDS+= liblo.so:audio/liblo # not used other than in makefiles, see https://github.com/wolf-plugins/wolf-shaper/issues/148 USES= gl gmake localbase pkgconfig sdl shebangfix xorg USE_GL= gl USE_XORG= x11 xext xrandr USE_SDL= sdl2 USE_GITHUB= yes GH_ACCOUNT= wolf-plugins GH_TUPLE= DISTRHO:DPF:63dfb76:DISTRHO_DPF/dpf \ DISTRHO:pugl:844528e:DISTRHO_DPF_pugl/dpf/dgl/src/pugl-upstream SHEBANG_FILES= dpf/utils/generate-ttl.sh CFLAGS+= -I${FILESDIR} # for mntent.h OPTIONS_DEFINE= CLAP DSSI JACK VST2 VST3 OPTIONS_DEFAULT= CLAP DSSI JACK VST2 OPTIONS_SUB= yes CLAP_DESC= Install the CLAP Plugin CLAP_MAKE_ARGS= BUILD_CLAP=true CLAP_MAKE_ARGS_OFF= BUILD_CLAP=false DSSI_DESC= Install the DSSI Plugin DSSI_MAKE_ARGS= BUILD_DSSI=true DSSI_MAKE_ARGS_OFF= BUILD_DSSI=false JACK_MAKE_ARGS= BUILD_JACK=true JACK_MAKE_ARGS_OFF= BUILD_JACK=false JACK_LIB_DEPENDS= libjack.so:audio/jack VST2_DESC= Install the VST2 plugin VST2_MAKE_ARGS= BUILD_VST2=true VST2_MAKE_ARGS_OFF= BUILD_VST2=false VST3_DESC= Install the VST3 plugin VST3_MAKE_ARGS= BUILD_VST3=true VST3_MAKE_ARGS_OFF= BUILD_VST3=false VST3_BROKEN= see https://github.com/wolf-plugins/wolf-shaper/issues/159 .include diff --git a/audio/xfce4-mixer/Makefile b/audio/xfce4-mixer/Makefile index 8265e38fdf5f..d6d7589cb2b3 100644 --- a/audio/xfce4-mixer/Makefile +++ b/audio/xfce4-mixer/Makefile @@ -1,63 +1,63 @@ PORTNAME= xfce4-mixer PORTVERSION= 4.18.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= audio xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Volume control for the Xfce desktop WWW= https://docs.xfce.org/apps/xfce4-mixer/start LICENSE= GPLv2 LIB_DEPENDS= libharfbuzz.so:print/harfbuzz FLAVORS= lite full FLAVOR?= ${FLAVORS:[1]} lite_CONFLICTS_INSTALL= xfce4-mixer-full full_PKGNAMESUFFIX= -full full_CONFLICTS_INSTALL= xfce4-mixer USES= compiler:c11 gettext-tools gmake gnome gstreamer libtool \ pkgconfig tar:bzip2 xfce xorg USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 intltool USE_GSTREAMER= good USE_XFCE= libmenu panel xfconf USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share INSTALL_TARGET= install-strip OPTIONS_DEFINE= KEYBINDER NLS OPTIONS_DEFAULT= OSS OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA OSS PULSEAUDIO SNDIO OPTIONS_SUB= yes .if ${FLAVOR} == full OPTIONS_DEFAULT+= ALSA KEYBINDER PULSEAUDIO SNDIO .endif ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa KEYBINDER_DESC= Multimedia keyboard shortcuts KEYBINDER_LIB_DEPENDS= libkeybinder-3.0.so:x11/keybinder-gtk3 KEYBINDER_CONFIGURE_ENABLE= keybinder NLS_USES= gettext-runtime NLS_CONFIGURE_ENABLE= nls OSS_CONFIGURE_ENABLE= oss PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulse SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio .include diff --git a/audio/zam-plugins-lv2/Makefile b/audio/zam-plugins-lv2/Makefile index 44c82deaa5bd..d85a61a8dc33 100644 --- a/audio/zam-plugins-lv2/Makefile +++ b/audio/zam-plugins-lv2/Makefile @@ -1,51 +1,52 @@ PORTNAME= zam-plugins DISTVERSION= 4.3 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Collection of LADSPA/LV2/VST/JACK audio plugins WWW= https://www.zamaudio.com/?p=976 LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= lv2>0:audio/lv2 \ bash:shells/bash \ ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libasound.so:audio/alsa-lib \ libdbus-1.so:devel/dbus \ libfftw3f.so:math/fftw3-float \ libjack.so:audio/jack \ libpulse.so:audio/pulseaudio \ libsamplerate.so:audio/libsamplerate \ libzita-convolver.so:audio/zita-convolver USES= compiler:c++11-lib gl gmake localbase:ldflags pkgconfig sdl xorg USE_GL= gl USE_SDL= sdl2 USE_XORG= x11 xext xrandr USE_GITHUB= yes GH_ACCOUNT= zamaudio GH_TUPLE= DISTRHO:DPF:077fcf5:DISTRHO_DPF/dpf \ DISTRHO:pugl:e33b2f6:DISTRHO_DPF_pugl/dpf/dgl/src/pugl-upstream CFLAGS+= -I${FILESDIR} MAKE_ARGS+= USE_SYSTEM_LIBS=1 HAVE_ZITA_CONVOLVER=true .include post-extract: @${RM} -r ${WRKSRC}/lib/zita-convolver-* post-patch: @${REINPLACE_CMD} -e 's|#!/bin/bash|#!/usr/bin/env bash|' ${WRKSRC}/dpf/utils/generate-ttl.sh ${REINPLACE_CMD} -e 's/-mtune=generic//' \ ${WRKSRC}/dpf/Makefile.base.mk .if ! ${ARCH} == amd64 && ! ${ARCH} == i386 ${REINPLACE_CMD} -e 's/-msse -msse2//' \ ${WRKSRC}/dpf/Makefile.base.mk .endif .include diff --git a/audio/zrythm/Makefile b/audio/zrythm/Makefile index 798dc5554eb6..a8bc0c1e0cfd 100644 --- a/audio/zrythm/Makefile +++ b/audio/zrythm/Makefile @@ -1,69 +1,69 @@ PORTNAME= zrythm DISTVERSIONPREFIX= v DISTVERSION= 1.0.0-alpha.26.0.13 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Modern music production system, also known as DAW WWW= https://www.zrythm.org/en/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= bash:shells/bash \ help2man:misc/help2man \ ${LOCALBASE}/lib/libbacktrace.a:devel/libbacktrace \ kf5-breeze-icons>0:x11-themes/kf5-breeze-icons LIB_DEPENDS= libaudec.so:audio/libaudec \ libavcodec.so:multimedia/ffmpeg \ libcyaml.so:textproc/libcyaml \ libgtop-2.0.so:devel/libgtop \ libcgraph.so:graphics/graphviz \ libcurl.so:ftp/curl \ libfftw3_threads.so:math/fftw3 \ libfftw3f_threads.so:math/fftw3-float \ libjack.so:audio/jack \ libjson-glib-1.0.so:devel/json-glib \ liblilv-0.so:audio/lilv \ libpcre.so:devel/pcre \ libpcre2-8.so:devel/pcre2 \ libportaudio.so:audio/portaudio \ libpulse.so:audio/pulseaudio \ libreproc.so:devel/reproc \ librubberband.so:audio/rubberband \ libsamplerate.so:audio/libsamplerate \ libserd-0.so:devel/serd \ libsmf.so:audio/libsmf \ libsndfile.so:audio/libsndfile \ libsord-0.so:devel/sord \ libasound.so:audio/alsa-lib \ libsratom-0.so:audio/sratom \ libsuil-0.so:audio/suil \ libvamp-hostsdk.so:audio/vamp-plugin-sdk \ libxxhash.so:devel/xxhash \ libyaml.so:textproc/libyaml \ libzstd.so:archivers/zstd RUN_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas \ kf5-breeze-icons>0:x11-themes/kf5-breeze-icons USES= compiler:c11 desktop-file-utils gettext-tools gettext-runtime \ guile:2.2,3.0,alias,conflicts gnome libtool localbase:ldflags \ meson pkgconfig python:build shared-mime-info shebangfix xorg USE_GITHUB= yes USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 gtksourceview3 libxml2 pango USE_XORG= x11 SHEBANG_FILES= scripts/collect_translatables.sh MESON_ARGS= -Dlsp_dsp=disabled GLIB_SCHEMAS= org.zrythm.Zrythm.gschema.xml LDFLAGS+= ${LOCALBASE}/lib/libfftw3_threads.so ${LOCALBASE}/lib/libfftw3f_threads.so # these libs are required but aren't returned by pkg-config for fftw3 BINARY_ALIAS= git=false python3=${PYTHON_CMD} post-patch: # https://git.zrythm.org/zrythm/zrythm/issues/299 @${REINPLACE_CMD} 's|||' ${WRKSRC}/ext/midilib/src/*.c .include diff --git a/comms/cubicsdr/Makefile b/comms/cubicsdr/Makefile index 6ff0cc9549c2..2e060e489ed9 100644 --- a/comms/cubicsdr/Makefile +++ b/comms/cubicsdr/Makefile @@ -1,45 +1,46 @@ PORTNAME= cubicsdr PORTVERSION= 0.2.7 +PORTREVISION= 1 CATEGORIES= comms hamradio MAINTAINER= hamradio@FreeBSD.org COMMENT= SDR receiver using liquidsdr WWW= https://cubicsdr.readthedocs.io/en/latest/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libhamlib.so:comms/hamlib \ libliquid.so:comms/liquid-dsp \ libpulse.so:audio/pulseaudio \ libSoapySDR.so:misc/soapysdr RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ ${PYNUMPY} USES= cmake:noninja compiler:c++11-lib gl python USE_GL+= egl glu USE_WX= 3.2 OPTIONS_DEFINE= HAMLIB OPTIONS_DEFAULT= HAMLIB HAMLIB_DESC= Support rig control via hamlib # for detailed debugging uncomment the next line #CMAKE_ARGS+= --debug-output --trace .include .if ${PORT_OPTIONS:MHAMLIB} LIB_DEPENDS+= libhamlib.so:comms/hamlib CMAKE_ARGS+= -DUSE_HAMLIB=1 .endif CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE=${LOCALBASE}/bin/wxgtk3u-3.2-config USE_GITHUB= yes GH_ACCOUNT= cjcliffe GH_PROJECT= CubicSDR GH_TAGNAME= 0248e5a # # N.B. modem from liquidsp was renamed to modemcf Fri Nov 12, 2021 # our port liquidsp is not synced with Master hence we are stuck here for now. -db .include diff --git a/comms/fldigi/Makefile b/comms/fldigi/Makefile index 0c6f1a4a6084..af29ddb073ab 100644 --- a/comms/fldigi/Makefile +++ b/comms/fldigi/Makefile @@ -1,63 +1,64 @@ PORTNAME= fldigi DISTVERSION= 4.2.06 +PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= SF/fldigi/${PORTNAME} \ http://www.w1hkj.com/files/fldigi/ MAINTAINER= hamradio@FreeBSD.org COMMENT= Digital decoder for psk, cw, psk31, olivia WWW= http://www.w1hkj.com LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= asciidoc:textproc/asciidoc \ docbook-xsl>=1.0:textproc/docbook-xsl \ xsltproc:textproc/libxslt LIB_DEPENDS= libfltk.so:x11-toolkits/fltk \ libfontconfig.so:x11-fonts/fontconfig \ libportaudio.so:audio/portaudio \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libudev.so:devel/libudev-devd \ libpng16.so:graphics/png USES= autoreconf:build compiler:c++11-lib desktop-file-utils gmake jpeg \ perl5 pkgconfig shebangfix xorg USE_XORG= x11 xcursor xext xfixes xft xinerama xrender USE_CXXSTD= gnu++0x GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ENV= EXTRA_LIBS="-lexecinfo" \ FLTK_CONFIG="${LOCALBASE}/bin/fltk-config" CONFIGURE_ARGS= --with-asciidoc \ --with-sndfile \ --enable-optimizations=none OPTIONS_DEFINE= DOCS FLARQ HAMLIB NLS OSS PULSEAUDIO OPTIONS_DEFAULT=FLARQ HAMLIB OSS OPTIONS_SUB= yes FLARQ_DESC= Compile flarq HAMLIB_DESC= Support rig control via hamlib FLARQ_CONFIGURE_ENABLE= flarq HAMLIB_LIB_DEPENDS= libhamlib.so:comms/hamlib HAMLIB_CONFIGURE_WITH= hamlib OSS_CONFIGURE_ENABLE= oss PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls post-configure: ${RM} ${WRKSRC}/doc/*.1 post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/guide.html ${STAGEDIR}${DOCSDIR} .include diff --git a/comms/multimon-ng/Makefile b/comms/multimon-ng/Makefile index c4687e2d4272..24b1dfe8e36e 100644 --- a/comms/multimon-ng/Makefile +++ b/comms/multimon-ng/Makefile @@ -1,32 +1,32 @@ PORTNAME= multimon-ng PORTVERSION= 1.1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms hamradio MAINTAINER= kevans@FreeBSD.org COMMENT= Digital transmission decoder WWW= https://github.com/EliasOenal/multimon-ng LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USE_GITHUB= yes GH_ACCOUNT= EliasOenal USES= cmake:insource OPTIONS_DEFINE= PULSEAUDIO X11 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= PULSE_AUDIO_SUPPORT X11_USES= xorg X11_USE= XORG=ice,sm,x11,xext X11_CMAKE_BOOL= X11_SUPPORT PLIST_FILES= bin/multimon-ng do-install: ${INSTALL_PROGRAM} ${WRKSRC}/multimon-ng ${STAGEDIR}${PREFIX}/bin .include diff --git a/comms/qsstv/Makefile b/comms/qsstv/Makefile index acae55780c87..ca336445df2a 100644 --- a/comms/qsstv/Makefile +++ b/comms/qsstv/Makefile @@ -1,62 +1,62 @@ PORTNAME= qsstv PORTVERSION= 9.5.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= comms hamradio MASTER_SITES= ${WWW}/${PORTNAME}/downloads/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= hamradio@FreeBSD.org COMMENT= Amateur Radio SSTV/FAX reception program for unix WWW= https://www.qsl.net/on4qz/ LICENSE= GPLv3 LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libhamlib.so:comms/hamlib \ libopenjp2.so:graphics/openjpeg \ libpulse.so:audio/pulseaudio \ libv4l2.so:multimedia/libv4l BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat USES= compiler:c++11-lang gl pkgconfig qmake:outsource qt:5 USE_QT= buildtools core gui network widgets xml USE_GL= gl WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= bin/qsstv \ share/applications/qsstv.desktop \ share/pixmaps/qsstv.png .include .if defined(WITH_DEBUG) BUILD_DEPENDS+= doxygen:devel/doxygen LIB_DEPENDS+= libqwt6.so:x11-toolkits/qwt6 PLIST_FILES+= bin/qsstv.debug .endif post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ -e 's|%%DOCSDIR%%|${DOCSDIR}|g' \ -e 's|%%PERL%%|${PERL}|g' \ ${WRKSRC}/qsstv.pro \ ${WRKSRC}/config/directoriesconfig.cpp \ ${WRKSRC}/documentation/manual/manual.doxy \ ${WRKSRC}/documentation/manual/manual.txt \ ${WRKSRC}/documentation/api/api.doxy ${RM} ${WRKSRC}/documentation/manual/manual.txt.* ${RM} ${WRKSRC}/documentation/manual/manual.*.orig post-install: ${INSTALL_DATA} ${WRKSRC}/qsstv.desktop ${STAGEDIR}/${DESKTOPDIR} ${INSTALL_DATA} ${WRKSRC}/icons/qsstv.png ${STAGEDIR}${PREFIX}/share/pixmaps -${RM} ${STAGEDIR}/${DOCSDIR}/manual.doxy -${RM} ${STAGEDIR}/${DOCSDIR}/doxygen_sqlite3.db -${RM} ${STAGEDIR}/${DOCSDIR}/*.bak -${RM} ${STAGEDIR}/${DOCSDIR}/*.orig .include diff --git a/comms/quisk/Makefile b/comms/quisk/Makefile index 8a80a4827f91..925273532ff5 100644 --- a/comms/quisk/Makefile +++ b/comms/quisk/Makefile @@ -1,35 +1,36 @@ PORTNAME= quisk DISTVERSION= 4.2.36 +PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= PYPI MAINTAINER= fbsd@thesoo.org COMMENT= Software Defined Radio (SDR) WWW= https://james.ahlstrom.name/quisk/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license.txt LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfftw3.so:math/fftw3 \ libportaudio.so:audio/portaudio \ libpulse.so:audio/pulseaudio USES= python USE_PYTHON= autoplist distutils noflavors USE_WX= 3.2 WX_COMPS= python post-extract: @${RM} ${WRKSRC}/_quisk.so ${WRKSRC}/sdriqpkg/sdriq.so \ ${WRKSRC}/freedvpkg/libcodec2_32.so \ ${WRKSRC}/freedvpkg/libcodec2_64.so post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py post-stage: @${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD} .include diff --git a/comms/twpsk/Makefile b/comms/twpsk/Makefile index 0daf1996b3e9..cdbd6035634c 100644 --- a/comms/twpsk/Makefile +++ b/comms/twpsk/Makefile @@ -1,31 +1,31 @@ PORTNAME= twpsk PORTVERSION= 4.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= comms hamradio MASTER_SITES= http://wa0eir.bcts.info/src/ DISTNAME= ${PORTNAME}-${PORTVERSION}.src MAINTAINER= takefu@airport.fm COMMENT= X psk31 client WWW= http://wa0eir.bcts.info/twpsk.html LICENSE= GPLv3 LIB_DEPENDS= libpulse.so:audio/pulseaudio USES= localbase motif pkgconfig xorg USE_CXXSTD= c++14 USE_XORG= ice sm xt x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= * OPTIONS_DEFINE= DOCS .include diff --git a/databases/compass/Makefile b/databases/compass/Makefile index e6cbafa7aebc..e531e9dee805 100644 --- a/databases/compass/Makefile +++ b/databases/compass/Makefile @@ -1,518 +1,518 @@ PORTNAME= compass DISTVERSIONPREFIX= v DISTVERSION= 1.43.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= databases MASTER_SITES= https://cloud.mongodb.com/static/font/:fonts \ https://registry.npmjs.org/fs-xattr/-/:fs_xattr \ https://registry.npmjs.org/kerberos/-/:kerberos \ https://registry.npmjs.org/mongodb-client-encryption/-/:mongoclienc \ https://registry.npmjs.org/os-dns-native/-/:dns DISTFILES= EuclidCircularA-Semibold-WebXL.woff2:fonts \ EuclidCircularA-Semibold-WebXL.woff:fonts \ EuclidCircularA-SemiboldItalic-WebXL.woff2:fonts \ EuclidCircularA-SemiboldItalic-WebXL.woff:fonts \ EuclidCircularA-Medium-WebXL.woff2:fonts \ EuclidCircularA-Medium-WebXL.woff:fonts \ EuclidCircularA-MediumItalic-WebXL.woff2:fonts \ EuclidCircularA-MediumItalic-WebXL.woff:fonts \ EuclidCircularA-Regular-WebXL.woff2:fonts \ EuclidCircularA-Regular-WebXL.woff:fonts \ EuclidCircularA-RegularItalic-WebXL.woff2:fonts \ EuclidCircularA-RegularItalic-WebXL.woff:fonts \ fs-xattr-${NPM_FSXATTR_VER}.tgz:fs_xattr \ kerberos-${NPM_KERBEROS_VER}.tgz:kerberos \ mongodb-client-encryption-${MONGO_CLIENC_VER}.tgz:mongoclienc \ os-dns-native-${NPM_OSDNSNATIVE_VER}.tgz:dns DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTFILE_DEFAULT} MAINTAINER= hiroo.ono+freebsd@gmail.com COMMENT= The GUI for MongoDB WWW= https://www.mongodb.com/products/compass/ LICENSE= SSPLv1 LICENSE_NAME= Server Side Public License LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept DEPRECATED= Depends on expired devel/electron29 EXPIRATION_DATE=2024-12-31 DISTCACHEFILES= ${DISTCACHEFILE_npm} \ ${DISTCACHEFILE_gyp} \ ${DISTCACHEFILE_yarn} \ ${DISTCACHEFILE_cargo} DISTCACHEFILE_npm= ${DISTDIR}/${DIST_SUBDIR}/dotnpm-${DISTVERSION}.tar.xz DISTCACHEFILE_gyp= ${DISTDIR}/${DIST_SUBDIR}/dotgyp-${DISTVERSION}.tar.xz DISTCACHEFILE_yarn= ${DISTDIR}/${DIST_SUBDIR}/dotyarn-${DISTVERSION}.tar.xz DISTCACHEFILE_cargo= ${DISTDIR}/${DIST_SUBDIR}/dotcargo-${DISTVERSION}.tar.xz APPMODFILE= ${WRKDIR}/compass_node_modules.tar ONLY_FOR_ARCHS= aarch64 amd64 USES= gettext-runtime gl gnome iconv jpeg nodejs:env python:build \ xorg USE_GL= gbm gl USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 libxml2 libxslt pango USE_XORG= x11 xcb xcomposite xdamage xext xfixes xi xrandr xrender xtst USE_LDCONFIG= ${DATADIR} USE_GITHUB= yes GH_TUPLE= mongodb-js:compass:${DISTVERSIONPREFIX}${DISTVERSION} \ mongodb-js:reflux-state-mixin:e050454cb3be029c3e7fd2ee6a08111e4d15161f:reflux \ mongodb-js:zstd:${DISTVERSIONPREFIX}${MONGO_ZSTD_VER}:zstd \ napi-rs:napi-rs:@napi-rs/cli@${NPM_NAPI_VER}:napi FETCH_DEPENDS= npm-node${NODEJS_VERSION}>0:www/npm-node${NODEJS_VERSION} \ yarn-node${NODEJS_VERSION}>0:www/yarn-node${NODEJS_VERSION} \ cargo:lang/rust # Do not use USES=cmake, because compass itself does not build with cmake. # The npm module it depends on uses cmake to build. BUILD_DEPENDS= electron${ELECTRON_VER_MAJOR}:devel/electron${ELECTRON_VER_MAJOR} \ npm-node${NODEJS_VERSION}>0:www/npm-node${NODEJS_VERSION} \ yarn-node${NODEJS_VERSION}>0:www/yarn-node${NODEJS_VERSION} \ cmake:devel/cmake-core \ cargo:lang/rust \ pkg-config:devel/pkgconf \ zip:archivers/zip LIB_DEPENDS= libmongocrypt.so:databases/libmongocrypt \ libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libdbus-1.so:devel/dbus \ libicuuc.so:devel/icu \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libva.so:multimedia/libva \ libopenh264.so:multimedia/openh264 \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig TEST_DEPENDS= Xvfb:x11-servers/xorg-server@xvfb ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib CUPS_LIB_DEPENDS= libcups.so:print/cups PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio SNDIO_PREVENTS= ALSA PULSEAUDIO SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio PORTDOCS= AUTHORS \ CODE_OF_CONDUCT.md \ CONTRIBUTING.md \ README.md \ THIRD-PARTY-NOTICES.md # Options have to be in accord with electron29. OPTIONS_DEFINE= DOCS CUPS PIPEWIRE OPTIONS_DEFAULT= DOCS CUPS PIPEWIRE SNDIO GSSAPI_BASE OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_SINGLE= GSSAPI OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_BASE_USES= gssapi GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit PATCH_STRIP= -p1 CXXFLAGS+= -DNODE_API_EXPERIMENTAL \ -DNODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT MAKE_ENV+= ${PATH_ENV} MAKE_ENV+= HOME=${WRKDIR} MAKE_ENV+= ELECTRON_SKIP_BINARY_DOWNLOAD=1 .if defined(QUIET) MAKE_ENV+= QUIET=yes .else MAKE_ENV+= DEBUG=true .endif PATH_ENV= PATH=$${PATH}:${WRKSRC}/node_modules/.bin PATH_ENV_zstd= PATH=$${PATH}:${MONGO_ZSTD_DIR}/node_modules/.bin TEST_ENV+= HOME=${WRKDIR} TEST_ENV+= PATH=$${PATH}:${WRKSRC}/node_modules/.bin HADRON_ENV+= PATH=$${PATH}:${WRKSRC}/node_modules/.bin HADRON_ENV+= HADRON_SKIP_INSTALLER=true HADRON_ENV+= ELECTRON_SKIP_BINARY_DOWNLOAD=1 HADRON_ENV+= APPMOD=${APPMODFILE} HADRON_ENV+= DEBUG=hadron* ELECTRON_DIR= ${.CURDIR}/../../devel/electron29 .include "${ELECTRON_DIR}/Makefile.version" ELECTRON_DOWNLOAD_URL= https://github.com/electron/electron/releases/download/v${ELECTRON_VER} ELECTRON_DOWNLOAD_URL_HASH!= /sbin/sha256 -q -s ${ELECTRON_DOWNLOAD_URL} .if defined(ARCH) && ${ARCH} == amd64 ELECTRON_ARCH= x64 NAPI_TARGET= x86_64-unknown-freebsd .elif defined(ARCH) && ${ARCH} == arm64 ELECTRON_ARCH= arm64 NAPI_TARGET= aarch64-unknown-freebsd .endif MONGO_CLIENC_VER= 6.0.0 MONGO_ZSTD_VER= 1.0.0 NPM_FSXATTR_VER= 0.3.1 NPM_KERBEROS_VER= 2.1.0 NPM_NAPI_VER= 2.9.0 COMPASS_DIR= ${WRKSRC}/packages/compass MONGO_ZSTD_DIR= ${WRKDIR}/zstd-${MONGO_ZSTD_VER} NODE_MODULES_DIR= ${WRKSRC}/node_modules NPM_NAPI_DIR= ${WRKDIR}/napi-rs--napi-rs-cli-${NPM_NAPI_VER} DISTTMP_DIR= ${WRKDIR}/dist-tmp NPM_OSDNSNATIVE_VER= 1.2.1 post-fetch: ${DISTCACHEFILES} ${DISTCACHEFILE_npm}: # Cache npm modules to avoid network connection at later stages cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} npm cache add \ $$(cat ${FILESDIR}/package-*.list) ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_DEFAULT} -C ${WRKDIR} ${MKDIR} ${NODE_MODULES_DIR} ${REINPLACE_CMD} -E ' \ s,^( *"electron"): *"[0-9~^].*"(.*)$$,\1: "${ELECTRON_VER}"\2,; \ ' ${WRKSRC}/package-lock.json cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm --ignore-scripts -- install cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} npm cache add \ electron@${ELECTRON_VER} \ $$(npm view electron@${ELECTRON_VER:C/\.[^\.]*$//} version | \ ${TAIL} -1 | ${SED} -E 's, .*,,') cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm --ignore-scripts -- install \ electron@~${ELECTRON_VER} ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/fs-xattr-${NPM_FSXATTR_VER}.tgz \ -C ${WRKDIR} ${MKDIR} ${WRKDIR}/package/node_modules cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm --ignore-scripts install node-gyp-cache@0.2.1 ${RM} -rd ${WRKDIR}/package ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/mongodb-client-encryption-${MONGO_CLIENC_VER}.tgz \ -C ${WRKDIR} ${MKDIR} ${WRKDIR}/package/node_modules cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm --ignore-scripts install ${RM} -rd ${WRKDIR}/package ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/os-dns-native-${NPM_OSDNSNATIVE_VER}.tgz \ -C ${WRKDIR} ${MKDIR} ${WRKDIR}/package/node_modules cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm --ignore-scripts install ${RM} -rd ${WRKDIR}/package ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_zstd} -C ${WRKDIR} ${MKDIR} ${MONGO_ZSTD_DIR}/node_modules cd ${MONGO_ZSTD_DIR} && \ ${PATCH} -p1 < ${FILESDIR}/mongodb-js-zstd.patch cd ${MONGO_ZSTD_DIR} && \ ${SETENV} ${MAKE_ENV} ${PATH_ENV_zstd} \ npm --ignore-scripts -- install ${RM} -rd ${MONGO_ZSTD_DIR} # Without npm cache verify, installing # mongodb-tools@https://codeload... fails. # if npm cache verify fails by 'too many open files', # set MAX_FILES_compass=16384 in poudriere.conf. cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm cache verify # Back up npm cache cd ${WRKDIR} && ${TAR} cJf ${DISTCACHEFILE_npm} .npm ${DISTCACHEFILE_gyp}: # To prepare cache cached by node-gyp-cache when rebuilding # fs-xattr, mongodb-client-encryption and os-dns-native, # install node-gyp-cache and do # npm exec node-gyp-cache rebuild for fs-xattr, # npm run install for mongodb-client-encryption and # npm run install for os-dns-native # which is OK to fail here (because of python absent). ${ECHO} "node_gyp = node-gyp-cache" >> ${WRKDIR}/.npmrc ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/fs-xattr-${NPM_FSXATTR_VER}.tgz \ -C ${WRKDIR} ${MKDIR} ${WRKDIR}/package/node_modules cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm install node-gyp-cache@0.2.1 -cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm exec node-gyp-cache rebuild ${RM} -rd ${WRKDIR}/package /tmp/work ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/mongodb-client-encryption-${MONGO_CLIENC_VER}.tgz \ -C ${WRKDIR} ${MKDIR} ${WRKDIR}/package/node_modules cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm install node-gyp-cache@0.2.1 -cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm run install ${RM} -rd ${WRKDIR}/package /tmp/work ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/os-dns-native-${NPM_OSDNSNATIVE_VER}.tgz \ -C ${WRKDIR} ${MKDIR} ${WRKDIR}/package/node_modules cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm install node-gyp-cache@0.2.1 -cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm run install # Back up node-gyp-cache cache cd ${WRKDIR} && ${TAR} cJf ${DISTCACHEFILE_gyp} .cache ${DISTCACHEFILE_yarn}: # Do yarn install to cache node modules for napi-rs-cli. ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_napi} -C ${WRKDIR} ${MKDIR} ${NPM_NAPI_DIR}/node_modules cd ${NPM_NAPI_DIR} && ${PATCH} -p1 < ${FILESDIR}/napi-cli.patch cd ${NPM_NAPI_DIR} && ${SETENV} ${MAKE_ENV} yarn install # Back up yarn cache cd ${NPM_NAPI_DIR} && ${TAR} cJf ${DISTCACHEFILE_yarn} .yarn ${DISTCACHEFILE_cargo}: # Cache cargo crates for zstd. ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_zstd} -C ${WRKDIR} cd ${MONGO_ZSTD_DIR} && ${SETENV} ${MAKE_ENV} \ cargo fetch # Back up cargo cache cd ${WRKDIR} && ${TAR} cJf ${DISTCACHEFILE_cargo} .cargo post-extract: # Restore npm and node-gyp-cache cache ${TAR} xf ${DISTCACHEFILE_npm} -C ${WRKDIR} ${TAR} xf ${DISTCACHEFILE_gyp} -C ${WRKDIR} ${TAR} xf ${DISTCACHEFILE_cargo} -C ${WRKDIR} # Fonts -${MKDIR} ${WRKSRC}/packages/compass/src/app/fonts for font in ${DISTDIR}/${DIST_SUBDIR}/*.woff*; do \ ${INSTALL_DATA} $${font} \ ${WRKSRC}/packages/compass/src/app/fonts; \ done pre-build: # Prepare kerberos ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/kerberos-${NPM_KERBEROS_VER}.tgz \ -C ${WRKDIR} cd ${WRKDIR}/package && ${PATCH} -p1 < ${FILESDIR}/kerberos.patch . if empty(PORT_OPTIONS:MGSSAPI_MIT) cd ${WRKDIR}/package && ${PATCH} -p1 < ${FILESDIR}/kerberos-heimdal.patch . endif ${FIND} ${WRKDIR}/package -name \*.orig -or -name \*.bak -delete cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} npm pack file:${WRKDIR}/package ${RM} -rd ${WRKDIR}/package # Prepare mongodb-client-encryption ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/mongodb-client-encryption-${MONGO_CLIENC_VER}.tgz \ -C ${WRKDIR} cd ${WRKDIR}/package && ${PATCH} -p1 < ${FILESDIR}/mongodb-client-encryption.patch ${REINPLACE_CMD} -E \ 's|^(.*\.include_dir.*)$$|\1 "/usr/include", "${PREFIX}/include"|' \ ${WRKDIR}/package/binding.gyp ${REINPLACE_CMD} -E \ "s|^( *').*(lib.*-static.*\.a)('.*)$$|\1${PREFIX}/lib/\2\3|" \ ${WRKDIR}/package/binding.gyp ${REINPLACE_CMD} -E \ -e 's|("chai"): "\^4\.3\.7"|\1: "^4.0.0"|' \ -e 's|("eslint"): "\^8\.46\.0"|\1: "^8.0.0"|' \ -e 's|("@typescript-eslint\/parser"): "\^6\.3\.0"|\1: "^6.0.0"|' \ ${WRKDIR}/package/package.json ${FIND} ${WRKDIR}/package -name \*.orig -or -name \*.bak -delete ${MKDIR} ${WRKDIR}/package/node_modules cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm --offline -- install node-gyp-cache@0.2.1 ${ECHO} "node_gyp = node-gyp-cache" >> ${WRKDIR}/.npmrc cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ node-gyp rebuild --python=${PYTHON_CMD} cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} npm pack file:${WRKDIR}/package ${RM} -rd ${WRKDIR}/package # Prepare fs-xattr ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/fs-xattr-${NPM_FSXATTR_VER}.tgz \ -C ${WRKDIR} cd ${WRKDIR}/package && ${PATCH} -p1 < ${FILESDIR}/fs-xattr.patch ${CP} ${FILESDIR}/xattr.h ${WRKDIR}/package/src ${CP} ${FILESDIR}/xattr_api.c ${WRKDIR}/package/src ${MKDIR} ${WRKDIR}/package/node_modules cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm --offline -- install node-gyp-cache@0.2.1 # ${ECHO} "node_gyp = node-gyp-cache" >> ${WRKDIR}/.npmrc cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm exec node-gyp-cache rebuild --python=${PYTHON_CMD} ${FIND} ${WRKDIR}/package -name \*.orig -or -name \*.bak -delete cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} npm pack file:${WRKDIR}/package ${RM} -rd ${WRKDIR}/package # Prepare os-dns-native ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/os-dns-native-${NPM_OSDNSNATIVE_VER}.tgz \ -C ${WRKDIR} cd ${WRKDIR} && ${PATCH} -p0 < ${FILESDIR}/os-dns-native.patch ${MKDIR} ${WRKDIR}/package/node_modules cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm --offline -- install node-gyp-cache@0.2.1 ${ECHO} "node-gyp = node-gyp-cache" >> ${WRKDIR}/.npmrc cd ${WRKDIR}/package && ${SETENV} ${MAKE_ENV} \ PATH=${PATH}:${WRKDIR}/package/node_modules/.bin \ npm run install ${FIND} ${WRKDIR}/package -name \*.orig -or -name \*.bak -delete cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} npm pack file:${WRKDIR}/package ${RM} -rd ${WRKDIR}/package # Prepare napi-rs-cli (for mongodb-js-zstd) ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_napi} -C ${WRKDIR} ${TAR} xf ${DISTCACHEFILE_yarn} -C ${NPM_NAPI_DIR} ${MKDIR} ${NPM_NAPI_DIR}/node_modules cd ${NPM_NAPI_DIR} && ${PATCH} -p1 < ${FILESDIR}/napi-cli.patch cd ${NPM_NAPI_DIR} && ${SETENV} ${MAKE_ENV} yarn install cd ${NPM_NAPI_DIR} && ${SETENV} ${MAKE_ENV} \ PATH=$${PATH}:${NPM_NAPI_DIR}/node_modules/.bin npm run build ${FIND} ${NPM_NAPI_DIR} -name \*.orig -or -name \*.bak -delete cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} npm pack file:${NPM_NAPI_DIR}/cli # Prepare mongodb-js-zstd. ${TAR} xf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_zstd} -C ${WRKDIR} # Install node_modules for zstd. ${MKDIR} ${MONGO_ZSTD_DIR}/node_modules cd ${MONGO_ZSTD_DIR} && \ ${PATCH} -p1 < ${FILESDIR}/mongodb-js-zstd.patch cd ${MONGO_ZSTD_DIR} && \ ${SETENV} ${MAKE_ENV} ${PATH_ENV_zstd} \ npm --offline -- install \ ${WRKDIR}/napi-rs-cli-${NPM_NAPI_VER}.tgz cd ${MONGO_ZSTD_DIR} && \ ${SETENV} ${MAKE_ENV} ${PATH_ENV_zstd} CARGO_NET_OFFLINE=true \ napi build --platform --release --target ${NAPI_TARGET} && \ ${SETENV} ${MAKE_ENV} ${PATH_ENV_zstd} ${INSTALL_LIB} \ zstd.freebsd-${ELECTRON_ARCH}.node npm/freebsd-${ELECTRON_ARCH}/ ${FIND} ${MONGO_ZSTD_DIR} -name \*.orig -or -name \*.bak -delete cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} npm pack file:${MONGO_ZSTD_DIR} cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} npm pack \ file:${MONGO_ZSTD_DIR}/npm/freebsd-${ELECTRON_ARCH} # Replace "git+ssh:" and "github:" entry with "file:" # to exported tarballs. ${REINPLACE_CMD} -E ' \ s,"(resolved|from|version)": "git\+ssh:.*/reflux-state-mixin\.git.*","\1": "file://${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_reflux}",; \ s,"(reflux-state-mixin|resolved|from)": "(.+@)?github:mongodb-js/reflux-state-mixin(.[0-9a-f]+)?","\1": "file://${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_reflux}",; \ ' ${WRKSRC}/package-lock.json for pjson in $$(find ${WRKSRC} -name package.json -print); do \ ${REINPLACE_CMD} -E ' \ s,"(reflux-state-mixin)": "github:mongodb-js/reflux-state-mixin","\1": "file://${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_reflux}",; \ ' $${pjson}; done # Install node modules ${MKDIR} ${NODE_MODULES_DIR} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} npm install --offline \ ${DISTDIR}/${DIST_SUBDIR}/${DISTFILE_reflux} \ ${WRKDIR}/fs-xattr-${NPM_FSXATTR_VER}.tgz \ ${WRKDIR}/kerberos-${NPM_KERBEROS_VER}.tgz \ ${WRKDIR}/napi-rs-cli-${NPM_NAPI_VER}.tgz \ ${WRKDIR}/mongodb-js-zstd-*.tgz \ ${WRKDIR}/mongodb-client-encryption-${MONGO_CLIENC_VER}.tgz \ ${WRKDIR}/os-dns-native-${NPM_OSDNSNATIVE_VER}.tgz # Install electron without build. cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ npm --offline --omit-dev --ignore-scripts -- install \ electron@${ELECTRON_VER} # Install node modules for production (APPMOD) ${MKDIR} ${DISTTMP_DIR}/node_modules cd ${DISTTMP_DIR} && ${SETENV} ${MAKE_ENV} \ npm --offline --omit-dev -- install \ ${WRKDIR}/kerberos-${NPM_KERBEROS_VER}.tgz \ ${WRKDIR}/mongodb-client-encryption-${MONGO_CLIENC_VER}.tgz -${RM} ${APPMODFILE} ${TAR} -cf ${APPMODFILE} --exclude python3 \ -C ${DISTTMP_DIR} node_modules do-build: # Set up download zip file for electron-packager cd ${WRKSRC}/node_modules/electron-packager/src && \ ${PATCH} -p1 < ${FILESDIR}/electron-packager.patch cd ${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} && \ zip -q -r ${WRKDIR}/electron-v${ELECTRON_VER}-freebsd-${ELECTRON_ARCH}.zip . # Install electron ${CP} -R ${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR} \ ${NODE_MODULES_DIR}/electron/dist ${ECHO} "electron" > ${NODE_MODULES_DIR}/electron/path.txt # Build MongoDB Compass cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} lerna run bootstrap --stream cd ${WRKSRC} && ${SETENV} ${HADRON_ENV} npm run package-compass do-install: # Install MongoDB Compass -${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/packages/compass/app-icons/linux/mongodb-compass.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ -${MKDIR} ${STAGEDIR}${DESKTOPDIR} ${INSTALL_DATA} ${FILESDIR}/mongodb-compass.desktop \ ${STAGEDIR}${DESKTOPDIR}/ -${MKDIR} ${STAGEDIR}${DATADIR} cd ${COMPASS_DIR}/dist/MongoDB* && ${TAR} cf - . | \ ${TAR} xf - -C ${STAGEDIR}${DATADIR} .for f in chromedriver mksnapshot v8_context_snapshot_generator ${RM} ${STAGEDIR}${DATADIR}/${f} .endfor ${RM} -r ${STAGEDIR}${DATADIR}/gen ${RM} -r ${STAGEDIR}${DATADIR}/node_headers ${RLN} ${STAGEDIR}${DATADIR}/MongoDB* \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${FIND} ${STAGEDIR}${DATADIR} -name \*.node -exec ${STRIP_CMD} {} \; # Install documents do-install-DOCS-on: -${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor post-stage: cd ${STAGEDIR}${PREFIX} && \ ${FIND} ${DATADIR_REL}/resources/app.asar.unpacked/build \ -type f -o -type l > ${WRKDIR}/PLIST.unpacked cd ${WRKDIR} && ${SED} -i -e "/PLIST.unpacked/r PLIST.unpacked" ${TMPPLIST} do-test: cd ${WRKSRC}/packages/compass && \ ${SETENV} ${TEST_ENV} \ xvfb-maybe electron-mocha --no-sandbox "./src/main/*.spec.*" post-clean: .for file in ${DISTCACHEFILES} compass_node_modules.tar ${RM} ${DISTDIR}/${DIST_SUBDIR}/${file} .endfor .include diff --git a/deskutils/cairo-dock-plugins/Makefile b/deskutils/cairo-dock-plugins/Makefile index 6c0416a19613..9cf466eec7e4 100644 --- a/deskutils/cairo-dock-plugins/Makefile +++ b/deskutils/cairo-dock-plugins/Makefile @@ -1,114 +1,115 @@ PORTNAME= cairo-dock-plugins DISTVERSION= 3.5.0 +PORTREVISION= 1 CATEGORIES= deskutils MAINTAINER= ports@FreeBSD.org COMMENT= Cairo-Dock-Plugins for Cairo-Dock WWW= https://www.glx-dock.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcurl.so:ftp/curl \ libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libgldi.so:deskutils/cairo-dock \ libharfbuzz.so:print/harfbuzz \ libwayland-client.so:graphics/wayland RUN_DEPENDS= wget:ftp/wget USES= cmake gettext gl gnome localbase:ldflags pkgconfig python ssl \ xorg USE_GITHUB= yes GH_ACCOUNT= Cairo-Dock GH_PROJECT= cairo-dock-plug-ins USE_GL= gl glu opengl USE_GNOME= cairo glib20 gtk30 librsvg2 libxml2 USE_LDCONFIG= yes USE_XORG= x11 xcomposite xrandr xrender xtst CMAKE_ARGS= -Denable-mono-interface:BOOL=FALSE \ -Denable-python-interface:BOOL=FALSE \ -Denable-ruby-interface:BOOL=FALSE \ -Denable-vala-interface:BOOL=FALSE \ -Denable-weblets:BOOL=FALSE \ -DROOT_PREFIX:PATH=${STAGEDIR} DATADIR= ${PREFIX}/share/cairo-dock PLIST_SUB= PYVER="${PYTHON_VERSION:S/thon//}" OPTIONS_DEFAULT= GMENU OPTIONS_GROUP= ADDON INTEGR PLUGINS OPTIONS_GROUP_ADDON= EXIF ICAL UPOWER OPTIONS_GROUP_INTEGR= GNOME_INTEGRATION XFCE_INTEGRATION OPTIONS_GROUP_PLUGINS= ALSA_MIXER GMENU IMPULSE KEYBOARD_INDICATOR MAIL \ SOUND_EFFECTS XGAMMA ZEITGEIST OPTIONS_SUB= yes ADDON_DESC= Add On ALSA_MIXER_DESC= Alsa-Mixer applet EXIF_DESC= Read file meta-data GMENU_DESC= GMenu applet GNOME_INTEGRATION_DESC= GNOME integration support ICAL_DESC= IETF Calendaring and Scheduling protocols IMPULSE_DESC= Impulse applet INTEGR_DESC= Integration plug-ins KEYBOARD_INDICATOR_DESC= Keyboard-indicator applet MAIL_DESC= Mail applet PLUGINS_DESC= Plug-ins SOUND_EFFECTS_DESC= Sound Effects applet UPOWER_DESC= D-Bus daemon for power management tasks XFCE_INTEGRATION_DESC= XFCE integration support XGAMMA_DESC= Xgamma applet ZEITGEIST_DESC= User logs activities ALSA_MIXER_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MIXER_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins ALSA_MIXER_CMAKE_BOOL= enable-alsa-mixer EXIF_LIB_DEPENDS= libexif.so:graphics/libexif EXIF_CMAKE_BOOL= enable-exif-support GMENU_LIB_DEPENDS= libgnome-menu-3.so:x11/gnome-menus GMENU_CMAKE_BOOL= enable-gmenu GNOME_INTEGRATION_CMAKE_BOOL= enable-gnome-integration ICAL_LIB_DEPENDS= libical.so:devel/libical ICAL_CMAKE_BOOL= enable-ical-support IMPULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio IMPULSE_CMAKE_BOOL= enable-impulse KEYBOARD_INDICATOR_LIB_DEPENDS= libexif.so:graphics/libexif \ libxklavier.so:x11/libxklavier KEYBOARD_INDICATOR_CMAKE_BOOL= enable-keyboard-indicator MAIL_BUILD_DEPENDS= libetpan>=1.9.4:mail/libetpan MAIL_LIB_DEPENDS= libetpan.so:mail/libetpan MAIL_CMAKE_BOOL= enable-mail SOUND_EFFECTS_LIB_DEPENDS= libasound.so:audio/alsa-lib SOUND_EFFECTS_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins SOUND_EFFECTS_CMAKE_BOOL= enable-sound-effects UPOWER_LIB_DEPENDS= libupower-glib.so:sysutils/upower UPOWER_CMAKE_BOOL= enable-upower-support XFCE_INTEGRATION_LIB_DEPENDS= libexif.so:graphics/libexif XFCE_INTEGRATION_CMAKE_BOOL= enable-xfce-integration XGAMMA_RUN_DEPENDS= xgamma:x11/xgamma XGAMMA_CMAKE_BOOL= enable-xgamma ZEITGEIST_LIB_DEPENDS= libzeitgeist-2.0.so:sysutils/zeitgeist ZEITGEIST_CMAKE_BOOL= enable-recent-events ICONS_PACKAGE= cairo-dock-plugins-png-icons .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=int-conversion .endif post-patch: @${FIND} ${WRKSRC} -type f \( -name "*.c" -o -name "*.conf" \ -o -name netspeed -o -name nvidia-config -o -name "*.sh" \ -o -name "*.rb" \) | ${XARGS} ${REINPLACE_CMD} -i.orig -e \ 's|/bin/bash|${LOCALBASE}/bin/bash|g; \ s|/usr/bin/python|${PYTHON_CMD}|g; \ s|/usr/bin/ruby|${LOCALBASE}/bin/ruby|g; \ s|/usr/share/applications|${LOCALBASE}/share/applications|g; \ s|/usr/share/cairo-dock|${LOCALBASE}/share/cairo-dock|g' .include diff --git a/deskutils/spice-gtk/Makefile b/deskutils/spice-gtk/Makefile index 0884e6bf917d..5109da95980a 100644 --- a/deskutils/spice-gtk/Makefile +++ b/deskutils/spice-gtk/Makefile @@ -1,78 +1,78 @@ PORTNAME= spice-gtk PORTVERSION= 0.37 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES?= deskutils gnome MASTER_SITES= http://www.spice-space.org/download/gtk/ MAINTAINER= xxjack12xx@gmail.com COMMENT= Gtk client and libraries for SPICE remote desktop servers WWW= https://www.spice-space.org/ LICENSE= GPLv2 LIB_DEPENDS= libepoxy.so:graphics/libepoxy \ libjson-glib-1.0.so:devel/json-glib \ libopus.so:audio/opus \ libva-x11.so:multimedia/libva BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_FLAVOR} \ spice-protocol>=0.12.15:devel/spice-protocol RUN_DEPENDS= spice-protocol>=0.12.15:devel/spice-protocol USES= compiler:c11 cpe gettext-tools gmake gnome gstreamer jpeg \ libtool localbase:ldflags pkgconfig python ssl tar:bzip2 xorg USE_XORG= pixman x11 USE_GNOME= cairo gdkpixbuf2 gnomeprefix gtk30 intltool introspection:build CPE_VENDOR= spice-gtk_project SPICE_SSL_CFLAGS= -I${OPENSSLINC} SPICE_SSL_LIBS= -L${OPENSSLLIB} -lcrypto -lssl CONFIGURE_ENV+= OPENSSL_CFLAGS="${SPICE_SSL_CFLAGS}" \ OPENSSL_LIBS="${SPICE_SSL_LIBS}" GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_LDCONFIG= yes # we can't use pathfix with USES=autoreconf MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig" INSTALL_TARGET= install-strip OPTIONS_DEFINE= BUILTIN-MJPEG DOCS INTROSPECTION LZ4 NLS PIE POLKIT \ PULSEAUDIO SASL OPTIONS_DEFAULT= BUILTIN-MJPEG INTROSPECTION LZ4 PIE POLKIT PULSEAUDIO \ SASL OPTIONS_SUB= yes LZ4_CONFIGURE_ON= --enable-lz4=yes LZ4_CONFIGURE_OFF= --enable-lz4=no LZ4_LIB_DEPENDS+= liblz4.so:archivers/liblz4 NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls BUILTIN-MJPEG_CONFIGURE_ENABLE= builtin-mjpeg BUILTIN-MJPEG_DESC= Enable the builtin mjpeg video decoder INTROSPECTION_CONFIGURE_ON= --enable-introspection=yes INTROSPECTION_CONFIGURE_OFF= --enable-introspection=no INTROSPECTION_DESC= Enable introspection for this build PIE_CONFIGURE_ON= --enable-pie=yes PIE_CONFIGURE_OFF= --enable-pie=no PIE_DESC= Enable position-independent-executable support (for usb acl helper) POLKIT_CONFIGURE_ON= --enable-polkit=yes POLKIT_CONFIGURE_OFF= --enable-polkit=no POLKIT_DESC= Enable PolicyKit support (for usb acl helper) PULSEAUDIO_CONFIGURE_ON= --enable-pulse=yes PULSEAUDIO_CONFIGURE_OFF= --enable-pulse=no PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio SASL_CONFIGURE_ON= --with-sasl=yes SASL_CONFIGURE_OFF= --with-sasl=no SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 .include diff --git a/deskutils/xfce4-volumed-pulse/Makefile b/deskutils/xfce4-volumed-pulse/Makefile index a08a0a49353c..ba13a56cc280 100644 --- a/deskutils/xfce4-volumed-pulse/Makefile +++ b/deskutils/xfce4-volumed-pulse/Makefile @@ -1,30 +1,30 @@ PORTNAME= xfce4-volumed-pulse PORTVERSION= 0.2.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= deskutils xfce MASTER_SITES= XFCE/apps DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Volume management daemon for Xfce using PulseAudio WWW= https://git.xfce.org/apps/xfce4-volumed-pulse/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libkeybinder-3.0.so:x11/keybinder-gtk3 \ libnotify.so:devel/libnotify \ libpulse.so:audio/pulseaudio USES= gmake gnome libtool pkgconfig tar:bz2 xfce USE_GNOME= glib20 gtk30 USE_XFCE= xfconf GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-libnotify INSTALL_TARGET= install-strip PLIST_FILES= bin/xfce4-volumed-pulse \ etc/xdg/autostart/xfce4-volumed-pulse.desktop .include diff --git a/devel/allegro5/Makefile b/devel/allegro5/Makefile index b6ade2323d86..ced1cd25ae0b 100644 --- a/devel/allegro5/Makefile +++ b/devel/allegro5/Makefile @@ -1,82 +1,82 @@ PORTNAME= allegro DISTVERSION= 5.2.7.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= devel games MASTER_SITES= https://github.com/liballeg/${PORTNAME}${PKGNAMESUFFIX}/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= 5 MAINTAINER= kpedersen@disroot.org COMMENT= Cross-platform C library for games and multimedia programming WWW= https://liballeg.org/ LICENSE= ZLIB BSD3CLAUSE LICENSE_COMB= dual LIB_DEPENDS= libFLAC.so:audio/flac \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libjack.so:audio/jack \ libogg.so:audio/libogg \ libphysfs.so:devel/physfs \ libpng.so:graphics/png \ libtheoradec.so:multimedia/libtheora \ libvorbis.so:audio/libvorbis \ libwebp.so:graphics/webp USES= cmake:insource compiler:c++11-lang gl gnome jpeg \ openal:soft pkgconfig xorg uniquefiles:dirs USE_XORG= x11 xpm xext xcursor xxf86vm xxf86dga sm ice xi xinerama xrandr \ xscrnsaver USE_GL= gl glu USE_GNOME= gtk30 cairo gdkpixbuf2 USE_LDCONFIG= yes CFLAGS+= -isystem${LOCALBASE}/include -L${LOCALBASE}/lib -Wno-unused-command-line-argument PLIST_SUB= SHLIB_VER="${DISTVERSION}" SHLIB_VER1="${DISTVERSION:R}" PORTDOCS= * PORTEXAMPLES= * DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}${PKGNAMESUFFIX} OPTIONS_DEFINE= ALSA DOCS EXAMPLES PULSEAUDIO OPTIONS_SUB= yes DOCS_DESC= Build and install docs and manpages (requires pandoc) DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/pandoc:textproc/hs-pandoc DOCS_CMAKE_BOOL= WANT_DOCS ALSA_LIB_DEPENDS= libasound.so.2:audio/alsa-lib ALSA_CMAKE_BOOL= WANT_ALSA ALSA_BROKEN= ALSA support is broken # confirmed by running demos, leads to assertion at startup EXAMPLES_CMAKE_BOOL= WANT_EXAMPLES WANT_DEMOS PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WANT_PULSEAUDIO CMAKE_ARGS=-DMANDIR=${PREFIX}/share/man post-patch: @${REINPLACE_CMD} -e 's|lib$${LIB_SUFFIX}/pkgconfig|libdata/pkgconfig|' \ ${WRKSRC}/CMakeLists.txt post-install-DOCS-on: ${INSTALL_MAN} ${WRKSRC}/docs/man/* ${STAGEDIR}${PREFIX}/share/man/man3/ @cd ${WRKSRC} && ${COPYTREE_SHARE} "README.txt docs/src docs/html" ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @(cd ${WRKSRC} && ${COPYTREE_SHARE} "examples demos" ${STAGEDIR}${EXAMPLESDIR}) ${FIND} -d ${STAGEDIR}${EXAMPLESDIR} \ -name CMakeFiles -o -name cmake_install.cmake \ -exec ${RM} -r {} \; ${FIND} ${STAGEDIR}${EXAMPLESDIR}/examples -regex ".*/ex_[a-z0-9_]*" \ -exec ${CHMOD} a+x {} \; \ -exec ${STRIP_CMD} {} \; .for l in cosmic_protector skater speed @${CHMOD} a+x ${STAGEDIR}${EXAMPLESDIR}/demos/${l}/${l} @${STRIP_CMD} ${STAGEDIR}${EXAMPLESDIR}/demos/${l}/${l} .endfor .include diff --git a/devel/aws-sdk-cpp/Makefile b/devel/aws-sdk-cpp/Makefile index 927957f0645e..7804d7ec2a15 100644 --- a/devel/aws-sdk-cpp/Makefile +++ b/devel/aws-sdk-cpp/Makefile @@ -1,69 +1,70 @@ PORTNAME= aws-sdk-cpp DISTVERSION= 1.11.433 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= eduardo@FreeBSD.org COMMENT= C++ interface for Amazon Web Services (AWS) WWW= https://github.com/aws/aws-sdk-cpp LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libaws-c-auth.so:security/aws-c-auth \ libaws-c-cal.so:security/aws-c-cal \ libaws-c-common.so:devel/aws-c-common \ libaws-c-compression.so:devel/aws-c-compression \ libaws-c-event-stream.so:devel/aws-c-event-stream \ libaws-c-http.so:devel/aws-c-http \ libaws-c-io.so:devel/aws-c-io \ libaws-c-mqtt.so:devel/aws-c-mqtt \ libaws-c-s3.so:devel/aws-c-s3 \ libaws-c-sdkutils.so:devel/aws-c-sdkutils \ libaws-checksums.so:devel/aws-checksums \ libaws-crt-cpp.so:devel/aws-crt-cpp \ libcurl.so:ftp/curl \ libpulse.so:audio/pulseaudio \ libs2n.so:security/s2n-tls USES= cmake localbase:ldflags pkgconfig ssl USE_GITHUB= yes GH_ACCOUNT= aws USE_LDCONFIG= yes CMAKE_ARGS+= -DBUILD_ONLY="${BUILD_ONLY}" \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_PREFIX_PATH=${LOCALBASE} CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= BUILD_DEPS BUILD_ONLY?= OPTIONS_DEFINE= TEST OPTIONS_SUB= yes TEST_CMAKE_BOOL= ENABLE_TESTING pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "You can build only the clients you need by defining the option BUILD_ONLY." @${ECHO_MSG} @${ECHO_MSG} "Example:" @${ECHO_MSG} "make BUILD_ONLY=\"s3;ec2;route53\"" @${ECHO_MSG} @${ECHO_MSG} "For more information check the file ${WRKSRC}/Docs/CMake_Parameters.md" @${ECHO_MSG} @${ECHO_MSG} "If this option is not used, the package will be built with support for all the clients." @${ECHO_MSG} post-patch: ${REINPLACE_CMD} -e "s,/pkgconfig,/../libdata/pkgconfig,g" \ ${WRKSRC}/src/aws-cpp-sdk-core/CMakeLists.txt \ ${WRKSRC}/cmake/utilities.cmake ${REINPLACE_CMD} -e 's,"-Werror",,g' \ ${WRKSRC}/cmake/compiler_settings.cmake post-install: @cd ${STAGEDIR}/${LOCALBASE} && \ ${FIND} -s -d * -type f > ${TMPPLIST} .include diff --git a/devel/efl/Makefile b/devel/efl/Makefile index 6bf43514e969..56b8b3738f78 100644 --- a/devel/efl/Makefile +++ b/devel/efl/Makefile @@ -1,237 +1,237 @@ PORTNAME= efl DISTVERSION= 1.27.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= devel enlightenment MASTER_SITES= http://download.enlightenment.org/rel/libs/${PORTNAME}/ DIST_SUBDIR= enlightenment PATCH_SITES= https://git.enlightenment.org/enlightenment/${PORTNAME}/commit/ PATCHFILES= 6c3630ffda0884b86e6ffc9d00d7315ab67858e5.patch:-p1 MAINTAINER= enlightenment@FreeBSD.org COMMENT= Enlightenment Foundation Libraries WWW= https://docs.enlightenment.org/efl/current/ LICENSE= BSD2CLAUSE LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= checkmk:devel/check LIB_DEPENDS= libgif.so:graphics/giflib \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libdbus-1.so:devel/dbus \ libcurl.so:ftp/curl \ libsndfile.so:audio/libsndfile # lib/libeio.so.1 CONFLICTS_INSTALL= libeio USES= compiler:c++14-lang gettext-tools gnome iconv \ jpeg libtool localbase:ldflags meson ninja ssl pathfix pkgconfig \ python shared-mime-info shebangfix tar:xz xorg SHEBANG_FILES= src/tests/elementary/spec/generator.py \ src/bin/exactness/exactness_play.in \ src/bin/exactness/exactness_record.in USE_XORG= x11 xcb xcursor xcomposite xdamage xext xfixes xi xinerama \ xrandr xrender xtst xscrnsaver USE_LDCONFIG= yes MESON_ARGS= -Dsystemd=false -Deeze=false -Dinput=false PLIST_SUB= BRANCHVERSION=${PORTVERSION:R} PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= AVAHI FRIBIDI HARFBUZZ NLS PHYSICS PULSEAUDIO SDL VNC EFLONE ELUA EXAMPLES DOXYGEN WAYLAND OPTIONS_GROUP= EMOTION INPUT LOADER BINDINGS OPTIONS_GROUP_EMOTION= GSTREAMER V4L OPTIONS_GROUP_INPUT= IBUS SCIM XIM OPTIONS_GROUP_LOADER= OPENJPEG PDF PS RAW SVG WEBP XCF AVIF HEIF JXL OPTIONS_GROUP_BINDINGS= LUA CXX OPTIONS_GROUP_WAYLAND= WAYLAND OPTIONS_SINGLE= CRYPTO ENGINE LUAL OPTIONS_SINGLE_ENGINE= OPENGL OPENGLES NONE OPTIONS_SINGLE_LUAL= LUAJIT LUALANG OPTIONS_DEFAULT= FRIBIDI HARFBUZZ PULSEAUDIO EXAMPLES GSTREAMER V4L SCIM XIM \ OPENSSL OPENJPEG PDF PS RAW SVG WEBP XCF OPENGLES LUAJIT CXX OPTIONS_SUB= yes HARFBUZZ_DESC= OpenType text shaping engine PHYSICS_DESC= Physics engine (bullet) - DEPRECATED UPSTREAM EFLONE_DESC= Create EFL-One library (single file library) - EXPERIMENTAL ELUA_DESC= Lua launcher binary support in efl VNC_DESC= VNC Server support IBUS_DESC= Intelligent Input Bus SCIM_DESC= Smart Common Input Method XIM_DESC= X Input Method SVG_DESC= Vector graphics support XCF_DESC= Gimp image format support JXL_DESC= JPEG XL image format support LUAL_DESC= LUA LUALANG_DESC= Use Lua LUAJIT_DESC= Use Luajit OPENGLES_DESC= 2D/3D rendering support via OpenGL ES NONE_DESC= No acceleration, software only LUA_DESC= Lua Bindings CXX_DESC= C++ Bindings EXAMPLES_DESC= Build examples of using EFL AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_MESON_TRUE= avahi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_MESON_TRUE= fribidi HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_MESON_TRUE= harfbuzz NLS_USES= gettext-runtime NLS_MESON_TRUE= nls PHYSICS_LIB_DEPENDS= libBulletDynamics.so:devel/bullet PHYSICS_MESON_TRUE= physics PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_TRUE= pulseaudio EFLONE_BROKEN_i386= EFLONE option is broken on i386 by the upstream bug: https://phab.enlightenment.org/T8870 EFLONE_MESON_TRUE= efl-one ELUA_MESON_TRUE= elua EXAMPLES_MESON_TRUE= build-examples DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_MESON_TRUE= docs VNC_MESON_TRUE= vnc-server VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver LUA_IMPLIES= ELUA LUA_VARS= lua_binding=lua CXX_VARS= cxx_binding=cxx WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.7:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libxkbcommon.so:x11/libxkbcommon \ libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland WAYLAND_CFLAGS= -I${LOCALBASE}/include/libepoll-shim WAYLAND_LDFLAGS= -lepoll-shim WAYLAND_MESON_TRUE= wl WAYLAND_BROKEN= Wayland bits compile but don't yet work at runtime GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=core GSTREAMER_MESON_TRUE= gstreamer V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_MESON_TRUE= v4l2 IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus IBUS_USES= gnome IBUS_USE= GNOME=glib20 IBUS_MESON_TRUE= glib IBUS_VARS_OFF= ibus_disabler=ibus SCIM_LIB_DEPENDS= libscim-1.0.so:textproc/scim SCIM_VARS_OFF= scim_disabler=scim XIM_VARS_OFF= xim_disabler=xim OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_VARS_OFF= openjpeg_disabler=jp2k PDF_LIB_DEPENDS= libpoppler.so:graphics/poppler PDF_VARS_OFF= pdf_disabler=pdf PS_LIB_DEPENDS= libspectre.so:print/libspectre PS_VARS_OFF= ps_disabler=ps RAW_LIB_DEPENDS= libraw.so:graphics/libraw RAW_VARS_OFF= raw_disabler=raw SVG_USES= gnome SVG_USE= GNOME=cairo GNOME=librsvg2 SVG_VARS_OFF= svg_disabler=rsvg AVIF_LIB_DEPENDS= libavif.so:graphics/libavif AVIF_VARS_OFF= avif_disabler=avif HEIF_LIB_DEPENDS= libheif.so:graphics/libheif HEIF_VARS_OFF= heif_disabler=heif WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_VARS_OFF= webp_disabler=webp JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_VARS_OFF= jxl_disabler=jxl XCF_VARS_OFF= xcf_disabler=xcf LUAJIT_USES= luajit LUAJIT_MESON_ON= -Dlua-interpreter=luajit LUAJIT_PREVENTS= LUALANG LUALANG_USES= lua:51,build,run LUALANG_MESON_ON= -Dlua-interpreter=lua LUALANG_PREVENTS= LUAJIT OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_MESON_ON= -Dopengl=full OPENGLES_USES= gl OPENGLES_USE= GL=glesv2 OPENGLES_MESON_ON= -Dopengl=es-egl NONE_MESON_ON= -Dopengl=none SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_MESON_TRUE= sdl MESON_ARGS+= -Dcrypto=openssl IMF_DISABLERS= ${IBUS_DISABLER} ${SCIM_DISABLER} ${XIM_DISABLER} MESON_ARGS+= -Decore-imf-loaders-disabler="${IMF_DISABLERS:ts,}" EVAS_DISABLERS= json ${OPENJPEG_DISABLER} ${PDF_DISABLER} \ ${PS_DISABLER} ${RAW_DISABLER} ${SVG_DISABLER} \ ${AVIF_DISABLER} ${HEIF_DISABLER} ${WEBP_DISABLER} \ ${XCF_DISABLER} ${JXL_DISABLER} MESON_ARGS+= -Devas-loaders-disabler="${EVAS_DISABLERS:ts,}" EFL_BINDINGS= ${LUA_BINDING} ${CXX_BINDING} MESON_ARGS+= -Dbindings="${EFL_BINDINGS:ts,}" .include # Work-around build failure, which is caused by subtle problem in lld and -as-needed flag .if ${ARCH} == i386 MESON_ARGS+= -Db_asneeded=false .endif .if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH} == armv7 || ${ARCH} == i386 || ${ARCH} == powerpc || ${ARCH} == powerpc64 || ${ARCH} == powerpc64le LIB_DEPENDS+= libunwind.so:devel/libunwind .endif .if ${ARCH:Marmv?} BUILD_DEPENDS+= as:devel/binutils CFLAGS+= -no-integrated-as .endif post-install: #@${RM} -r ${STAGEDIR}${PREFIX}/share/gdb @for i in `${FIND} ${STAGEDIR}${PREFIX}/bin ${STAGEDIR}${PREFIX}/lib -type f`; do \ if ${FILE} $$i | ${GREP} -q "not stripped"; then ${STRIP_CMD} $$i; fi; \ done post-stage: @${ECHO_CMD} "autogenerating plist"; @cd ${STAGEDIR}${PREFIX} && ${FIND} * -type f -or -type l >> ${TMPPLIST} .include diff --git a/devel/electron29/Makefile b/devel/electron29/Makefile index 527c9a3ea465..90e5eb7cdce0 100644 --- a/devel/electron29/Makefile +++ b/devel/electron29/Makefile @@ -1,453 +1,453 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER:S/-beta./.b/} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v29.2.0/:chromium \ https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \ https://commondatastorage.googleapis.com/chromium-fonts/:chromium_testfonts PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR} DISTFILES= chromium-${CHROMIUM_VER}${EXTRACT_SUFX}:chromium \ ${CHROMIUM_NODE_MODULES_HASH}:chromium_node \ ${CHROMIUM_TEST_FONTS_HASH}:chromium_testfonts \ electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX}:prefetch DIST_SUBDIR= ${PORTNAME} MAINTAINER= tagattie@FreeBSD.org COMMENT= Build cross-platform desktop apps with JavaScript, HTML, and CSS WWW= https://electronjs.org/ LICENSE= BSD3CLAUSE LGPL21 MPL11 MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/electron/LICENSE DEPRECATED= EOLed upstream, switch to newer version EXPIRATION_DATE= 2024-10-31 ONLY_FOR_ARCHS= aarch64 amd64 i386 FETCH_DEPENDS= yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} EXTRACT_DEPENDS=yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} PATCH_DEPENDS= git:devel/git \ jq:textproc/jq BUILD_DEPENDS= gperf:devel/gperf \ yasm:devel/yasm \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ node${NODEJS_VERSION}>0:www/node${NODEJS_VERSION} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libdbus-1.so:devel/dbus \ libicuuc.so:devel/icu \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libva.so:multimedia/libva \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils TEST_DEPENDS= git:devel/git \ ${PYTHON_PKGNAMEPREFIX}python-dbusmock>0:devel/py-python-dbusmock@${PY_FLAVOR} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} USES= bison compiler:c++17-lang cpe gettext-tools gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja nodejs:20,build \ pkgconfig python:build,test shebangfix tar:xz xorg CPE_VENDOR= electronjs USE_GITHUB= yes GH_TAGNAME= ${DISTVERSIONPREFIX}${ELECTRON_VER} GH_TUPLE= nodejs:node:v${NODE_VER}:node \ nodejs:nan:${NAN_VER}:nan \ Squirrel:Squirrel.Mac:${SQUIRREL_MAC_VER}:squirrel_mac \ ReactiveCocoa:ReactiveObjC:${REACTIVEOBJC_VER}:reactiveobjc \ Mantle:Mantle:${MANTLE_VER}:mantle \ EngFlow:reclient-configs:${ENGFLOW_RECLIENT_CONFIGS_VER}:reclient_configs USE_GL= gbm gl glesv2 USE_GNOME= atk cairo gdkpixbuf2 gtk30 libxml2 libxslt pango USE_LDCONFIG= ${DATADIR} USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xrandr \ xrender xscrnsaver xtst SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include ALL_TARGET= electron electron:node_headers POST_BUILD_TARGETS= licenses version POST_BUILD_DIST_TARGETS=electron_dist_zip electron_chromedriver_zip \ electron_mksnapshot_zip DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} BINARY_ALIAS= python3=${PYTHON_CMD} NO_WRKSUBDIR= yes WRKSRC_SUBDIR= src GN_ARGS+= clang_use_chrome_plugins=false \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_log_error_not_reached=true \ enable_nacl=false \ enable_remoting=false \ enable_rust=false \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ chrome_pgo_phase=0 \ extra_cflags="${CFLAGS}" \ extra_cxxflags="${CXXFLAGS}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" \ override_electron_version="${ELECTRON_VER}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles PLIST_SUB= ELECTRON_VER=${ELECTRON_VER} \ ELECTRON_VER_MAJOR=${ELECTRON_VER_MAJOR} OPTIONS_DEFINE= CODECS CUPS DEBUG DIST DRIVER KERBEROS LTO PIPEWIRE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE SNDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DIST_DESC= Build distribution zip files DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) PIPEWIRE_DESC= Screen capture via PipeWire ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_BUILD_DEPENDS= esbuild:devel/esbuild DEBUG_VARS= BUILDTYPE=Debug \ GN_FILE=testing.gn \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_FILE=release.gn \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" DIST_IMPLIES= DRIVER DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb5.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb5.so.3:security/krb5 PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false # With SNDIO=on we exclude audio_manager_linux from the build (see # media/audio/BUILD.gn) and use audio_manager_openbsd which does not # support falling back to ALSA or PulseAudio. SNDIO_PREVENTS= ALSA PULSEAUDIO SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER CHROMIUM_VER= 122.0.6261.156 # See ${WRKSRC}/third_party/node/node_modules.tar.gz.sha1 for CHROMIUM_NODE_MODULES_HASH CHROMIUM_NODE_MODULES_HASH= e0b8a95aed06c02287872a2d15c28509b9808446 # See ${WRKSRC}/third_party/test_fonts/test_fonts.tar.gz.sha1 for CHROMIUM_TEST_FONTS_HASH CHROMIUM_TEST_FONTS_HASH= 336e775eec536b2d785cc80eff6ac39051931286 # See ${WRKSRC}/electron/DEPS for NODE_VER NODE_VER= 20.9.0 # See ${WRKSRC}/electron/DEPS for NAN_VER NAN_VER= e14bdcd1f72d62bca1d541b66da43130384ec213 # See ${WRKSRC}/electron/DEPS for SQUIRREL_MAC_VER SQUIRREL_MAC_VER= 0e5d146ba13101a1302d59ea6e6e0b3cace4ae38 # See ${WRKSRC}/electron/DEPS for REACTIVEOBJC_VER REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 78d3966b3c331292ea29ec38661b25df0a245948 # See ${WRKSRC}/electron/DEPS for ENGFLOW_RECLIENT_CONFIGS_VER ENGFLOW_RECLIENT_CONFIGS_VER= 955335c30a752e9ef7bff375baab5e0819b6c00d YARN_TIMESTAMP= 61171200 .include "Makefile.version" .include .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif .if ${COMPILER_VERSION} < 170 LLVM_DEFAULT= 17 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} .else BINARY_ALIAS+= ar=/usr/bin/llvm-ar \ nm=/usr/bin/llvm-nm .endif CFLAGS+= -Wno-error=implicit-function-declaration .if ${ARCH} == "aarch64" PLIST_SUB+= AARCH64="" \ AMD64="@comment " \ I386="@comment " \ NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == "amd64" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="" \ I386="@comment " \ NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="@comment " \ I386="" \ NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build electron, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} pre-fetch: @${MKDIR} ${DISTDIR}/${DIST_SUBDIR} if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} ]; \ then ${MKDIR} ${WRKDIR}; \ ${ECHO_CMD} 'yarn-offline-mirror "./yarn-offline-cache"' >> \ ${WRKDIR}/.yarnrc; \ ${CP} ${FILESDIR}/package.json ${FILESDIR}/yarn.lock ${WRKDIR}; \ cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache \ yarn --frozen-lockfile --ignore-scripts; \ ${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \ -e 's:time=[0-9.]*:time=${YARN_TIMESTAMP}.000000000:' \ -e 's:\([gu]id\)=[0-9]*:\1=0:g' \ -e 's:mode=\([0-9]\)7[0-9][0-9]:mode=\1755:' \ -e 's:mode=\([0-9]\)6[0-9][0-9]:mode=\1644:' \ -e 's:flags=.*:flags=none:' \ -e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree; \ ${TAR} cJf ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} \ @yarn-offline-cache.mtree; \ ${RM} -r ${WRKDIR}; \ fi post-extract: # Move extracted sources to appropriate locations ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/chromium-${CHROMIUM_VER} ${WRKSRC} ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${PORTNAME}-${ELECTRON_VER} ${WRKSRC}/electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_nan}-${NAN_VER} \ ${WRKSRC}/third_party/nan ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_node}-${NODE_VER} \ ${WRKSRC}/third_party/electron_node ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_squirrel_mac}-${SQUIRREL_MAC_VER} \ ${WRKSRC}/third_party/squirrel.mac ${MKDIR} ${WRKSRC}/third_party/squirrel.mac/vendor ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reactiveobjc}-${REACTIVEOBJC_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/ReactiveObjC ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_mantle}-${MANTLE_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/Mantle ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reclient_configs}-${ENGFLOW_RECLIENT_CONFIGS_VER} \ ${WRKSRC}/third_party/engflow-reclient-configs ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/node_modules ${WRKSRC}/third_party/node ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/test_fonts ${WRKSRC}/third_party/test_fonts # Install node modules for electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/yarn-offline-cache ${WRKDIR} ${ECHO_CMD} 'yarn-offline-mirror "../../../yarn-offline-cache"' >> ${WRKSRC}/electron/.yarnrc ${MV} ${WRKSRC}/electron/package.json ${WRKSRC}/electron/package.json.bak ${CP} ${FILESDIR}/package.json ${WRKSRC}/electron cd ${WRKSRC}/electron && \ ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache yarn --frozen-lockfile --offline pre-patch: ${SH} ${FILESDIR}/apply-electron-patches.sh ${WRKSRC} # ${FIND} ${WRKSRC} -type f -name '*.orig' -print -delete # ${FIND} ${WRKSRC} -type f -name '*~' -print -delete pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig freetype harfbuzz-ng icu libdrm libevent \ libpng libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/third_party/ffmpeg && \ ${PYTHON_CMD} chromium/scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn gen out/${BUILDTYPE} \ --args='import("//electron/build/args/${GN_FILE}") ${GN_ARGS}' # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip post-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_TARGETS} post-build-DIST-on: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_DIST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${CP} chromedriver.zip chromedriver-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} dist.zip electron-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} mksnapshot.zip mksnapshot-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${SHA256} -r *-v${ELECTRON_VER}-freebsd-*.zip | ${SED} -e 's/ / */' > SHASUMS256.txt do-install: ${MKDIR} ${STAGEDIR}${DATADIR} .for f in electron mksnapshot v8_context_snapshot_generator ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in libEGL.so libGLESv2.so libffmpeg.so libvk_swiftshader.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 ${STAGEDIR}${DATADIR}/libvulkan.so .for f in LICENSE LICENSES.chromium.html snapshot_blob.bin v8_context_snapshot.bin version vk_swiftshader_icd.json ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in chrome_100_percent.pak chrome_200_percent.pak resources.pak ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${MKDIR} ${STAGEDIR}${DATADIR}/locales ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/locales/*.pak ${STAGEDIR}${DATADIR}/locales ${MKDIR} ${STAGEDIR}${DATADIR}/resources .for f in default_app.asar ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/resources/${f} ${STAGEDIR}${DATADIR}/resources .endfor cd ${WRKSRC}/out/${BUILDTYPE}/gen && ${COPYTREE_SHARE} node_headers ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/electron/buildflags ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/v8/embedded.S ${STAGEDIR}${DATADIR} ${RLN} ${STAGEDIR}${DATADIR}/electron ${STAGEDIR}${PREFIX}/bin/electron${PKGNAMESUFFIX} post-install-DIST-on: ${MKDIR} ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/SHASUMS256.txt ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*-v${ELECTRON_VER}-freebsd-*.zip ${STAGEDIR}${DATADIR}/releases post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver.unstripped \ ${STAGEDIR}${DATADIR}/chromedriver do-test: # Note 1: "npm install" will run before actual tests are executed # Note 2: Xvfb or something similar is necessary for headless testing cd ${WRKSRC}/electron && \ ${SETENV} ${TEST_ENV} ELECTRON_OUT_DIR=${BUILDTYPE} LOCAL_GIT_DIRECTORY=${LOCALBASE} \ npm run test -- --ci .include diff --git a/devel/electron30/Makefile b/devel/electron30/Makefile index bf0e7ea5ca87..fec1b228cb61 100644 --- a/devel/electron30/Makefile +++ b/devel/electron30/Makefile @@ -1,460 +1,460 @@ PORTNAME= electron DISTVERSIONPREFIX= v DISTVERSION= ${ELECTRON_VER:S/-beta./.b/} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= https://github.com/tagattie/FreeBSD-Electron/releases/download/v30.1.1/:chromium \ https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \ https://commondatastorage.googleapis.com/chromium-fonts/:chromium_testfonts PKGNAMESUFFIX= ${ELECTRON_VER_MAJOR} DISTFILES= chromium-${CHROMIUM_VER}${EXTRACT_SUFX}:chromium \ ${CHROMIUM_NODE_MODULES_HASH}:chromium_node \ ${CHROMIUM_TEST_FONTS_HASH}:chromium_testfonts \ electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX}:prefetch DIST_SUBDIR= ${PORTNAME} MAINTAINER= tagattie@FreeBSD.org COMMENT= Build cross-platform desktop apps with JavaScript, HTML, and CSS WWW= https://electronjs.org/ LICENSE= BSD3CLAUSE LGPL21 MPL11 MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/electron/LICENSE DEPRECATED= EOLed upstream, switch to newer version EXPIRATION_DATE= 2024-12-31 ONLY_FOR_ARCHS= aarch64 amd64 i386 FETCH_DEPENDS= yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} EXTRACT_DEPENDS=yarn${NODEJS_SUFFIX}>0:www/yarn${NODEJS_SUFFIX} PATCH_DEPENDS= git:devel/git \ jq:textproc/jq BUILD_DEPENDS= gperf:devel/gperf \ yasm:devel/yasm \ ${LOCALBASE}/libdata/pkgconfig/dri.pc:graphics/mesa-dri \ rustc:lang/rust \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ node${NODEJS_VERSION}>0:www/node${NODEJS_VERSION} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libatspi.so:accessibility/at-spi2-core \ libFLAC.so:audio/flac \ libopus.so:audio/opus \ libdbus-1.so:devel/dbus \ libicuuc.so:devel/icu \ libepoll-shim.so:devel/libepoll-shim \ libevent.so:devel/libevent \ libffi.so:devel/libffi \ libnotify.so:devel/libnotify \ libpci.so:devel/libpci \ libnspr4.so:devel/nspr \ libre2.so:devel/re2 \ libdrm.so:graphics/libdrm \ libpng.so:graphics/png \ libwayland-client.so:graphics/wayland \ libwebp.so:graphics/webp \ libdav1d.so:multimedia/dav1d \ libva.so:multimedia/libva \ libopenh264.so:multimedia/openh264 \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libsecret-1.so:security/libsecret \ libnss3.so:security/nss \ libexpat.so:textproc/expat2 \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence \ libfontconfig.so:x11-fonts/fontconfig RUN_DEPENDS= xdg-open:devel/xdg-utils TEST_DEPENDS= git:devel/git \ ${PYTHON_PKGNAMEPREFIX}python-dbusmock>0:devel/py-python-dbusmock@${PY_FLAVOR} \ npm${NODEJS_SUFFIX}>0:www/npm${NODEJS_SUFFIX} USES= bison compiler:c++17-lang cpe gettext-tools gl gmake gnome \ iconv:wchar_t jpeg localbase:ldflags ninja nodejs:20,build \ pkgconfig python:build,test shebangfix tar:xz xorg CPE_VENDOR= electronjs USE_GITHUB= yes GH_TAGNAME= ${DISTVERSIONPREFIX}${ELECTRON_VER} GH_TUPLE= nodejs:node:v${NODE_VER}:node \ nodejs:nan:${NAN_VER}:nan \ Squirrel:Squirrel.Mac:${SQUIRREL_MAC_VER}:squirrel_mac \ ReactiveCocoa:ReactiveObjC:${REACTIVEOBJC_VER}:reactiveobjc \ Mantle:Mantle:${MANTLE_VER}:mantle \ EngFlow:reclient-configs:${ENGFLOW_RECLIENT_CONFIGS_VER}:reclient_configs USE_GL= gbm gl glesv2 USE_GNOME= atk cairo gdkpixbuf2 gtk30 libxml2 libxslt pango USE_LDCONFIG= ${DATADIR} USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xrandr \ xrender xscrnsaver xtst SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper buildtools/linux64/clang-format MAKE_ARGS= -C out/${BUILDTYPE} MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include ALL_TARGET= electron electron:node_headers POST_BUILD_TARGETS= licenses version POST_BUILD_DIST_TARGETS=electron_dist_zip electron_chromedriver_zip \ electron_mksnapshot_zip DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} BINARY_ALIAS= python3=${PYTHON_CMD} NO_WRKSUBDIR= yes WRKSRC_SUBDIR= src GN_ARGS+= clang_use_chrome_plugins=false \ enable_backup_ref_ptr_support=false \ enable_hangout_services_extension=true \ enable_log_error_not_reached=true \ enable_nacl=false \ enable_remoting=false \ fatal_linker_warnings=false \ icu_use_data_file=false \ is_clang=true \ optimize_webui=true \ toolkit_views=true \ treat_warnings_as_errors=false \ use_allocator_shim=false \ use_aura=true \ use_custom_libcxx=true \ use_custom_libunwind=true \ use_lld=true \ use_partition_alloc=true \ use_partition_alloc_as_malloc=false \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libffi=true \ use_system_libjpeg=true \ use_udev=false \ chrome_pgo_phase=0 \ extra_cflags="${CFLAGS}" \ extra_cxxflags="${CXXFLAGS}" \ extra_ldflags="${LDFLAGS}" \ ffmpeg_branding="${FFMPEG_BRAND}" \ override_electron_version="${ELECTRON_VER}" # TODO: investigate building with these options: # use_system_minigbm GN_BOOTSTRAP_FLAGS= --no-clean --no-rebuild --skip-generate-buildfiles PLIST_SUB= ELECTRON_VER=${ELECTRON_VER} \ ELECTRON_VER_MAJOR=${ELECTRON_VER_MAJOR} OPTIONS_DEFINE= CODECS CUPS DEBUG DIST DRIVER KERBEROS LTO PIPEWIRE OPTIONS_DEFAULT= CODECS CUPS DRIVER KERBEROS PIPEWIRE SNDIO OPTIONS_EXCLUDE_aarch64=LTO OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_RADIO= KERBEROS OPTIONS_RADIO_KERBEROS= HEIMDAL HEIMDAL_BASE MIT OPTIONS_SUB= yes CODECS_DESC= Compile and enable patented codecs like H.264 DIST_DESC= Build distribution zip files DRIVER_DESC= Install chromedriver HEIMDAL_BASE_DESC= Heimdal Kerberos (base) HEIMDAL_DESC= Heimdal Kerberos (security/heimdal) MIT_DESC= MIT Kerberos (security/krb5) PIPEWIRE_DESC= Screen capture via PipeWire ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins \ alsa-lib>=1.1.1_1:audio/alsa-lib ALSA_VARS= GN_ARGS+=use_alsa=true ALSA_VARS_OFF= GN_ARGS+=use_alsa=false CODECS_VARS= GN_ARGS+=proprietary_codecs=true \ FFMPEG_BRAND="Chrome" CODECS_VARS_OFF= GN_ARGS+=proprietary_codecs=false \ FFMPEG_BRAND="Chromium" CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_VARS= GN_ARGS+=use_cups=true CUPS_VARS_OFF= GN_ARGS+=use_cups=false DEBUG_BUILD_DEPENDS= esbuild:devel/esbuild DEBUG_VARS= BUILDTYPE=Debug \ GN_FILE=testing.gn \ GN_ARGS+=is_debug=true \ GN_ARGS+=is_component_build=false \ GN_ARGS+=symbol_level=1 \ GN_BOOTSTRAP_FLAGS+=--debug \ WANTSPACE="21 GB" DEBUG_VARS_OFF= BUILDTYPE=Release \ GN_FILE=release.gn \ GN_ARGS+=blink_symbol_level=0 \ GN_ARGS+=is_debug=false \ GN_ARGS+=is_official_build=true \ GN_ARGS+=symbol_level=0 \ WANTSPACE="14 GB" DIST_IMPLIES= DRIVER DRIVER_MAKE_ARGS= chromedriver HEIMDAL_LIB_DEPENDS= libkrb5.so.26:security/heimdal KERBEROS_VARS= GN_ARGS+=use_kerberos=true KERBEROS_VARS_OFF= GN_ARGS+=use_kerberos=false LTO_VARS= GN_ARGS+=use_thin_lto=true \ GN_ARGS+=thin_lto_enable_optimizations=true \ WANTSPACE="14 GB" LTO_VARS_OFF= GN_ARGS+=use_thin_lto=false MIT_LIB_DEPENDS= libkrb5.so.3:security/krb5 PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_VARS= GN_ARGS+=rtc_use_pipewire=true \ GN_ARGS+=rtc_link_pipewire=true PIPEWIRE_VARS_OFF= GN_ARGS+=rtc_use_pipewire=false \ GN_ARGS+=rtc_link_pipewire=false PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= GN_ARGS+=use_pulseaudio=true PULSEAUDIO_VARS_OFF= GN_ARGS+=use_pulseaudio=false # With SNDIO=on we exclude audio_manager_linux from the build (see # media/audio/BUILD.gn) and use audio_manager_openbsd which does not # support falling back to ALSA or PulseAudio. SNDIO_PREVENTS= ALSA PULSEAUDIO SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= GN_ARGS+=use_sndio=true SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER CHROMIUM_VER= 124.0.6367.243 # See ${WRKSRC}/third_party/node/node_modules.tar.gz.sha1 for CHROMIUM_NODE_MODULES_HASH CHROMIUM_NODE_MODULES_HASH= 97a0b3c4c39cf05de1eafb6ffdec0fddd643f0a2 # See ${WRKSRC}/third_party/test_fonts/test_fonts.tar.gz.sha1 for CHROMIUM_TEST_FONTS_HASH CHROMIUM_TEST_FONTS_HASH= 336e775eec536b2d785cc80eff6ac39051931286 # See ${WRKSRC}/electron/DEPS for NODE_VER NODE_VER= 20.16.0 # See ${WRKSRC}/electron/DEPS for NAN_VER NAN_VER= e14bdcd1f72d62bca1d541b66da43130384ec213 # See ${WRKSRC}/electron/DEPS for SQUIRREL_MAC_VER SQUIRREL_MAC_VER= 0e5d146ba13101a1302d59ea6e6e0b3cace4ae38 # See ${WRKSRC}/electron/DEPS for REACTIVEOBJC_VER REACTIVEOBJC_VER= 74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76 # See ${WRKSRC}/electron/DEPS for MANTLE_VER MANTLE_VER= 78d3966b3c331292ea29ec38661b25df0a245948 # See ${WRKSRC}/electron/DEPS for ENGFLOW_RECLIENT_CONFIGS_VER ENGFLOW_RECLIENT_CONFIGS_VER= 955335c30a752e9ef7bff375baab5e0819b6c00d YARN_TIMESTAMP= 61171200 .include "Makefile.version" .include .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) IGNORE= you have selected HEIMDAL_BASE but do not have Heimdal installed in base .endif .if ${COMPILER_VERSION} < 170 LLVM_DEFAULT= 17 BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} BINARY_ALIAS+= cpp=${LOCALBASE}/bin/clang-cpp${LLVM_DEFAULT} \ cc=${LOCALBASE}/bin/clang${LLVM_DEFAULT} \ c++=${LOCALBASE}/bin/clang++${LLVM_DEFAULT} \ ar=${LOCALBASE}/bin/llvm-ar${LLVM_DEFAULT} \ nm=${LOCALBASE}/bin/llvm-nm${LLVM_DEFAULT} \ ld=${LOCALBASE}/bin/ld.lld${LLVM_DEFAULT} .else BINARY_ALIAS+= ar=/usr/bin/llvm-ar \ nm=/usr/bin/llvm-nm .endif CFLAGS+= -Wno-error=implicit-function-declaration .if ${ARCH} == "aarch64" PLIST_SUB+= AARCH64="" \ AMD64="@comment " \ I386="@comment " \ NOT_AARCH64="@comment " FFMPEG_TARGET= arm64 .elif ${ARCH} == "amd64" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="" \ I386="@comment " \ NOT_AARCH64="" FFMPEG_TARGET= x64 .elif ${ARCH} == "i386" BUILD_DEPENDS+= nasm:devel/nasm PLIST_SUB+= AARCH64="@comment " \ AMD64="@comment " \ I386="" \ NOT_AARCH64="" FFMPEG_TARGET= ia32 .endif FFMPEG_BDIR= ${WRKSRC}/build.${FFMPEG_TARGET}.freebsd/${FFMPEG_BRAND} FFMPEG_CDIR= ${WRKSRC}/third_party/ffmpeg/chromium/config/${FFMPEG_BRAND}/freebsd/${FFMPEG_TARGET} # Allow relocations against read-only segments (override lld default) LDFLAGS_i386= -Wl,-znotext # TODO: -isystem, would be just as ugly as this approach, but more reliably # build would fail without C_INCLUDE_PATH/CPLUS_INCLUDE_PATH env var set. MAKE_ENV+= C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include # rust RUSTC_VERSION!= rustc -V 2>/dev/null || true MAKE_ENV+= RUSTC_BOOTSTRAP=1 GN_ARGS+= enable_rust=true \ rust_sysroot_absolute="${LOCALBASE}" \ rustc_version="${RUSTC_VERSION}" pre-everything:: @${ECHO_MSG} @${ECHO_MSG} "To build electron, you should have around 2GB of memory" @${ECHO_MSG} "and around ${WANTSPACE} of free disk space." @${ECHO_MSG} pre-fetch: @${MKDIR} ${DISTDIR}/${DIST_SUBDIR} if [ ! -f ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} ]; \ then ${MKDIR} ${WRKDIR}; \ ${ECHO_CMD} 'yarn-offline-mirror "./yarn-offline-cache"' >> \ ${WRKDIR}/.yarnrc; \ ${CP} ${FILESDIR}/package.json ${FILESDIR}/yarn.lock ${WRKDIR}; \ cd ${WRKDIR} && ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache \ yarn --frozen-lockfile --ignore-scripts; \ ${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \ -e 's:time=[0-9.]*:time=${YARN_TIMESTAMP}.000000000:' \ -e 's:\([gu]id\)=[0-9]*:\1=0:g' \ -e 's:mode=\([0-9]\)7[0-9][0-9]:mode=\1755:' \ -e 's:mode=\([0-9]\)6[0-9][0-9]:mode=\1644:' \ -e 's:flags=.*:flags=none:' \ -e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree; \ ${TAR} cJf ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} \ @yarn-offline-cache.mtree; \ ${RM} -r ${WRKDIR}; \ fi post-extract: # Move extracted sources to appropriate locations ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/chromium-${CHROMIUM_VER} ${WRKSRC} ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${PORTNAME}-${ELECTRON_VER} ${WRKSRC}/electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_nan}-${NAN_VER} \ ${WRKSRC}/third_party/nan ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_node}-${NODE_VER} \ ${WRKSRC}/third_party/electron_node ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_squirrel_mac}-${SQUIRREL_MAC_VER} \ ${WRKSRC}/third_party/squirrel.mac ${MKDIR} ${WRKSRC}/third_party/squirrel.mac/vendor ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reactiveobjc}-${REACTIVEOBJC_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/ReactiveObjC ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_mantle}-${MANTLE_VER} \ ${WRKSRC}/third_party/squirrel.mac/vendor/Mantle ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_reclient_configs}-${ENGFLOW_RECLIENT_CONFIGS_VER} \ ${WRKSRC}/third_party/engflow-reclient-configs ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/node_modules ${WRKSRC}/third_party/node ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/test_fonts ${WRKSRC}/third_party/test_fonts # Install node modules for electron ${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/yarn-offline-cache ${WRKDIR} ${ECHO_CMD} 'yarn-offline-mirror "../../../yarn-offline-cache"' >> ${WRKSRC}/electron/.yarnrc ${MV} ${WRKSRC}/electron/package.json ${WRKSRC}/electron/package.json.bak ${CP} ${FILESDIR}/package.json ${WRKSRC}/electron cd ${WRKSRC}/electron && \ ${SETENV} HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache yarn --frozen-lockfile --offline pre-patch: ${SH} ${FILESDIR}/apply-electron-patches.sh ${WRKSRC} # ${FIND} ${WRKSRC} -type f -name '*.orig' -print -delete # ${FIND} ${WRKSRC} -type f -name '*~' -print -delete pre-configure: # We used to remove bundled libraries to be sure that chromium uses # system libraries and not shipped ones. # cd ${WRKSRC} && ${PYTHON_CMD} \ #./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ dav1d flac fontconfig freetype harfbuzz-ng icu libdrm libevent \ libpng libusb libwebp libxml libxslt openh264 opus || ${FALSE} # Chromium uses an unreleased version of FFmpeg, so configure it cd ${WRKSRC}/third_party/ffmpeg && \ ${PYTHON_CMD} chromium/scripts/build_ffmpeg.py freebsd ${FFMPEG_TARGET} \ --config-only --branding=${FFMPEG_BRAND} cd ${FFMPEG_BDIR} && ${GMAKE} ffversion.h ${MKDIR} ${FFMPEG_CDIR} .for _e in config.h config.asm config_components.h libavcodec libavformat libavutil -${CP} -pR ${FFMPEG_BDIR}/${_e} ${FFMPEG_CDIR} .endfor do-configure: # GN generator bootstrapping and generating ninja files cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} CC=${CC} CXX=${CXX} LD=${CXX} \ READELF=${READELF} AR=${AR} NM=${NM} ${PYTHON_CMD} \ ./tools/gn/bootstrap/bootstrap.py ${GN_BOOTSTRAP_FLAGS} cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ./out/${BUILDTYPE}/gn gen out/${BUILDTYPE} \ --args='import("//electron/build/args/${GN_FILE}") ${GN_ARGS}' # Setup nodejs dependency @${MKDIR} ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin ${LN} -sf ${LOCALBASE}/bin/node ${WRKSRC}/third_party/node/freebsd/node-freebsd/bin/node # Setup buildtools/freebsd @${MKDIR} ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/buildtools/linux64/clang-format ${WRKSRC}/buildtools/freebsd ${LN} -sf ${WRKSRC}/out/${BUILDTYPE}/gn ${WRKSRC}/buildtools/freebsd ${LN} -sf /usr/bin/strip ${WRKSRC}/buildtools/freebsd/strip post-build: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_TARGETS} post-build-DIST-on: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} ${MAKE_ARGS} ${POST_BUILD_DIST_TARGETS} cd ${WRKSRC}/out/${BUILDTYPE} && \ ${CP} chromedriver.zip chromedriver-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} dist.zip electron-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${CP} mksnapshot.zip mksnapshot-v${ELECTRON_VER}-freebsd-${ARCH:S/amd64/x64/:S/i386/ia32/}.zip && \ ${SHA256} -r *-v${ELECTRON_VER}-freebsd-*.zip | ${SED} -e 's/ / */' > SHASUMS256.txt do-install: ${MKDIR} ${STAGEDIR}${DATADIR} .for f in electron mksnapshot v8_context_snapshot_generator ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in libEGL.so libGLESv2.so libffmpeg.so libvk_swiftshader.so ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvulkan.so.1 ${STAGEDIR}${DATADIR}/libvulkan.so .for f in LICENSE LICENSES.chromium.html snapshot_blob.bin v8_context_snapshot.bin version vk_swiftshader_icd.json ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor .for f in chrome_100_percent.pak chrome_200_percent.pak resources.pak ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/${f} ${STAGEDIR}${DATADIR} .endfor ${MKDIR} ${STAGEDIR}${DATADIR}/locales ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/locales/*.pak ${STAGEDIR}${DATADIR}/locales ${MKDIR} ${STAGEDIR}${DATADIR}/resources .for f in default_app.asar ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/resources/${f} ${STAGEDIR}${DATADIR}/resources .endfor cd ${WRKSRC}/out/${BUILDTYPE}/gen && ${COPYTREE_SHARE} node_headers ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/electron/buildflags ${STAGEDIR}${DATADIR} cd ${WRKSRC}/out/${BUILDTYPE} && ${COPYTREE_SHARE} gen/v8/embedded.S ${STAGEDIR}${DATADIR} ${RLN} ${STAGEDIR}${DATADIR}/electron ${STAGEDIR}${PREFIX}/bin/electron${PKGNAMESUFFIX} post-install-DIST-on: ${MKDIR} ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/SHASUMS256.txt ${STAGEDIR}${DATADIR}/releases ${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/*-v${ELECTRON_VER}-freebsd-*.zip ${STAGEDIR}${DATADIR}/releases post-install-DRIVER-on: ${INSTALL_PROGRAM} ${WRKSRC}/out/${BUILDTYPE}/chromedriver.unstripped \ ${STAGEDIR}${DATADIR}/chromedriver do-test: # Note 1: "npm install" will run before actual tests are executed # Note 2: Xvfb or something similar is necessary for headless testing cd ${WRKSRC}/electron && \ ${SETENV} ${TEST_ENV} ELECTRON_OUT_DIR=${BUILDTYPE} LOCAL_GIT_DIRECTORY=${LOCALBASE} \ npm run test -- --ci .include diff --git a/devel/godot/Makefile b/devel/godot/Makefile index 5f5b5469b3db..ce8311fc5dac 100644 --- a/devel/godot/Makefile +++ b/devel/godot/Makefile @@ -1,114 +1,114 @@ PORTNAME= godot DISTVERSION= 4.2.1 DISTVERSIONSUFFIX= -stable -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= devel games MAINTAINER= FreeBSD@Shaneware.biz COMMENT?= Game runtime engine WWW= https://godotengine.org/ LICENSE= MIT CC-BY-3.0 LICENSE_COMB= multi LICENSE_FILE_CC-BY-3.0= ${WRKSRC}/LOGO_LICENSE.txt LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= yasm:devel/yasm LIB_DEPENDS= libfreetype.so:print/freetype2 \ libgraphite2.so:graphics/graphite2 \ libharfbuzz.so:print/harfbuzz \ libharfbuzz-icu.so:print/harfbuzz-icu \ libpcre2-8.so:devel/pcre2 \ libpng.so:graphics/png \ libvpx.so:multimedia/libvpx RUN_DEPENDS= xdg-user-dir:devel/xdg-user-dirs \ xdg-open:devel/xdg-utils \ xmessage:x11/xmessage USES= compiler:c++17-lang cpe gl pkgconfig scons xorg USE_XORG= x11 xcursor xext xi xinerama xrandr xrender USE_GL= gl glew glu CPE_VENDOR= godotengine USE_GITHUB= yes GH_ACCOUNT= godotengine MAKE_ARGS+= platform=linuxbsd builtin_freetype=False \ builtin_graphite=False builtin_harfbuzz=False \ builtin_libpng=False builtin_libvpx=False \ builtin_pcre2=False builtin_zlib=False verbose=True MAKE_ARGS+= ${MAKE_ARGS_${CHOSEN_COMPILER_TYPE}} MAKE_ARGS_clang= use_llvm=True linker=lld CXXFLAGS_i386= ${CXXFLAGS_i386_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_i386_gcc= -march=i586 OPTIONS_DEFINE= EXAMPLES TOOLS UDEV OPTIONS_DEFAULT= ALSA UDEV # Moved to devel/godot-tools OPTIONS_EXCLUDE?= EXAMPLES TOOLS OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO AUDIO_DESC= Audio support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MAKE_ARGS= alsa=True ALSA_MAKE_ARGS_OFF= alsa=False # 4.2 head at 21/3 EXAMPLES_GH_TUPLE= godotengine:godot-demo-projects:98e9176b7310:DEMOS EXAMPLES_PORTEXAMPLES= * PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MAKE_ARGS= pulseaudio=True PULSEAUDIO_MAKE_ARGS_OFF= pulseaudio=False TOOLS_DESC= Include development tools (IDE) TOOLS_MAKE_ARGS= target=editor TOOLS_MAKE_ARGS_OFF= target=template_release TOOLS_DESKTOP_ENTRIES= "Godot" "${COMMENT}" "${GODOTFILE}" \ "${GODOTFILE}" "Development;IDE;" "" TOOLS_PLIST_FILES= share/pixmaps/${GODOTFILE}.png \ share/pixmaps/${GODOTFILE}.svg UDEV_DESC= Libudev support (Joystick) UDEV_BUILD_DEPENDS= ${PREFIX}/include/linux/input.h:devel/evdev-proto UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_MAKE_ARGS= udev=True UDEV_MAKE_ARGS_OFF= udev=False GODOTFILE= ${PORTNAME}${PKGNAMESUFFIX} PLIST_FILES= bin/${GODOTFILE} .ifmake makesum # Always include optional distfiles .MAKEFLAGS: WITH="${OPTIONS_DEFINE}" OPTIONS_EXCLUDE= .endif .include .if ${ARCH:Mpowerpc*} || ${ARCH:Mriscv64*} MAKE_ARGS+= module_embree_enabled=no \ module_raycast_enabled=no \ module_webm_enabled=no .endif post-patch: @${REINPLACE_CMD} -e 's|custom_build|${OPSYS}_Ports_build|' \ ${WRKSRC}/methods.py # The official godot binary name reflects options used to compile # We just want a simple name matching the portname # This gives us bin/godot for runtime and bin/godot-tools for the IDE do-install: @${RM} ${WRKSRC}/bin/*.debugsymbols cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} godot.linuxbsd* \ ${STAGEDIR}/${PREFIX}/bin/${GODOTFILE} do-install-EXAMPLES-on: (cd ${WRKSRC_DEMOS} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" \ ${STAGEDIR}${EXAMPLESDIR}) do-install-TOOLS-on: ${INSTALL_DATA} ${WRKSRC}/icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.png ${INSTALL_DATA} ${WRKSRC}/icon.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.svg .include diff --git a/devel/godot35/Makefile b/devel/godot35/Makefile index a2a52121597f..b310d6db4698 100644 --- a/devel/godot35/Makefile +++ b/devel/godot35/Makefile @@ -1,113 +1,113 @@ PORTNAME= godot DISTVERSION= 3.5.3 DISTVERSIONSUFFIX= -stable -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES= devel games PKGNAMESUFFIX?= 35 MAINTAINER= FreeBSD@Shaneware.biz COMMENT?= Game runtime engine - LTS v3.5 WWW= https://godotengine.org/ LICENSE= MIT CC-BY-3.0 LICENSE_COMB= multi LICENSE_FILE_CC-BY-3.0= ${WRKSRC}/LOGO_LICENSE.md LICENSE_FILE_MIT= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= yasm:devel/yasm LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpcre2-8.so:devel/pcre2 \ libpng.so:graphics/png \ libvpx.so:multimedia/libvpx RUN_DEPENDS= xdg-user-dir:devel/xdg-user-dirs \ xdg-open:devel/xdg-utils \ xmessage:x11/xmessage USES= compiler:c++14-lang cpe gl pkgconfig scons xorg USE_XORG= x11 xcursor xext xi xinerama xrandr xrender USE_GL= gl glew glu CPE_VENDOR= godotengine USE_GITHUB= yes GH_ACCOUNT= godotengine MAKE_ARGS+= platform=x11 builtin_freetype=False \ builtin_libpng=False builtin_libvpx=False \ builtin_pcre2=False builtin_zlib=False verbose=True MAKE_ARGS+= ${MAKE_ARGS_${CHOSEN_COMPILER_TYPE}} MAKE_ARGS_clang= use_llvm=True linker=lld CXXFLAGS_i386= ${CXXFLAGS_i386_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_i386_gcc= -march=i586 OPTIONS_DEFINE= EXAMPLES TOOLS UDEV OPTIONS_DEFAULT= ALSA UDEV # Moved to devel/godot-tools OPTIONS_EXCLUDE?= EXAMPLES TOOLS OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO AUDIO_DESC= Audio support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MAKE_ARGS= alsa=True ALSA_MAKE_ARGS_OFF= alsa=False # 3.5 head as of 28/2 EXAMPLES_GH_TUPLE= godotengine:godot-demo-projects:c0180d20d10d:DEMOS EXAMPLES_PORTEXAMPLES= * PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MAKE_ARGS= pulseaudio=True PULSEAUDIO_MAKE_ARGS_OFF= pulseaudio=False TOOLS_DESC= Include development tools (IDE) TOOLS_MAKE_ARGS= target=release_debug tools=True TOOLS_MAKE_ARGS_OFF= target=release tools=False TOOLS_DESKTOP_ENTRIES= "Godot" "${COMMENT}" "${GODOTFILE}" \ "${GODOTFILE}" "Development;IDE;" "" TOOLS_PLIST_FILES= share/pixmaps/${GODOTFILE}.png \ share/pixmaps/${GODOTFILE}.svg UDEV_DESC= Libudev support (Joystick) UDEV_BUILD_DEPENDS= ${PREFIX}/include/linux/input.h:devel/evdev-proto UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_MAKE_ARGS= udev=True UDEV_MAKE_ARGS_OFF= udev=False GODOTFILE= ${PORTNAME}${PKGNAMESUFFIX} PLIST_FILES= bin/${GODOTFILE} .ifmake makesum # Always include optional distfiles .MAKEFLAGS: WITH="${OPTIONS_DEFINE}" OPTIONS_EXCLUDE= .endif .include .if ${ARCH:Mpowerpc*} || ${ARCH:Mriscv64*} MAKE_ARGS+= module_embree_enabled=no \ module_raycast_enabled=no \ module_webm_enabled=no .endif post-patch: @${REINPLACE_CMD} -e 's|custom_build|${OPSYS}_Ports_build|' \ ${WRKSRC}/methods.py @${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \ ${WRKSRC}/platform/x11/os_x11.cpp # The official godot binary name reflects options used to compile # We just want a simple name matching the portname # This gives us bin/godot for runtime and bin/godot-tools for the IDE do-install: @${RM} ${WRKSRC}/bin/*.debugsymbols cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} godot.x11* \ ${STAGEDIR}/${PREFIX}/bin/${GODOTFILE} do-install-EXAMPLES-on: (cd ${WRKSRC_DEMOS} && ${COPYTREE_SHARE} "${PORTEXAMPLES}" \ ${STAGEDIR}${EXAMPLESDIR}) do-install-TOOLS-on: ${INSTALL_DATA} ${WRKSRC}/icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.png ${INSTALL_DATA} ${WRKSRC}/icon.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps/${GODOTFILE}.svg .include diff --git a/devel/ptlib/Makefile b/devel/ptlib/Makefile index 11a0786d150d..6cc790b184a6 100644 --- a/devel/ptlib/Makefile +++ b/devel/ptlib/Makefile @@ -1,145 +1,145 @@ PORTNAME= ptlib PORTVERSION= 2.10.11 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= devel MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Cross platform C++ library, used by OPAL WWW= http://www.opalvoip.org LICENSE= MPL10 LIB_DEPENDS= libexpat.so:textproc/expat2 USES= autoreconf:build bison:wrapper compiler:c11 gmake localbase:ldflags \ pathfix pkgconfig ssl tar:xz BROKEN_SSL= openssl openssl31 BROKEN_SSL_REASON= Uses OpenSSL 3.0.0 deprecated BIO_s_file_internal USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-bsdvideo \ --disable-lua \ --disable-sasl \ --enable-audio \ --enable-ipv6 \ --enable-exceptions \ --enable-oss \ --enable-plugins # --with-expat-dir="${LOCALBASE}" CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lssl" ALL_TARGET= optshared CPPFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} CONFLICTS= pwlib-1.* PLIST_SUB+= PORTVERSION=${PORTVERSION} \ PVERSION_MAJOR=${PVERSION_MAJOR} \ PVERSION_MINOR=${PVERSION_MINOR} OPTIONS_DEFINE= DEBUG ODBC ALSA JABBER V4L SDL LDAP PULSEAUDIO OPTIONS_DEFAULT=SDL V4L JABBER OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE=alsa DEBUG_ALL_TARGET= debugshared JABBER_CONFIGURE_ON=--enable-jabber JABBER_VARS= PTLIB_VIDEO=1 LDAP_USES= ldap LDAP_CONFIGURE_ENABLE=openldap ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC ODBC_CONFIGURE_ENABLE= odbc PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE=pulse SDL_USES= sdl SDL_USE= SDL=sdl SDL_CONFIGURE_ENABLE=sdl V4L_BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= v4l v4l2 V4L_VARS= PTLIB_VIDEO=1 PVERSION_MAJOR= ${PORTVERSION:C/.[0-9]+.[0-9]+.//} PVERSION_MINOR= ${PORTVERSION:C/.[0-9]+$//g} .include .if (${OPSYS} == FreeBSD && ${SSL_DEFAULT} == base) || ${SSL_DEFAULT} == openssl EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_ptclib_pssl.cxx-openssl111 .else EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_ptclib_pssl.cxx .endif .if defined(PTLIB_VIDEO) CONFIGURE_ARGS+=--enable-video --enable-vidfile PLIST_SUB+= VIDEODIR="" .else CONFIGURE_ARGS+=--disable-video --disable-vidfile PLIST_SUB+= VIDEODIR="@comment " .endif # ONLY FOR THE BRAVE! # If someone owns a firewire(4) video device and wants to use it for # video-conferencing purposes, please download the files: # libraw1394.shar.gz, libavc1394.shar.gz and libdc1394.shar.gz from # ftp://ftp.frm2.tum.de/pub/jpulz/FreeBSD/ports/ # Extract the files in ${PORTSDIR}/devel and uncomment the following lines. # ##enable libavc1394 #.if defined(WITH_AVC1394) #LIB_DEPENDS+= avc1394.2:devel/libavc1394 \ # dv.4:multimedia/libdv #CONFIGURE_ARGS+= --enable-avc #PLIST_SUB+= AVC1394="" #.else CONFIGURE_ARGS+= --disable-avc PLIST_SUB+= AVC1394="@comment " #.endif # ##enable libdc1394 #.if defined(WITH_DC1394) #LIB_DEPENDS+= dc1394.2[0-9]:multimedia/libdc1394 #CONFIGURE_ARGS+= --enable-dc #PLIST_SUB+= DC1394="" #.else CONFIGURE_ARGS+= --disable-dc #PLIST_SUB+= DC1394="@comment " #.endif .include .if ${COMPILER_TYPE} == clang CPPFLAGS+= -Dregister= -Wno-error=dynamic-exception-spec .endif post-patch: @${REINPLACE_CMD} -e 's/RTF_WASCLONED/0x20000/' ${WRKSRC}/src/ptlib/unix/socket.cxx .if ${COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \ ${WRKSRC}/include/ptlib/psharedptr.h @${REINPLACE_CMD} -e 's|public binary_function|public __binary_function|' \ ${WRKSRC}/include/ptlib/pprocess.h .endif pre-configure: (cd ${WRKSRC}/plugins/ && ${AUTORECONF} -fi) post-install: ${LN} -sf libpt.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libpt.so.${PVERSION_MAJOR} ${LN} -sf libpt.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libpt.so.${PVERSION_MINOR} @${CHMOD} 0755 ${STAGEDIR}${PREFIX}/lib/libpt.so.${PORTVERSION} \ ${STAGEDIR}${PREFIX}/lib/ptlib-${PORTVERSION}/devices/*/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpt.so.${PORTVERSION} @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ptlib-${PORTVERSION}/devices/*/*.so post-install-DEBUG-on: ${LN} -sf libpt_d.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libpt_d.so.${PVERSION_MAJOR} ${LN} -sf libpt_d.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libpt_d.so.${PVERSION_MINOR} .include diff --git a/devel/sdl20/Makefile b/devel/sdl20/Makefile index 800f71043f4a..db3b97611162 100644 --- a/devel/sdl20/Makefile +++ b/devel/sdl20/Makefile @@ -1,149 +1,150 @@ PORTNAME= sdl2 DISTVERSION= 2.30.9 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= https://github.com/libsdl-org/SDL/releases/download/release-${DISTVERSION}/ \ https://www.libsdl.org/release/ DISTNAME= SDL2-${PORTVERSION} MAINTAINER= amdmi3@FreeBSD.org COMMENT= Cross-platform multimedia development API WWW= https://www.libsdl.org/ \ https://github.com/libsdl-org/SDL LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cmake iconv pkgconfig CMAKE_OFF= SDL_ARTS \ SDL_CCACHE \ SDL_ESD \ SDL_LIBICONV \ SDL_RPATH CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Git USE_LDCONFIG= yes PLIST_SUB= LIBVERSION=0.${DISTVERSION:R:E}00.${DISTVERSION:E} PORTSCOUT= limitw:1,even OPTIONS_DEFINE= CSD DBUS FCITX IBUS JOYSTICK HIDAPI \ SAMPLERATE UDEV OPTIONS_GROUP= AUDIO VIDEO OPTIONS_GROUP_AUDIO= ALSA JACK NAS OSS PIPEWIRE PULSEAUDIO SNDIO OPTIONS_GROUP_VIDEO= KMSDRM OPENGL OPENGLES VULKAN \ WAYLAND X11 OPTIONS_DEFAULT= JOYSTICK OSS KMSDRM OPENGL \ OPENGLES VULKAN WAYLAND X11 OPTIONS_DEFINE_powerpc= ALTIVEC OPTIONS_DEFINE_powerpc64= ALTIVEC OPTIONS_DEFAULT_powerpc= ALTIVEC OPTIONS_DEFAULT_powerpc64= ALTIVEC AUDIO_DESC= Audio drivers VIDEO_DESC= Video drivers CSD_DESC= Client-side decorations for Wayland via libdecor FCITX_DESC= fcitx support HIDAPI_DESC= Use HIDAPI for low level joystick drivers IBUS_DESC= IBus support JOYSTICK_DESC= Joystick and haptic support KMSDRM_DESC= KMSDRM display support OPENGLES_DESC= OpenGL ES rendering support UDEV_DESC= Use udev for input device detection VULKAN_DESC= Vulkan rendering support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= SDL_ALSA ALSA_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_ALSA ALTIVEC_CMAKE_BOOL= SDL_ALTIVEC CSD_LIB_DEPENDS= libdecor-0.so:x11-toolkits/libdecor CSD_CMAKE_BOOL= SDL_WAYLAND_LIBDECOR CSD_IMPLIES= WAYLAND DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_BOOL= SDL_DBUS FCITX_LIB_DEPENDS= libfcitx-config.so:chinese/fcitx FCITX_IMPLIES= DBUS HIDAPI_CMAKE_BOOL= SDL_HIDAPI HIDAPI_IMPLIES= JOYSTICK IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus IBUS_CMAKE_BOOL= SDL_IBUS IBUS_IMPLIES= DBUS JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= SDL_JACK JOYSTICK_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto JOYSTICK_LIB_DEPENDS= libinotify.so:devel/libinotify JOYSTICK_CMAKE_BOOL= SDL_HIDAPI_JOYSTICK SDL_HIDAPI_LIBUSB SDL_VIRTUAL_JOYSTICK KMSDRM_USES= gl KMSDRM_USE= GL=gbm KMSDRM_CMAKE_BOOL= SDL_KMSDRM NAS_LIB_DEPENDS= libaudio.so:audio/nas NAS_CMAKE_BOOL= SDL_NAS OPENGL_USES= gl OPENGL_USE= GL=opengl OPENGL_CMAKE_BOOL= SDL_OPENGL OPENGLES_USES= gl OPENGLES_USE= GL=egl,glesv1,glesv2 OPENGLES_CMAKE_BOOL= SDL_OPENGLES OSS_CMAKE_BOOL= SDL_OSS PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= SDL_PIPEWIRE PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= SDL_PULSEAUDIO SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_CMAKE_BOOL= SDL_LIBSAMPLERATE SAMPLERATE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_SampleRate SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_BOOL= SDL_SNDIO UDEV_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_CMAKE_BOOL= SDL_LIBUDEV VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CMAKE_BOOL= SDL_VULKAN WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_CMAKE_BOOL= SDL_WAYLAND WAYLAND_IMPLIES= OPENGLES X11_USES= xorg X11_USE= XORG=x11,xcursor,xext,xi,xfixes,xrandr,xscrnsaver X11_CMAKE_BOOL= SDL_X11 .include # Similar to x11/pixman .if ${ARCH} == "armv6" || ${ARCH} == "armv7" BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils CFLAGS+= -B${LOCALBASE}/bin -no-integrated-as .endif post-patch: @${REINPLACE_CMD} -e '/dep_option.*Dynamically load/ s|ON|OFF|' \ ${WRKSRC}/CMakeLists.txt post-patch-FCITX-off: @${REINPLACE_CMD} -e 's|HAVE_FCITX TRUE|HAVE_FCITX FALSE|g' \ ${WRKSRC}/CMakeLists.txt .include diff --git a/devel/sdl3/Makefile b/devel/sdl3/Makefile index 6a2d5feaaa7e..5bd3736d023d 100644 --- a/devel/sdl3/Makefile +++ b/devel/sdl3/Makefile @@ -1,144 +1,145 @@ PORTNAME= sdl3 DISTVERSIONPREFIX= preview- DISTVERSION= 3.1.6 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= amdmi3@FreeBSD.org COMMENT= Cross-platform multimedia development API (version 3 preview) WWW= https://www.libsdl.org/ \ https://github.com/libsdl-org/SDL LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= cmake iconv pkgconfig USE_GITHUB= yes GH_ACCOUNT= libsdl-org GH_PROJECT= SDL CMAKE_OFF= SDL_RPATH CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Git USE_LDCONFIG= yes PLIST_SUB= LIBVERSION=${DISTVERSION:C/[0-9]+/0/1} PORTSCOUT= limitw:1,even OPTIONS_DEFINE= CSD DBUS FCITX IBUS JOYSTICK HIDAPI \ SAMPLERATE UDEV OPTIONS_GROUP= AUDIO VIDEO OPTIONS_GROUP_AUDIO= ALSA JACK OSS PIPEWIRE PULSEAUDIO SNDIO OPTIONS_GROUP_VIDEO= KMSDRM OPENGL OPENGLES VULKAN \ WAYLAND X11 OPTIONS_DEFAULT= JOYSTICK OSS KMSDRM OPENGL \ OPENGLES VULKAN WAYLAND X11 OPTIONS_DEFINE_powerpc= ALTIVEC OPTIONS_DEFINE_powerpc64= ALTIVEC OPTIONS_DEFAULT_powerpc= ALTIVEC OPTIONS_DEFAULT_powerpc64= ALTIVEC AUDIO_DESC= Audio drivers VIDEO_DESC= Video drivers CSD_DESC= Client-side decorations for Wayland via libdecor FCITX_DESC= fcitx support HIDAPI_DESC= Use HIDAPI for low level joystick drivers IBUS_DESC= IBus support JOYSTICK_DESC= Joystick and haptic support KMSDRM_DESC= KMSDRM display support OPENGLES_DESC= OpenGL ES rendering support UDEV_DESC= Use udev for input device detection VULKAN_DESC= Vulkan rendering support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= SDL_ALSA ALSA_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_ALSA ALTIVEC_CMAKE_BOOL= SDL_ALTIVEC CSD_LIB_DEPENDS= libdecor-0.so:x11-toolkits/libdecor CSD_CMAKE_BOOL= SDL_WAYLAND_LIBDECOR CSD_IMPLIES= WAYLAND DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_BOOL= SDL_DBUS FCITX_LIB_DEPENDS= libfcitx-config.so:chinese/fcitx FCITX_IMPLIES= DBUS HIDAPI_CMAKE_BOOL= SDL_HIDAPI HIDAPI_IMPLIES= JOYSTICK IBUS_LIB_DEPENDS= libibus-1.0.so:textproc/ibus IBUS_CMAKE_BOOL= SDL_IBUS IBUS_IMPLIES= DBUS JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= SDL_JACK JOYSTICK_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto JOYSTICK_LIB_DEPENDS= libinotify.so:devel/libinotify JOYSTICK_CMAKE_BOOL= SDL_HIDAPI_JOYSTICK SDL_HIDAPI_LIBUSB SDL_VIRTUAL_JOYSTICK KMSDRM_USES= gl KMSDRM_USE= GL=gbm KMSDRM_CMAKE_BOOL= SDL_KMSDRM OPENGL_USES= gl OPENGL_USE= GL=opengl OPENGL_CMAKE_BOOL= SDL_OPENGL OPENGLES_USES= gl OPENGLES_USE= GL=egl,glesv1,glesv2 OPENGLES_CMAKE_BOOL= SDL_OPENGLES OSS_CMAKE_BOOL= SDL_OSS PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= SDL_PIPEWIRE PIPEWIRE_BROKEN= does not build PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= SDL_PULSEAUDIO SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_CMAKE_BOOL= SDL_LIBSAMPLERATE SAMPLERATE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_SampleRate SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_BOOL= SDL_SNDIO UDEV_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_CMAKE_BOOL= SDL_LIBUDEV VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CMAKE_BOOL= SDL_VULKAN SDL_RENDER_VULKAN WAYLAND_BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_CMAKE_BOOL= SDL_WAYLAND WAYLAND_IMPLIES= OPENGLES X11_USES= xorg X11_USE= XORG=x11,xcursor,xext,xi,xfixes,xrandr,xrender,xscrnsaver X11_CMAKE_BOOL= SDL_X11 .include # Similar to x11/pixman .if ${ARCH} == "armv6" || ${ARCH} == "armv7" BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils CFLAGS+= -B${LOCALBASE}/bin -no-integrated-as .endif post-patch: @${REINPLACE_CMD} -e '/dep_option.*Dynamically load/ s|ON|OFF|' \ ${WRKSRC}/CMakeLists.txt post-patch-FCITX-off: @${REINPLACE_CMD} -e 's|HAVE_FCITX TRUE|HAVE_FCITX FALSE|g' \ ${WRKSRC}/CMakeLists.txt .include diff --git a/emulators/ares/Makefile b/emulators/ares/Makefile index 204e73c0f987..0b910beedeb4 100644 --- a/emulators/ares/Makefile +++ b/emulators/ares/Makefile @@ -1,211 +1,212 @@ PORTNAME= ares DISTVERSIONPREFIX= v DISTVERSION= 141 +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= bsdcode@disroot.org COMMENT= Multi-system emulator WWW= https://ares-emu.net LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE USES= compiler:c++17-lang gmake gnome localbase:ldflags pkgconfig \ xorg USE_GITHUB= yes GH_ACCOUNT= ares-emulator USE_GNOME= gtksourceview3 USE_XORG= x11 xext xrandr MAKEFILE= GNUmakefile MAKE_ARGS= compiler=${CC} \ cores= \ hiro=gtk3-se \ local=false \ lto=false \ prefix=${PREFIX} \ ruby=video.none \ sdl2=false \ symbols=false \ threaded=true OPTIONS_DEFINE= DEBUG DOCS HOTKEYS OPENMP SHADER OPTIONS_DEFAULT= A26 ALSA AO CV FC GB GBA GLX MD MS MSX MYVISION N64 NG \ NGP OPENAL OPENMP OSS PCE PERFORMANCE PS1 SDLAUDIO \ SDLINPUT SFC SG SHADER SPEC UDEV UHID WS XLIB XVIDEO OPTIONS_GROUP= AUDIO CORES INPUT VIDEO OPTIONS_GROUP_AUDIO= ALSA AO OPENAL OSS PULSEAUDIO SDLAUDIO OPTIONS_GROUP_CORES= A26 CV FC GB GBA MD MS MSX MYVISION N64 NG NGP PCE PS1 \ SFC SG SPEC WS OPTIONS_GROUP_INPUT= SDLINPUT UDEV UHID XLIB OPTIONS_GROUP_VIDEO= GLX XVIDEO OPTIONS_SINGLE= PROFILE OPTIONS_SINGLE_PROFILE= ACCURACY PERFORMANCE A26_DESC= Atari 2600 ACCURACY_DESC= Slower but more accurate CV_DESC= ColecoVision FC_DESC= NES / Famicom GBA_DESC= Game Boy Advance GB_DESC= Game Boy HOTKEYS_DESC= Inofficial hotkeys locking patch MD_DESC= Mega Drive / Genesis MSX_DESC= MSX MS_DESC= Master System / Mark III MYVISION_DESC= My Vision N64_DESC= Nintendo 64 NGP_DESC= Neo Geo Pocket NG_DESC= Neo Geo (AES/MVS) PCE_DESC= PC-Engine / TurboGrafx PERFORMANCE_DESC= Faster but less accurate PROFILE_DESC= PS1_DESC= PlayStation SDLAUDIO_DESC= ${SDL_DESC} SDLINPUT_DESC= ${SDL_DESC} SFC_DESC= SNES / Super Famicom SG_DESC= SG-1000 SHADER_DESC= Build with shader support SPEC_DESC= ZX Spectrum UDEV_DESC= UDEV input support UHID_DESC= UHID input support VIDEO_DESC= WS_DESC= WonderSwan XLIB_DESC= XLIB input support A26_MAKE_ARGS= cores+=a26 ACCURACY_MAKE_ARGS= profile=accuracy ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MAKE_ARGS= ruby+=audio.alsa AO_LIB_DEPENDS= libao.so:audio/libao AO_MAKE_ARGS= ruby+=audio.ao CV_MAKE_ARGS= cores+=cv DEBUG_MAKE_ARGS= build=debug DEBUG_MAKE_ARGS_OFF= build=release FC_MAKE_ARGS= cores+=fc GBA_MAKE_ARGS= cores+=gba GB_MAKE_ARGS= cores+=gb GLX_USES= gl GLX_USE= GL=gl GLX_MAKE_ARGS= ruby+=video.glx HOTKEYS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-hotkeys MD_MAKE_ARGS= cores+=md MSX_MAKE_ARGS= cores+=msx MS_MAKE_ARGS= cores+=ms MYVISION_MAKE_ARGS= cores+=myvision N64_RUN_DEPENDS= ${LOCALBASE}/lib/libvulkan.so:graphics/vulkan-loader N64_MAKE_ARGS= cores+=n64 \ vulkan=true N64_MAKE_ARGS_OFF= vulkan=false NGP_MAKE_ARGS= cores+=ngp NG_MAKE_ARGS= cores+=ng OPENAL_USES= openal OPENAL_MAKE_ARGS= ruby+=audio.openal OPENMP_MAKE_ARGS= openmp=true OPENMP_MAKE_ARGS_OFF= openmp=false OSS_MAKE_ARGS= ruby+=audio.oss PCE_MAKE_ARGS= cores+=pce PERFORMANCE_MAKE_ARGS= profile=performance PS1_MAKE_ARGS= cores+=ps1 PULSEAUDIO_LIB_DEPENDS= libpulse-simple.so:audio/pulseaudio \ libpulse.so:audio/pulseaudio PULSEAUDIO_MAKE_ARGS= ruby+=audio.pulseaudio \ ruby+=audio.pulseaudiosimple SDLAUDIO_USES= sdl SDLAUDIO_USE= SDL=sdl2 SDLAUDIO_MAKE_ARGS= ruby+=audio.sdl \ sdl2=true SDLINPUT_USES= sdl SDLINPUT_USE= SDL=sdl2 SDLINPUT_MAKE_ARGS= ruby+=input.sdl \ sdl2=true SFC_MAKE_ARGS= cores+=sfc SG_MAKE_ARGS= cores+=sg SHADER_BUILD_DEPENDS= ${LOCALBASE}/include/librashader/librashader.h:devel/librashader SHADER_RUN_DEPENDS= ${LOCALBASE}/${_SHADERS}/bilinear.slangp:games/libretro-shaders-slang \ ${LOCALBASE}/lib/librashader.so:devel/librashader SHADER_MAKE_ARGS= librashader=true SHADER_MAKE_ARGS_OFF= librashader=false SHADER_CFLAGS= -DLIBRA_RUNTIME_OPENGL SHADER_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-desktop-ui_desktop-ui.cpp SPEC_MAKE_ARGS= cores+=spec UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_MAKE_ARGS= ruby+=input.udev UHID_MAKE_ARGS= ruby+=input.uhid WS_MAKE_ARGS= cores+=ws XLIB_MAKE_ARGS= ruby+=input.xlib XVIDEO_USE= XORG=xv XVIDEO_MAKE_ARGS= ruby+=video.xvideo _SHADERS= share/libretro/shaders/shaders_slang .include .if ${PORT_OPTIONS:MOPENAL} && ${ARCH} == "i386" LLD_UNSAFE= yes .endif post-patch: ${REINPLACE_CMD} 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/hiro/GNUmakefile post-patch-SHADER-on: ${REINPLACE_CMD} 's|-I../thirdparty/librashader/include||g' \ ${WRKSRC}/desktop-ui/GNUmakefile ${REINPLACE_CMD} 's|"librashader_ld.h"||g' \ ${WRKSRC}/ruby/video/opengl/opengl.hpp ${REINPLACE_CMD} 's|@@SHADERS@@|${LOCALBASE}/${_SHADERS}/|g' \ ${WRKSRC}/desktop-ui/desktop-ui.cpp do-install: ${INSTALL_PROGRAM} ${WRKSRC}/desktop-ui/out/ares \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/desktop-ui/resource/ares.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps ${INSTALL_DATA} ${WRKSRC}/desktop-ui/resource/ares.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps ${MKDIR} ${STAGEDIR}${DATADIR}/Database (cd ${WRKSRC}/mia/Database && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/Database) post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.md \ ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/dolphin-emu/Makefile b/emulators/dolphin-emu/Makefile index e80d346e8abb..6b3b9c6f86b5 100644 --- a/emulators/dolphin-emu/Makefile +++ b/emulators/dolphin-emu/Makefile @@ -1,117 +1,117 @@ PORTNAME= dolphin-emu PORTVERSION= 5.0.21264 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= emulators MAINTAINER= martymac@FreeBSD.org COMMENT= Gamecube and Wii Emulator WWW= https://www.dolphin-emu.org LICENSE= BSD3CLAUSE CC0-1.0 GPLv2+ MIT LICENSE_COMB= multi BUILD_DEPENDS= libfmt>=10.1:devel/libfmt \ vulkan-headers>0:graphics/vulkan-headers # Notes on dependencies: # - alsa support has been disabled (not optimal) # - enet and soundtouch come from Externals/ as Dolphin's versions diverge # (see comments in CMakeLists.txt) # Various problems that may be addressed in the future: # - freesurround comes from Externals/ as it is not available from ports yet # - cubeb comes from Externals/ as it is not available from ports yet # - gtest detection is missing (Externals/ version enforced by CMakeLists.txt) LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavdevice.so:multimedia/ffmpeg \ libavfilter.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswresample.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libfmt.so:devel/libfmt \ libpugixml.so:textproc/pugixml \ libxxhash.so:devel/xxhash \ libzstd.so:archivers/zstd \ libminizip-ng.so:archivers/minizip-ng \ liblzo2.so:archivers/lzo2 \ liblz4.so:archivers/liblz4 \ libspng.so:graphics/libspng \ libspeexdsp.so:audio/speexdsp \ libpulse.so:audio/pulseaudio \ libjack.so:audio/jack \ libsndio.so:audio/sndio \ libsfml-system.so:devel/sfml \ libminiupnpc.so:net/miniupnpc \ libmbedtls.so:security/mbedtls \ libcurl.so:ftp/curl \ libhidapi.so:comms/hidapi \ libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++17-lang desktop-file-utils elfctl gl iconv \ pkgconfig qmake qt:6 sdl xorg ELF_FEATURES= +noaslr:Binaries/dolphin-emu* # See: https://fr.dolphin-emu.org/download/?ref=btn # for latest beta version and associated commit USE_GITHUB= yes GH_PROJECT= dolphin GH_TAGNAME= 1efda86 .include "${.CURDIR}/Makefile.tuples" USE_GL= egl gl USE_SDL= sdl2 USE_XORG= ice sm x11 xext xi xrandr USE_QT= base svg # XXX USE_MGBA crashes configure step CMAKE_ARGS+= -DUSE_UPNP:BOOL=ON \ -DENABLE_QT:BOOL=ON \ -DENABLE_ALSA:BOOL=OFF \ -DENABLE_PULSEAUDIO:BOOL=ON \ -DUSE_DISCORD_PRESENCE:BOOL=OFF \ -DUSE_MGBA:BOOL=OFF \ -DENABLE_AUTOUPDATE:BOOL=OFF MAKE_ENV+= DESTDIR="${STAGEDIR}" # XXX Fix build on archs where 'unsigned long' is 32bit CXXFLAGS+= -DLZO_CFG_PREFER_TYPEOF_ACC_INT32E_T=LZO_TYPEOF_INT # Bypass git check (and set a dummy -unused- revision) CMAKE_ARGS+= -DDOLPHIN_WC_BRANCH:STRING="stable" \ -DDOLPHIN_WC_REVISION:STRING="1" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes NLS_USES= gettext NLS_CMAKE_ON= -DDISABLE_NLS:BOOL=OFF NLS_CMAKE_OFF= -DDISABLE_NLS:BOOL=ON .include # JIT-enabled binaries are amd64 and aarch64 only .if ${ARCH} != "amd64" && ${ARCH} != "aarch64" CMAKE_ARGS+= -DENABLE_GENERIC:BOOL=ON .endif .if ${CHOSEN_COMPILER_TYPE:Mclang} CMAKE_ARGS+= -DENABLE_LLVM:BOOL=ON \ -DLLVM_DIR=${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/cmake/llvm LIB_DEPENDS+= libLLVM-${LLVM_DEFAULT:C/^([6-9])0/\1/}.so:devel/llvm${LLVM_DEFAULT} .else CMAKE_ARGS+= -DENABLE_LLVM:BOOL=OFF .endif # For maintainer (do not forget to clean up Makefile.tuples afterwards to # remove useless submodules) Makefile.tuples:: @${ECHO_CMD} -n > ${.CURDIR}/Makefile.tuples @${RM} -rf ${WRKDIR}/.maintainer.checkout @${MKDIR} ${WRKDIR}/.maintainer.checkout && \ cd ${WRKDIR}/.maintainer.checkout && \ git clone https://github.com/${GH_ACCOUNT}/${GH_PROJECT} . && \ git checkout ${GH_TAGNAME} && \ git submodule init && \ git submodule update --recursive && \ ${SH} ${FILESDIR}/gen_gh_tuple.sh > ${.CURDIR}/Makefile.tuples .include diff --git a/emulators/duckstation/Makefile b/emulators/duckstation/Makefile index e861d907ea0d..f756def26126 100644 --- a/emulators/duckstation/Makefile +++ b/emulators/duckstation/Makefile @@ -1,64 +1,64 @@ PORTNAME= duckstation PORTVERSION= 20240614 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MAINTAINER= martymac@FreeBSD.org COMMENT= Free and open-source PlayStation emulator WWW= https://www.duckstation.org LICENSE= GPLv3 NOT_FOR_ARCHS= i386 NOT_FOR_ARCHS_REASON= src/common/fastjmp.cpp:186:2: error: Unknown platform LIB_DEPENDS= libzstd.so:archivers/zstd \ libwebp.so:graphics/webp \ libpng.so:graphics/png \ libfreetype.so:print/freetype2 \ libcurl.so:ftp/curl \ libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland \ libbacktrace.so:devel/libbacktrace \ libpulse.so:audio/pulseaudio \ libjack.so:audio/jack \ libsndio.so:audio/sndio \ libdbus-1.so:devel/dbus \ libxkbcommon.so:x11/libxkbcommon # XXX Necessary for Qt6/FindWrapVulkanHeaders.cmake #BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers USES= cmake compiler:c++20-lang gl jpeg kde:5 pkgconfig qt:6 sdl xorg USE_GITHUB= yes GH_ACCOUNT= stenzek # See: https://github.com/stenzek/duckstation/commits/latest GH_TAGNAME= v0.1-6937 USE_GL= egl USE_SDL= sdl2 USE_XORG= ice x11 xext xrandr xrender USE_QT= base tools USE_KDE= ecm:build # XXX Vulkan support needs libshaderc_shared.so:graphics/shaderc but # Duckstation embeds its own -patched/incompatible- version # (see: scripts/shaderc-changes.patch) so we just disable it for now. CMAKE_ARGS+= \ -DDUCKSTATION_APPLICATION_DIR_PATH:STRING=${DATADIR} \ -DENABLE_VULKAN:BOOL=OFF # - Program and resources are copied from target dir ${CONFIGURE_WRKSRC}/bin # because only necessary resources are installed there do-install: cd ${CONFIGURE_WRKSRC}/bin && \ ${COPYTREE_SHARE} resources/ ${STAGEDIR}${DATADIR}/ && \ ${COPYTREE_SHARE} translations/ ${STAGEDIR}${DATADIR}/ ${INSTALL_PROGRAM} \ ${CONFIGURE_WRKSRC}/bin/duckstation-qt ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${CONFIGURE_WRKSRC}/bin/resources/images/duck.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/duckstation.png ${INSTALL_DATA} ${FILESDIR}/duckstation.desktop ${STAGEDIR}${DESKTOPDIR} .include diff --git a/emulators/flycast/Makefile b/emulators/flycast/Makefile index 2fd11cb548c7..f9285161e439 100644 --- a/emulators/flycast/Makefile +++ b/emulators/flycast/Makefile @@ -1,66 +1,67 @@ PORTNAME= flycast DISTVERSIONPREFIX= v DISTVERSION= 2.4 +PORTREVISION= 1 CATEGORIES= emulators MAINTAINER= bsdcode@disroot.org COMMENT= Multi-platform Sega Dreamcast emulator WWW= https://github.com/flyinghead/flycast LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libchdr.so:devel/libchdr \ libcurl.so:ftp/curl \ libminiupnpc.so:net/miniupnpc \ libzip.so:archivers/libzip \ libzstd.so:archivers/zstd USES= cmake compiler:c++17-lang lua:52+ pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= flyinghead USE_SDL= sdl2 .include "${.CURDIR}/Makefile.tuples" OPTIONS_DEFINE= DOCS OPENMP VULKAN OPTIONS_DEFAULT= ALSA AO OPENMP OSS VULKAN OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA AO OSS PULSEAUDIO VULKAN_DESC= Build with Vulkan support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= USE_ALSA AO_LIB_DEPENDS= libao.so:audio/libao AO_CMAKE_BOOL= USE_AO OPENMP_CMAKE_BOOL= USE_OPENMP OSS_CMAKE_BOOL= USE_OSS PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSEAUDIO VULKAN_BUILD_DEPENDS= glslang:graphics/glslang \ vulkan-headers>0:graphics/vulkan-headers VULKAN_CMAKE_BOOL= USE_HOST_GLSLANG USE_VULKAN post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/docs && \ ${COPYTREE_SHARE} . ${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=${DISTVERSIONPREFIX}${DISTVERSION} \ https://github.com/${GH_ACCOUNT}/${PORTNAME} . && \ ${SH} ${FILESDIR}/gen_gh_tuple.sh > ${.CURDIR}/Makefile.tuples) .include diff --git a/emulators/fuse/Makefile b/emulators/fuse/Makefile index a6acb4c01214..d1ba9c78eb75 100644 --- a/emulators/fuse/Makefile +++ b/emulators/fuse/Makefile @@ -1,77 +1,77 @@ PORTNAME= fuse PORTVERSION= 1.6.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= emulators MASTER_SITES= SF/${PORTNAME}-emulator/${PORTNAME}/${PORTVERSION} MAINTAINER= rene@FreeBSD.org COMMENT= Free Unix (Sinclair ZX-)Spectrum Emulator WWW= https://fuse-emulator.sourceforge.net LICENSE= GPLv2 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgcrypt.so:security/libgcrypt \ libpng.so:graphics/png \ libspectrum.so:emulators/libspectrum USES= compiler:c++11-lang gettext gmake gnome localbase perl5 \ pkgconfig xorg USE_PERL5= build USE_GNOME= libxml2 glib20 USE_XORG= x11 GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS+=--without-joystick # TODO needs libjsw for GTK OPTIONS_DEFINE= ICONS ROMS DOCS OPTIONS_DEFAULT= ICONS OSS GTK3 OPTIONS_SINGLE= AUDIO UI AUDIO_DESC= Audio output interface UI_DESC= User Interface ROMS_DESC= Extra ROM images (128p, 256s, Gluck, IF1, Opus, TrDOS) OPTIONS_SINGLE_AUDIO= ALSA AO OSS PULSEAUDIO OPTIONS_SINGLE_UI= GTK2 GTK3 SDL SVGALIB OPTIONS_SUB= yes ALSA_CONFIGURE_ON= --with-audio-driver=alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib AO_CONFIGURE_ON= --with-audio-driver=libao AO_LIB_DEPENDS= libao.so:audio/libao OSS_CONFIGURE_ON= --with-audio-driver=oss PULSEAUDIO_CONFIGURE_ON=--with-audio-driver=pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio ICONS_USES= desktop-file-utils shared-mime-info ICONS_CONFIGURE_ENABLE= desktop-integration GTK2_USE= GNOME=cairo,gtk20 GTK2_CONFIGURE_ON= --disable-gtk3 GTK3_USE= GNOME=cairo,gtk30 GTK3_CONFIGURE_ENABLE= gtk3 SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_WITH= sdl SDL_CONFIGURE_ON= --without-gtk SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib SVGALIB_CONFIGURE_WITH= svgalib SVGALIB_CONFIGURE_ON= --without-gtk ROMS_RUN_DEPENDS= fuse-roms>0:emulators/fuse-roms PORTDOCS= AUTHORS ChangeLog README THANKS README.copyright .include .if ${PORT_OPTIONS:MICONS} .endif post-extract: ${CP} ${WRKSRC}/roms/README.copyright ${WRKSRC} post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/emulators/higan/Makefile b/emulators/higan/Makefile index 37e3518c56ad..199b732ef985 100644 --- a/emulators/higan/Makefile +++ b/emulators/higan/Makefile @@ -1,97 +1,98 @@ PORTNAME= higan DISTVERSIONPREFIX= v DISTVERSION= 110 +PORTREVISION= 1 CATEGORIES= emulators games MAINTAINER= cyberbotx@cyberbotx.com COMMENT= Nintendo multi-system emulator WWW= https://github.com/higan-emu/higan LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= compiler:c++14-lang gettext gmake gnome pkgconfig xorg USE_GNOME= cairo gdkpixbuf2 gtk20 gtksourceview2 USE_XORG= x11 xext xrandr USE_CSTD= c99 USE_CXXSTD= c++14 USE_GITHUB= yes GH_ACCOUNT= higan-emu MAKEFILE= GNUmakefile MAKE_ENV= compiler="${CXX}" hiro="gtk2" OPTIONS_DEFINE= DEBUG OPTIONS_MULTI= VIDEO SOUND INPUT OPTIONS_MULTI_VIDEO= GLX SDL XSHM XV OPTIONS_MULTI_SOUND= AO OPENAL OSS PULSEAUDIO OPTIONS_MULTI_INPUT= INPUT_SDL INPUT_X OPTIONS_DEFAULT= GLX XSHM XV SDL \ OPENAL INPUT_SDL INPUT_X XSHM_DESC= Build XShm video driver XV_DESC= Build Xv video driver INPUT_SDL_DESC= Build SDL input driver INPUT_X_DESC= Build X input driver GLX_USES= gl GLX_USE= GL=gl GLX_VARS= VIDEO_DRIVER+=video.glx SDL_USES= sdl SDL_USE= XORG=xv SDL=sdl2 SDL_VARS= VIDEO_DRIVER+=video.sdl XSHM_USE= XORG=xext XSHM_VARS= VIDEO_DRIVER+=video.xshm XV_USE= XORG=xv XV_VARS= VIDEO_DRIVER+=video.xvideo AO_LIB_DEPENDS= libao.so:audio/libao AO_VARS= AUDIO_DRIVER+=audio.ao OPENAL_USES= openal:al OPENAL_VARS= AUDIO_DRIVER+=audio.openal OSS_VARS= AUDIO_DRIVER+=audio.oss PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= AUDIO_DRIVER+=audio.pulseaudio INPUT_SDL_USES= sdl INPUT_SDL_USE= SDL=sdl INPUT_SDL_VARS= INPUT_DRIVER+=input.sdl INPUT_X_VARS= INPUT_DRIVER+=input.xlib post-patch: ${REINPLACE_CMD} -e 's|/usr/share/|${PREFIX}/share/|' \ ${WRKSRC}/nall/path.hpp post-patch-DEBUG-on: ${REINPLACE_CMD} -e 's|-O3|-g|g' \ ${WRKSRC}/higan/GNUmakefile \ ${WRKSRC}/icarus/GNUmakefile do-build: .for d in higan icarus @${DO_MAKE_BUILD} ${ALL_TARGET} -C${WRKSRC}/${d} .endfor do-install: ${INSTALL_PROGRAM} ${WRKSRC}/higan/out/higan ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/icarus/out/icarus ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/higan/target-higan/resource/higan.png ${STAGEDIR}${PREFIX}/share/pixmaps/ ${INSTALL_DATA} ${WRKSRC}/higan/target-higan/resource/higan.desktop ${STAGEDIR}${PREFIX}/share/applications/ (cd ${WRKSRC}/higan/System && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/) (cd ${WRKSRC}/icarus/Database && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/icarus/Database/) .include diff --git a/emulators/libretro-reicast/Makefile b/emulators/libretro-reicast/Makefile index c234bd7db30c..9303f5f7c92d 100644 --- a/emulators/libretro-reicast/Makefile +++ b/emulators/libretro-reicast/Makefile @@ -1,46 +1,46 @@ PORTNAME= libretro-reicast PORTVERSION= 0.20201231 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= emulators games MAINTAINER= beyert@cs.ucr.edu COMMENT= Standalone port of reicast to libretro WWW= https://github.com/reicast/reicast-emulator LICENSE= BSD3CLAUSE GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libao.so:audio/libao \ libasound.so:audio/alsa-lib \ libcurl.so:ftp/curl \ libevdev.so:devel/libevdev \ libpulse.so:audio/pulseaudio \ libudev.so:devel/libudev-devd USES= cmake compiler gl xorg USE_GCC= yes USE_LDCONFIG= yes CMAKE_ARGS= -DLIBRETRO_CORE=ON \ -DOPENGL_EGL_INCLUDE_DIR:PATH=${LOCALBASE}/include/EGL \ -DOPENGL_GLX_INCLUDE_DIR:PATH=${LOCALBASE}/include/GL \ -DOPENGL_INCLUDE_DIR:PATH=${LOCALBASE}/include/GL \ -DOPENGL_opengl_LIBRARY:PATH=${LOCALBASE}/lib/libGL.so CXXFLAGS+= -Wno-c++11-extensions USE_GITHUB= yes GH_ACCOUNT= reicast GH_PROJECT= reicast-emulator GH_TAGNAME= 0bd6ea3 USE_GL= egl gbm gl PLIST_FILES= lib/libretro/reicast_libretro.so do-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKDIR}/.build/libreicast.so \ ${STAGEDIR}/${PREFIX}/lib/libretro/reicast_libretro.so; .include diff --git a/emulators/pcsx2/Makefile b/emulators/pcsx2/Makefile index f9aa9f4fdc64..cc66b9a15e69 100644 --- a/emulators/pcsx2/Makefile +++ b/emulators/pcsx2/Makefile @@ -1,93 +1,94 @@ PORTNAME= pcsx2 PORTVERSION= 2.3.9 +PORTREVISION= 1 DISTVERSIONPREFIX= v 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): # - glad comes from 3rdparty/ (conflicts with libglvnd) # - fmt, rapidyaml, soundtouch, zydis, libzip # are always included from 3rdparty/ LIB_DEPENDS= libpng.so:graphics/png \ libzstd.so:archivers/zstd \ liblz4.so:archivers/liblz4 \ libwebp.so:graphics/webp \ libfreetype.so:print/freetype2 \ libdbus-1.so:devel/dbus \ libavcodec.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libswresample.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libshaderc_shared.so:graphics/shaderc \ libcurl.so:ftp/curl \ libpulse.so:audio/pulseaudio \ libjack.so:audio/jack \ libsndio.so:audio/sndio \ libbacktrace.so:devel/libbacktrace USES= cmake compiler:c++20-lang \ desktop-file-utils elfctl gl jpeg pkgconfig qt:6 sdl xorg USE_GITHUB= yes GH_PROJECT= pcsx2 USE_GL= egl USE_SDL= sdl2 USE_XORG= ice x11 xcb xext xpm xrandr xrender USE_QT= base tools ELF_FEATURES= +wxneeded:bin/pcsx2-qt # 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 # XXX Vulkan support needs libshaderc_shared.so:graphics/shaderc but # Pcsx2 embeds its own -patched/incompatible- version # (see: .github/workflows/scripts/common/shaderc-changes.patch) so we just # disable it for now. CMAKE_ARGS+= \ -DCMAKE_REQUIRED_INCLUDES:STRING=${LOCALBASE}/include/ \ -DPCSX2_RESOURCES_PATH:STRING=${DATADIR}/resources \ -DUSE_VTUNE:BOOL=OFF \ -DWAYLAND_API=OFF \ -DENABLE_TESTS:BOOL=OFF \ -DUSE_VULKAN:BOOL=OFF OPTIONS_DEFINE= DOCS PORTDOCS= Debugger.pdf GameIndex.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}/ && \ ${RM} -rf ${STAGEDIR}${DATADIR}/resources/docs/ ${INSTALL_PROGRAM} ${CONFIGURE_WRKSRC}/bin/pcsx2-qt \ ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_DATA} ${WRKSRC}/pcsx2-qt/resources/icons/AppIcon64.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/PCSX2.png ${INSTALL_DATA} ${WRKSRC}/.github/workflows/scripts/linux/pcsx2-qt.desktop \ ${STAGEDIR}${PREFIX}/share/applications/PCSX2.desktop post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} && \ ${INSTALL_DATA} ${PORTDOCS:S|^|${CONFIGURE_WRKSRC}/bin/resources/docs/|} \ ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/reicast/Makefile b/emulators/reicast/Makefile index f5eca1a59d29..d4eff3c185ab 100644 --- a/emulators/reicast/Makefile +++ b/emulators/reicast/Makefile @@ -1,51 +1,51 @@ PORTNAME= reicast PORTVERSION= 0.20201231 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= emulators games MAINTAINER= beyert@cs.ucr.edu COMMENT= Multi-platform Sega Dreamcast emulator WWW= https://github.com/reicast/reicast-emulator LICENSE= BSD3CLAUSE GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libao.so:audio/libao \ libasound.so:audio/alsa-lib \ libcurl.so:ftp/curl \ libevdev.so:devel/libevdev \ libpulse.so:audio/pulseaudio \ libudev.so:devel/libudev-devd USES= cmake compiler gl xorg .include USE_GCC= yes USE_LDCONFIG= yes CMAKE_ARGS= -DOPENGL_EGL_INCLUDE_DIR:PATH=${LOCALBASE}/include/EGL \ -DOPENGL_GLX_INCLUDE_DIR:PATH=${LOCALBASE}/include/GL \ -DOPENGL_INCLUDE_DIR:PATH=${LOCALBASE}/include/GL \ -DOPENGL_opengl_LIBRARY:PATH=${LOCALBASE}/lib/libGL.so .if ${ARCH} == i386 USE_BINUTILS= yes CXXFLAGS+= -DSIMPLELINK .endif USE_GITHUB= yes GH_TUPLE= reicast:reicast-emulator:0bd6ea3 \ yuikns:intrin:ae63327:intrin/libswirl/deps/intrin USE_XORG= ice sm x11 xext USE_GL= egl gbm gl PLIST_FILES= bin/reicast do-install: ${INSTALL} ${WRKDIR}/.build/${PORTNAME} \ ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}; @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include diff --git a/emulators/snes9x-gtk/Makefile b/emulators/snes9x-gtk/Makefile index 87f6392c3f7f..034794c51f7f 100644 --- a/emulators/snes9x-gtk/Makefile +++ b/emulators/snes9x-gtk/Makefile @@ -1,66 +1,67 @@ PORTNAME= snes9x DISTVERSION= 1.63 +PORTREVISION= 1 CATEGORIES= emulators PKGNAMESUFFIX= -gtk PATCH_SITES= https://github.com/snes9xgit/snes9x/commit/ PATCHFILES= bff02194a797b44f7d0082c4594a2c8c0381bb1b.patch:-p1 MAINTAINER= jhale@FreeBSD.org COMMENT= Super Nintendo Entertainment System (SNES) Emulator WWW= https://github.com/snes9xgit/snes9x # Commercial users must seek permission from copyright holders. LICENSE= Snes9x LICENSE_NAME= Snes9x License LICENSE_FILE= ${WRKSRC}/../LICENSE LICENSE_PERMS= dist-mirror pkg-mirror auto-accept LIB_DEPENDS= libminizip.so:archivers/minizip \ libepoxy.so:graphics/libepoxy \ libpng.so:graphics/png \ libharfbuzz.so:print/harfbuzz USES= cmake compiler:c++17-lang desktop-file-utils gettext \ gnome localbase:ldflags pkgconfig sdl xorg USE_GITHUB= yes GH_ACCOUNT= snes9xgit GH_TUPLE= KhronosGroup:SPIRV-Cross:bccaa94:spirv/../external/SPIRV-Cross \ KhronosGroup:Vulkan-Headers:577baa0:vulkan/../external/vulkan-headers \ KhronosGroup:glslang:9c7fd1a:glslang/../external/glslang USE_GNOME= gdkpixbuf2 gtkmm30 USE_SDL= sdl2 USE_XORG= x11 xrandr xext CMAKE_ARGS= -DCMAKE_INSTALL_LOCALEDIR:STRING="share/locale" CMAKE_OFF= DANGEROUS_HACKS DEBUGGER PATCH_WRKSRC= ${WRKSRC}/.. WRKSRC_SUBDIR= gtk OPTIONS_MULTI= SOUND OPTIONS_MULTI_SOUND= ALSA OSS PORTAUDIO PULSEAUDIO OPTIONS_DEFINE= NLS WAYLAND XVIDEO OPTIONS_DEFAULT= OSS WAYLAND XVIDEO OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= USE_ALSA OSS_CMAKE_BOOL= USE_OSS PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PORTAUDIO_CMAKE_BOOL= USE_PORTAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSEAUDIO WAYLAND_CATEGORIES= wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CMAKE_BOOL= USE_WAYLAND XVIDEO_USE= XORG=xv XVIDEO_CMAKE_BOOL= USE_XV .include diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile index ed9ee293ce77..e12b5bd1e872 100644 --- a/emulators/vice/Makefile +++ b/emulators/vice/Makefile @@ -1,122 +1,122 @@ PORTNAME= vice PORTVERSION= 3.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= SF/vice-emu/releases MAINTAINER= dinoex@FreeBSD.org COMMENT= Emulator for Commodore C64, C128, VIC20, PET, and CBM-II WWW= https://vice-emu.sourceforge.io/ LICENSE= GPLv2 ROM LICENSE_COMB= multi LICENSE_NAME_ROM= Commodore ROMs LICENSE_TEXT_ROM= ROMs are copyrighted by Commodore Business Machines LICENSE_PERMS_ROM= auto-accept BUILD_DEPENDS= xa65:devel/xa65 \ xdg-open:devel/xdg-utils LIB_DEPENDS= libpng.so:graphics/png \ libgif.so:graphics/giflib \ libportaudio.so:audio/portaudio \ libmp3lame.so:audio/lame \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libFLAC.so:audio/flac \ libpci.so:devel/libpci \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpcre2-8.so:devel/pcre2 \ libgnutls.so:security/gnutls \ libharfbuzz.so:print/harfbuzz \ libcurl.so:ftp/curl USES= compiler:c++11-lang pkgconfig perl5 localbase:ldflags \ gmake iconv:wchar_t jpeg readline gettext xorg USE_XORG= xpm ice sm xext xv xt x11 xmu xxf86vm USE_XORG+= xrender xinerama xi xrandr xcursor xcomposite xdamage xfixes HAS_CONFIGURE= yes MAKE_ENV+= XDG_DATA_DIRS=${STAGEDIR}${PREFIX}/share CFLAGS+= -fcommon CONFIGURE_ARGS+= --prefix=${PREFIX} \ --with-lame \ --with-portaudio \ --enable-ipv6 \ --enable-x64 \ --disable-realdevice \ --disable-pdf-docs \ --localedir="${LOCALBASE}/share/locale" \ --disable-dependency-tracking \ DOS2UNIX=true TXTFILES= CIA-README.txt iec-bus.txt \ readmes/Readme-SDL.txt readmes/Readme-SDL2.txt OPTIONS_DEFINE= SDLSOUND ALSA PULSEAUDIO FFMPEG ETHERNET DOCS OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= GTK3UI SDLUI2 OPTIONS_DEFAULT?= GTK3UI SDLSOUND ALSA ETHERNET NO_OPTIONS_SORT=yes OPTIONS_SUB= yes GTK3UI_DESC= use GTK3 user interface SDLUI2_DESC= use SDL2 user interface SDLSOUND_DESC= build with SDL2 sound system support FFMPEG_CONFIGURE_ENABLE= ffmpeg ETHERNET_DESC= Network capture/injection support GTK3UI_USES= desktop-file-utils GTK3UI_CONFIGURE_ENABLE= gtk3ui desktop-files GTK3UI_BUILD_DEPENDS= bash:shells/bash SDLUI2_USES= sdl SDLUI2_USE= SDL=sdl2 SDL=image2 SDLUI2_CONFIGURE_ENABLE= sdl2ui SDLSOUND_USES= sdl SDLSOUND_USE= SDL=sdl2 SDLSOUND_CONFIGURE_ON= --with-sdlsound ALSA_CONFIGURE_OFF= --without-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_CONFIGURE_OFF= --without-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio FFMPEG_LIB_DEPENDS= libavcodec.so.58:multimedia/ffmpeg4 FFMPEG_CONFIGURE_ENV= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig" #ETHERNET_LIB_DEPENDS= libpcap.so:net/libpcap # conflict with base ETHERNET_BUILD_DEPENDS= ${LOCALBASE}/include/pcap.h:net/libpcap ETHERNET_RUN_DEPENDS= ${LOCALBASE}/include/pcap.h:net/libpcap ETHERNET_CONFIGURE_ENABLE= ethernet .include .if !defined(BUILDING_INDEX) __pmlinks1!= ${ECHO_CMD} '${LMLINKS:S/ / /}' | ${AWK} \ '{ if (NF % 2 != 0) { print "broken"; exit; } \ for (i=1; i<=NF; i++) { \ if ( i % 2 == 0) { print " " $$i " ;"; } \ else { printf "${LN} -s " $$i " "; } \ } }' .endif .if ${PORT_OPTIONS:MGTK3UI} USES+= gnome gl USE_GNOME+= gtk30 vte3 cairo gdkpixbuf2 pango USE_GL+= glu gl glew .endif pre-configure: .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's| doc||' ${WRKSRC}/Makefile.in .endif # workaround for xdg-desktop-menu pre-install-GTK3UI-on: ${MKDIR} ${STAGEDIR}/${PREFIX}/share/desktop-directories post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${TXTFILES} ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}/ .endfor cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html/ "-name *\.html -or -name *\.css -or -name *\.txt" cd ${WRKSRC}/doc/html/fonts && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html/fonts/ cd ${WRKSRC}/doc/html/images && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html/images/ ${INSTALL_DATA} ${WRKSRC}/doc/vice.texi ${STAGEDIR}${DOCSDIR}/html/ .include diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile index 407b757de882..080f12a029bc 100644 --- a/emulators/virtualbox-ose-legacy/Makefile +++ b/emulators/virtualbox-ose-legacy/Makefile @@ -1,409 +1,409 @@ PORTNAME= virtualbox-ose PORTVERSION= 5.2.44 -PORTREVISION?= 22 +PORTREVISION?= 23 CATEGORIES= emulators MASTER_SITES= https://download.oracle.com/virtualbox/${PORTVERSION}/:src \ LOCAL/bofh/emulators/virtualbox-ose-legacy:docs PKGNAMESUFFIX?= -legacy DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX}:src \ VirtualBox-docs-${PORTVERSION}${EXTRACT_SUFX}:docs EXTRACT_ONLY= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} \ VirtualBox-docs-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= vbox@FreeBSD.org COMMENT= General-purpose full virtualizer for x86 hardware WWW= https://www.virtualbox.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 i386 PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild BUILD_DEPENDS= gtar:archivers/gtar \ kmk:devel/kBuild \ libIDL-config-2:devel/libIDL \ yasm:devel/yasm \ xsltproc:textproc/libxslt LIB_DEPENDS= libpng.so:graphics/png \ libcurl.so:ftp/curl RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod-legacy USES= compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2 USE_GNOME= libxml2 CPE_VENDOR= oracle CPE_PRODUCT= vm_virtualbox HAS_CONFIGURE= yes CONFIGURE_ARGS= --disable-java --passive-mesa --disable-docs CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}" CONFLICTS_INSTALL= virtualbox-ose-additions-* \ virtualbox-ose-devel \ virtualbox-ose \ virtualbox-ose-lite WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION} PORTSCOUT= limit:^5\. VBOXUSER?= vboxusers VBOXWSUSER?= vboxusers VBOXGROUP?= vboxusers USERS= ${VBOXUSER} GROUPS= ${VBOXGROUP} VBOX_DIR= ${PREFIX}/${VBOX_DIR_REL} VBOX_DIR_REL= lib/virtualbox VBOX_ETC= ${PREFIX}/etc/vbox VBOX_LINKS= VBoxVRDP VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \ VBoxManage VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \ VBoxSVC VBoxXPCOMIPCD OPTIONS_DEFINE= ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS PULSEAUDIO \ PYTHON QT5 R0LOGGING UDPTUNNEL VDE VNC WEBSERVICE VPX X11 OPTIONS_DEFAULT= DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11 OPTIONS_SUB= yes DEBUG_DESC= Debug symbols, additional logs and assertions GUESTADDITIONS_DESC= Build with Guest Additions NLS_DESC= Native language support (requires QT5) QT5_DESC= Build with QT5 frontend (requires X11) R0LOGGING_DESC= Enable R0 logging (requires DEBUG) UDPTUNNEL_DESC= Build with UDP tunnel support VDE_DESC= Build with VDE support VNC_DESC= Build with VNC support VPX_DESC= Use libvpx for video recording WEBSERVICE_DESC= Build Webservice ALSA_CONFIGURE_OFF= --disable-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib DBUS_CONFIGURE_OFF= --disable-dbus DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DEBUG_CONFIGURE_ON= --build-debug NLS_IMPLIES= QT5 PULSEAUDIO_CONFIGURE_OFF= --disable-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PYTHON_USES= python PYTHON_USES_OFF= python:build PYTHON_USE= PYTHON=distutils,noegginfo,noflavors PYTHON_CONFIGURE_OFF= --disable-python PYTHON_VARS= pydistutils_pkgname=vboxapi pydistutils_pkgversion=1.0 QT5_USES= gl qmake:no_env qt:5 xorg QT5_USE= QT=buildtools:build,core,dbus,gui,linguisttools:build,opengl \ QT=printsupport,widgets,x11extras XORG=xcb GL=gl QT5_CONFIGURE_ON= --enable-qt5 QT5_CONFIGURE_OFF= --disable-qt QT5_IMPLIES= X11 R0LOGGING_IMPLIES= DEBUG UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel VDE_CONFIGURE_ON= --enable-vde VDE_RUN_DEPENDS= vde_switch:net/vde2 VNC_CONFIGURE_ON= --enable-vnc VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VPX_CONFIGURE_OFF= --disable-libvpx VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx WEBSERVICE_BUILD_DEPENDS= soapcpp2:devel/gsoap X11_USES= sdl xorg X11_USE= SDL=sdl XORG=x11,xcursor,xext,xinerama,xmu,xorgproto,xt X11_CONFIGURE_OFF= --build-headless PLIST_SUB= GUEST_VER=${PORTVERSION} \ PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \ VBOXGROUP=${VBOXGROUP} SUB_LIST= VBOXDIR=${VBOX_DIR} \ VBOXGROUP=${VBOXGROUP} \ VBOXUSER=${VBOXUSER} \ VBOXWSUSER=${VBOXWSUSER} USE_RC_SUBR= vboxheadless vboxwatchdog .include .if ${SLAVE_PORT} == no CONFLICTS_INSTALL+= virtualbox-ose-nox11 OPTIONS_DEFAULT+= PYTHON .else CONFLICTS_INSTALL+= virtualbox-ose .endif .if ${ARCH} == "amd64" _ELF32!= kldstat -q -m elf32 && ${ECHO_CMD} yes || ${ECHO_CMD} no .endif .if ${PORT_OPTIONS:MDEBUG} KMK_BUILDTYPE= debug KMK_FLAGS+= BUILD_TYPE=debug .else KMK_BUILDTYPE= release .endif .if ${PORT_OPTIONS:MGUESTADDITIONS} GUESTADDITIONS= VBoxGuestAdditions_${PORTVERSION}.iso DISTFILES+= ${GUESTADDITIONS}:src LICENSE+= Additions LICENSE_COMB= multi LICENSE_NAME_Additions= Guest Additions LICENSE_PERMS_Additions= auto-accept LICENSE_DISTFILES_Additions= ${GUESTADDITIONS} .endif .if ${PORT_OPTIONS:MQT5} PLIST_SUB+= QT="" VBOX_PROGS+= VirtualBox VBOX_UTILS+= VBoxTestOGL VBOX_WITH_QT= 1 .else PLIST_SUB+= QT="@comment " .endif .if ${PORT_OPTIONS:MWEBSERVICE} USE_RC_SUBR+= vboxinit vboxwebsrv VBOX_LINKS+= vboxwebsrv VBOX_UTILS+= vboxwebsrv webtest .endif .if ${PORT_OPTIONS:MX11} VBOX_PROGS+= VBoxSDL .endif .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} PLIST_SUB+= SDK="" .else PLIST_SUB+= SDK="@comment " .endif .if ${ARCH} == i386 KMK_ARCH= freebsd.x86 PLIST_SUB+= I386="" .else KMK_ARCH= freebsd.${ARCH} PLIST_SUB+= I386="@comment " .endif PLIST_SUB+= ARCH="${KMK_ARCH}" KMK_BUILDDIR= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE} KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys KMK_FLAGS+= -j${MAKE_JOBS_NUMBER} .include .if ${PYTHON_MAJOR_VER} >= 3 PLIST_SUB+= PYTHON_PYCDIR=/__pycache__/ \ PYTHON_PYCEXT=.cpython-${PYTHON_SUFFIX}.pyc .else PLIST_SUB+= PYTHON_PYCDIR=/ \ PYTHON_PYCEXT=.pyc .endif .if ${SSL_DEFAULT} != base CONFIGURE_ARGS+= --with-openssl-dir="${OPENSSLBASE}" .endif pre-everything:: .if ${ARCH} == "amd64" .if ${_ELF32} != yes @${ECHO_MSG} 'Requires 32-bit runtime support in kernel.' @${ECHO_MSG} 'Rebuild kernel with "options COMPAT_FREEBSD32" and reboot.' @${FALSE} .elif !exists(/usr/lib32/libc.so) @${ECHO_MSG} 'Requires 32-bit libraries installed under /usr/lib32.' @${ECHO_MSG} 'Do: cd /usr/src; make build32 install32; service ldconfig restart' @${FALSE} .endif .endif post-patch: @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE_ARCH = ${VBOX_DIR}' > \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK = ${DBKXSLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK_DTD = ${DBKXMLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_SHARED_LIBS = ${VBOX_DIR}' >> \ ${WRKSRC}/LocalConfig.kmk # Please keep this even if using Clang to avoid repeated regressions. # PR 245048 @${ECHO_CMD} "VBOX_WITH_RUNPATH = ${_GCC_RUNTIME:D${_GCC_RUNTIME}\:}${VBOX_DIR}" >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE = ${DATADIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' >> ${WRKSRC}/LocalConfig.kmk .if ${SSL_DEFAULT} != base @${ECHO_CMD} 'VBOX_WITH_ALT_HASH_CODE = 1' >> ${WRKSRC}/LocalConfig.kmk .endif @${ECHO_CMD} 'VBOX_WITH_EXTPACK_VBOXDTRACE =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_INSTALLER = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VBOXDRV =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_TESTCASES =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_INCS = ${PREFIX}/include/libpng' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_LIBS = png' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP_GH = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VALIDATIONKIT =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_X11_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk .if ${PORT_OPTIONS:MR0LOGGING} @${ECHO_CMD} 'VBOX_WITH_R0_LOGGING = 1' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${PORT_OPTIONS:MWEBSERVICE} @${ECHO_CMD} 'VBOX_WITH_WEBSERVICES = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GSOAP_INSTALLED = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP = ${PREFIX}/lib/gsoap' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_BIN = ${PREFIX}/bin' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_IMPORT = ${PREFIX}/share/gsoap/import' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GCC_PEDANTIC_CXX = -Wshadow $$(VBOX_GCC_WARN) -Wno-long-long \ -Wno-dynamic-exception-spec -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION' >> \ ${WRKSRC}/LocalConfig.kmk @${REINPLACE_CMD} -E -e '/soap_socket_errno\(/s/(soap_socket_errno)(\([^)]+\))/\1/' \ ${WRKSRC}/src/VBox/Main/webservice/vboxweb.cpp .else @${ECHO_CMD} 'VBOX_GCC_PEDANTIC_CXX = -Wno-dynamic-exception-spec \ -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION' >> \ ${WRKSRC}/LocalConfig.kmk .endif @${REINPLACE_CMD} -e 's| -finline-limit=8000||' \ -e 's| -mpreferred-stack-boundary=2||' \ -e 's|%%PYTHON_VERSION%%|${PYTHON_VERSION}|' \ ${WRKSRC}/Config.kmk @${REINPLACE_CMD} -e 's| -fpermissive||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Main/webservice/Makefile.kmk @${ECHO_CMD} 'TOOL_VBoxGccFreeBSD_LD = ${CXX}' >> ${WRKSRC}/LocalConfig.kmk @${SED} -e 's|GXX3|VBoxGccFreeBSD|g' \ ${LOCALBASE}/share/kBuild/tools/GXX3.kmk > \ ${WRKSRC}/tools/kBuildTools/VBoxGccFreeBSD.kmk @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Config.kmk ${WRKSRC}/configure \ ${WRKSRC}/kBuild/header.kmk ${WRKSRC}/kBuild/units/qt4.kmk \ ${WRKSRC}/kBuild/units/qt5.kmk ${WRKSRC}/kBuild/sdks/LIBSDL.kmk \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py @${REINPLACE_CMD} \ -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' \ -e 's|SUPPYTHONLIBS=.*|SUPPYTHONLIBS="${PYTHON_VERSION}${PYTHON_ABIVER}"|' \ ${WRKSRC}/configure .if empty(ICONV_LIB) @${REINPLACE_CMD} -e 's|iconv||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Runtime/Makefile.kmk @${ECHO_CMD} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ${ARCH} == i386 @${ECHO_CMD} 'VBOX_FREEBSD = -fPIC' >> ${WRKSRC}/LocalConfig.kmk .endif @${REINPLACE_CMD} -e 's|%%VBOX_DIR%%|${VBOX_DIR}|g' \ -e 's|%%VBOX_ETC%%|${VBOX_ETC}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh @${REINPLACE_CMD} \ -e 's|^versions =.*|versions = ["${PYTHON_VER}${PYTHON_ABIVER}"]|' \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400093 @${REINPLACE_CMD} -e 's|enum vtype|enum enum_vtype_uint8|g' \ ${WRKSRC}/src/VBox/Additions/freebsd/vboxvfs/vboxvfs*.[ch] .endif do-build: cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \ ${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' .if ${PORT_OPTIONS:MPYTHON} ${PYTHON_CMD} -mcompileall \ ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom .endif do-install: .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk .endif cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom && \ ${COPYTREE_SHARE} "idl samples" ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/include/virtualbox cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/include && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PREFIX}/include/virtualbox ${MKDIR} ${STAGEDIR}${VBOX_DIR} cd ${KMK_BUILDDIR}/bin && ${COPYTREE_SHARE} \ "*.fd *.r0 *.rc *.so components" ${STAGEDIR}${VBOX_DIR} .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${RLN} ${STAGEDIR}${DATADIR}/sdk ${STAGEDIR}${VBOX_DIR} .endif ${INSTALL_SCRIPT} ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh \ ${STAGEDIR}${VBOX_DIR} .for f in ${VBOX_PROGS} ${VBOX_UTILS} ${INSTALL_PROGRAM} ${KMK_BUILDDIR}/bin/${f} ${STAGEDIR}${VBOX_DIR} .endfor .for f in ${VBOX_PROGS} ${VBOX_LINKS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f} .endfor .for f in ${VBOX_PROGS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f:tl} .endfor .if ${PORT_OPTIONS:MGUESTADDITIONS} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/additions ${INSTALL_DATA} ${DISTDIR}/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/ ${RLN} ${STAGEDIR}${VBOX_DIR}/additions/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/VBoxGuestAdditions.iso .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/VirtualBox-docs-${PORTVERSION}/UserManual.pdf \ ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MNLS} cd ${KMK_BUILDDIR}/obj/VirtualBox/qtnls && \ ${COPYTREE_SHARE} "*.qm" ${STAGEDIR}${DATADIR}/nls .endif .if ${PORT_OPTIONS:MPYTHON} cd ${KMK_BUILDDIR}/bin/sdk/installer && \ ${SETENV} VBOX_INSTALL_PATH="${VBOX_DIR}" \ ${PYTHON_CMD} vboxapisetup.py install --root=${STAGEDIR} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom @${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python ${RLN} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom \ ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python .endif .if ${PORT_OPTIONS:MQT5} ${INSTALL_DATA} \ ${WRKSRC}/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_48px.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/VBox.png ${INSTALL_DATA} \ ${WRKSRC}/src/VBox/Installer/freebsd/virtualbox.desktop \ ${STAGEDIR}${PREFIX}/share/applications/virtualbox.desktop .endif .if ${PORT_OPTIONS:MVNC} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH} ${INSTALL_DATA} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/ExtPack* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/ ${INSTALL_LIB} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/${KMK_ARCH}/* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH}/ .endif .if ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/webservice ${INSTALL_DATA} ${KMK_BUILDDIR}/obj/webservice/vboxweb.wsdl \ ${STAGEDIR}${DATADIR}/sdk/bindings/webservice/ .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/virtualbox/*.so \ ${STAGEDIR}${PREFIX}/lib/virtualbox/components/*.so .include diff --git a/emulators/virtualbox-ose/Makefile b/emulators/virtualbox-ose/Makefile index e8ae591b6834..44f0dfce01f6 100644 --- a/emulators/virtualbox-ose/Makefile +++ b/emulators/virtualbox-ose/Makefile @@ -1,428 +1,428 @@ PORTNAME= virtualbox-ose PORTVERSION= 6.1.50 -PORTREVISION?= 5 +PORTREVISION?= 6 CATEGORIES= emulators MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/:src \ LOCAL/bofh/emulators/virtualbox-ose:docs DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX}:src \ VirtualBox-docs-${PORTVERSION}${EXTRACT_SUFX}:docs EXTRACT_ONLY= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} \ VirtualBox-docs-${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= vbox@FreeBSD.org COMMENT= General-purpose full virtualizer for x86 hardware WWW= https://www.virtualbox.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 BUILD_DEPENDS= gtar:archivers/gtar \ kmk:devel/kBuild \ libIDL-config-2:devel/libIDL \ yasm:devel/yasm \ xsltproc:textproc/libxslt LIB_DEPENDS= libpng.so:graphics/png \ libcurl.so:ftp/curl RUN_DEPENDS= ${LOCALBASE}/etc/rc.d/vboxnet:emulators/virtualbox-ose-kmod USES= compiler:c++14-lang cpe gnome iconv pkgconfig ssl tar:bzip2 USE_GNOME= libxml2 CPE_VENDOR= oracle CPE_PRODUCT= vm_virtualbox HAS_CONFIGURE= yes CONFIGURE_ARGS= --disable-java --passive-mesa --disable-docs CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}" CONFLICTS_INSTALL= virtualbox-ose-additions-* \ virtualbox-ose-devel \ virtualbox-ose-legacy \ virtualbox-ose-lite WRKSRC= ${WRKDIR}/VirtualBox-${PORTVERSION} VBOXUSER?= vboxusers VBOXWSUSER?= vboxusers VBOXGROUP?= vboxusers USERS= ${VBOXUSER} GROUPS= ${VBOXGROUP} VBOX_DIR= ${PREFIX}/${VBOX_DIR_REL} VBOX_DIR_REL= lib/virtualbox VBOX_ETC= ${PREFIX}/etc/vbox VBOX_LINKS= VBoxVRDP VBOX_PROGS= VBoxAutostart VBoxBalloonCtrl VBoxBugReport VBoxHeadless \ VBoxManage VBOX_UTILS= VBoxExtPackHelperApp VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT \ VBoxSVC VBoxXPCOMIPCD SUB_FILES= pkg-message OPTIONS_DEFINE= AIO ALSA DBUS DEBUG DOCS GUESTADDITIONS NLS OPUS PULSEAUDIO \ PYTHON QT5 R0LOGGING UDPTUNNEL VBOXIMG VDE VNC WEBSERVICE VPX X11 OPTIONS_DEFAULT= AIO DBUS QT5 UDPTUNNEL VNC WEBSERVICE X11 # Since version 6.1.24 pulseaudio is broken at runtime, preventing # virtual machines from starting if configured to use it. OPTIONS_EXCLUDE+= PULSEAUDIO OPTIONS_SUB= yes AIO_DESC= Enable Asyncronous IO support (check pkg-message) DEBUG_DESC= Debug symbols, additional logs and assertions GUESTADDITIONS_DESC= Build with Guest Additions NLS_DESC= Native language support (requires QT5) OPUS_DESC= Use libvpx for audio recording (requires VPX) QT5_DESC= Build with QT5 frontend (requires X11) R0LOGGING_DESC= Enable R0 logging (requires DEBUG) UDPTUNNEL_DESC= Build with UDP tunnel support VBOXIMG_DESC= Build vboximg-mount (requires fuse-libs) VDE_DESC= Build with VDE support VNC_DESC= Build with VNC support VPX_DESC= Use libvpx for video recording WEBSERVICE_DESC= Build Webservice ALSA_CONFIGURE_OFF= --disable-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib DBUS_CONFIGURE_OFF= --disable-dbus DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DEBUG_CONFIGURE_ON= --build-debug NLS_IMPLIES= QT5 OPUS_CONFIGURE_OFF= --disable-libopus OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_IMPLIES= VPX PULSEAUDIO_CONFIGURE_OFF= --disable-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PYTHON_USES= python PYTHON_USES_OFF= python:build PYTHON_USE= PYTHON=distutils,noegginfo,noflavors PYTHON_CONFIGURE_OFF= --disable-python PYTHON_VARS= pydistutils_pkgname=vboxapi pydistutils_pkgversion=1.0 QT5_USES= gl qmake:no_env qt:5 xorg QT5_USE= QT=buildtools:build,core,dbus,gui,linguisttools:build,opengl \ QT=printsupport,widgets,x11extras XORG=xcb GL=gl QT5_CONFIGURE_ON= --enable-qt5 QT5_CONFIGURE_OFF= --disable-qt QT5_IMPLIES= X11 R0LOGGING_IMPLIES= DEBUG UDPTUNNEL_CONFIGURE_OFF= --disable-udptunnel VBOXIMG_LIB_DEPENDS= libfuse.so.2:filesystems/fusefs-libs VDE_CONFIGURE_ON= --enable-vde VDE_RUN_DEPENDS= vde_switch:net/vde2 VNC_CONFIGURE_ON= --enable-vnc VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VPX_CONFIGURE_OFF= --disable-libvpx VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx WEBSERVICE_BUILD_DEPENDS= soapcpp2:devel/gsoap X11_USES= sdl xorg X11_USE= SDL=sdl XORG=x11,xcursor,xext,xinerama,xmu,xorgproto,xt X11_CONFIGURE_OFF= --build-headless ENV= .export ENV PLIST_SUB= GUEST_VER=${PORTVERSION} \ PYTHON_VERU=${PYTHON_VER:S/./_/}${PYTHON_ABIVER} \ VBOXGROUP=${VBOXGROUP} SUB_LIST= VBOXDIR=${VBOX_DIR} \ VBOX_ETC=${VBOX_ETC} \ VBOXGROUP=${VBOXGROUP} \ VBOXUSER=${VBOXUSER} \ VBOXWSUSER=${VBOXWSUSER} USE_RC_SUBR= vboxheadless vboxwatchdog .include .if ${SLAVE_PORT} == no CONFLICTS_INSTALL+= virtualbox-ose-nox11 OPTIONS_DEFAULT+= PYTHON .else CONFLICTS_INSTALL+= virtualbox-ose .endif .if ${PORT_OPTIONS:MDEBUG} KMK_BUILDTYPE= debug KMK_FLAGS+= BUILD_TYPE=debug .else KMK_BUILDTYPE= release .endif .if ${PORT_OPTIONS:MGUESTADDITIONS} GUESTADDITIONS= VBoxGuestAdditions_${PORTVERSION}.iso DISTFILES+= ${GUESTADDITIONS}:src LICENSE+= Additions LICENSE_COMB= multi LICENSE_NAME_Additions= Guest Additions LICENSE_PERMS_Additions= auto-accept LICENSE_DISTFILES_Additions= ${GUESTADDITIONS} .endif .if ${PORT_OPTIONS:MQT5} PLIST_SUB+= QT="" VBOX_PROGS+= VirtualBox VirtualBoxVM VBOX_UTILS+= VBoxTestOGL VBOX_WITH_QT= 1 .else PLIST_SUB+= QT="@comment " .endif .if ${PORT_OPTIONS:MWEBSERVICE} USE_RC_SUBR+= vboxinit vboxwebsrv VBOX_LINKS+= vboxwebsrv VBOX_UTILS+= vboxwebsrv webtest .endif .if ${PORT_OPTIONS:MX11} VBOX_PROGS+= VBoxSDL .endif .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} PLIST_SUB+= SDK="" .else PLIST_SUB+= SDK="@comment " .endif .if ${PORT_OPTIONS:MVBOXIMG} EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-vboximg-Config.kmk VBOX_UTILS+= vboximg-mount PLIST_SUB+= VBOXIMG="" .else PLIST_SUB+= VBOXIMG="@comment " .endif KMK_ARCH= freebsd.${ARCH} PLIST_SUB+= ARCH="${KMK_ARCH}" KMK_BUILDDIR= ${WRKSRC}/out/${KMK_ARCH}/${KMK_BUILDTYPE} KMK_CONFIG= VBOX_LIBPATH_X11=${LOCALBASE} VBOX_FREEBSD_SRC=${SRC_BASE}/sys KMK_FLAGS+= -j${MAKE_JOBS_NUMBER} .include .if ${CHOSEN_COMPILER_TYPE} == clang # 1) llvm10 in FreeBSD before r364284 miscompiles virtualbox 6.1 causing errors. # 2) llvm15 in FreeBSD miscompiles virtualbox 6.1 causing errors: PR#270189. # Force llvm from ports. .if ${OPSYS} == FreeBSD # USES must be before .include , but CHOSEN_COMPILER_TYPE must be after. # This is a workaround with possibility to define different llvm via VBOX_LLVM_VER in make.conf. #USES+= llvm:min=11,max=14 #CC= clang${LLVM_VERSION} #CXX= clang++${LLVM_VERSION} BUILD_DEPENDS+= clang${VBOX_LLVM_VER}:devel/llvm${VBOX_LLVM_VER} CC= clang${VBOX_LLVM_VER} CXX= clang++${VBOX_LLVM_VER} .if ${LLVM_DEFAULT} < 11 || ${LLVM_DEFAULT} > 14 VBOX_LLVM_VER?= 14 .else VBOX_LLVM_VER?= ${LLVM_DEFAULT} .endif .endif PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src-VBox-Devices-PC-ipxe-Makefile.kmk .endif .if ${PYTHON_MAJOR_VER} >= 3 PLIST_SUB+= PYTHON_PYCDIR=/__pycache__/ \ PYTHON_PYCEXT=.cpython-${PYTHON_SUFFIX}.pyc .else PLIST_SUB+= PYTHON_PYCDIR=/ \ PYTHON_PYCEXT=.pyc .endif .if ${SSL_DEFAULT} != base CONFIGURE_ARGS+= --with-openssl-dir="${OPENSSLBASE}" .endif post-patch: @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE_ARCH = ${VBOX_DIR}' > \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK = ${DBKXSLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_DOCBOOK_DTD = ${DBKXMLDIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_SHARED_LIBS = ${VBOX_DIR}' >> \ ${WRKSRC}/LocalConfig.kmk # Please keep this even if using Clang to avoid repeated regressions. # PR 245048 @${ECHO_CMD} "VBOX_WITH_RUNPATH = ${_GCC_RUNTIME:D${_GCC_RUNTIME}\:}${VBOX_DIR}" >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_PRIVATE = ${DATADIR}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' >> ${WRKSRC}/LocalConfig.kmk .if ${SSL_DEFAULT} != base @${ECHO_CMD} 'VBOX_WITH_ALT_HASH_CODE = 1' >> ${WRKSRC}/LocalConfig.kmk .endif @${ECHO_CMD} 'VBOX_WITH_EXTPACK_VBOXDTRACE =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_INSTALLER = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VBOXDRV =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_TESTCASES =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_INCS = ${PREFIX}/include/libpng' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'SDK_VBOX_LIBPNG_LIBS = png' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_DRAG_AND_DROP_GH = ${VBOX_WITH_QT}' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_VALIDATIONKIT =' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_WITH_X11_ADDITIONS =' >> ${WRKSRC}/LocalConfig.kmk .if ${PORT_OPTIONS:MR0LOGGING} @${ECHO_CMD} 'VBOX_WITH_R0_LOGGING = 1' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${PORT_OPTIONS:MWEBSERVICE} @${ECHO_CMD} 'VBOX_WITH_WEBSERVICES = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GSOAP_INSTALLED = 1' >> ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP = ${PREFIX}/lib/gsoap' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_BIN = ${PREFIX}/bin' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_PATH_GSOAP_IMPORT = ${PREFIX}/share/gsoap/import' >> \ ${WRKSRC}/LocalConfig.kmk @${ECHO_CMD} 'VBOX_GCC_PEDANTIC_CXX = -Wshadow $$(VBOX_GCC_WARN) -Wno-long-long' >> \ ${WRKSRC}/LocalConfig.kmk .endif .if empty(PORT_OPTIONS:MX11) @${ECHO} 'VBOX_WITH_VMSVGA3D =' >> ${WRKSRC}/LocalConfig.kmk .endif .if ${CHOSEN_COMPILER_TYPE} == clang @${REINPLACE_CMD} -e 's| -finline-limit=8000||' \ -e 's| -mpreferred-stack-boundary=2||' ${WRKSRC}/Config.kmk @${REINPLACE_CMD} -e 's| -fpermissive||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Main/webservice/Makefile.kmk @${ECHO_CMD} 'TOOL_VBoxGccFreeBSD_LD = ${CXX}' >> ${WRKSRC}/LocalConfig.kmk @${SED} -e 's|GXX3|VBoxGccFreeBSD|g' \ ${LOCALBASE}/share/kBuild/tools/GXX3.kmk > \ ${WRKSRC}/tools/kBuildTools/VBoxGccFreeBSD.kmk .endif # Causes a "reinplace" QA warning with default LOCALBASE @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/Config.kmk ${WRKSRC}/configure \ ${WRKSRC}/kBuild/header.kmk ${WRKSRC}/kBuild/units/qt4.kmk \ ${WRKSRC}/kBuild/units/qt5.kmk ${WRKSRC}/kBuild/sdks/LIBSDL.kmk \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py @${REINPLACE_CMD} \ -e 's|\$$KBUILDDIR_BIN/kmk_sed|${LOCALBASE}/bin/kmk_sed|g' \ -e 's|SUPPYTHONLIBS=.*|SUPPYTHONLIBS="${PYTHON_VERSION}${PYTHON_ABIVER}"|' \ ${WRKSRC}/configure .if empty(ICONV_LIB) @${REINPLACE_CMD} -e 's|iconv||' ${WRKSRC}/Config.kmk \ ${WRKSRC}/src/VBox/Runtime/Makefile.kmk @${ECHO_CMD} 'VBOX_ICONV_DEFS = LIBICONV_PLUG' >> ${WRKSRC}/LocalConfig.kmk .endif @${REINPLACE_CMD} -e 's|%%VBOX_DIR%%|${VBOX_DIR}|g' \ -e 's|%%VBOX_ETC%%|${VBOX_ETC}|g' \ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh @${REINPLACE_CMD} -e 's|%%VBOX_ETC%%|${VBOX_ETC}|g' \ ${WRKSRC}/src/VBox/HostDrivers/adpctl/VBoxNetAdpCtl.cpp @${REINPLACE_CMD} \ -e 's|^versions =.*|versions = ["${PYTHON_VER}${PYTHON_ABIVER}"]|' \ ${WRKSRC}/src/libs/xpcom18a4/python/gen_python_deps.py post-patch-AIO-off: @${REINPLACE_CMD} 's|r3/freebsd/fileaio-freebsd.cpp|r3/posix/fileaio-posix.cpp|' \ ${WRKSRC}/src/VBox/Runtime/Makefile.kmk do-build: cd ${WRKSRC} && ${SH} -c '. ${WRKSRC}/env.sh && \ ${SETENV} ${MAKE_ENV} ${KMK_CONFIG} ${LOCALBASE}/bin/kmk ${KMK_FLAGS}' .if ${PORT_OPTIONS:MPYTHON} ${PYTHON_CMD} -mcompileall \ ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom .endif do-install: .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk .endif cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom && \ ${COPYTREE_SHARE} "idl samples" ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}${PREFIX}/include/virtualbox cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/include && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PREFIX}/include/virtualbox ${MKDIR} ${STAGEDIR}${VBOX_DIR} cd ${KMK_BUILDDIR}/bin && ${COPYTREE_SHARE} \ "*.fd *.r0 *.so components" ${STAGEDIR}${VBOX_DIR} .if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE} ${RLN} ${STAGEDIR}${DATADIR}/sdk ${STAGEDIR}${VBOX_DIR} .endif ${INSTALL_SCRIPT} ${WRKSRC}/src/VBox/Installer/freebsd/VBox.sh \ ${STAGEDIR}${VBOX_DIR} .for f in ${VBOX_PROGS} ${VBOX_UTILS} ${INSTALL_PROGRAM} ${KMK_BUILDDIR}/bin/${f} ${STAGEDIR}${VBOX_DIR} .endfor .for f in ${VBOX_PROGS} ${VBOX_LINKS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f} .endfor .for f in ${VBOX_PROGS} ${LN} -fs ../${VBOX_DIR_REL}/VBox.sh ${STAGEDIR}${PREFIX}/bin/${f:tl} .endfor .if ${PORT_OPTIONS:MGUESTADDITIONS} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/additions ${INSTALL_DATA} ${DISTDIR}/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/ ${RLN} ${STAGEDIR}${VBOX_DIR}/additions/${GUESTADDITIONS} \ ${STAGEDIR}${VBOX_DIR}/additions/VBoxGuestAdditions.iso .endif .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/VirtualBox-docs-${PORTVERSION}/UserManual.pdf \ ${STAGEDIR}${DOCSDIR} .endif .if ${PORT_OPTIONS:MNLS} cd ${KMK_BUILDDIR}/obj/VirtualBox/qtnls && \ ${COPYTREE_SHARE} "*.qm" ${STAGEDIR}${DATADIR}/nls .endif .if ${PORT_OPTIONS:MPYTHON} cd ${KMK_BUILDDIR}/bin/sdk/installer && \ ${SETENV} VBOX_INSTALL_PATH="${VBOX_DIR}" \ ${PYTHON_CMD} vboxapisetup.py install --root=${STAGEDIR} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom/python/xpcom && \ ${COPYTREE_SHARE} "*" ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom @${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python ${RLN} ${STAGEDIR}${PYTHON_SITELIBDIR}/xpcom \ ${STAGEDIR}${DATADIR}/sdk/bindings/xpcom/python .endif .if ${PORT_OPTIONS:MQT5} ${INSTALL_DATA} \ ${WRKSRC}/src/VBox/Frontends/VirtualBox/images/OSE/VirtualBox_48px.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/VBox.png ${INSTALL_DATA} \ ${WRKSRC}/src/VBox/Installer/freebsd/virtualbox.desktop \ ${STAGEDIR}${PREFIX}/share/applications/virtualbox.desktop .endif .if ${PORT_OPTIONS:MVNC} ${MKDIR} ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH} ${INSTALL_DATA} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/ExtPack* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/ ${INSTALL_LIB} ${KMK_BUILDDIR}/bin/ExtensionPacks/VNC/${KMK_ARCH}/* \ ${STAGEDIR}${VBOX_DIR}/ExtensionPacks/VNC/${KMK_ARCH}/ .endif .if ${PORT_OPTIONS:MVBOXIMG} ${LN} -fs ../${VBOX_DIR_REL}/vboximg-mount ${STAGEDIR}${PREFIX}/bin/ .endif .if ${PORT_OPTIONS:MWEBSERVICE} ${MKDIR} ${STAGEDIR}${DATADIR}/sdk/bindings/webservice ${INSTALL_DATA} ${KMK_BUILDDIR}/obj/webservice/vboxweb.wsdl \ ${STAGEDIR}${DATADIR}/sdk/bindings/webservice/ .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/virtualbox/*.so \ ${STAGEDIR}${PREFIX}/lib/virtualbox/components/*.so .include diff --git a/games/moonlight-embedded-devel/Makefile b/games/moonlight-embedded-devel/Makefile index 2de735c44d18..77727d7511bc 100644 --- a/games/moonlight-embedded-devel/Makefile +++ b/games/moonlight-embedded-devel/Makefile @@ -1,72 +1,73 @@ PORTNAME= moonlight-embedded-devel DISTVERSION= 2.7.4 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://github.com/armin-25689/moonlight-embedded/releases/download/v${DISTVERSION}/ MAINTAINER= lisp_25689@163.com COMMENT= Command-line moonlight implementation with keyboard-grabbing support WWW= https://github.com/moonlight-stream/moonlight-embedded LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml:graphics/wayland-protocols LIB_DEPENDS= libavahi-client.so:net/avahi-app \ libavcodec.so:multimedia/ffmpeg \ libcurl.so:ftp/curl \ libepoll-shim.so:devel/libepoll-shim \ libevdev.so:devel/libevdev \ libexpat.so:textproc/expat2 \ libopus.so:audio/opus \ libudev.so:devel/libudev-devd \ libuuid.so:misc/e2fsprogs-libuuid \ libva.so:multimedia/libva \ libdrm.so:graphics/libdrm \ libwayland-client.so:graphics/wayland USES= cmake gl localbase:ldflags perl5 pkgconfig sdl ssl tar:xz xorg USE_LDCONFIG= yes USE_GL= egl gbm glesv2 USE_PERL5= build USE_SDL= sdl2 USE_XORG= x11 NO_WRKSUBDIR= yes CFLAGS+= -DHAS_SOCKLEN_T=1 -I${LOCALBASE}/include/libepoll-shim LDFLAGS+= -lepoll-shim CMAKE_ARGS= -DCMAKE_INSTALL_SYSCONFDIR=${PREFIX}/etc/moonlight CONFLICTS_INSTALL= moonlight-embedded PLIST_FILES= bin/moonlight \ "@sample etc/moonlight/moonlight.conf.sample" \ share/man/man1/moonlight.1.gz \ share/moonlight/gamecontrollerdb.txt OPTIONS_DEFAULT= OSS CEC_DESC= Enable HDMI-CEC(TV controller) feature by using libcec.so OSS_DESC= Open Sound System support for embedded(not SDL) platform PULSE_DESC= PulseAudio sound server support for embedded(not SDL) platform OPTIONS_GROUP= OTHERS OPTIONS_GROUP_OTHERS= CEC OPTIONS_SINGLE= SOUND OPTIONS_SINGLE_SOUND= OSS PULSE CEC_CMAKE_BOOL= ENABLE_CEC CEC_LIB_DEPENDS= libcec.so:multimedia/libcec \ libp8-platform.so:devel/p8-platform OSS_CMAKE_ON= -DENABLE_PULSE:BOOL=false PULSE_CMAKE_BOOL= ENABLE_PULSE PULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio post-extract: @${REINPLACE_CMD} -e 's@/usr/local@${PREFIX}@' \ ${WRKSRC}/docs/README.pod @${REINPLACE_CMD} -e 's@/usr/local@${PREFIX}@' \ ${WRKSRC}/src/config.c post-install: @${MV} ${STAGEDIR}${PREFIX}/etc/moonlight/moonlight.conf \ ${STAGEDIR}${PREFIX}/etc/moonlight/moonlight.conf.sample .include diff --git a/games/moonlight-embedded/Makefile b/games/moonlight-embedded/Makefile index b29c299b8f13..e58577f4c425 100644 --- a/games/moonlight-embedded/Makefile +++ b/games/moonlight-embedded/Makefile @@ -1,72 +1,73 @@ PORTNAME= moonlight-embedded DISTVERSION= 2.7.0 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= https://github.com/moonlight-stream/moonlight-embedded/releases/download/v${DISTVERSION}/ MAINTAINER= lisp_25689@163.com COMMENT= Gamestream client WWW= https://github.com/moonlight-stream/moonlight-embedded LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto LIB_DEPENDS= libavahi-client.so:net/avahi-app \ libavcodec.so:multimedia/ffmpeg \ libcurl.so:ftp/curl \ libepoll-shim.so:devel/libepoll-shim \ libevdev.so:devel/libevdev \ libexpat.so:textproc/expat2 \ libopus.so:audio/opus \ libudev.so:devel/libudev-devd \ libuuid.so:misc/e2fsprogs-libuuid USES= cmake localbase:ldflags perl5 pkgconfig sdl ssl tar:xz USE_LDCONFIG= yes USE_PERL5= build USE_SDL= sdl2 NO_WRKSUBDIR= yes CFLAGS+= -DHAS_SOCKLEN_T=1 -I${LOCALBASE}/include/libepoll-shim/ LDFLAGS+= -lepoll-shim CONFLICTS_INSTALL= moonlight-embedded-devel PLIST_FILES= bin/moonlight \ "@sample etc/moonlight.conf.sample" \ share/man/man1/moonlight.1.gz \ share/moonlight/gamecontrollerdb.txt OPTIONS_DEFAULT= OSS X11 OSS_DESC= Open Sound System support for embedded(not SDL) platform PULSE_DESC= PulseAudio sound server support for embedded(not SDL) platform CEC_DESC= Enable HDMI-CEC(TV controller) feature by using libcec.so X11_DESC= Enable x11 and x11_vaapi platform using xorg OPTIONS_SINGLE= SOUND OPTIONS_SINGLE_SOUND= OSS PULSE OPTIONS_GROUP= DISPLAY OTHERS OPTIONS_GROUP_OTHERS= CEC OPTIONS_GROUP_DISPLAY= X11 OSS_CMAKE_ON= -DENABLE_PULSE:BOOL=false PULSE_CMAKE_BOOL= ENABLE_PULSE PULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio CEC_CMAKE_BOOL= ENABLE_CEC CEC_LIB_DEPENDS= libcec.so:multimedia/libcec \ libp8-platform.so:devel/p8-platform X11_USES= xorg gl X11_USE= xorg=x11 gl=egl,glesv2 X11_CMAKE_BOOL= ENABLE_X11 X11_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau \ libva.so:multimedia/libva post-extract: @${REINPLACE_CMD} -e 's|/etc/moonlight/|${PREFIX}/etc/moonlight/|g' \ ${WRKSRC}/docs/README.pod @${REINPLACE_CMD} -e 's@/usr/local@${PREFIX}@' \ -e 's@/etc@${PREFIX}/etc@' \ ${WRKSRC}/src/config.c post-install: @${MV} ${STAGEDIR}${PREFIX}/etc/moonlight.conf \ ${STAGEDIR}${PREFIX}/etc/moonlight.conf.sample .include diff --git a/games/retroarch/Makefile b/games/retroarch/Makefile index 5bb8f6b997c0..fde811c94385 100644 --- a/games/retroarch/Makefile +++ b/games/retroarch/Makefile @@ -1,113 +1,113 @@ PORTNAME= RetroArch DISTVERSIONPREFIX= v DISTVERSION= 1.19.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games emulators MAINTAINER= dmenelkir@gmail.com COMMENT= Cross-platform entertainment system based on libretro API WWW= https://github.com/libretro/RetroArch LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers \ vulkan-loader>0:graphics/vulkan-loader LIB_DEPENDS= libass.so:multimedia/libass \ libdrm.so:graphics/libdrm \ libfontconfig.so:x11-fonts/fontconfig \ libfribidi.so:converters/fribidi \ libxkbcommon.so:x11/libxkbcommon RUN_DEPENDS= retroarch-assets<=0:games/retroarch-assets USES= compiler:c++11-lib cpe gmake pkgconfig python shebangfix ssl CPE_VENDOR= libretro USE_GITHUB= yes GH_ACCOUNT= libretro SHEBANG_FILES= libretro-common/glsym/glgen.py libretro-common/glsym/rglgen.py \ tools/cg2glsl.py tools/vulkan_loader_generator.py HAS_CONFIGURE= yes CONFIGURE_ARGS+= --disable-discord \ --enable-threads \ --sysconfdir=${LOCALBASE}/etc CONFIGURE_ENV+= MAN_DIR=${PREFIX}/share/man LDFLAGS_i386= -Wl,-znotext DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:tl} SUB_FILES= pkg-message OPTIONS_DEFINE= ALSA CACA DOCS FFMPEG FREETYPE JACK OPENAL OPENGL OSS \ PULSEAUDIO QT SDL UDEV V4L X11 OPTIONS_DEFINE_amd64= WAYLAND # svgalib is x86 only OPTIONS_DEFINE_i386= WAYLAND OPTIONS_DEFAULT= FFMPEG FREETYPE OPENAL OPENGL OSS QT SDL UDEV V4L X11 OPTIONS_DEFAULT_amd64= WAYLAND OPTIONS_DEFAULT_i386= WAYLAND FFMPEG_DESC= On-the-fly recording of gameplay with libavcodec QT_DESC= Qt based desktop-style GUI UDEV_DESC= udev device hotplug support WAYLAND_DESC= Wayland display support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_ENABLE= caca FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CONFIGURE_ENABLE= ffmpeg FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= freetype JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack OPENAL_USES= openal:soft OPENAL_CONFIGURE_ENABLE= al OPENGL_USES= gl OPENGL_USE= GL=egl,gbm,gl OPENGL_CONFIGURE_ENABLE= opengl OSS_CONFIGURE_ENABLE= oss PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulse QT_USES= qt:5 QT_USE= QT=concurrent,core,gui,network,widgets QT_CONFIGURE_ENABLE= qt SDL_USES= sdl SDL_USE= image2 \ SDL=sdl2 SDL_CONFIGURE_ON= --disable-sdl \ --enable-sdl2 SDL_CONFIGURE_OFF= --disable-sdl \ --disable-sdl2 UDEV_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libudev.so:devel/libudev-devd UDEV_CONFIGURE_ENABLE= udev UDEV_CFLAGS= -I${LOCALBASE}/include/libepoll-shim UDEV_LDFLAGS= -L${LOCALBASE}/lib -lepoll-shim V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= v4l2 WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/include/linux/kd.h:graphics/svgalib WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland X11_USES= xorg X11_USE= XORG=x11,xcb,xext,xinerama,xrandr,xv,xxf86vm X11_CONFIGURE_ENABLE= x11 post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/retroarch @${REINPLACE_CMD} \ -e 's|# libretro_directory =|libretro_directory = "${PREFIX}/lib/libretro"|' \ -e 's|# libretro_info_path =|libretro_info_path = "${PREFIX}/share/libretro/info"|' \ -e 's|# assets_directory =|assets_directory = "${PREFIX}/share/libretro/assets"|' \ -e 's|# video_shader_dir =|video_shader_dir = "${PREFIX}/share/libretro/shaders"|' \ -e 's|# video_filter_dir =|video_filter_dir = "${PREFIX}/lib/retroarch/filters/video"|' \ -e 's|# audio_filter_dir =|audio_filter_dir = "${PREFIX}/lib/retroarch/filters/audio"|' \ -e 's|# joypad_autoconfig_dir =|joypad_autoconfig_dir = "${PREFIX}/share/retroarch/autoconfig"|' \ -e 's|# menu_show_core_updater = true|menu_show_core_updater = false|' \ ${STAGEDIR}${PREFIX}/etc/retroarch.cfg .include diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile index 43cc0082073a..1fc6193eef32 100644 --- a/graphics/blender/Makefile +++ b/graphics/blender/Makefile @@ -1,228 +1,228 @@ PORTNAME= blender DISTVERSION= 4.2.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= graphics multimedia MASTER_SITES= http://download.blender.org/source/ \ http://mirror.cs.umn.edu/blender.org/source/ \ http://public.planetmirror.com/pub/blender/source/ MAINTAINER= FreeBSD@Shaneware.biz COMMENT= 3D modeling/rendering/animation package WWW= https://www.blender.org/ LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/doc/license/GPL3-license.txt ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 powerpc64le riscv64 ONLY_FOR_ARCHS_REASON= static_assert(sizeof(unsigned long long) == sizeof(struct hipArray*)) BUILD_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libboost_thread.so:devel/boost-libs \ libfreetype.so:print/freetype2 \ libepoxy.so:graphics/libepoxy \ libOpenImageIO.so:graphics/openimageio \ libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libzstd.so:archivers/zstd RUN_DEPENDS= ${PYNUMPY} # libboost_regex.so just acts as a placeholder; several boost # libraries are used, if either of the most common options in blender # are set. We will pull boost in just to be on the safe side. USES= cmake:noninja compiler:c++17-lang cpe eigen:3 jpeg llvm:build,run pkgconfig \ python:3.11 shebangfix tar:xz xorg USE_XORG= x11 xext xfixes xmu xrender SHEBANG_FILES= scripts/modules/bl_i18n_utils/merge_po.py \ scripts/modules/bl_i18n_utils/utils_rtl.py \ scripts/modules/blend_render_info.py CMAKE_ARGS= -DCMAKE_CXX_STANDARD:INTEGER=17 \ -DLLVM_CONFIG:STRING="${LOCALBASE}/bin/llvm-config${LLVM_VERSION}" .if defined(WITH_DEBUG) CMAKE_ARGS+= -DWITH_GHOST_DEBUG:BOOL=ON .endif CMAKE_ON= WITH_AUDASPACE WITH_BOOST WITH_CLANG WITH_GHOST_X11 WITH_GHOST_XDND \ WITH_HYDRA WITH_IO_GPENCIL WITH_IO_PLY WITH_IO_STL WITH_IO_WAVEFRONT_OBJ \ WITH_LLVM WITH_OPENGL_BACKEND WITH_PYTHON WITH_SYSTEM_EIGEN3 \ WITH_SYSTEM_FREETYPE WITH_X11_XINPUT WITH_X11_XF86VMODE WITH_X11_XFIXES CMAKE_OFF= WITH_GHOST_SDL WITH_INSTALL_PORTABLE LLVM_STATIC WITH_MATERIALX \ WITH_MEM_JEMALLOC WITH_MEM_VALGRIND WITH_NANOVDB WITH_PYTHON_INSTALL \ WITH_PYTHON_INSTALL_NUMPY CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} CFLAGS_gcc= -Wno-float-conversion CXXFLAGS+= -DGLOG_USE_GLOG_EXPORT LDFLAGS+= -lexecinfo -Wl,--undefined-version SUB_FILES= blender PLIST_SUB+= VER=${DISTVERSION:R} OPTIONS_SUB= yes .include "${.CURDIR}/Makefile.options" ALEMBIC_IMPLIES= OPENEXR ALEMBIC_LIB_DEPENDS= libAlembic.so:graphics/alembic ALEMBIC_CMAKE_BOOL= WITH_ALEMBIC AVI_CMAKE_BOOL= WITH_CODEC_AVI BULLET_CMAKE_BOOL= WITH_BULLET CAMERATRACK_LIB_DEPENDS= libglog.so:devel/glog CAMERATRACK_CMAKE_BOOL= WITH_LIBMV WITH_SYSTEM_GLOG CINEON_CMAKE_BOOL= WITH_IMAGE_CINEON COLLADA_LIB_DEPENDS= libOpenCOLLADABaseUtils.so:graphics/opencollada \ libpcre.so:devel/pcre COLLADA_USES= gnome COLLADA_USE= GNOME=libxml2 COLLADA_CMAKE_BOOL= WITH_OPENCOLLADA COMPOSITOR_CMAKE_BOOL= WITH_COMPOSITOR_CPU CYCLES_IMPLIES= TBB CYCLES_LIB_DEPENDS= libgflags.so:devel/gflags CYCLES_CMAKE_BOOL= WITH_CYCLES WITH_CYCLES_LOGGING CYCLES_LDFLAGS= -L${LOCALBASE}/lib -lgflags CYCLES_EMBR_IMPLIES= CYCLES CYCLES_EMBR_LIB_DEPENDS= libembree3.so:graphics/embree CYCLES_EMBR_CMAKE_BOOL= WITH_CYCLES_EMBREE CYCLES_ONEAPI_LIB_DEPENDS= libtbb.so:devel/onetbb CYCLES_ONEAPI_CMAKE_BOOL= WITH_CYCLES_DEVICE_ONEAPI CYCLES_OSL_IMPLIES= CYCLES OPENEXR PUGIXML CYCLES_OSL_LIB_DEPENDS= liboslcomp.so:graphics/openshadinglanguage CYCLES_OSL_CMAKE_BOOL= WITH_CYCLES_OSL CYCLES_OSL_CMAKE_ON= -DOSL_SHADER_DIR:STRING="${LOCALBASE}/share/openshadinglanguage/shaders" DRACO_USE= LDCONFIG=${PYTHON_SITELIBDIR} DRACO_CMAKE_BOOL= WITH_DRACO EBOOL_LIB_DEPENDS= libgmp.so:math/gmp EBOOL_CMAKE_BOOL= WITH_GMP FFMPEG_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ libflite.so:audio/flite FFMPEG_CMAKE_BOOL= WITH_CODEC_FFMPEG FFMPEG_LDFLAGS= -L${LOCALBASE}/lib -lflite -lflite_cmu_us_kal \ -lflite_cmulex -lflite_usenglish FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FFTW3_CMAKE_BOOL= WITH_FFTW3 FREESTYLE_CMAKE_BOOL= WITH_FREESTYLE FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CMAKE_BOOL= WITH_FRIBIDI HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CMAKE_BOOL= WITH_HARFBUZZ HARU_LIB_DEPENDS= libhpdf.so:print/libharu HARU_CMAKE_BOOL= WITH_HARU HEADLESS_PREVENTS= MENU XINPUT XF86VMODE HEADLESS_PREVENTS_MSG= X11 options can't be used in headless mode HEADLESS_CMAKE_BOOL= WITH_HEADLESS INPUT_NDOF_LIB_DEPENDS= libspnav.so:misc/libspnav INPUT_NDOF_CMAKE_BOOL= WITH_INPUT_NDOF JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CMAKE_BOOL= WITH_JACK WITH_JACK_DYNLOAD LZMA_CMAKE_BOOL= WITH_LZMA LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2 LZO_CMAKE_BOOL= WITH_LZO WITH_SYSTEM_LZO MENU_USES= desktop-file-utils MOD_FLUID_IMPLIES= TBB MOD_FLUID_CMAKE_BOOL= WITH_MOD_FLUID MOD_OCEANSIM_IMPLIES= FFTW3 MOD_OCEANSIM_CMAKE_BOOL= WITH_MOD_OCEANSIM MOD_REMESH_CMAKE_BOOL= WITH_MOD_REMESH # Use iconv:wchar_t to force the usage of iconv from ports. # libboost_locale.so uses libiconv_open, while we only provide # iconv_open in 10.x+ NLS_USES= gettext-tools iconv:lib,wchar_t NLS_CMAKE_BOOL= WITH_INTERNATIONAL OPENAL_USES= openal:al,alut OPENAL_CMAKE_BOOL= WITH_OPENAL OPENCOLORIO_LIB_DEPENDS= libOpenColorIO.so:graphics/opencolorio \ libyaml-cpp.so:devel/yaml-cpp \ libexpat.so:textproc/expat2 \ libpystring.so:devel/pystring OPENCOLORIO_USES= minizip OPENCOLORIO_CMAKE_BOOL= WITH_OPENCOLORIO OPENEXR_LIB_DEPENDS= libImath.so:math/Imath \ libOpenEXR.so:graphics/openexr OPENEXR_CMAKE_BOOL= WITH_IMAGE_OPENEXR OPENEXR_CFLAGS= -I${LOCALBASE}/include/Imath OPENIMAGEDN_IMPLIES= TBB OPENIMAGEDN_LIB_DEPENDS= libOpenImageDenoise.so:graphics/oidn OPENIMAGEDN_CMAKE_BOOL= WITH_OPENIMAGEDENOISE OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CMAKE_BOOL= WITH_IMAGE_OPENJPEG OPENMP_CMAKE_BOOL= WITH_OPENMP OPENPGL_LIB_DEPENDS= libopenpgl.so:graphics/openpgl OPENPGL_CMAKE_BOOL= WITH_CYCLES_PATH_GUIDING OPENSUBDIV_LIB_DEPENDS= libosdCPU.so:graphics/opensubdiv OPENSUBDIV_CMAKE_BOOL= WITH_OPENSUBDIV OPENVDB_IMPLIES= OPENEXR TBB OPENVDB_LIB_DEPENDS= libopenvdb.so:misc/openvdb OPENVDB_CMAKE_BOOL= WITH_OPENVDB WITH_OPENVDB_BLOSC OPENXR_LIB_DEPENDS= libopenxr_loader.so:graphics/openxr OPENXR_CMAKE_BOOL= WITH_XR_OPENXR POTRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace POTRACE_CMAKE_BOOL= WITH_POTRACE PUGIXML_LIB_DEPENDS= libpugixml.so:textproc/pugixml PUGIXML_CMAKE_BOOL= WITH_PUGIXML PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO WITH_PULSEAUDIO_DYNLOAD QUADRIFLOW_CMAKE_BOOL= WITH_QUADRIFLOW SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CMAKE_BOOL= WITH_SDL WITH_SDL_DYNLOAD SIMD_CMAKE_BOOL= WITH_CPU_SIMD SIMD_EXTRA_PATCHES_OFF= ${PATCHDIR}/extra-patch-simd-off SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CMAKE_BOOL= WITH_CODEC_SNDFILE TBB_LIB_DEPENDS= libtbb.so:devel/onetbb TBB_CMAKE_BOOL= WITH_TBB THUMBNAILER_CMAKE_BOOL= WITH_BLENDER_THUMBNAILER TRACE_LIB_DEPENDS= libpotrace.so:graphics/libpotrace TRACE_CMAKE_BOOL= WITH_POTRACE USD_IMPLIES= TBB USD_BROKEN= require devel/tbb, which conflicts with devel/onetbb: \ https://github.com/PixarAnimationStudios/OpenUSD/issues/1650 USD_LIB_DEPENDS= libusd_usd.so:misc/usd USD_CMAKE_BOOL= WITH_USD VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libshaderc_shared.so:graphics/shaderc \ libSPIRV-Tools-shared.so:graphics/spirv-tools \ libvulkan.so:graphics/vulkan-loader VULKAN_CMAKE_BOOL= WITH_VULKAN_BACKEND VULKAN_LDFLAGS= -lshaderc_shared -lSPIRV-Tools-shared WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.15:graphics/wayland-protocols \ wayland>=1.12:graphics/wayland \ libdecor>0:x11-toolkits/libdecor WAYLAND_LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon WAYLAND_CMAKE_BOOL= WITH_GHOST_WAYLAND WITH_GHOST_WAYLAND_LIBDECOR \ WITH_GHOST_WAYLAND_DYNLOAD WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_BOOL= WITH_IMAGE_WEBP XF86VMODE_USE= XORG=xi,xxf86vm XF86VMODE_CMAKE_BOOL= WITH_X11_XF86VMODE XINPUT_USE= XORG=xi XINPUT_CMAKE_BOOL= WITH_X11_XINPUT post-patch: ${REINPLACE_CMD} -e 's|%%LLVM_VER%%|${LLVM_VERSION}|g' \ ${WRKSRC}/intern/cycles/kernel/osl/CMakeLists.txt post-build: @(cd ${WRKSRC}/doc/manpage && \ ${PYTHON_CMD} blender.1.py \ --blender ${INSTALL_WRKSRC}/bin/blender \ --output ${INSTALL_WRKSRC}/bin/${PORTNAME}.1) post-install: ${INSTALL_MAN} ${INSTALL_WRKSRC}/bin/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1 ${MV} ${STAGEDIR}/${PREFIX}/bin/blender ${STAGEDIR}/${PREFIX}/bin/blender-bin ${REINPLACE_CMD} -e 's|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g' ${WRKDIR}/blender ${INSTALL_SCRIPT} ${WRKDIR}/blender ${STAGEDIR}/${PREFIX}/bin/blender post-install-DRACO-on: # move draco pylib into site-packages ${MKDIR} ${STAGEDIR}/${PYTHON_SITELIBDIR}/ ${INSTALL_LIB} ${INSTALL_WRKSRC}/lib/libextern_draco.so ${STAGEDIR}/${PYTHON_SITELIBDIR}/ ${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/libextern_draco.so @${RM} -R ${STAGEDIR}/${DATADIR}/${DISTVERSION:R}/python post-install-MENU-on: @-update-desktop-database -q .include diff --git a/graphics/libprojectm/Makefile b/graphics/libprojectm/Makefile index 3b84b1d89c59..6c70067a2607 100644 --- a/graphics/libprojectm/Makefile +++ b/graphics/libprojectm/Makefile @@ -1,83 +1,83 @@ PORTNAME= libprojectM DISTVERSIONPREFIX= v DISTVERSION= 3.1.12 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics audio MAINTAINER= yuri@FreeBSD.org COMMENT= Awesome music visualiser WWW= https://github.com/projectM-visualizer/projectm LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm \ bash:shells/bash LIB_DEPENDS= libftgl.so:graphics/ftgl \ libfreetype.so:print/freetype2 \ libvisual-0.4.so:graphics/libvisual04 RUN_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm USES= autoreconf:build compiler:c++11-lang gl gmake libtool \ localbase:ldflags pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= projectM-visualizer GH_PROJECT= projectm USE_SDL= sdl2 USE_GL= gl glu glew GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --enable-sdl --enable-gles INSTALL_TARGET= install-strip CONFIGURE_SHELL= ${PREFIX}/bin/bash # https://github.com/projectM-visualizer/projectm/issues/319 USE_LDCONFIG= yes USE_CXXSTD= c++98 CXXFLAGS+= -DDATADIR_PATH='\"${LOCALBASE}/share/projectM\"' -I${LOCALBASE}/lib/qt5 LDFLAGS+= -L${LOCALBASE}/lib/qt5 # https://github.com/projectM-visualizer/projectm/issues/320 BINARY_ALIAS= make=${GMAKE} OPTIONS_DEFINE= PULSEAUDIO JACK OPTIONS_DEFAULT= PULSEAUDIO OPTIONS_SUB= yes PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_USES= qt:5 PULSEAUDIO_USE= qt=core,gui,opengl,widgets,xml,buildtools:build,qmake:build,linguisttools:build #qt=declarative,network,script,sensors,serialport,sql,xmlpatterns PULSEAUDIO_CONFIGURE_ENABLE= pulseaudio PULSEAUDIO_CONFIGURE_ON= --enable-qt JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_USES= qt:5 JACK_USE= qt=core,gui,opengl,widgets,xml,buildtools:build,qmake:build,linguisttools:build #qt=declarative,network,script,sensors,serialport,sql,xmlpatterns JACK_CONFIGURE_ENABLE= jack JACK_CONFIGURE_ON= --enable-qt .include .if ! ${PORT_OPTIONS:MPULSEAUDIO} && ! ${PORT_OPTIONS:MJACK} CONFIGURE_ARGS+= --disable-qt .endif .if ${PORT_OPTIONS:MPULSEAUDIO} || ${PORT_OPTIONS:MJACK} PLIST_FILES+= share/icons/hicolor/scalable/apps/projectM.svg BINARY_ALIAS+= qmake=${QMAKE} \ moc=${MOC} \ uic=${UIC} \ rcc=${RCC} \ lrelease=${LRELEASE} \ lupdate=${LUPDATE} .endif pre-configure: @cd ${WRKSRC}/ && ${SH} autogen.sh post-install: @${MV} ${STAGEDIR}${PREFIX}/share/projectM/config.inp ${STAGEDIR}${PREFIX}/share/projectM/config.inp.sample ${INSTALL_DATA} ${WRKSRC}/fonts/Vera.ttf ${STAGEDIR}${PREFIX}/share/projectM/fonts/ .include diff --git a/misc/copperspice-examples/Makefile b/misc/copperspice-examples/Makefile index 05b02a7e6214..f52aa835371c 100644 --- a/misc/copperspice-examples/Makefile +++ b/misc/copperspice-examples/Makefile @@ -1,42 +1,42 @@ PORTNAME= copperspice-examples DISTVERSIONPREFIX= ks- DISTVERSION= 1.7.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= misc MASTER_SITES= https://download.copperspice.com/kitchensink/source/ DISTNAME= KitchenSink-${DISTVERSION} MAINTAINER= adridg@FreeBSD.org COMMENT= Example programs for Copperspice WWW= https://www.copperspice.com/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE NOT_FOR_ARCHS= i386 LIB_DEPENDS= libasound.so:audio/alsa-lib \ libpulse.so:audio/pulseaudio \ libgstreamer-1.0.so:multimedia/gstreamer1 \ libcups.so:print/cups \ libxcb-icccm.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.so:x11/libxcb \ libxkbcommon.so:x11/libxkbcommon \ libfontconfig.so:x11-fonts/fontconfig BUILD_DEPENDS= copperspice>=1.7:x11-toolkits/copperspice RUN_DEPENDS= copperspice>=1.7:x11-toolkits/copperspice USES= compiler:c++17-lang cmake dos2unix gl gnome gstreamer iconv jpeg pkgconfig ssl tar:bz2 xorg USE_GL= gl USE_GNOME= cairo glib20 libxml2 USE_XORG= ice sm x11 xau xcb xcursor xext xfixes xi xinerama xrandr xrender PLIST_FILES= bin/kitchensink NO_WRKSUBDIR= yes DOS2UNIX_FILES= src/CMakeLists.txt .include diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile index 80eecb8c51c5..5d2f5ad3e451 100644 --- a/multimedia/ffmpeg/Makefile +++ b/multimedia/ffmpeg/Makefile @@ -1,688 +1,688 @@ PORTNAME= ffmpeg PORTVERSION= 6.1.2 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 1 CATEGORIES= multimedia audio net MASTER_SITES= https://ffmpeg.org/releases/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Realtime audio/video encoder/converter and streaming server WWW= https://ffmpeg.org/ LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_aarch64= as:devel/binutils BUILD_DEPENDS_amd64= nasm:devel/nasm BUILD_DEPENDS_armv6= as:devel/binutils BUILD_DEPENDS_armv7= as:devel/binutils BUILD_DEPENDS_i386= nasm:devel/nasm HAS_CONFIGURE= yes CONFIGURE_LOG= ffbuild/config.log USES= compiler:c11 cpe gmake localbase:ldflags perl5 \ pkgconfig shebangfix tar:xz USE_LDCONFIG= yes USE_PERL5= build SHEBANG_FILES= doc/texi2pod.pl NOPRECIOUSMAKEVARS= yes # ARCH PORTSCOUT= limit:^6\. # Option CHROMAPRINT disabled, it cannot work and people are baffled. OPTIONS_DEFINE= ALSA AMR_NB AMR_WB AOM ARIBB24 ARIBCAPTION ASM ASS BS2B CACA CDIO \ CODEC2 DAV1D DAVS2 DC1394 DEBUG DOCS DRM FDK_AAC FLITE \ FONTCONFIG FREETYPE FREI0R FRIBIDI GLSLANG GME GSM HARFBUZZ ICONV ILBC \ JACK JXL KLVANC KVAZAAR LADSPA LAME LCMS2 LENSFUN LIBBLURAY LIBPLACEBO LIBRSVG2 \ LIBXML2 LTO LV2 MODPLUG MYSOFA NETWORK NVENC OPENAL OPENCL OPENGL \ OPENH264 OPENJPEG OPENMPT OPENVINO OPTIMIZED_CFLAGS OPUS POCKETSPHINX \ PULSEAUDIO RAV1E RABBITMQ RIST RTCPU RUBBERBAND SDL SHADERC SMB SNAPPY \ SNDIO SOXR SPEEX SRT SSH SVTAV1 SVTHEVC SVTVP9 TENSORFLOW \ TESSERACT THEORA TWOLAME UAVS3D V4L VAAPI VAPOURSYNTH VDPAU VIDSTAB \ VMAF VO_AMRWBENC VORBIS VPX VULKAN WEBP X264 X265 \ XAVS2 XCB XVID XVIDEO ZIMG ZMQ ZVBI # intel-media-sdk only for i386/amd64 OPTIONS_DEFINE_amd64= MFX VPL OPTIONS_DEFINE_i386= MFX OPTIONS_DEFAULT= AOM ASM ASS DAV1D DRM FONTCONFIG FREETYPE FREI0R GMP \ GNUTLS HARFBUZZ ICONV JXL LAME LCMS2 LIBPLACEBO LIBXML2 NETWORK \ OPTIMIZED_CFLAGS OPUS RTCPU SHADERC SVTAV1 V4L VAAPI VDPAU VMAF \ VORBIS VPX VULKAN WEBP X264 X265 XCB OPTIONS_DEFAULT_aarch64=LTO OPTIONS_DEFAULT_amd64= LTO NVENC OPTIONS_DEFAULT_i386= NVENC # i386 is too register-starved for LTO (PR257124) OPTIONS_EXCLUDE_i386= LTO .if !exists(${.CURDIR:H:H}/multimedia/libaribcaption) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/b6138633cdf2 OPTIONS_EXCLUDE+= ARIBCAPTION .endif .if !exists(${.CURDIR:H:H}/multimedia/davs2) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/5985a1bf7233 OPTIONS_EXCLUDE+= DAVS2 .endif .if !exists(${.CURDIR:H:H}/multimedia/uavs3d) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/c952db9d68d3 OPTIONS_EXCLUDE+= UAVS3D .endif .if !exists(${.CURDIR:H:H}/multimedia/xavs2) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/85a921f4618 OPTIONS_EXCLUDE+= XAVS2 .endif .if !exists(${.CURDIR:H:H}/multimedia/klvanc) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/8732dfa9954 OPTIONS_EXCLUDE+= KLVANC .endif .if !exists(${.CURDIR:H:H}/science/openvino) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/ff37ebaf30e6 OPTIONS_EXCLUDE+= OPENVINO .endif OPTIONS_RADIO= RTMP SSL OPTIONS_RADIO_RTMP= GCRYPT GMP OPTIONS_RADIO_SSL= GNUTLS MBEDTLS OPENSSL OPTIONS_GROUP= LICENSE OPTIONS_GROUP_LICENSE= GPL3 NONFREE ASS_DESC= Subtitles rendering via libass AOM_DESC= AV1 video encoding/decoding via libaom ARIBB24_DESC= ARIB text and caption decoding via libaribb24 ARIBCAPTION_DESC= ARIB text and caption decoding via libaribcaption BS2B_DESC= Bauer Stereophonic-to-Binaural filter CHROMAPRINT_DESC= Audio fingerprinting with chromaprint CODEC2_DESC= Codec 2 audio encoding/decoding via libcodec2 DAV1D_DESC= AV1 video decoding via libdav1d DAVS2_DESC= AVS2 decoding via libdavs2 DC1394_DESC= IIDC-1394 grabbing using libdc1394 DRM_DESC= KMS grabbing using libdrm FDK_AAC_DESC= AAC audio encoding via Fraunhofer FDK FLITE_DESC= Voice synthesis support via libflite GLSLANG_DESC= GLSL->SPIRV compilation via libglslang GME_DESC= Game Music Emu demuxer GPL3_DESC= Allow (L)GPL version 3 code(cs) HARFBUZZ_DESC= Text shaping via HarfBuzz ILBC_DESC= Internet Low Bit Rate codec KLVANC_DESC= Kernel Labs VANC processing KVAZAAR_DESC= H.265 video codec support via Kvazaar LICENSE_DESC= Licensing options LV2_DESC= LV2 audio filtering MFX_DESC= Intel MediaSDK (aka Quick Sync Video) MYSOFA_DESC= SOFAlizer binaural filter NETWORK_DESC= Networking support NONFREE_DESC= Allow use of nonfree code NVENC_DESC= NVIDIA decoder/encoder with CUDA support OPENMPT_DESC= Decoding tracked files via libopenmpt OPENH264_DESC= H.264 video codec support via OpenH264 OPENVINO_DESC= OpenVINO as a DNN module backend for DNN based filters like dnn_processing POCKETSPHINX_DESC= Automatic Speech Recognition via PocketSphinx RAV1E_DESC= AV1 encoding via librav1e RABBITMQ_DESC= AMQP 0-9-1 protocol via RabbitMQ RIST_DESC= Reliable Internet Stream Transport protocol via librist RUBBERBAND_DESC=Time-stretching and pitch-shifting with librubberband RTCPU_DESC= Detect CPU capabilities at runtime RTMP_DESC= RTMP(T)E protocol support SHADERC_DESC= GLSL->SPIRV compilation via libshaderc SRT_DESC= Haivision SRT protocol via libsrt SVTAV1_DESC= AV1 encoding via SVT-AV1 SVTHEVC_DESC= HEVC encoding via SVT-HEVC SVTVP9_DESC= VP9 encoding via SVT-VP9 LIBPLACEBO_DESC=GPU filters from libplacebo TENSORFLOW_DESC=TensorFlow as a DNN module backend for DNN based filters like sr TESSERACT_DESC= Optical Character Recognition via Tesseract THEORA_DESC= Encoding support for theora via libtheora UAVS3D_DESC= AVS3 decoding via libuavs3d VAPOURSYNTH_DESC= VapourSynth demuxer VIDSTAB_DESC= Video stabilization filter VMAF_DESC= VMAF filter via libvmaf VPL_DESC= Intel oneVPL (aka Quick Sync Video) VULKAN_DESC= Vulkan filters XAVS2_DESC= AVS2 encoding via libxavs2 XCB_DESC= X11 grabbing using XCB XVID_DESC= Encoding support for MPEG-4 ASP via libxvid ZIMG_DESC= "z" library video scaling filter ZMQ_DESC= Message passing via libzmq${ZMQ_VERSION} ZVBI_DESC= Teletext support via libzvbi OPTIONS_SUB= yes # alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa # Opencore AMR NB AMR_NB_LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr AMR_NB_CONFIGURE_ENABLE= libopencore-amrnb AMR_NB_IMPLIES= GPL3 # Opencore AMR WB AMR_WB_LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr AMR_WB_CONFIGURE_ENABLE= libopencore-amrwb AMR_WB_IMPLIES= GPL3 # aom AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CONFIGURE_ENABLE= libaom # arib ARIBB24_LIB_DEPENDS= libaribb24.so:multimedia/aribb24 ARIBB24_CONFIGURE_ENABLE= libaribb24 # aribcaption ARIBCAPTION_LIB_DEPENDS= libaribcaption.so:multimedia/libaribcaption ARIBCAPTION_CONFIGURE_ENABLE= libaribcaption # asm support ASM_CONFIGURE_ENABLE= asm # ass ASS_LIB_DEPENDS= libass.so:multimedia/libass ASS_CONFIGURE_ENABLE= libass # bs2b BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_CONFIGURE_ENABLE= libbs2b # caca CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_ENABLE= libcaca # cdio CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_CONFIGURE_ENABLE= libcdio # chromaprint CHROMAPRINT_BROKEN= Dependency loop CHROMAPRINT_LIB_DEPENDS= libchromaprint.so:audio/chromaprint CHROMAPRINT_CONFIGURE_ENABLE= chromaprint # codec2 CODEC2_LIB_DEPENDS= libcodec2.so:audio/codec2 CODEC2_CONFIGURE_ENABLE= libcodec2 # dav1d DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CONFIGURE_ENABLE= libdav1d # davs2 DAVS2_LIB_DEPENDS= libdavs2.so:multimedia/davs2 DAVS2_CONFIGURE_ENABLE= libdavs2 # dc1394 DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 DC1394_CONFIGURE_ENABLE= libdc1394 # debugging DEBUG_CONFIGURE_ON= --disable-stripping DEBUG_CONFIGURE_OFF= --disable-debug # docs DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html DOCS_CONFIGURE_ENABLE= htmlpages DOCS_BINARY_ALIAS= makeinfo=${FALSE} # force texi2html # drm DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm DRM_CONFIGURE_ENABLE= libdrm # fdk_aac FDK_AAC_LIB_DEPENDS= libfdk-aac.so:audio/fdk-aac FDK_AAC_CONFIGURE_ENABLE= libfdk-aac FDK_AAC_IMPLIES= NONFREE # flite FLITE_LIB_DEPENDS= libflite.so:audio/flite FLITE_CONFIGURE_ENABLE= libflite # fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CONFIGURE_ENABLE= fontconfig # freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= libfreetype # frei0r FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CONFIGURE_ENABLE= frei0r # fribidi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= libfribidi # gcrypt GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_CONFIGURE_ENABLE= gcrypt # glslang GLSLANG_BUILD_DEPENDS= glslang>0:graphics/glslang \ spirv-tools>0:graphics/spirv-tools GLSLANG_CONFIGURE_ENABLE= libglslang GLSLANG_LDFLAGS= -lm GLSLANG_IMPLIES= VULKAN # gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ENABLE= gnutls # gme GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CONFIGURE_ENABLE= libgme # gmp GMP_LIB_DEPENDS= libgmp.so:math/gmp GMP_CONFIGURE_ENABLE= gmp GMP_IMPLIES= GPL3 # gsm GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_ENABLE= libgsm # harfbuzz HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_ENABLE= libharfbuzz # iconv ICONV_USES= iconv ICONV_CONFIGURE_ENABLE= iconv # ilbc ILBC_LIB_DEPENDS= libilbc.so:net/libilbc ILBC_CONFIGURE_ENABLE= libilbc # jack JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= libjack # jxl JXL_LIB_DEPENDS= libjxl.so:graphics/libjxl JXL_CONFIGURE_ENABLE= libjxl # klvanc KLVANC_LIB_DEPENDS= libklvanc.so:multimedia/libklvanc KLVANC_CONFIGURE_ENABLE= libklvanc # kvazaar KVAZAAR_LIB_DEPENDS= libkvazaar.so:multimedia/kvazaar KVAZAAR_CONFIGURE_ENABLE= libkvazaar # ladspa LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/amp.so:audio/ladspa LADSPA_CONFIGURE_ENABLE= ladspa # lame LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= libmp3lame # lcms2 LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_CONFIGURE_ENABLE= lcms2 # lensfun LENSFUN_LIB_DEPENDS= liblensfun.so:graphics/lensfun LENSFUN_CONFIGURE_ENABLE= liblensfun # libbluray LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= libbluray # libplacebo LIBPLACEBO_LIB_DEPENDS= libplacebo.so:graphics/libplacebo LIBPLACEBO_CONFIGURE_ENABLE= libplacebo LIBPLACEBO_IMPLIES= VULKAN # librsvg LIBRSVG2_USES= gnome LIBRSVG2_USE= GNOME=cairo,librsvg2 LIBRSVG2_CONFIGURE_ENABLE= librsvg # libxml LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 LIBXML2_CONFIGURE_ENABLE= libxml2 # lto LTO_CONFIGURE_ON= --enable-lto # lv2 LV2_BUILD_DEPENDS= lv2>0:audio/lv2 LV2_LIB_DEPENDS= liblilv-0.so:audio/lilv LV2_CONFIGURE_ENABLE= lv2 # libv4l V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= libv4l2 V4L_CONFIGURE_OFF= --disable-indev=v4l2 \ --disable-outdev=v4l2 # mbedtls MBEDTLS_LIB_DEPENDS= libmbedtls.so:security/mbedtls MBEDTLS_CONFIGURE_ENABLE= mbedtls # mfx MFX_LIB_DEPENDS= libmfx.so:multimedia/intel-media-sdk MFX_CONFIGURE_ENABLE= libmfx # modplug MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CONFIGURE_ENABLE= libmodplug # mysofa MYSOFA_LIB_DEPENDS= libmysofa.so:audio/libmysofa MYSOFA_CONFIGURE_ENABLE= libmysofa # network NETWORK_CONFIGURE_ENABLE= network # nvenc NVENC_BUILD_DEPENDS= ffnvcodec-headers>=11.1.5.2:multimedia/ffnvcodec-headers NVENC_CONFIGURE_ENABLE= nvenc # OpenAL OPENAL_LIB_DEPENDS= libopenal.so:audio/openal-soft OPENAL_CONFIGURE_ENABLE= openal # opencl OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd OPENCL_CONFIGURE_ENABLE= opencl # opengl OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE= opengl # openh264 OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 OPENH264_CONFIGURE_ENABLE= libopenh264 # openjpeg OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CONFIGURE_ENABLE= libopenjpeg # openmpt OPENMPT_LIB_DEPENDS= libopenmpt.so:audio/libopenmpt OPENMPT_CONFIGURE_ENABLE= libopenmpt # openssl/libtls OPENSSL_USES= ssl OPENSSL_CONFIGURE_ENABLE= ${"${SSL_DEFAULT:Mlibressl*}"!="":?libtls:openssl} OPENSSL_IMPLIES= NONFREE # openvino OPENVINO_LIB_DEPENDS= libinference_engine_c_api.so:science/openvino OPENVINO_CONFIGURE_ENABLE= libopenvino # optimizations OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimizations # opus OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_ENABLE= libopus # pocketsphinx POCKETSPHINX_LIB_DEPENDS= libpocketsphinx.so:audio/pocketsphinx POCKETSPHINX_CONFIGURE_ENABLE= pocketsphinx POCKETSPHINX_BROKEN= pocketsphinx < 5prealpha is not supported # pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= libpulse # rav1e RAV1E_LIB_DEPENDS= librav1e.so:multimedia/librav1e RAV1E_CONFIGURE_ENABLE= librav1e # rabbitmq RABBITMQ_LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c RABBITMQ_CONFIGURE_ENABLE= librabbitmq # rist RIST_LIB_DEPENDS= librist.so:multimedia/librist RIST_CONFIGURE_ENABLE= librist # rubberband RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_CONFIGURE_ENABLE= librubberband # rtcpu RTCPU_CONFIGURE_ENABLE= runtime-cpudetect # sdl SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_ENABLE= sdl2 # shaderc SHADERC_LIB_DEPENDS= libshaderc_shared.so:graphics/shaderc SHADERC_CONFIGURE_ENABLE= libshaderc SHADERC_IMPLIES= VULKAN SHADERC_PREVENTS= GLSLANG # smbclient SMB_USES= samba:lib SMB_CONFIGURE_ENABLE= libsmbclient SMB_IMPLIES= GPL3 # snappy SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy SNAPPY_CONFIGURE_ENABLE= libsnappy # sndio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio # soxr SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CONFIGURE_ENABLE= libsoxr # speex SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_CONFIGURE_ENABLE= libspeex # ssh SSH_LIB_DEPENDS= libssh.so:security/libssh SSH_CONFIGURE_ENABLE= libssh # srt SRT_LIB_DEPENDS= libsrt.so:www/srt SRT_CONFIGURE_ENABLE= libsrt # svt-av1 SVTAV1_LIB_DEPENDS= libSvtAv1Enc.so:multimedia/svt-av1 SVTAV1_CONFIGURE_ON= --enable-libsvtav1 # svt-hevc SVTHEVC_LIB_DEPENDS= libSvtHevcEnc.so:multimedia/svt-hevc SVTHEVC_CONFIGURE_ON= --enable-libsvthevc SVTHEVC_PATCH_SITES= https://github.com/OpenVisualCloud/SVT-HEVC/raw/v1.5.1-12-g6cca5b93/ffmpeg_plugin/:svthevc SVTHEVC_PATCHFILES= master-0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch:-p1:svthevc \ 0002-doc-Add-libsvt_hevc-encoder-docs.patch:-p1:svthevc .if make(makesum) .MAKEFLAGS: WITH+=SVTHEVC .endif # svt-vp9 SVTVP9_LIB_DEPENDS= libSvtVp9Enc.so:multimedia/svt-vp9 SVTVP9_CONFIGURE_ON= --enable-libsvtvp9 SVTVP9_PATCH_SITES= https://github.com/OpenVisualCloud/SVT-VP9/raw/v0.3.0-20-gbab25a6/ffmpeg_plugin/:svtvp9 SVTVP9_PATCHFILES= master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch:-p1:svtvp9 .if make(makesum) .MAKEFLAGS: WITH+=SVTVP9 .endif # tensorflow TENSORFLOW_LIB_DEPENDS= libtensorflow.so:science/py-tensorflow TENSORFLOW_CONFIGURE_ENABLE= libtensorflow # tesseract TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract TESSERACT_CONFIGURE_ENABLE= libtesseract # theora THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_ENABLE= libtheora # twolame TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame TWOLAME_CONFIGURE_ENABLE= libtwolame # uavs3d UAVS3D_LIB_DEPENDS= libuavs3d.so:multimedia/uavs3d UAVS3D_CONFIGURE_ENABLE= libuavs3d # vaapi VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi # vapoursynth VAPOURSYNTH_LIB_DEPENDS= libvapoursynth-script.so:multimedia/vapoursynth VAPOURSYNTH_CONFIGURE_ENABLE= vapoursynth # vdpau VDPAU_USES= xorg VDPAU_USE= XORG=x11 VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau # vmaf VMAF_LIB_DEPENDS= libvmaf.so:multimedia/vmaf VMAF_CONFIGURE_ENABLE= libvmaf # vo-amrwbenc VO_AMRWBENC_LIB_DEPENDS= libvo-amrwbenc.so:audio/vo-amrwbenc VO_AMRWBENC_CONFIGURE_ENABLE= libvo-amrwbenc VO_AMRWBENC_IMPLIES= GPL3 # vid.stab VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab VIDSTAB_CONFIGURE_ENABLE= libvidstab # vorbis VORBIS_LIB_DEPENDS= libvorbisenc.so:audio/libvorbis VORBIS_CONFIGURE_ENABLE= libvorbis # vpl VPL_LIB_DEPENDS= libvpl.so:multimedia/onevpl VPL_CONFIGURE_ENABLE= libvpl # vp8 VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_ENABLE= libvpx # vulkan VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CONFIGURE_ENABLE= vulkan # webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= libwebp # x264 X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_ENABLE= libx264 # x265 X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_CONFIGURE_ENABLE= libx265 # xavs2 XAVS2_LIB_DEPENDS= libxavs2.so:multimedia/xavs2 XAVS2_CONFIGURE_ENABLE= libxavs2 # xcb XCB_USES= xorg XCB_USE= XORG=xcb XCB_CONFIGURE_ENABLE= libxcb # xvid XVID_LIB_DEPENDS= libxvidcore.so:multimedia/xvid XVID_CONFIGURE_ENABLE= libxvid # xv XVIDEO_USES= xorg XVIDEO_USE= XORG=x11,xext,xv XVIDEO_CONFIGURE_OFF= --disable-outdev=xv # zimg ZIMG_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg ZIMG_CONFIGURE_ENABLE= libzimg # zmq ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq${ZMQ_VERSION} ZMQ_CONFIGURE_ENABLE= libzmq ZMQ_VERSION?= 4 # zvbi ZVBI_LIB_DEPENDS= libzvbi.so:devel/libzvbi ZVBI_CONFIGURE_ENABLE= libzvbi # License knobs GPL3_CONFIGURE_ENABLE= version3 GPL3_VARS= LICENSE="GPLv3+ LGPL3+" LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING.GPLv3 LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LGPLv3 NONFREE_CONFIGURE_ENABLE=nonfree INSTALL_TARGET= install-progs install-doc install-data \ install-libs install-headers install-examples DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} MAKE_ENV+= V=1 CFLAGS_armv6= -Wno-error=int-conversion CFLAGS_armv7= -Wno-error=int-conversion CFLAGS_i386= -Wno-error=int-conversion CFLAGS_powerpc= -Wno-error=int-conversion LDFLAGS_aarch64=-Wl,-z,notext LDFLAGS_armv6= -Wl,-z,notext LDFLAGS_armv7= -Wl,-z,notext LDFLAGS_i386= -Wl,-z,notext CONFIGURE_ARGS+=--prefix="${PREFIX}" \ --mandir="${PREFIX}/share/man" \ --datadir="${DATADIR}" \ --docdir="${DOCSDIR}" \ --pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ --disable-static \ --disable-libcelt \ --enable-shared \ --enable-pic \ --enable-gpl \ --cc="${CC}" \ --cxx="${CXX}" DOC_FILES= Changelog CREDITS INSTALL.md LICENSE.md MAINTAINERS \ README.md RELEASE_NOTES # under doc subdirectory DOC_DOCFILES= APIchanges *.txt PORTDOCS= * .include .if ${PORT_OPTIONS:MNONFREE} LICENSE+= NONFREE LICENSE_COMB= multi LICENSE_NAME_NONFREE= Non free code LICENSE_TEXT_NONFREE= enabling OPENSSL or FDK_AAC restricts redistribution LICENSE_PERMS_NONFREE= auto-accept .endif post-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} \ "${DOC_FILES}" ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \ "${DOC_DOCFILES}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/multimedia/ffmpeg4/Makefile b/multimedia/ffmpeg4/Makefile index 82fe0575e606..a2b40548fd80 100644 --- a/multimedia/ffmpeg4/Makefile +++ b/multimedia/ffmpeg4/Makefile @@ -1,646 +1,646 @@ PORTNAME= ffmpeg PORTVERSION= 4.4.4 -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= multimedia audio net MASTER_SITES= https://ffmpeg.org/releases/ PKGNAMESUFFIX= 4 MAINTAINER= multimedia@FreeBSD.org COMMENT= Realtime audio/video encoder/converter and streaming server (legacy 4.* series) WWW= https://ffmpeg.org/ LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= ${BUILD_DEPENDS_${ARCH}} BUILD_DEPENDS_aarch64= as:devel/binutils BUILD_DEPENDS_amd64= nasm:devel/nasm BUILD_DEPENDS_armv6= as:devel/binutils BUILD_DEPENDS_armv7= as:devel/binutils BUILD_DEPENDS_i386= nasm:devel/nasm HAS_CONFIGURE= yes CONFIGURE_LOG= ffbuild/config.log USES= compiler:c11 cpe gmake localbase:ldflags perl5 \ pkgconfig shebangfix tar:xz USE_LDCONFIG= yes USE_PERL5= build SHEBANG_FILES= doc/texi2pod.pl NOPRECIOUSMAKEVARS= yes # ARCH .ifdef PKGNAMESUFFIX PORTSCOUT= limit:^4\. PREFIX= ${LOCALBASE}/${PKGBASE} # avoid conflict with the default .endif # Option CHROMAPRINT disabled, it cannot work and people are baffled. OPTIONS_DEFINE= ALSA AMR_NB AMR_WB AOM ARIBB24 ASM ASS BS2B CACA CDIO \ CODEC2 DAV1D DAVS2 DC1394 DEBUG DOCS DRM FDK_AAC FLITE \ FONTCONFIG FREETYPE FREI0R FRIBIDI GLSLANG GME GSM ICONV ILBC \ JACK KLVANC KVAZAAR LADSPA LAME LENSFUN LIBBLURAY LIBRSVG2 \ LIBXML2 LTO LV2 MODPLUG MYSOFA NETWORK NVENC OPENAL OPENCL OPENGL \ OPENH264 OPENJPEG OPENMPT OPENVINO OPTIMIZED_CFLAGS OPUS POCKETSPHINX \ PULSEAUDIO RAV1E RABBITMQ RIST RTCPU RUBBERBAND SDL SMB SNAPPY \ SNDIO SOXR SPEEX SRT SSH SVTAV1 SVTHEVC SVTVP9 TENSORFLOW \ TESSERACT THEORA TWOLAME UAVS3D V4L VAAPI VAPOURSYNTH VDPAU VIDSTAB \ VMAF VO_AMRWBENC VORBIS VPX VULKAN WEBP X264 X265 \ XAVS2 XCB XVID XVIDEO ZIMG ZMQ ZVBI # intel-media-sdk only for i386/amd64 OPTIONS_DEFINE_amd64= MFX OPTIONS_DEFINE_i386= MFX OPTIONS_DEFAULT= AOM ASM ASS DAV1D DRM FONTCONFIG FREETYPE FREI0R GMP \ GNUTLS ICONV LAME LIBXML2 NETWORK OPTIMIZED_CFLAGS OPUS \ RTCPU SVTAV1 V4L VAAPI VDPAU VMAF VORBIS VPX WEBP X264 \ X265 XCB OPTIONS_DEFAULT_amd64= NVENC OPTIONS_DEFAULT_i386= NVENC # i386 is too register-starved for LTO (PR257124) OPTIONS_EXCLUDE_i386= LTO .if !exists(${.CURDIR:H:H}/multimedia/davs2) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/5985a1bf7233 OPTIONS_EXCLUDE+= DAVS2 .endif .if !exists(${.CURDIR:H:H}/multimedia/uavs3d) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/c952db9d68d3 OPTIONS_EXCLUDE+= UAVS3D .endif .if !exists(${.CURDIR:H:H}/multimedia/xavs2) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/85a921f4618 OPTIONS_EXCLUDE+= XAVS2 .endif .if !exists(${.CURDIR:H:H}/multimedia/klvanc) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/8732dfa9954 OPTIONS_EXCLUDE+= KLVANC .endif .if !exists(${.CURDIR:H:H}/science/openvino) # https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/ff37ebaf30e6 OPTIONS_EXCLUDE+= OPENVINO .endif OPTIONS_RADIO= RTMP SSL OPTIONS_RADIO_RTMP= GCRYPT GMP OPTIONS_RADIO_SSL= GNUTLS MBEDTLS OPENSSL OPTIONS_GROUP= LICENSE OPTIONS_GROUP_LICENSE= GPL3 NONFREE ASS_DESC= Subtitles rendering via libass AOM_DESC= AV1 video encoding/decoding via libaom ARIBB24_DESC= ARIB text and caption decoding via libaribb24 BS2B_DESC= Bauer Stereophonic-to-Binaural filter CHROMAPRINT_DESC= Audio fingerprinting with chromaprint CODEC2_DESC= Codec 2 audio encoding/decoding via libcodec2 DAV1D_DESC= AV1 video decoding via libdav1d DAVS2_DESC= AVS2 decoding via libdavs2 DC1394_DESC= IIDC-1394 grabbing using libdc1394 DRM_DESC= KMS grabbing using libdrm FDK_AAC_DESC= AAC audio encoding via Fraunhofer FDK FLITE_DESC= Voice synthesis support via libflite GLSLANG_DESC= GLSL->SPIRV compilation via libglslang GME_DESC= Game Music Emu demuxer GPL3_DESC= Allow (L)GPL version 3 code(cs) ILBC_DESC= Internet Low Bit Rate codec KLVANC_DESC= Kernel Labs VANC processing KVAZAAR_DESC= H.265 video codec support via Kvazaar LICENSE_DESC= Licensing options LV2_DESC= LV2 audio filtering MFX_DESC= Intel MediaSDK (aka Quick Sync Video) MYSOFA_DESC= SOFAlizer binaural filter NETWORK_DESC= Networking support NONFREE_DESC= Allow use of nonfree code NVENC_DESC= NVIDIA decoder/encoder with CUDA support OPENMPT_DESC= Decoding tracked files via libopenmpt OPENH264_DESC= H.264 video codec support via OpenH264 OPENVINO_DESC= OpenVINO as a DNN module backend for DNN based filters like dnn_processing POCKETSPHINX_DESC= Automatic Speech Recognition via PocketSphinx RAV1E_DESC= AV1 encoding via librav1e RABBITMQ_DESC= AMQP 0-9-1 protocol via RabbitMQ RIST_DESC= Reliable Internet Stream Transport protocol via librist RUBBERBAND_DESC=Time-stretching and pitch-shifting with librubberband RTCPU_DESC= Detect CPU capabilities at runtime RTMP_DESC= RTMP(T)E protocol support SRT_DESC= Haivision SRT protocol via libsrt SVTAV1_DESC= AV1 encoding via SVT-AV1 SVTHEVC_DESC= HEVC encoding via SVT-HEVC SVTVP9_DESC= VP9 encoding via SVT-VP9 TENSORFLOW_DESC=TensorFlow as a DNN module backend for DNN based filters like sr TESSERACT_DESC= Optical Character Recognition via Tesseract THEORA_DESC= Encoding support for theora via libtheora UAVS3D_DESC= AVS3 decoding via libuavs3d VAPOURSYNTH_DESC= VapourSynth demuxer VIDSTAB_DESC= Video stabilization filter VMAF_DESC= VMAF filter via libvmaf VULKAN_DESC= Vulkan filters XAVS2_DESC= AVS2 encoding via libxavs2 XCB_DESC= X11 grabbing using XCB XVID_DESC= Encoding support for MPEG-4 ASP via libxvid ZIMG_DESC= "z" library video scaling filter ZMQ_DESC= Message passing via libzmq${ZMQ_VERSION} ZVBI_DESC= Teletext support via libzvbi OPTIONS_SUB= yes # alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_ENABLE= alsa # Opencore AMR NB AMR_NB_LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr AMR_NB_CONFIGURE_ENABLE= libopencore-amrnb AMR_NB_IMPLIES= GPL3 # Opencore AMR WB AMR_WB_LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr AMR_WB_CONFIGURE_ENABLE= libopencore-amrwb AMR_WB_IMPLIES= GPL3 # aom AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CONFIGURE_ENABLE= libaom # arib ARIBB24_LIB_DEPENDS= libaribb24.so:multimedia/aribb24 ARIBB24_CONFIGURE_ENABLE= libaribb24 # asm support ASM_CONFIGURE_ENABLE= asm # ass ASS_LIB_DEPENDS= libass.so:multimedia/libass ASS_CONFIGURE_ENABLE= libass # bs2b BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_CONFIGURE_ENABLE= libbs2b # caca CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_ENABLE= libcaca # cdio CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_CONFIGURE_ENABLE= libcdio # chromaprint CHROMAPRINT_BROKEN= Dependency loop CHROMAPRINT_LIB_DEPENDS= libchromaprint.so:audio/chromaprint CHROMAPRINT_CONFIGURE_ENABLE= chromaprint # codec2 CODEC2_LIB_DEPENDS= libcodec2.so:audio/codec2 CODEC2_CONFIGURE_ENABLE= libcodec2 # dav1d DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CONFIGURE_ENABLE= libdav1d # davs2 DAVS2_LIB_DEPENDS= libdavs2.so:multimedia/davs2 DAVS2_CONFIGURE_ENABLE= libdavs2 # dc1394 DC1394_LIB_DEPENDS= libdc1394.so:multimedia/libdc1394 DC1394_CONFIGURE_ENABLE= libdc1394 # debugging DEBUG_CONFIGURE_ON= --disable-stripping DEBUG_CONFIGURE_OFF= --disable-debug # docs DOCS_BUILD_DEPENDS= texi2html:textproc/texi2html DOCS_CONFIGURE_ENABLE= htmlpages DOCS_BINARY_ALIAS= makeinfo=${FALSE} # force texi2html # drm DRM_LIB_DEPENDS= libdrm.so:graphics/libdrm DRM_CONFIGURE_ENABLE= libdrm # fdk_aac FDK_AAC_LIB_DEPENDS= libfdk-aac.so:audio/fdk-aac FDK_AAC_CONFIGURE_ENABLE= libfdk-aac FDK_AAC_IMPLIES= NONFREE # flite FLITE_LIB_DEPENDS= libflite.so:audio/flite FLITE_CONFIGURE_ENABLE= libflite # fontconfig FONTCONFIG_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig FONTCONFIG_CONFIGURE_ENABLE= fontconfig # freetype FREETYPE_LIB_DEPENDS= libfreetype.so:print/freetype2 FREETYPE_CONFIGURE_ENABLE= libfreetype # frei0r FREI0R_BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r FREI0R_CONFIGURE_ENABLE= frei0r # fribidi FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= libfribidi # gcrypt GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt GCRYPT_CONFIGURE_ENABLE= gcrypt # glslang GLSLANG_BUILD_DEPENDS= glslang>0:graphics/glslang \ spirv-tools>0:graphics/spirv-tools GLSLANG_CONFIGURE_ENABLE= libglslang GLSLANG_LDFLAGS= -lm GLSLANG_IMPLIES= VULKAN # gnutls GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ENABLE= gnutls # gme GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CONFIGURE_ENABLE= libgme # gmp GMP_LIB_DEPENDS= libgmp.so:math/gmp GMP_CONFIGURE_ENABLE= gmp GMP_IMPLIES= GPL3 # gsm GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_ENABLE= libgsm # iconv ICONV_USES= iconv ICONV_CONFIGURE_ENABLE= iconv # ilbc ILBC_LIB_DEPENDS= libilbc.so:net/libilbc ILBC_CONFIGURE_ENABLE= libilbc # jack JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= libjack # klvanc KLVANC_LIB_DEPENDS= libklvanc.so:multimedia/libklvanc KLVANC_CONFIGURE_ENABLE= libklvanc # kvazaar KVAZAAR_LIB_DEPENDS= libkvazaar.so:multimedia/kvazaar KVAZAAR_CONFIGURE_ENABLE= libkvazaar # ladspa LADSPA_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa LADSPA_RUN_DEPENDS= ${LOCALBASE}/lib/ladspa/amp.so:audio/ladspa LADSPA_CONFIGURE_ENABLE= ladspa # lame LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CONFIGURE_ENABLE= libmp3lame # lensfun LENSFUN_LIB_DEPENDS= liblensfun.so:graphics/lensfun LENSFUN_CONFIGURE_ENABLE= liblensfun # libbluray LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= libbluray # librsvg LIBRSVG2_USES= gnome LIBRSVG2_USE= GNOME=cairo,librsvg2 LIBRSVG2_CONFIGURE_ENABLE= librsvg # libxml LIBXML2_LIB_DEPENDS= libxml2.so:textproc/libxml2 LIBXML2_CONFIGURE_ENABLE= libxml2 # lto LTO_CONFIGURE_ENABLE= lto # lv2 LV2_BUILD_DEPENDS= lv2>0:audio/lv2 LV2_LIB_DEPENDS= liblilv-0.so:audio/lilv LV2_CONFIGURE_ENABLE= lv2 # libv4l V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= libv4l2 V4L_CONFIGURE_OFF= --disable-indev=v4l2 \ --disable-outdev=v4l2 # mbedtls MBEDTLS_LIB_DEPENDS= libmbedtls.so:security/mbedtls MBEDTLS_CONFIGURE_ENABLE= mbedtls # mfx MFX_LIB_DEPENDS= libmfx.so:multimedia/intel-media-sdk MFX_CONFIGURE_ENABLE= libmfx # modplug MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CONFIGURE_ENABLE= libmodplug # mysofa MYSOFA_LIB_DEPENDS= libmysofa.so:audio/libmysofa MYSOFA_CONFIGURE_ENABLE= libmysofa # network NETWORK_CONFIGURE_ENABLE= network # nvenc NVENC_BUILD_DEPENDS= ${LOCALBASE}/include/ffnvcodec/nvEncodeAPI.h:multimedia/ffnvcodec-headers NVENC_CONFIGURE_ENABLE= nvenc # OpenAL OPENAL_LIB_DEPENDS= libopenal.so:audio/openal-soft OPENAL_CONFIGURE_ENABLE= openal # opencl OPENCL_BUILD_DEPENDS= ${LOCALBASE}/include/CL/opencl.h:devel/opencl OPENCL_LIB_DEPENDS= libOpenCL.so:devel/ocl-icd OPENCL_CONFIGURE_ENABLE= opencl # opengl OPENGL_USES= gl OPENGL_USE= GL=gl OPENGL_CONFIGURE_ENABLE= opengl # openh264 OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 OPENH264_CONFIGURE_ENABLE= libopenh264 # openjpeg OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg OPENJPEG_CONFIGURE_ENABLE= libopenjpeg # openmpt OPENMPT_LIB_DEPENDS= libopenmpt.so:audio/libopenmpt OPENMPT_CONFIGURE_ENABLE= libopenmpt # openssl/libtls OPENSSL_USES= ssl OPENSSL_CONFIGURE_ENABLE= ${"${SSL_DEFAULT:Mlibressl*}"!="":?libtls:openssl} OPENSSL_IMPLIES= NONFREE # openvino OPENVINO_LIB_DEPENDS= libinference_engine_c_api.so:science/openvino OPENVINO_CONFIGURE_ENABLE= libopenvino # optimizations OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimizations # opus OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_ENABLE= libopus # pocketsphinx POCKETSPHINX_LIB_DEPENDS= libpocketsphinx.so:audio/pocketsphinx POCKETSPHINX_CONFIGURE_ENABLE= pocketsphinx POCKETSPHINX_BROKEN= pocketsphinx < 5prealpha is not supported # pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= libpulse # rav1e RAV1E_LIB_DEPENDS= librav1e.so:multimedia/librav1e RAV1E_CONFIGURE_ENABLE= librav1e # rabbitmq RABBITMQ_LIB_DEPENDS= librabbitmq.so:net/rabbitmq-c RABBITMQ_CONFIGURE_ENABLE= librabbitmq # rist RIST_LIB_DEPENDS= librist.so:multimedia/librist RIST_CONFIGURE_ENABLE= librist # rubberband RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_CONFIGURE_ENABLE= librubberband # rtcpu RTCPU_CONFIGURE_ENABLE= runtime-cpudetect # sdl SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_CONFIGURE_ENABLE= sdl2 # smbclient SMB_USES= samba:lib SMB_CONFIGURE_ENABLE= libsmbclient SMB_IMPLIES= GPL3 # snappy SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy SNAPPY_CONFIGURE_ENABLE= libsnappy # sndio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio # soxr SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CONFIGURE_ENABLE= libsoxr # speex SPEEX_LIB_DEPENDS= libspeex.so:audio/speex SPEEX_CONFIGURE_ENABLE= libspeex # ssh SSH_LIB_DEPENDS= libssh.so:security/libssh SSH_CONFIGURE_ENABLE= libssh # srt SRT_LIB_DEPENDS= libsrt.so:www/srt SRT_CONFIGURE_ENABLE= libsrt # svt-av1 SVTAV1_LIB_DEPENDS= libSvtAv1Enc.so:multimedia/svt-av1 SVTAV1_CONFIGURE_ON= --enable-libsvtav1 # svt-hevc SVTHEVC_LIB_DEPENDS= libSvtHevcEnc.so:multimedia/svt-hevc SVTHEVC_CONFIGURE_ON= --enable-libsvthevc SVTHEVC_PATCH_SITES= https://github.com/OpenVisualCloud/SVT-HEVC/raw/v1.5.0-3-g86b58f77/ffmpeg_plugin/:svthevc SVTHEVC_PATCHFILES= 0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch:-p1:svthevc \ 0002-doc-Add-libsvt_hevc-encoder-docs.patch:-p1:svthevc .if make(makesum) .MAKEFLAGS: WITH+=SVTHEVC .endif # svt-vp9 SVTVP9_LIB_DEPENDS= libSvtVp9Enc.so:multimedia/svt-vp9 SVTVP9_CONFIGURE_ON= --enable-libsvtvp9 SVTVP9_PATCH_SITES= https://github.com/OpenVisualCloud/SVT-VP9/raw/v0.3.0-4-gabd5c59/ffmpeg_plugin/:svtvp9 SVTVP9_PATCHFILES= master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch:-p1:svtvp9 .if make(makesum) .MAKEFLAGS: WITH+=SVTVP9 .endif # tensorflow TENSORFLOW_LIB_DEPENDS= libtensorflow.so:science/py-tensorflow TENSORFLOW_CONFIGURE_ENABLE= libtensorflow # tesseract TESSERACT_LIB_DEPENDS= libtesseract.so:graphics/tesseract TESSERACT_CONFIGURE_ENABLE= libtesseract # theora THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_ENABLE= libtheora # twolame TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame TWOLAME_CONFIGURE_ENABLE= libtwolame # uavs3d UAVS3D_LIB_DEPENDS= libuavs3d.so:multimedia/uavs3d UAVS3D_CONFIGURE_ENABLE= libuavs3d # vaapi VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi # vapoursynth VAPOURSYNTH_LIB_DEPENDS= libvapoursynth-script.so:multimedia/vapoursynth VAPOURSYNTH_CONFIGURE_ENABLE= vapoursynth # vdpau VDPAU_USES= xorg VDPAU_USE= XORG=x11 VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau # vmaf VMAF_LIB_DEPENDS= libvmaf.so:multimedia/vmaf VMAF_CONFIGURE_ENABLE= libvmaf # vo-amrwbenc VO_AMRWBENC_LIB_DEPENDS= libvo-amrwbenc.so:audio/vo-amrwbenc VO_AMRWBENC_CONFIGURE_ENABLE= libvo-amrwbenc VO_AMRWBENC_IMPLIES= GPL3 # vid.stab VIDSTAB_LIB_DEPENDS= libvidstab.so:multimedia/vid.stab VIDSTAB_CONFIGURE_ENABLE= libvidstab # vorbis VORBIS_LIB_DEPENDS= libvorbisenc.so:audio/libvorbis VORBIS_CONFIGURE_ENABLE= libvorbis # vp8 VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_ENABLE= libvpx # vulkan VULKAN_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_CONFIGURE_ENABLE= vulkan # webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CONFIGURE_ENABLE= libwebp # x264 X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_ENABLE= libx264 # x265 X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_CONFIGURE_ENABLE= libx265 # xavs2 XAVS2_LIB_DEPENDS= libxavs2.so:multimedia/xavs2 XAVS2_CONFIGURE_ENABLE= libxavs2 # xcb XCB_USES= xorg XCB_USE= XORG=xcb XCB_CONFIGURE_ENABLE= libxcb # xvid XVID_LIB_DEPENDS= libxvidcore.so:multimedia/xvid XVID_CONFIGURE_ENABLE= libxvid # xv XVIDEO_USES= xorg XVIDEO_USE= XORG=x11,xext,xv XVIDEO_CONFIGURE_OFF= --disable-outdev=xv # zimg ZIMG_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg ZIMG_CONFIGURE_ENABLE= libzimg # zmq ZMQ_LIB_DEPENDS= libzmq.so:net/libzmq${ZMQ_VERSION} ZMQ_CONFIGURE_ENABLE= libzmq ZMQ_VERSION?= 4 # zvbi ZVBI_LIB_DEPENDS= libzvbi.so:devel/libzvbi ZVBI_CONFIGURE_ENABLE= libzvbi # License knobs GPL3_CONFIGURE_ENABLE= version3 GPL3_VARS= LICENSE="GPLv3+ LGPL3+" LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING.GPLv3 LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LGPLv3 NONFREE_CONFIGURE_ENABLE=nonfree INSTALL_TARGET= install-progs install-doc install-data \ install-libs install-headers install-examples DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} MAKE_ENV+= V=1 LDFLAGS_aarch64=-Wl,-z,notext LDFLAGS_armv6= -Wl,-z,notext LDFLAGS_armv7= -Wl,-z,notext LDFLAGS_i386= -Wl,-z,notext CONFIGURE_ARGS+=--prefix="${PREFIX}" \ --mandir="${PREFIX}/share/man" \ --datadir="${DATADIR}" \ --docdir="${DOCSDIR}" \ --pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ --disable-static \ --disable-libcelt \ --enable-shared \ --enable-pic \ --enable-gpl \ --enable-avresample \ --cc="${CC}" \ --cxx="${CXX}" DOC_FILES= Changelog CREDITS INSTALL.md LICENSE.md MAINTAINERS \ README.md RELEASE_NOTES # under doc subdirectory DOC_DOCFILES= APIchanges *.txt PORTDOCS= * .include .if ${PORT_OPTIONS:MNONFREE} LICENSE+= NONFREE LICENSE_COMB= multi LICENSE_NAME_NONFREE= Non free code LICENSE_TEXT_NONFREE= enabling OPENSSL or FDK_AAC restricts redistribution LICENSE_PERMS_NONFREE= auto-accept .endif post-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} \ "${DOC_FILES}" ${STAGEDIR}${DOCSDIR}) (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \ "${DOC_DOCFILES}" ${STAGEDIR}${DOCSDIR}) .include diff --git a/multimedia/gmtk/Makefile b/multimedia/gmtk/Makefile index 9cebd4acaeef..aa465b96a56b 100644 --- a/multimedia/gmtk/Makefile +++ b/multimedia/gmtk/Makefile @@ -1,48 +1,48 @@ PORTNAME= gmtk PORTVERSION= 1.0.9 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia gnome devel MASTER_SITES= https://pkgs.rpmfusion.org/repo/pkgs/free/gmtk/gmtk-1.0.9.tar.gz/9184658014ca7b325b569ac7417e4860/ MAINTAINER= ports@FreeBSD.org COMMENT= Library for gnome-mplayer and gecko-mediaplayer WWW= http://code.google.com/p/gmtk/ LICENSE= GPLv2 BUILD_DEPENDS= p5-XML-Parser>0:textproc/p5-XML-Parser USES= gettext gmake gnome libtool pathfix perl5 pkgconfig xorg USE_XORG= x11 USE_GNOME= glib20 intltool USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-gconf INSTALL_TARGET= install-strip USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= ALSA DOCS GIO GTK3 PULSEAUDIO ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_WITH= alsa GIO_CONFIGURE_WITH= gio GTK3_USE= gnome=gtk30 GTK3_CONFIGURE_ENABLE= gtk3 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio .include .if !${PORT_OPTIONS:MGTK3} USE_GNOME+= gtk20 .endif post-patch: @${REINPLACE_CMD} -e \ '/COPYING\\/d ; \ /INSTALL\\/d' ${WRKSRC}/Makefile.in .include diff --git a/multimedia/gnome-mplayer/Makefile b/multimedia/gnome-mplayer/Makefile index 8fa6c94e2d28..fdd1bc51a754 100644 --- a/multimedia/gnome-mplayer/Makefile +++ b/multimedia/gnome-mplayer/Makefile @@ -1,67 +1,67 @@ PORTNAME= gnome-mplayer PORTVERSION= 1.0.9 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= multimedia gnome MASTER_SITES= https://launchpad.net/ubuntu/+archive/primary/+files/ DISTNAME= gnome-mplayer_1.0.9.orig MAINTAINER= ports@FreeBSD.org COMMENT= GNOME frontend for MPlayer WWW= http://kdekorte.googlepages.com/gnomemplayer LICENSE= GPLv2 LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libgmtk.so:multimedia/gmtk RUN_DEPENDS= mplayer:multimedia/mplayer USES= desktop-file-utils gettext gmake gnome pkgconfig xorg USE_GNOME= cairo glib20 GLIB_SCHEMAS= apps.gecko-mediaplayer.preferences.gschema.xml \ apps.gnome-mplayer.preferences.enums.xml \ apps.gnome-mplayer.preferences.gschema.xml USE_XORG= x11 xscrnsaver GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --disable-nautilus \ --disable-nemo \ --disable-schemas-install \ --without-libgda \ --without-libmusicbrainz3 CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl WRKSRC= ${WRKDIR}/gnome-mplayer-${PORTVERSION} OPTIONS_DEFINE= ALSA DOCS GIO GPOD GTK3 NOTIFY PULSEAUDIO GPOD_DESC= Add support for libgpod ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= alsa-plugins>0:audio/alsa-plugins ALSA_CONFIGURE_WITH= alsa GIO_CONFIGURE_WITH= gio GPOD_LIB_DEPENDS= libgpod.so:audio/libgpod GPOD_CONFIGURE_WITH= libgpod GTK3_USE= GNOME=gtk30 GTK3_USE_OFF= GNOME=gtk20 GTK3_CONFIGURE_ENABLE= gtk3 NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_RUN_DEPENDS= notification-daemon>0:deskutils/notification-daemon NOTIFY_CONFIGURE_WITH= libnotify PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio post-patch: @${REINPLACE_CMD} -e \ '/COPYING\\/d ; \ /INSTALL\\/d' ${WRKSRC}/Makefile.in .include diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile index 15acf51fec00..9cf1c1dbb281 100644 --- a/multimedia/kodi/Makefile +++ b/multimedia/kodi/Makefile @@ -1,310 +1,310 @@ PORTNAME= kodi DISTVERSION= 21.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= multimedia java MASTER_SITES= http://mirrors.kodi.tv/build-deps/sources/ DISTFILES= apache-groovy-binary-${GROOVY_VERSION}.zip \ commons-lang3-${COMMONS_LANG_VERSION}-bin.tar.gz \ commons-text-${COMMONS_TEXT_VERSION}-bin.tar.gz DIST_SUBDIR= ${PORTNAME} # do not forget to fix devel/kodi-platform when updating kodi MAINTAINER= yzrh@noema.org COMMENT= Award winning media center application WWW= https://kodi.tv/ LICENSE= GPLv2+ ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le BUILD_DEPENDS= flatbuffers>0:devel/flatbuffers \ rapidjson>0:devel/rapidjson \ swig>0:devel/swig LIB_DEPENDS= libass.so:multimedia/libass \ libavcodec.so:multimedia/ffmpeg \ libavfilter.so:multimedia/ffmpeg \ libavformat.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg \ libcdio.so:sysutils/libcdio \ libcrossguid.so:devel/libcrossguid \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libfmt.so:devel/libfmt \ libfreetype.so:print/freetype2 \ libfribidi.so:converters/fribidi \ libfstrcmp.so:devel/fstrcmp \ libgif.so:graphics/giflib \ libharfbuzz.so:print/harfbuzz \ liblzo2.so:archivers/lzo2 \ libpcre.so:devel/pcre \ libpng.so:graphics/png \ libpostproc.so:multimedia/ffmpeg \ libspdlog.so:devel/spdlog \ libswresample.so:multimedia/ffmpeg \ libswscale.so:multimedia/ffmpeg \ libtag.so:audio/taglib \ libtinyxml.so:textproc/tinyxml \ libtinyxml2.so:textproc/tinyxml2 \ libudfread.so:multimedia/libudfread \ libuuid.so:misc/e2fsprogs-libuuid RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} USES= autoreconf:build cmake:noninja compiler:c++17-lang cpe \ desktop-file-utils gettext gmake gnome iconv jpeg libtool \ pkgconfig python sqlite ssl KODI_CODENAME= Omega LIBDVDCSS_VERSION= 1.4.3-Next-Nexus-Alpha2-2 LIBDVDNAV_VERSION= 6.1.1-Next-Nexus-Alpha2-2 LIBDVDREAD_VERSION= 6.1.3-Next-Nexus-Alpha2-2 GROOVY_VERSION= 4.0.16 COMMONS_LANG_VERSION= 3.14.0 COMMONS_TEXT_VERSION= 1.11.0 USE_GITHUB= yes GH_TUPLE= xbmc:xbmc:${DISTVERSION}-${KODI_CODENAME} \ xbmc:libdvdcss:${LIBDVDCSS_VERSION}:libdvdcss/tools/depends/target/libdvdcss/native \ xbmc:libdvdnav:${LIBDVDNAV_VERSION}:libdvdnav/tools/depends/target/libdvdnav/native \ xbmc:libdvdread:${LIBDVDREAD_VERSION}:libdvdread/tools/depends/target/libdvdread/native KODI_ARCH_aarch64= aarch64 KODI_ARCH_amd64= x86_64 KODI_ARCH_i386= x86 KODI_ARCH_armv7= armv7 KODI_ARCH_armv6= armv6 KODI_ARCH_powerpc64= powerpc64 KODI_ARCH_powerpc64le= powerpc64le PLIST_SUB= ARCH=${KODI_ARCH_${ARCH}} USE_LDCONFIG= yes USE_JAVA= yes JAVA_BUILD= jre USE_GNOME= libxml2 CMAKE_ARGS= -DGIT_VERSION="${DISTVERSION}-${KODI_CODENAME}" \ -DLIBDVDCSS_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdcss-${LIBDVDCSS_VERSION}_GH0.tar.gz" \ -DLIBDVDNAV_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdnav-${LIBDVDNAV_VERSION}_GH0.tar.gz" \ -DLIBDVDREAD_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdread-${LIBDVDREAD_VERSION}_GH0.tar.gz" \ -Dgroovy_SOURCE_DIR="${WRKSRC}/tools/depends/share/groovy" \ -Dapache-commons-lang_SOURCE_DIR="${WRKSRC}/tools/depends/share/java/lang" \ -Dapache-commons-text_SOURCE_DIR="${WRKSRC}/tools/depends/share/java/text" \ -DCROSSGUID_INCLUDE_DIR="${LOCALBASE}/include" \ -DCORE_PLATFORM_NAME:STRING="${KODI_PLATFORM}" \ -DCMAKE_VERBOSE_MAKEFILE=ON CMAKE_OFF= ENABLE_INTERNAL_CROSSGUID CONFIGURE_ENV= _CPU_FEATURE="${CPU_FEATURE}" OPTIONS_SUB= yes OPTIONS_DEFINE= AIRPLAY AVAHI LIBBLURAY CEC DAV1D DBUS \ DVDCSS LCMS2 LIRC WEBSERVER MYSQL NFS DVD SMB TEST \ UDEV UPNP VAAPI VDPAU XSLT DOCS OPTIONS_DEFAULT= LIBBLURAY CEC LCMS2 WEBSERVER DAV1D \ DVD UPNP VAAPI VDPAU XSLT GBM WAYLAND X11 GL OPTIONS_DEFAULT_amd64= SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 OPTIONS_DEFAULT_i386= SSE SSE2 SSE3 OPTIONS_SINGLE= RENDER OPTIONS_SINGLE_RENDER= GL GLES OPTIONS_GROUP= SOUND FEATURE PLATFORM OPTIONS_GROUP_SOUND= ALSA PIPEWIRE PULSEAUDIO SNDIO OPTIONS_GROUP_FEATURE= SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 AVX AVX2 OPTIONS_GROUP_PLATFORM= GBM WAYLAND X11 OPTIONS_EXCLUDE_aarch64=FEATURE OPTIONS_EXCLUDE_armv7= FEATURE OPTIONS_EXCLUDE_armv6= FEATURE OPTIONS_EXCLUDE_powerpc64= FEATURE OPTIONS_EXCLUDE_powerpc64le= FEATURE PLATFORM_DESC= Kodi platform FEATURE_DESC= X86 CPU feature AIRPLAY_DESC= AirPlay support CEC_DESC= CEC adapter support DAV1D_DESC= Use dav1d as AV1 decoder DVD_DESC= DVD support UDEV_DESC= Use libudev-devd XSLT_DESC= Use libxslt RENDER_DESC= Render system GL_DESC= OpenGL GLES_DESC= OpenGL ES GBM_DESC= GBM support SSE2_DESC= Use SSE2 optimized routines SSE3_DESC= Use SSE3 optimized routines SSSE3_DESC= Use SSSE3 optimized routines SSE4_1_DESC= Use SSE4.1 optimized routines SSE4_2_DESC= Use SSE4.2 optimized routines AVX_DESC= Use AVX optimized routines AVX2_DESC= Use AVX2 optimized routines AIRPLAY_LIB_DEPENDS= libplist-2.0.so:devel/libplist \ libshairplay.so:audio/shairplay AIRPLAY_CMAKE_BOOL= ENABLE_PLIST \ ENABLE_AIRTUNES AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app AVAHI_CMAKE_BOOL= ENABLE_AVAHI LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CMAKE_BOOL= ENABLE_BLURAY CEC_LIB_DEPENDS= libcec.so:multimedia/libcec CEC_CMAKE_BOOL= ENABLE_CEC DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CMAKE_BOOL= ENABLE_DAV1D DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CMAKE_BOOL= ENABLE_DBUS DVDCSS_CMAKE_BOOL= ENABLE_DVDCSS LCMS2_LIB_DEPENDS= liblcms2.so.2:graphics/lcms2 LCMS2_CMAKE_BOOL= ENABLE_LCMS2 LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CMAKE_BOOL= ENABLE_LIRCCLIENT WEBSERVER_LIB_DEPENDS= libmicrohttpd.so:www/libmicrohttpd WEBSERVER_CMAKE_BOOL= ENABLE_MICROHTTPD NFS_LIB_DEPENDS= libnfs.so:net/libnfs NFS_CMAKE_BOOL= ENABLE_NFS DVD_CMAKE_BOOL= ENABLE_OPTICAL SMB_USES= samba:lib SMB_CMAKE_BOOL= ENABLE_SMBCLIENT TEST_LIB_DEPENDS= libgtest.so:devel/googletest TEST_CMAKE_BOOL= ENABLE_TESTING UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_CMAKE_BOOL= ENABLE_UDEV UPNP_CMAKE_BOOL= ENABLE_UPNP VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CMAKE_BOOL= ENABLE_VAAPI VDPAU_IMPLIES= X11 GL VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CMAKE_BOOL= ENABLE_VDPAU XSLT_LIB_DEPENDS= libxslt.so:textproc/libxslt XSLT_CMAKE_BOOL= ENABLE_XSLT GL_CMAKE_ON= -DAPP_RENDER_SYSTEM:STRING="gl" GL_USES= gl GL_USE= GL=gl GLES_CMAKE_ON= -DAPP_RENDER_SYSTEM:STRING="gles" GLES_USES= gl GLES_USE= GL=glesv2 MYSQL_USES= mysql MYSQL_CMAKE_BOOL= ENABLE_MYSQLCLIENT ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= ENABLE_ALSA PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= ENABLE_PIPEWIRE PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= ENABLE_PULSEAUDIO SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_BOOL= ENABLE_SNDIO SSE_VARS= CPU_FEATURE+=SSE SSE2_VARS= CPU_FEATURE+=SSE2 SSE3_VARS= CPU_FEATURE+=SSE3 SSSE3_VARS= CPU_FEATURE+=SSSE3 SSE4_1_VARS= CPU_FEATURE+=SSE4.1 SSE4_2_VARS= CPU_FEATURE+=SSE4.2 AVX_VARS= CPU_FEATURE+=AVX AVX2_VARS= CPU_FEATURE+=AVX2 GBM_IMPLIES= UDEV GBM_VARS= KODI_PLATFORM+=gbm GBM_USES= gl GBM_USE= GL=egl,gbm,glu GBM_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto GBM_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libdrm.so:graphics/libdrm \ libxkbcommon.so:x11/libxkbcommon \ libinput.so:x11/libinput \ libdisplay-info.so:sysutils/libdisplay-info GBM_RUN_DEPENDS= mesa-dri>0:graphics/mesa-dri WAYLAND_VARS= KODI_PLATFORM+=wayland WAYLAND_CATEGORIES= wayland WAYLAND_USES= gl WAYLAND_USE= GL=egl,glu WAYLAND_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libdrm.so:graphics/libdrm \ libxkbcommon.so:x11/libxkbcommon \ libinput.so:x11/libinput \ libwayland-client++.so:graphics/waylandpp X11_VARS= KODI_PLATFORM+=x11 X11_USES= xorg gl X11_USE= XORG=x11,xext,xrandr GL=egl,gbm,glu X11_LIB_DEPENDS= libdrm.so:graphics/libdrm .include .if (!empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MWAYLAND) || !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MX11) || !empty(PORT_OPTIONS:MWAYLAND) && !empty(PORT_OPTIONS:MX11)) && !empty(PORT_OPTIONS:MGLES) BROKEN= option GLES does not build with multiple PLATFORM .endif .if !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MWAYLAND) || !empty(PORT_OPTIONS:MGBM) && !empty(PORT_OPTIONS:MX11) || !empty(PORT_OPTIONS:MWAYLAND) && !empty(PORT_OPTIONS:MX11) PLIST_SUB+= KODICOMBINED="" \ KODIGBM="@comment " \ KODIWAYLAND="@comment " \ KODIX11="@comment " .else PLIST_SUB+= KODICOMBINED="@comment " .if !empty(PORT_OPTIONS:MGBM) PLIST_SUB+= KODIGBM="" .else PLIST_SUB+= KODIGBM="@comment " .endif .if !empty(PORT_OPTIONS:MWAYLAND) PLIST_SUB+= KODIWAYLAND="" .else PLIST_SUB+= KODIWAYLAND="@comment " .endif .if !empty(PORT_OPTIONS:MX11) PLIST_SUB+= KODIX11="" .else PLIST_SUB+= KODIX11="@comment " .endif .endif post-extract: @${MKDIR} ${WRKSRC}/tools/depends/share @${MV} ${WRKDIR}/groovy-${GROOVY_VERSION} ${WRKSRC}/tools/depends/share/groovy @${MKDIR} ${WRKSRC}/tools/depends/share/java @${MV} ${WRKDIR}/commons-lang3-${COMMONS_LANG_VERSION} ${WRKSRC}/tools/depends/share/java/lang @${MV} ${WRKDIR}/commons-text-${COMMONS_TEXT_VERSION} ${WRKSRC}/tools/depends/share/java/text post-patch: ${REINPLACE_CMD} 's|/usr/share|${LOCALBASE}/share|' \ ${WRKSRC}/xbmc/platform/linux/input/LibInputSettings.cpp post-install: ${INSTALL_MAN} ${WRKSRC}/docs/manpages/kodi.bin.1 ${STAGEDIR}${PREFIX}/share/man/man1 cd ${STAGEDIR}${PREFIX}/share/man/man1 && ${LN} -s kodi.bin.1.gz kodi.1.gz cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} kodi-TexturePacker TexturePacker ${FIND} ${STAGEDIR}${PREFIX}/lib/kodi -type f -name '*.so' -print0 | ${XARGS} -0 ${STRIP_CMD} ${RM} -r ${STAGEDIR}${PREFIX}/lib/firewalld .include diff --git a/multimedia/lebiniou/Makefile b/multimedia/lebiniou/Makefile index 677651ad2481..208aaea84e1f 100644 --- a/multimedia/lebiniou/Makefile +++ b/multimedia/lebiniou/Makefile @@ -1,44 +1,44 @@ PORTNAME= lebiniou DISTVERSION= 3.66.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= multimedia graphics MAINTAINER= lbartoletti@FreeBSD.org COMMENT= User-friendly, powerful music visualization / VJing tool WWW= https://biniou.net/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ libcaca.so:graphics/libcaca \ libfftw3.so:math/fftw3 \ libjack.so:audio/jack \ libsndfile.so:audio/libsndfile \ liborcania.so:devel/orcania \ libyder.so:devel/yder \ libulfius.so:www/ulfius \ libjansson.so:devel/jansson \ liblo.so:audio/liblo \ libasound.so:audio/alsa-lib \ libpulse.so:audio/pulseaudio \ libsndio.so:audio/sndio \ libsndfile.so:audio/libsndfile \ libfreetype.so:print/freetype2 RUN_DEPENDS= v4l_compat>0:multimedia/v4l_compat \ ${LOCALBASE}/share/lebiniou/vue/index.html:multimedia/lebiniou-data USES= autoreconf gnome magick:6 sdl USE_GNOME= glib20 USE_SDL= sdl2 USE_LDCONFIG= YES USE_GITLAB= YES GL_ACCOUNT= lebiniou GL_TAGNAME= 2049ce3d9ee5f860fb6a5d516c4af797f4669b58 GNU_CONFIGURE= YES GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share .include diff --git a/multimedia/libxine/Makefile b/multimedia/libxine/Makefile index d75317de460d..c9b320919429 100644 --- a/multimedia/libxine/Makefile +++ b/multimedia/libxine/Makefile @@ -1,186 +1,186 @@ PORTNAME= xine DISTVERSION= 1.2.13 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${DISTVERSION} PKGNAMEPREFIX= lib DISTNAME= ${PORTNAME}-lib-${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Libraries for xine multimedia player WWW= https://www.xine-project.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libFLAC.so:audio/flac \ liba52.so:audio/liba52 \ libvorbis.so:audio/libvorbis \ libspeex.so:audio/speex \ libmng.so:graphics/libmng \ libpng.so:graphics/png \ libdvdread.so:multimedia/libdvdread \ libfreetype.so:print/freetype2 \ libfame.so:multimedia/libfame \ libcdio_paranoia.so:sysutils/libcdio-paranoia \ libmodplug.so:audio/libmodplug \ libvcdinfo.so:multimedia/vcdimager \ libtheora.so:multimedia/libtheora \ libmad.so:audio/libmad \ libdca.so:multimedia/libdca \ libavcodec.so:multimedia/ffmpeg \ libfaad.so:audio/faad \ libvdpau.so:multimedia/libvdpau \ libvpx.so:multimedia/libvpx \ libiso9660.so:sysutils/libcdio \ libogg.so:audio/libogg \ libdvdnav.so:multimedia/libdvdnav \ libwayland-client.so:graphics/wayland USES= compiler cpe gl gmake gnome iconv libtool:keepla jpeg \ localbase pathfix perl5 pkgconfig tar:xz xorg LLD_UNSAFE= yes CPE_PRODUCT= xine-lib CPE_VENDOR= xine GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_XORG= x11 xcb xv xinerama xext sm ice USE_GL= gl glu USE_PERL5= build USE_LDCONFIG= yes CONFIGURE_ARGS= --with-libflac \ --enable-musepack \ --enable-real-codecs \ --without-esound \ --disable-crypto MAKE_ENV= V=1 MAKE_ARGS= pkgdatadir="${DATADIR}" \ datadir="${DATADIR}" \ libdir="${PREFIX}/lib" CFLAGS_i386= -fomit-frame-pointer DOCSDIR= ${PREFIX}/share/doc/xine-lib # Please sync with XINE_PLUGINSDIR in multimedia/xine # and multimedia/vdr-plugin-xineliboutput PLUGINSDIR= lib/xine/plugins/2.11 PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}" OPTIONS_DEFINE= AALIB ALSA AOM CACA DAV1D DOCS DMX_IMAGE DVB \ IMAGEMAGICK IPV6 JACK LIBBLURAY NFS NLS PIXBUF PULSEAUDIO \ SDL SFTP SMB SNDIO V4L VAAPI WAVPACK WAYLAND XVMC OPTIONS_DEFAULT= DVB OPENSSL PIXBUF VAAPI OPTIONS_DEFINE_i386= W32DLL OPTIONS_DEFAULT_i386= W32DLL OPTIONS_GROUP= TLS OPTIONS_GROUP_TLS= GNUTLS OPENSSL OPTIONS_SUB= yes AOM_DESC= Enable libaom AV1 decoder support DAV1D_DESC= Enable dav1d AV1 decoder support DMX_IMAGE_DESC= DMX image plugin DVB_DESC= DVB plugin NFS_DESC= Enable NFS support using libnfs SDL_DESC= Enable support for SDL 1 video output SFTP_DESC= Enable SFTP support using libssh2 TLS_DESC= Enable TLS support for https and ftps W32DLL_DESC= Win32 codec support WAYLAND_DESC= Enable Wayland support AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_ENABLE= aalib ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_WITH= alsa AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CONFIGURE_WITH= libaom CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_WITH= caca DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CONFIGURE_WITH= dav1d DVB_BUILD_DEPENDS= v4l_compat>=1.0.20100321:multimedia/v4l_compat DVB_CONFIGURE_ENABLE= dvb GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ON= --enable-tls IMAGEMAGICK_USES= magick IMAGEMAGICK_CONFIGURE_WITH= imagemagick IMAGEMAGICK_IMPLIES= DMX_IMAGE IPV6_CONFIGURE_ENABLE= ipv6 JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_WITH= jack LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= bluray NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NFS_LIB_DEPENDS= libnfs.so:net/libnfs NFS_CONFIGURE_ENABLE= nfs OPENSSL_CONFIGURE_ON= --enable-tls OPENSSL_CONFIGURE_ENV= OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" OPENSSL_USES= ssl PIXBUF_CONFIGURE_ENABLE= gdkpixbuf PIXBUF_IMPLIES= DMX_IMAGE PIXBUF_USE= GNOME=gdkpixbuf2,glib20 PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio SDL_CONFIGURE_WITH= sdl SDL_USES= sdl SDL_USE= SDL=sdl SFTP_LIB_DEPENDS= libssh2.so:security/libssh2 SFTP_CONFIGURE_ENABLE= sftp SMB_USES= samba:lib SMB_CONFIGURE_ENV= LIBSMBCLIENT_LIBS="-L${SAMBALIBS} -lsmbclient" \ LIBSMBCLIENT_CFLAGS="-I${SAMBAINCLUDES}" SMB_CONFIGURE_ENABLE= samba SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= vaapi V4L_BUILD_DEPENDS= v4l_compat>=1.0.20100321:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= libv4l v4l v4l2 W32DLL_CONFIGURE_ENABLE= w32dll W32DLL_PLIST_FILES= ${PLUGINSDIR}/xineplug_decode_w32dll.so WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CONFIGURE_WITH= wavpack WAYLAND_LIB_DEPENDS= libwayland-egl.so:graphics/wayland \ libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland .if defined(WITH_NVIDIA304_GL) || exists(${LOCALBASE}/lib/libXvMCNVIDIA.so.1) XVMC_CONFIGURE_WITH= xvmc-lib=XvMCNVIDIA XVMC_LIB_DEPENDS= libXvMCNVIDIA.so:x11/nvidia-driver-304 .else XVMC_CONFIGURE_WITH= xvmc-lib=XvMCW XVMC_LIB_DEPENDS= libXvMC.so:x11/libXvMC .endif XVMC_CONFIGURE_ENABLE= xvmc .include .if ${ARCH} == aarch64 BUILD_DEPENDS+= as:devel/binutils .endif .if !${PORT_OPTIONS:MGNUTLS} && !${PORT_OPTIONS:MOPENSSL} CONFIGURE_ARGS+= --disable-tls .endif pre-configure-GNUTLS-off: @${REINPLACE_CMD} -e 's|have_gnutls=yes|have_gnutls=no|' \ ${WRKSRC}/configure post-patch: @${REINPLACE_CMD} -e '/xine_set_flags/s/XINE_PROTECTED//' \ ${WRKSRC}/include/xine.h .if ${COMPILER_TYPE} == "clang" @${REINPLACE_CMD} -e 's|-fno-rename-registers||' \ ${WRKSRC}/src/libw32dll/Makefile.in .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/*.so @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${PLUGINSDIR}/post/*.so .include diff --git a/multimedia/lives/Makefile b/multimedia/lives/Makefile index cf27f7d7cd19..8075fefecf70 100644 --- a/multimedia/lives/Makefile +++ b/multimedia/lives/Makefile @@ -1,201 +1,201 @@ PORTNAME= lives DISTVERSION= 3.2.0 -PORTREVISION= 23 +PORTREVISION= 24 CATEGORIES= multimedia MASTER_SITES= http://lives-video.com/releases/ DISTNAME= LiVES-${PORTVERSION} MAINTAINER= vvd@FreeBSD.org COMMENT= Video editing system WWW= http://lives-video.com/ LICENSE= GPLv3+ LGPL3+ LICENSE_COMB= multi LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYING LICENSE_FILE_LGPL3+ = ${WRKSRC}/COPYING.LGPL BROKEN= fails to build with FFmpeg 6 BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ analyseplugin:audio/ladspa LIB_DEPENDS= liboil-0.3.so:devel/liboil \ libpng.so:graphics/png \ libavcodec.so:multimedia/ffmpeg \ libmjpegutils.so:multimedia/mjpegtools RUN_DEPENDS= analyseplugin:audio/ladspa \ ffprobe:multimedia/ffmpeg \ sox:audio/sox USES= autoreconf compiler:c++11-lib gettext-runtime gettext-tools \ gl gnome libtool localbase pathfix perl5 pkgconfig python \ sdl shebangfix xorg USE_GL= gl glu USE_GNOME= cairo gdkpixbuf2 gtk30 intltool USE_LDCONFIG= yes USE_SDL= sdl sdl2 USE_XORG= x11 xrender SHEBANG_FILES= build-lives-rfx-plugin build-lives-rfx-plugin-multi smogrify \ tools/autolives.pl lives-plugins/plugins/encoders/*_encoder \ lives-plugins/marcos-encoders/*encoder* \ lives-plugins/plugins/encoders/multi_encoder3 \ lives-plugins/plugins/playback/audiostream/audiostreamer.pl GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-ldvgrab --disable-prctl --disable-system-weed --disable-dirac INSTALL_TARGET= install-strip WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} DOC_FILES= AUTHORS COPYING COPYING.LGPL ChangeLog FEATURES GETTING.STARTED NEWS README \ OMC/lives-OMC.txt RFX/LiVES-Perl.odt RFX/rfxbuilder.odt \ RFX/RFX.spec docs/c++-bindings.odt docs/clip_format.txt \ lives-plugins/marcos-encoders/README.multi_encoder \ weed-docs/weedspec.txt weed-docs/weedevents.txt OPTIONS_DEFINE= ALSA DOCS DOXYGEN DV FFTW FREI0R JACK IMAGEMAGICK LIBEXPLAIN \ LIBVISUAL OGG OPENCV OPTIMIZED_CFLAGS NLS PROJECTM PULSEAUDIO \ THEORA V4L WAYLAND OPTIONS_DEFAULT= CDDA2WAV DOCS DV FFTW GHOSTSCRIPT IMAGEMAGICK JACK LAME \ MPG123 MPLAYER NLS OGG123 OGG OGM OPENCV \ THEORA X264 XDG_SCREENSAVER XDOTOOL XWININFO YTDLP OPTIONS_GROUP= RUNTIME EXT_WIN_CAPTURE MPLAYERS MP3 OPTIONS_GROUP_EXT_WIN_CAPTURE= WMCTRL XDOTOOL OPTIONS_GROUP_MP3= MPG123 MPG321 OPTIONS_GROUP_MPLAYERS= MPLAYER MPV OPTIONS_GROUP_RUNTIME= CDDA2WAV GHOSTSCRIPT LAME MATROSKA MENCODER OGG123 OGM \ SSWF X264 XDG_SCREENSAVER XWININFO YTDLP OPTIONS_SUB= yes EXT_WIN_CAPTURE_DESC= Allows external window capture via xdotool or wmctrl LIBEXPLAIN_DESC= Used to explain Unix and Linux system call errors MENCODER_DESC= Use mencoder as video file and movie encoder MP3_DESC= Runtime check order is: mpg321, mpg123, mplayer, mplayer2, mpv MPG321_DESC= MP3 decoding support via mpg321 MPLAYERS_DESC= Install mplayer/mpv (runtime check) MPV_DESC= MPV media player support OGG123_DESC= Use ogg123 from vorbis-tools OGM_DESC= Use ogmtools for manipulating with OGM files PROJECTM_DESC= projectM support RUNTIME_DESC= Runtime detected utilities SSWF_DESC= Use sswf for manipulating with Flash movies WMCTRL_DESC= Install wmctrl XDG_SCREENSAVER_DESC= Used to disable screensaver during playback XDOTOOL_DESC= Install xdotool XWININFO_DESC= Used for external window capture YTDLP_DESC= Install yt-dlp (youtube-dl fork) - requires SYMLINK option ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_OFF= --disable-alsa CDDA2WAV_RUN_DEPENDS= cdda2wav:sysutils/cdrtools DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_OFF= --disable-doxygen DV_LIB_DEPENDS= libdv.so:multimedia/libdv DV_RUN_DEPENDS= encodedv:multimedia/libdv DV_CONFIGURE_OFF= --disable-libdv FFTW_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FFTW_CONFIGURE_OFF= --disable-fftw3f FREI0R_BUILD_DEPENDS= frei0r>0:graphics/frei0r FREI0R_RUN_DEPENDS= frei0r>0:graphics/frei0r FREI0R_CONFIGURE_OFF= --disable-frei0r GHOSTSCRIPT_USES= ghostscript:run IMAGEMAGICK_USES= magick:run JACK_LIB_DEPENDS= libjack.so:audio/jack \ libjackserver.so:audio/jack JACK_CONFIGURE_OFF= --disable-jack LAME_RUN_DEPENDS= lame:audio/lame LIBEXPLAIN_LIB_DEPENDS= libexplain.so:devel/libexplain LIBEXPLAIN_CONFIGURE_OFF= --disable-libexplain LIBVISUAL_LIB_DEPENDS= libvisual-0.4.so:graphics/libvisual04 LIBVISUAL_CONFIGURE_OFF= --disable-libvisual MATROSKA_RUN_DEPENDS= mkvmerge:multimedia/mkvtoolnix MENCODER_RUN_DEPENDS= mencoder:multimedia/mencoder MPG123_RUN_DEPENDS= mpg123:audio/mpg123 MPG321_RUN_DEPENDS= mpg321:audio/mpg321 MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer MPV_RUN_DEPENDS= mpv:multimedia/mpv NLS_USES= gettext-tools OGG123_RUN_DEPENDS= ogg123:audio/vorbis-tools OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_CONFIGURE_OFF= --disable-ogg OGM_RUN_DEPENDS= ogmmerge:multimedia/ogmtools OPENCV_LIB_DEPENDS= libopencv_calib3d.so:graphics/opencv \ libopencv_core.so:graphics/opencv OPENCV_CONFIGURE_OFF= --disable-opencv OPTIMIZED_CFLAGS_CONFIGURE_ON= --enable-turbo PROJECTM_LIB_DEPENDS= libprojectM.so:graphics/libprojectm PROJECTM_CONFIGURE_OFF= --disable-projectM PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-pulse SSWF_RUN_DEPENDS= sswf:graphics/sswf THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_OFF= --disable-theora V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_OFF= --disable-v4l WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-egl.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland WAYLAND_CONFIGURE_OFF= --disable-wayland WMCTRL_RUN_DEPENDS= wmctrl:x11/wmctrl-fork X264_RUN_DEPENDS= x264:multimedia/x264 XDG_SCREENSAVER_RUN_DEPENDS= xdg-screensaver:devel/xdg-utils XDOTOOL_RUN_DEPENDS= xdotool:x11/xdotool XWININFO_RUN_DEPENDS= xwininfo:x11/xwininfo YTDLP_RUN_DEPENDS= yt-dlp:www/yt-dlp post-patch: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \ 's/^LIBS = $$/&@LIBS@/' @${REINPLACE_CMD} -e 's|/usr/local/lib/|${LOCALBASE}/lib/|g' \ ${WRKSRC}/lives-plugins/weed-plugins/frei0r.c @${REINPLACE_CMD} 's|/usr/bin/perl|${perl_CMD}|' \ ${WRKSRC}/build-lives-rfx-plugin pre-build-NLS-on: @(cd ${WRKSRC}/po && ${DO_MAKE_BUILD} update-po) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-DOXYGEN-on: @(cd ${STAGEDIR}${PREFIX} && ${FIND} ${DOCSDIR_REL}/html \ -not -type d >> ${TMPPLIST}) .include diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index b452b1cfa8b9..9a4efcf0ef8d 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -1,191 +1,192 @@ PORTNAME= mpv DISTVERSIONPREFIX= v DISTVERSION= 0.39.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= multimedia audio MAINTAINER= multimedia@FreeBSD.org COMMENT= Free and open-source general-purpose video player WWW= https://mpv.io LICENSE= GPLv2+ LGPL21+ LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE.GPL LICENSE_FILE_LGPL21+ = ${WRKSRC}/LICENSE.LGPL BUILD_DEPENDS= ffmpeg>=4.0.2,1:multimedia/ffmpeg LIB_DEPENDS= libplacebo.so:graphics/libplacebo \ libavcodec.so:multimedia/ffmpeg \ libass.so:multimedia/libass USES= compiler:c11 cpe desktop-file-utils iconv jpeg \ meson pkgconfig python:build shebangfix tar:bz2 USE_LDCONFIG= yes SHEBANG_FILES= TOOLS/*.py USE_GITHUB= yes GH_ACCOUNT= mpv-player MESON_ARGS= --auto-features=auto \ -Dshaderc=disabled \ -Dlibmpv=true OPTIONS_DEFINE= ARCHIVE DOCS LCMS2 MANPAGES MUJS RUBBERBAND UCHARDET EXAMPLES ZIMG OPTIONS_DEFAULT= ARCHIVE DVDNAV LCMS2 LUAJIT MANPAGES NVDEC OPENGL UCHARDET \ V4L VAAPI VDPAU VULKAN WAYLAND X11 YTDLP OPTIONS_GROUP= IN VO AO OPTIONS_GROUP_IN= CDIO DVDNAV LIBBLURAY V4L VAPOURSYNTH OPTIONS_GROUP_VO= CACA NVDEC OPENGL SIXEL VAAPI VDPAU VULKAN WAYLAND X11 OPTIONS_GROUP_AO= ALSA JACK OPENAL PIPEWIRE PULSEAUDIO SDL SNDIO OPTIONS_SINGLE= LUA OPTIONS_SINGLE_LUA= LUA LUAJIT LUA_NONE OPTIONS_SUB= yes DVDNAV_DESC= DVD menu navigation LUA_NONE_DESC= Disable Lua scripting language support LUAJIT_DESC= Use LuaJIT instead of Lua scripting language support MUJS_DESC= Use MuJS for Javascript language support NVDEC_DESC= NVIDIA decoder with CUDA support RUBBERBAND_DESC= High quality pitch correction with librubberband SIXEL_DESC= Sixel graphics support UCHARDET_DESC= Guess subtitle encoding via uchardet VAPOURSYNTH_DESC= VapourSynth filter bridge VULKAN_DESC= Vulkan output support ZIMG_DESC= High quality software scaling via "z" library IN_DESC= Input VO_DESC= Video Output AO_DESC= Audio Output ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MESON_ENABLED= alsa ARCHIVE_USES= libarchive ARCHIVE_MESON_ENABLED= libarchive CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_MESON_ENABLED= caca CDIO_LIB_DEPENDS= libcdio_paranoia.so:sysutils/libcdio-paranoia CDIO_MESON_ENABLED= cdda DOCS_BUILD_DEPENDS= rst2html:textproc/py-docutils DOCS_MESON_ENABLED= html-build DVDNAV_LIB_DEPENDS= libdvdnav.so:multimedia/libdvdnav DVDNAV_MESON_ENABLED= dvdnav JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_MESON_ENABLED= jack LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2 LCMS2_MESON_ENABLED= lcms2 LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_MESON_ENABLED= libbluray LUA_USES= lua:51-52 LUA_MESON_ON= -Dlua=lua-${LUA_VER} LUAJIT_USES= luajit LUAJIT_MESON_ON= -Dlua=luajit LUA_NONE_MESON_ON= -Dlua=disabled MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_MESON_ENABLED= manpage-build MUJS_LIB_DEPENDS= libmujs.so:lang/mujs MUJS_MESON_ENABLED= javascript NVDEC_BUILD_DEPENDS= ${LOCALBASE}/include/ffnvcodec/dynlink_loader.h:multimedia/ffnvcodec-headers NVDEC_RUN_DEPENDS= ${LOCALBASE}/include/ffnvcodec/dynlink_loader.h:multimedia/ffnvcodec-headers NVDEC_MESON_ENABLED= cuda-hwaccel OPENAL_USES= openal OPENAL_MESON_ENABLED= openal OPENAL_LDFLAGS= ${_OPENAL_LDFLAGS_${ARCH}} _OPENAL_LDFLAGS_i386= -Wl,-znotext OPENGL_USES= gl OPENGL_USE= GL=egl,gbm OPENGL_MESON_ENABLED= gl PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_MESON_ENABLED= pipewire PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_ENABLED= pulse RUBBERBAND_LIB_DEPENDS= librubberband.so:audio/rubberband RUBBERBAND_MESON_ENABLED= rubberband SDL_USES= sdl SDL_USE= SDL=sdl2 SDL_MESON_ENABLED= sdl2 SIXEL_LIB_DEPENDS= libsixel.so:graphics/libsixel SIXEL_MESON_ENABLED= sixel SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_MESON_ENABLED= sndio UCHARDET_LIB_DEPENDS= libuchardet.so:textproc/uchardet UCHARDET_MESON_ENABLED= uchardet V4L_BUILD_DEPENDS= ${LOCALBASE}/include/linux/dvb/dmx.h:multimedia/v4l_compat V4L_USES= localbase V4L_MESON_ENABLED= dvbin VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_MESON_ENABLED= vaapi VAPOURSYNTH_LIB_DEPENDS= libvapoursynth-script.so:multimedia/vapoursynth VAPOURSYNTH_MESON_ENABLED= vapoursynth VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_MESON_ENABLED= vdpau VDPAU_IMPLIES= X11 VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_MESON_ENABLED= vulkan WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.15:graphics/wayland-protocols \ ${LOCALBASE}/include/linux/input-event-codes.h:devel/evdev-proto WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= wayland-protocols>=1.15:graphics/wayland-protocols # pkg-config WAYLAND_MESON_ENABLED= wayland WAYLAND_IMPLIES= OPENGL X11_USES= gnome xorg X11_USE= XORG=x11,xext,xinerama,xorgproto,xpresent,xrandr,xscrnsaver,xv,xxf86vm X11_MESON_ENABLED= x11 YTDLP_RUN_DEPENDS= yt-dlp:www/yt-dlp ZIMG_LIB_DEPENDS= libzimg.so:graphics/sekrit-twc-zimg ZIMG_MESON_ENABLED= zimg .include .if ${PORT_OPTIONS:MVAAPI} && ${PORT_OPTIONS:MWAYLAND} MESON_ARGS+= -Dvaapi-wayland=enabled LIB_DEPENDS+= libva-wayland.so:multimedia/libva .else MESON_ARGS+= -Dvaapi-wayland=disabled .endif post-patch-MANPAGES-on: @${FIND} ${WRKSRC}/DOCS/man -name '*.rst' | ${XARGS} ${REINPLACE_CMD} \ -e 's|/usr/local|${PREFIX}|g' pre-test: @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=true"; \ ${TOUCH} ${WRKDIR}/.meson_build_tests; \ fi .include diff --git a/multimedia/musikcube/Makefile b/multimedia/musikcube/Makefile index 317d04282014..cc7220def89a 100644 --- a/multimedia/musikcube/Makefile +++ b/multimedia/musikcube/Makefile @@ -1,49 +1,49 @@ PORTNAME= musikcube DISTVERSION= 3.0.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia audio MAINTAINER= yuri@FreeBSD.org COMMENT= Terminal-based music player, audio engine, metadata indexer, server WWW= https://musikcube.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= asio>0:net/asio LIB_DEPENDS= libasound.so:audio/alsa-lib \ libavcodec.so:multimedia/ffmpeg \ libbasu.so:devel/basu \ libcurl.so:ftp/curl \ libev.so:devel/libev \ libFLAC.so:audio/flac \ libmicrohttpd.so:www/libmicrohttpd \ libmp3lame.so:audio/lame \ libmpg123.so:audio/mpg123 \ libogg.so:audio/libogg \ libopenmpt.so:audio/libopenmpt \ libpipewire-0.3.so:multimedia/pipewire \ libportaudio.so:audio/portaudio \ libpulse.so:audio/pulseaudio \ libsndio.so:audio/sndio \ libtag.so:audio/taglib \ libvorbis.so:audio/libvorbis USES= cmake:noninja compiler:c++17-lang ncurses pkgconfig ssl USES+= localbase # workaround for https://github.com/clangen/musikcube/issues/600 USE_LDCONFIG= yes CMAKE_ON= USE_BASU CMAKE_ARGS+= -DNCURSES_DISABLE_LIB_SUFFIXES=false CMAKE_ON+= FREEBSD_USE_BASE_NCURSES USE_GITHUB= yes GH_ACCOUNT= clangen post-install: @cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} \ share/musikcube/libmusikcore.so \ share/musikcube/musikcube \ share/musikcube/musikcubed \ share/musikcube/plugins/*.so .include diff --git a/multimedia/mythtv/Makefile b/multimedia/mythtv/Makefile index 79eb2a44376f..7cfa1d2ea26d 100644 --- a/multimedia/mythtv/Makefile +++ b/multimedia/mythtv/Makefile @@ -1,250 +1,250 @@ PORTNAME= mythtv DISTVERSIONPREFIX= v DISTVERSION= 34.0 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= multimedia MAINTAINER= ahicks@p-o.co.uk COMMENT= Homebrew PVR project WWW= https://www.mythtv.org/ LICENSE= GPLv2+ ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc powerpc64 powerpc64le .if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld BROKEN_i386= ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment .endif LIB_DEPENDS= liblzo2.so:archivers/lzo2 \ libmp3lame.so:audio/lame \ libsamplerate.so:audio/libsamplerate \ libtag.so:audio/taglib \ libexiv2.so:graphics/exiv2 \ libva.so:multimedia/libva \ libbluray.so:multimedia/libbluray \ libass.so:multimedia/libass \ libfftw3_threads.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libfreetype.so:print/freetype2 \ libxml2.so:textproc/libxml2 \ libdav1d.so:multimedia/dav1d \ libaom.so:multimedia/aom \ libdrm.so:graphics/libdrm \ libpulse.so:audio/pulseaudio \ libjack.so:audio/jack \ libSoundTouch.so:audio/soundtouch \ libasound.so:audio/alsa-lib \ libsndio.so:audio/sndio \ libgnutls.so:security/gnutls \ libzip.so:archivers/libzip \ libexpat.so:textproc/expat2 BUILD_DEPENDS= yasm:devel/yasm \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto USES= compiler:c++17-lang gmake gl iconv libtool pkgconfig pathfix \ perl5 python qmake:no_env qt:5 shebangfix ssl xorg USE_GITHUB= yes GH_ACCOUNT= MythTV USE_GL= gl USE_LDCONFIG= yes USE_QT= buildtools:build core dbus gui imageformats:run \ linguist:build multimedia network opengl qmake:build script \ sql sql-mysql:run widgets xml USE_PERL5= run build USE_XORG= x11 xv xrandr xxf86vm xinerama xext xcb SHEBANG_FILES= programs/scripts/database/*.pl \ programs/scripts/metadata/Music/mbutils.py HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix="${PREFIX}" --cc="${CC}" --cxx="${CXX}" \ --libxml2-path="${LOCALBASE}/include/libxml2" \ --disable-audio-alsa \ --disable-qtwebkit CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}" MOC="${MOC}" \ QTDIR="${PREFIX}" PKG_CONFIG_PATH="${LOCALBASE}/libdata/pkgconfig" MAKE_ENV= QTDIR="${PREFIX}" \ QMAKESPEC="${QMAKESPEC}" NOPRECIOUSMAKEVARS= # don't override ARCH in ffmpeg makefiles DESTDIRNAME= INSTALL_ROOT CFLAGS_powerpc= -Wno-error=int-conversion CPPFLAGS+= ${QTCPPFLAGS} LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS_aarch64=-Wl,-z,notext REINPLACE_ARGS= -i "" WRKSRC_SUBDIR= ${PORTNAME} DESKTOP_ENTRIES="MythTV Frontend" "MythTV is a homebrew PVR project" "" \ "mythfrontend" "AudioVideo;Video;" false CONFLICTS_INSTALL= mythtv-frontend RUN_DEPENDS+= tv_check:textproc/p5-xmltv \ wget:ftp/wget USE_RC_SUBR= mythbackend SHEBANG_FILES= programs/scripts/database/*.pl \ programs/scripts/internetcontent/*.py \ programs/scripts/internetcontent/*.pl \ programs/scripts/internetcontent/nv_python_libs/*.py \ programs/scripts/hardwareprofile/*.py \ programs/scripts/metadata/Movie/tmdb3.py \ programs/scripts/metadata/Music/mbutils.py CONFIGURE_ARGS+=--dvb-path="${WRKSRC}/media_tree/include/uapi" \ --enable-v4l2 USERS= mythtv GROUPS= mythtv SUB_FILES= pkg-message OPTIONS_DEFINE= BINDINGS HDHOMERUN JACK LIRC MYSQL PULSEAUDIO VDPAU OPTIONS_DEFAULT= BINDINGS HDHOMERUN VDPAU OPTIONS_SUB= yes BINDINGS_DESC= Perl and Python bindings BINDINGS_BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}mysqlclient>=0:databases/py-mysqlclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplejson>=0:devel/py-simplejson@${PY_FLAVOR} \ p5-DBI>=0:databases/p5-DBI \ ${DBD_MYSQL} \ p5-Net-UPnP>=0:multimedia/p5-Net-UPnP \ p5-IO-Socket-INET6>=2.51:net/p5-IO-Socket-INET6 \ p5-XML-Simple>=0:textproc/p5-XML-Simple \ p5-HTTP-Request-Params>=0:www/p5-HTTP-Request-Params \ p5-LWP-UserAgent-Determined>=0:www/p5-LWP-UserAgent-Determined BINDINGS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.2.2:databases/py-mysqlclient@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests-cache>0:www/py-requests-cache@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}simplejson>=3:devel/py-simplejson@${PY_FLAVOR} \ p5-DBI>=0:databases/p5-DBI \ ${DBD_MYSQL} \ p5-Net-UPnP>=0:multimedia/p5-Net-UPnP \ p5-IO-Socket-INET6>=2.51:net/p5-IO-Socket-INET6 \ p5-XML-Simple>=0:textproc/p5-XML-Simple \ p5-HTTP-Request-Params>=0:www/p5-HTTP-Request-Params \ p5-LWP-UserAgent-Determined>=0:www/p5-LWP-UserAgent-Determined BINDINGS_CONFIGURE_ON= --python="${PYTHON_CMD}" --with-bindings=perl,python BINDINGS_CONFIGURE_OFF= --without-bindings=perl,python BINDINGS_USES= mysql HDHOMERUN_DESC= Native support for HDHomeRun network tuners HDHOMERUN_LIB_DEPENDS= libhdhomerun.so:multimedia/libhdhomerun HDHOMERUN_CONFIGURE_OFF= --disable-hdhomerun JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_OFF= --disable-audio-jack LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_OFF= --disable-lirc MYSQL_DESC= Install MySQL server in addition to client MYSQL_USES= mysql:client,server MYSQL_USES_OFF= mysql PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_OFF= --disable-audio-pulseoutput VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_OFF= --disable-vdpau LINUXDVB= ${WRKSRC}/media_tree/include/uapi/linux/dvb post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/configure \ ${WRKSRC}/libs/libmythtv/libmythtv.pro \ ${WRKSRC}/bindings/perl/MythTV/Recording.pm \ ${WRKSRC}/programs/mythtranscode/external/replex/Makefile.standalone \ ${WRKSRC}/programs/scripts/database/mythconverg_backup.pl \ ${WRKSRC}/programs/scripts/database/mythconverg_restore.pl \ ${WRKSRC}/programs/mythcommflag/mythcommflag-analyze # Header file from: # https://git.linuxtv.org/media_tree.git/tree/include/uapi/linux/dvb @${MKDIR} ${LINUXDVB} @${CP} ${FILESDIR}/audio.h ${LINUXDVB} @${CP} ${FILESDIR}/ca.h ${LINUXDVB} @${CP} ${FILESDIR}/dmx.h ${LINUXDVB} @${CP} ${FILESDIR}/frontend.h ${LINUXDVB} @${CP} ${FILESDIR}/net.h ${LINUXDVB} @${CP} ${FILESDIR}/osd.h ${LINUXDVB} @${CP} ${FILESDIR}/version.h ${LINUXDVB} @${CP} ${FILESDIR}/video.h ${LINUXDVB} # Linux to BSD from multimedia/libv4l/Makefile @${FIND} ${LINUXDVB} -type f -name "*.h" | \ ${XARGS} -n 1 ${REINPLACE_CMD} \ -e 's|#include |#include |'\ -e 's|__inline__|inline|g' \ -e 's|__u8|uint8_t|g' \ -e 's|__s8|int8_t|g' \ -e 's|__le16|uint16_t|g' \ -e 's|__be16|uint16_t|g' \ -e 's|__u16|uint16_t|g' \ -e 's|__s16|int16_t|g' \ -e 's|__le32|uint32_t|g' \ -e 's|__be32|uint32_t|g' \ -e 's|__u32|uint32_t|g' \ -e 's|__s32|int32_t|g' \ -e 's|__le64|uint64_t|g' \ -e 's|__be64|uint64_t|g' \ -e 's|__u64|uint64_t|g' \ -e 's|__s64|int64_t|g' \ -e 's|uint16_t_to_cpu|letoh16|g' \ -e 's|uint32_t_to_cpu|letoh32|g' \ -e 's|uint64_t_to_cpu|letoh64|g' \ -e 's|error_t|int|g' \ -e 's|"gettext.h"||g' \ -e 's|MSG_MORE|0|g' \ -e 's|EBADR|EFAULT|g' \ -e 's|ENONET|EHOSTDOWN|g' \ -e 's|_IOC_READ|IOC_OUT|g' \ -e 's|_IOC_WRITE|IOC_IN|g' \ -e 's|_IOC_NONE|IOC_VOID|g' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e '/^.*\.*/d' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e 's|||g' \ -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|g' \ -e 's|__user||g' \ ${LINUXDVB}/frontend.h pre-install: @${REINPLACE_CMD} -e '/^CPPFLAGS=/ s#$$# -I${LOCALBASE}/include#' \ ${WRKSRC}/libs/libmythbase/mythconfig.mak post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/mythtv/database ${INSTALL_DATA} ${WRKSRC}/database/mc.sql ${STAGEDIR}${PREFIX}/share/mythtv/database @${FIND} ${STAGEDIR}${PREFIX}/bin -type f -exec ${SH} -c "${FILE} -i '{}' | \ ${GREP} -q 'x-executable; charset=binary'" \; -print | ${XARGS} ${STRIP_CMD} @${FIND} ${STAGEDIR}${PREFIX}/lib -type f -name lib\*.so.\* | ${XARGS} ${STRIP_CMD} # Apply additional substitutions to pkg-plist generated by the 'makeplist' target create-plist: stage @(cd ${.CURDIR} && ${MAKE} makeplist > pkg-plist && \ ${REINPLACE_CMD} -E \ -e '1d' -e '/etc\/rc.d\/mythbackend/d' -e '/[.]packlist$$/d' \ -e '/[.]bak$$/d' \ -e '/[.]gitignore$$/d' \ -e 's#^bin/mythpython#%%BINDINGS%%bin/mythpython#' \ -e 's#^bin/mythwikiscripts#%%BINDINGS%%bin/mythwikiscripts#' \ -e 's#^%%PYTHON_SITELIBDIR%%#%%BINDINGS%%%%PYTHON_SITELIBDIR%%#' \ -e 's#^%%DATADIR%%hardwareprofile#%%BINDINGS%%hardwareprofile#' \ -e 's#^%%DATADIR%%internetcontent#%%BINDINGS%%internetcontent#' \ -e 's#^%%SITE_PERL%%#%%BINDINGS%%%%SITE_PERL%%#' \ pkg-plist) .include diff --git a/multimedia/obs-studio/Makefile b/multimedia/obs-studio/Makefile index 62a7cea8b80d..db1cb592639e 100644 --- a/multimedia/obs-studio/Makefile +++ b/multimedia/obs-studio/Makefile @@ -1,128 +1,129 @@ PORTNAME= obs-studio DISTVERSION= 30.2.3 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Open source streaming/recording software WWW= https://obsproject.com/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_i386= link fails: relocation R_386_PC32 cannot be used against symbol 'strlist_split'; recompile with -fPIC, see https://github.com/obsproject/obs-studio/issues/10481 BUILD_DEPENDS= asio>0:net/asio \ ${LOCALBASE}/include/nlohmann/json.hpp:devel/nlohmann-json \ v4l_compat>=0:multimedia/v4l_compat \ swig:devel/swig \ uthash>0:devel/uthash \ websocketpp>0:devel/websocketpp LIB_DEPENDS= libasound.so:audio/alsa-lib \ libavcodec.so:multimedia/ffmpeg \ libcurl.so:ftp/curl \ libdatachannel.so:www/libdatachannel \ libdbus-1.so:devel/dbus \ libdrm.so:graphics/libdrm \ 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 \ libqrcodegencpp.so:graphics/qr-code-generator \ 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:libdshowcapture:ef8c1d2e19c93e664100dd41e1a0df4f8ad45430:obsproject_libdshowcapture/plugins/win-dshow/libdshowcapture \ obsproject:obs-browser:e4e523df775bd6fa216d40a7488b76f3b21c1733:obsproject_obs_browser/plugins/obs-browser \ Mixer:ftl-sdk:d0c8469f66806b5ea738d607f7d2b000af8b1129:Mixer_ftl_sdk/plugins/obs-outputs/ftl-sdk \ obsproject:obs-websocket:a73c92788d70f08f91b8c0477b74f99c999beb09:obsproject_obs_websocket/plugins/obs-websocket \ elgatosf:capture-device-support:81c94fb13dfddb412fcb17f1ba031917ec24be64:elgatosf_capture_device_support/deps/libdshowcapture/src/external/capture-device-support 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 xpost-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/phonon/Makefile b/multimedia/phonon/Makefile index c56ed98a45b6..e7d63b9e0ecd 100644 --- a/multimedia/phonon/Makefile +++ b/multimedia/phonon/Makefile @@ -1,49 +1,49 @@ PORTNAME= phonon DISTVERSION= 4.12.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= multimedia kde MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION} DIST_SUBDIR= KDE/phonon PKGNAMESUFFIX= -${FLAVOR} MAINTAINER= kde@FreeBSD.org COMMENT= KDE multimedia framework WWW= https://userbase.kde.org/Phonon LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LIB FLAVORS= qt5 qt6 FLAVOR?= qt5 USES= cmake compiler:c++11-lang kde:${FLAVOR:S/qt//} pathfix \ qt:${FLAVOR:S/qt//} tar:xz CMAKE_ON= ${_CMAKE_ON_${FLAVOR}} PHONON_NO_PLATFORMPLUGIN CMAKE_OFF= ${_CMAKE_OFF_${FLAVOR}} PHONON_BUILD_DESIGNER_PLUGIN USE_LDCONFIG= yes USE_KDE= ecm:build USE_QT= ${_USE_QT_${FLAVOR}} _USE_QT_qt5= core gui linguisttools widgets buildtools:build qmake:build _USE_QT_qt6= 5compat base tools _CMAKE_ON_qt5= PHONON_BUILD_QT5 _CMAKE_ON_qt6= PHONON_BUILD_QT6 _CMAKE_OFF_qt5= PHONON_BUILD_QT6 _CMAKE_OFF_qt6= PHONON_BUILD_QT5 PHONON_BUILD_SETTINGS _QT5_ONLY_qt5= # _QT5_ONLY_qt6= "@comment " PLIST= ${.CURDIR}/pkg-plist.${FLAVOR} PLIST_SUB= QT5_ONLY=${_QT5_ONLY_${FLAVOR}} \ QT_VER=${FLAVOR:S/qt//} \ SHLIB_VER=${DISTVERSION} OPTIONS_DEFINE= PULSEAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_USES= gnome PULSEAUDIO_USE= GNOME=glib20 PULSEAUDIO_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_PulseAudio .include diff --git a/multimedia/pipewire/Makefile b/multimedia/pipewire/Makefile index b19e37516e37..53c4f91a4926 100644 --- a/multimedia/pipewire/Makefile +++ b/multimedia/pipewire/Makefile @@ -1,108 +1,108 @@ PORTNAME= pipewire DISTVERSION= 1.2.6 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia MAINTAINER= arrowd@FreeBSD.org COMMENT= Server and user space API to deal with multimedia pipelines WWW= https://pipewire.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat LIB_DEPENDS= libdbus-1.so:devel/dbus \ libinotify.so:devel/libinotify \ libepoll-shim.so:devel/libepoll-shim \ libopus.so:audio/opus \ libsndfile.so:audio/libsndfile \ libudev.so:devel/libudev-devd \ libwebrtc-audio-processing-1.so:audio/webrtc-audio-processing USES= compiler:c11 gettext-tools gnome localbase:ldflags meson \ ncurses pkgconfig python:build readline shebangfix ssl USE_GNOME= glib20 USE_LDCONFIG= yes USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org SHEBANG_FILES= doc/*.py PORTDOCS= * OPTIONS_DEFINE= ALSA AVAHI DOCS DOXYGEN GSTREAMER JACK LV2 PULSEAUDIO \ VULKAN X11_BELL OPTIONS_DEFAULT= GSTREAMER JACK OPTIONS_SUB= yes ALSA_MESON_ENABLED= alsa pipewire-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib AVAHI_DESC= Automatic service discovery for the Pulseaudio module via Avahi AVAHI_IMPLIES= PULSEAUDIO AVAHI_MESON_ENABLED= avahi AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_MESON_ENABLED= docs DOXYGEN_IMPLIES= DOCS GSTREAMER_USES= gstreamer GSTREAMER_MESON_ENABLED=gstreamer gstreamer-device-provider JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_MESON_ENABLED= jack pipewire-jack LV2_DESC= Support lv2-based audio plugins via lilv LV2_LIB_DEPENDS= liblilv-0.so:audio/lilv LV2_MESON_ENABLED= lv2 PULSEAUDIO_DESC= Enable PulseAudio emulation PULSEAUDIO_MESON_ENABLED= libpulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio VULKAN_DESC= Enable Vulkan integration VULKAN_MESON_ENABLED= vulkan VULKAN_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \ libdrm.so:graphics/libdrm X11_BELL_DESC= Support for X11 bell via libcanberra X11_BELL_LIB_DEPENDS= libcanberra.so:audio/libcanberra X11_BELL_USE= xorg=x11,xfixes X11_BELL_MESON_ENABLED= libcanberra x11 x11-xfixes MESON_ARGS= -D pw-cat=enabled \ -D v4l2=enabled \ -D raop=enabled \ -D session-managers='[]' \ -D compress-offload=disabled \ -D avb=disabled \ -D bluez5=disabled \ -D man=disabled \ -D libcamera=disabled \ -D roc=disabled \ -D sdl2=disabled \ -D selinux=disabled \ -D systemd=disabled \ -D logind=disabled \ -D pipewire-v4l2=disabled \ -D libmysofa=disabled \ -D libffado=disabled \ -D snap=disabled \ -D gsettings-pulse-schema=disabled \ -D udevrulesdir="${LOCALBASE}/lib/udev/rules.d" PORTDOCS= * # Fake pkg-config support before https://cgit.freebsd.org/src/commit/?id=396851c20aeb # but only if devel/ncurses isn't installed .if !exists(/usr/libdata/pkgconfig/ncursesw.pc) CONFIGURE_ENV+= ${ncurses_ARGS:Mbase:C/.+/PKG_CONFIG_PATH="${FILESDIR}"/} .endif post-patch: ${REINPLACE_CMD} -e "s|find_installation('python3'|find_installation('python${PYTHON_VER}'|" \ ${WRKSRC}/meson.build .include diff --git a/multimedia/qmmp-qt5/Makefile b/multimedia/qmmp-qt5/Makefile index 51574045b4f4..83559da5a4e8 100644 --- a/multimedia/qmmp-qt5/Makefile +++ b/multimedia/qmmp-qt5/Makefile @@ -1,261 +1,262 @@ PORTNAME= qmmp PORTVERSION= 1.7.2 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://qmmp.ylsoftware.com/files/${PORTNAME}/${DISTVERSION:R}/ \ SF/qmmp-dev/${PORTNAME}/${DISTVERSION:R}/ PKGNAMESUFFIX= -qt5 MAINTAINER= fluffy@FreeBSD.org COMMENT= Qt5-based multimedia player WWW= https://qmmp.ylsoftware.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake desktop-file-utils gl gnome iconv:wchar_t pathfix \ pkgconfig qt:5 tar:bzip2 xorg USE_GL= opengl PATHFIX_CMAKELISTSTXT= src/qmmpui/CMakeLists.txt src/qmmp/CMakeLists.txt USE_QT= core dbus gui network sql widgets x11extras xml \ buildtools:build linguisttools:build qmake:build USE_XORG= x11 xcb USE_LDCONFIG= yes CONFLICTS= ${PORTNAME}-qt6 PORTSCOUT= limit:^1\..* PLIST_SUB= SHLIB_VER=${DISTVERSION:C/-.*//} \ LIB_SUFFX=-${DISTVERSION:R} \ BIN_SUFFX=-${DISTVERSION:R:R} PORTDOCS= README README.RUS AUTHORS CMAKE_OFF= USE_CDA \ USE_MAD \ USE_MMS \ USE_MPC \ USE_MPLAYER CMAKE_ON= USE_ANALYZER \ USE_COPYPASTE \ USE_COVER \ USE_CROSSFADE \ USE_CUE \ USE_DIR_ASSOC \ USE_FILEOPS \ USE_GNOMEHOTKEY \ USE_HISTORY \ USE_KDENOTIFY \ USE_HOTKEY \ USE_MPRIS \ USE_NOTIFIER \ USE_NULL \ USE_SKINNED \ USE_STATICON \ USE_STEREO \ USE_TRACKCHANGE OPTIONS_SUB= yes OPTIONS_GROUP= DOCUMENTS PLUGIN_APPLICATION PLUGIN_FORMATS \ PLUGIN_DSP_EFFECTS PLUGIN_VISUAL_EFFECTS PLUGIN_OUTPUT \ PLUGIN_PLAYLIST PLUGIN_NETWORKING MISC OPTIONS_GROUP_DOCUMENTS= DOCS DOXYGEN OPTIONS_GROUP_MISC= CONVERTER ENCA FILEWRITER \ RGSCAN SID OPTIONS_GROUP_PLUGIN_APPLICATION= QMMP_DIALOG QSUI TWOPANELDIALOG OPTIONS_GROUP_PLUGIN_DSP_EFFECTS= BS2B LADSPA SOXR OPTIONS_GROUP_PLUGIN_FORMATS= ARCHIVE FAAD FFMPEG FLAC GME \ MPG123 OPUS SNDFILE \ VORBIS WAVPACK WILDMIDI XMP OPTIONS_GROUP_PLUGIN_NETWORKING= CURL LYRICS SB SCROBBLER OPTIONS_GROUP_PLUGIN_OUTPUT= ALSA JACK OSS OSS4 \ PIPEWIRE PULSEAUDIO QTMULTIMEDIA SHOUTCAST OPTIONS_GROUP_PLUGIN_PLAYLIST= UDISKS OPTIONS_GROUP_PLUGIN_VISUAL_EFFECTS= PROJECTM OPTIONS_DEFAULT= ALSA ARCHIVE BS2B CONVERTER CURL ENCA \ FFMPEG FILEWRITER FLAC GME JACK LADSPA \ LYRICS OPUS OSS4 PROJECTM PIPEWIRE \ PULSEAUDIO QMMP_DIALOG QSUI RGSCAN SHOUTCAST SB \ SCROBBLER SID SNDFILE SOXR TWOPANELDIALOG \ UDISKS VORBIS WAVPACK WILDMIDI XMP OPTIONS_EXCLUDE_i386= ARCHIVE ARCHIVE_DESC= Read archived media file BS2B_DESC= Support the Bauer stereophonic2binaural effect CONVERTER_DESC= Support file type converter DOCUMENTS_DESC= Documentation and API Reference ENCA_DESC= Support automatic character set detection FILEWRITER_DESC= Dump output sound into ogg audio file GME_DESC= Support video game music files LYRICS_DESC= Support to show lyrics using lyrics.wikia.com MISC_DESC= Other features OPUS_DESC= Enable reading opusfile tags OSS4_DESC= Open Sound System (ver4) support PLUGIN_APPLICATION_DESC= Main program view PLUGIN_DSP_EFFECTS_DESC= DSP effects PLUGIN_FORMATS_DESC= Support various media formats PLUGIN_NETWORKING_DESC= Features via the Net PLUGIN_OUTPUT_DESC= Output sound systems PLUGIN_PLAYLIST_DESC= Playlist operation PLUGIN_VISUAL_EFFECTS_DESC= Visual effects PROJECTM_DESC= Support the projectM music visualiser QMMP_DIALOG_DESC= An original dialog QSUI_DESC= Simple UI based on standard widgets set QTMULTIMEDIA_DESC= Support to use Qt low-level multimedia API RGSCAN_DESC= ReplayGain scanner SB_DESC= Browser for IceCast stream directory SCROBBLER_DESC= Support Libre.fm/Last.fm scrobbler feature SID_DESC= Support sid TWOPANELDIALOG_DESC= File dialog by two-panel selector UDISKS_DESC= Support removable disc detection using UDisks WILDMIDI_DESC= Support to playback MIDI files XMP_DESC= Support various module formats using libxmp ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= USE_ALSA ARCHIVE_USES= libarchive ARCHIVE_CMAKE_BOOL= USE_ARCHIVE BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_CMAKE_BOOL= USE_BS2B CONVERTER_LIB_DEPENDS= libtag.so:audio/taglib CONVERTER_CMAKE_BOOL= USE_CONVERTER CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CMAKE_BOOL= USE_CURL DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen ENCA_LIB_DEPENDS= libenca.so:converters/enca ENCA_CMAKE_BOOL= USE_ENCA FAAD_LIB_DEPENDS= libfaad.so:audio/faad \ libtag.so:audio/taglib FAAD_CMAKE_BOOL= USE_AAC FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= USE_FFMPEG FILEWRITER_LIB_DEPENDS= libvorbisenc.so:audio/libvorbis FILEWRITER_CMAKE_BOOL= USE_FILEWRITER FLAC_LIB_DEPENDS= libFLAC.so:audio/flac \ libtag.so:audio/taglib FLAC_CMAKE_BOOL= USE_FLAC GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CMAKE_BOOL= USE_GME JACK_BUILD_DEPENDS= jackit>=0.121.2:audio/jack JACK_LIB_DEPENDS= libjack.so:audio/jack \ libsoxr.so:audio/libsoxr JACK_CMAKE_BOOL= USE_JACK LADSPA_RUN_DEPENDS= analyseplugin:audio/ladspa LADSPA_CMAKE_BOOL= USE_LADSPA LYRICS_CMAKE_BOOL= USE_LYRICS MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 \ libtag.so:audio/taglib MPG123_CMAKE_BOOL= USE_MPG123 OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile \ libopus.so:audio/opus \ libtag.so:audio/taglib OPUS_CMAKE_BOOL= USE_OPUS OSS_CMAKE_BOOL= USE_OSS OSS4_BUILD_DEPENDS= ${LOCALBASE}/lib/oss/include/sys/soundcard.h:audio/oss OSS4_CMAKE_BOOL= USE_OSS4 PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= USE_PIPEWIRE PROJECTM_LIB_DEPENDS= libprojectM.so:graphics/libprojectm PROJECTM_CMAKE_BOOL= USE_PROJECTM PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSE QMMP_DIALOG_CMAKE_BOOL= USE_QMMP_DIALOG QSUI_CMAKE_BOOL= USE_QSUI QTMULTIMEDIA_USE= QT=multimedia QTMULTIMEDIA_CMAKE_BOOL=USE_QTMULTIMEDIA RGSCAN_LIB_DEPENDS= libtag.so:audio/taglib RGSCAN_CMAKE_BOOL= USE_RGSCAN SB_CMAKE_BOOL= USE_SB SCROBBLER_CMAKE_BOOL= USE_SCROBBLER SHOUTCAST_LIB_DEPENDS= libogg.so:audio/libogg \ libshout.so:audio/libshout \ libsoxr.so:audio/libsoxr \ libvorbis.so:audio/libvorbis SHOUTCAST_CMAKE_BOOL= USE_SHOUT SID_LIB_DEPENDS= libsidplayfp.so:audio/libsidplayfp SID_CMAKE_BOOL= USE_SID SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CMAKE_BOOL= USE_SNDFILE SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CMAKE_BOOL= USE_SOXR TWOPANELDIALOG_CMAKE_BOOL= USE_TWO_PANEL_DIALOG UDISKS_RUN_DEPENDS= bsdisks:sysutils/bsdisks UDISKS_CMAKE_BOOL= USE_UDISKS VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg \ libtag.so:audio/taglib VORBIS_CMAKE_BOOL= USE_VORBIS WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CMAKE_BOOL= USE_WAVPACK WILDMIDI_LIB_DEPENDS= libWildMidi.so:audio/wildmidi WILDMIDI_CMAKE_BOOL= USE_MIDI XMP_LIB_DEPENDS= libxmp.so:audio/libxmp XMP_CMAKE_BOOL= USE_XMP post-patch: @${GREP} -L '${LOCALBASE}/lib/oss' \ ${WRKSRC}/src/plugins/Output/oss4/CMakeLists.txt | ${XARGS} \ ${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|' @${REINPLACE_CMD} -e 's|Qt6Multimedia|Qt5Multimedia|g' ${WRKSRC}/src/plugins/Output/CMakeLists.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/multimedia/qmmp-qt6/Makefile b/multimedia/qmmp-qt6/Makefile index 7c2319fa7d08..6c92daa6014a 100644 --- a/multimedia/qmmp-qt6/Makefile +++ b/multimedia/qmmp-qt6/Makefile @@ -1,260 +1,261 @@ PORTNAME= qmmp PORTVERSION= 2.2.2 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://qmmp.ylsoftware.com/files/${PORTNAME}/${DISTVERSION:R}/ \ SF/qmmp-dev/${PORTNAME}/${DISTVERSION:R}/ PKGNAMESUFFIX= -qt6 MAINTAINER= fluffy@FreeBSD.org COMMENT= Qt6-based multimedia player WWW= https://qmmp.ylsoftware.com/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= cmake desktop-file-utils gl gnome iconv:wchar_t pathfix \ pkgconfig qt:6 tar:bzip2 xorg USE_GL= opengl PATHFIX_CMAKELISTSTXT= src/qmmpui/CMakeLists.txt src/qmmp/CMakeLists.txt USE_QT= base declarative:build tools:build USE_XORG= x11 xcb USE_LDCONFIG= yes CONFLICTS= ${PORTNAME}-qt5 PORTSCOUT= limit:^1\..* PLIST_SUB= SHLIB_VER=${DISTVERSION:C/-.*//} \ LIB_SUFFX=-${DISTVERSION:R} \ BIN_SUFFX=-${DISTVERSION:R:R} PORTDOCS= README README.RUS AUTHORS CMAKE_OFF= USE_CDA \ USE_MAD \ USE_MMS \ USE_MPC \ USE_MPLAYER CMAKE_ON= USE_ANALYZER \ USE_COPYPASTE \ USE_COVER \ USE_CROSSFADE \ USE_CUE \ USE_DIR_ASSOC \ USE_FILEOPS \ USE_GNOMEHOTKEY \ USE_HISTORY \ USE_KDENOTIFY \ USE_HOTKEY \ USE_MPRIS \ USE_NOTIFIER \ USE_NULL \ USE_SKINNED \ USE_STATICON \ USE_STEREO \ USE_TRACKCHANGE OPTIONS_SUB= yes OPTIONS_GROUP= DOCUMENTS PLUGIN_APPLICATION PLUGIN_FORMATS \ PLUGIN_DSP_EFFECTS PLUGIN_VISUAL_EFFECTS PLUGIN_OUTPUT \ PLUGIN_PLAYLIST PLUGIN_NETWORKING MISC OPTIONS_GROUP_DOCUMENTS= DOCS DOXYGEN OPTIONS_GROUP_MISC= CONVERTER ENCA FILEWRITER \ RGSCAN SID OPTIONS_GROUP_PLUGIN_APPLICATION= QMMP_DIALOG QSUI TWOPANELDIALOG OPTIONS_GROUP_PLUGIN_DSP_EFFECTS= BS2B LADSPA SOXR OPTIONS_GROUP_PLUGIN_FORMATS= ARCHIVE FAAD FFMPEG FLAC GME \ MPG123 OPUS SNDFILE \ VORBIS WAVPACK WILDMIDI XMP OPTIONS_GROUP_PLUGIN_NETWORKING= CURL LYRICS SB SCROBBLER OPTIONS_GROUP_PLUGIN_OUTPUT= ALSA JACK OSS OSS4 \ PIPEWIRE PULSEAUDIO QTMULTIMEDIA SHOUTCAST OPTIONS_GROUP_PLUGIN_PLAYLIST= UDISKS OPTIONS_GROUP_PLUGIN_VISUAL_EFFECTS= PROJECTM OPTIONS_DEFAULT= ALSA ARCHIVE BS2B CONVERTER CURL ENCA \ FFMPEG FILEWRITER FLAC GME JACK LADSPA \ LYRICS OPUS OSS4 PROJECTM PIPEWIRE \ PULSEAUDIO QMMP_DIALOG QSUI RGSCAN SHOUTCAST SB \ SCROBBLER SID SNDFILE SOXR TWOPANELDIALOG \ UDISKS VORBIS WAVPACK WILDMIDI XMP OPTIONS_EXCLUDE_i386= ARCHIVE ARCHIVE_DESC= Read archived media file BS2B_DESC= Support the Bauer stereophonic2binaural effect CONVERTER_DESC= Support file type converter DOCUMENTS_DESC= Documentation and API Reference ENCA_DESC= Support automatic character set detection FILEWRITER_DESC= Dump output sound into ogg audio file GME_DESC= Support video game music files LYRICS_DESC= Support to show lyrics using lyrics.wikia.com MISC_DESC= Other features OPUS_DESC= Enable reading opusfile tags OSS4_DESC= Open Sound System (ver4) support PLUGIN_APPLICATION_DESC= Main program view PLUGIN_DSP_EFFECTS_DESC= DSP effects PLUGIN_FORMATS_DESC= Support various media formats PLUGIN_NETWORKING_DESC= Features via the Net PLUGIN_OUTPUT_DESC= Output sound systems PLUGIN_PLAYLIST_DESC= Playlist operation PLUGIN_VISUAL_EFFECTS_DESC= Visual effects PROJECTM_DESC= Support the projectM music visualiser QMMP_DIALOG_DESC= An original dialog QSUI_DESC= Simple UI based on standard widgets set QTMULTIMEDIA_DESC= Support to use Qt low-level multimedia API RGSCAN_DESC= ReplayGain scanner SB_DESC= Browser for IceCast stream directory SCROBBLER_DESC= Support Libre.fm/Last.fm scrobbler feature SID_DESC= Support sid TWOPANELDIALOG_DESC= File dialog by two-panel selector UDISKS_DESC= Support removable disc detection using UDisks WILDMIDI_DESC= Support to playback MIDI files XMP_DESC= Support various module formats using libxmp ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= USE_ALSA ARCHIVE_USES= libarchive ARCHIVE_CMAKE_BOOL= USE_ARCHIVE BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b BS2B_CMAKE_BOOL= USE_BS2B CONVERTER_LIB_DEPENDS= libtag.so:audio/taglib CONVERTER_CMAKE_BOOL= USE_CONVERTER CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CMAKE_BOOL= USE_CURL DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen ENCA_LIB_DEPENDS= libenca.so:converters/enca ENCA_CMAKE_BOOL= USE_ENCA FAAD_LIB_DEPENDS= libfaad.so:audio/faad \ libtag.so:audio/taglib FAAD_USES= iconv FAAD_CMAKE_BOOL= USE_AAC FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= USE_FFMPEG FILEWRITER_LIB_DEPENDS= libvorbisenc.so:audio/libvorbis FILEWRITER_CMAKE_BOOL= USE_FILEWRITER FLAC_LIB_DEPENDS= libFLAC.so:audio/flac \ libtag.so:audio/taglib FLAC_CMAKE_BOOL= USE_FLAC GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CMAKE_BOOL= USE_GME JACK_BUILD_DEPENDS= jackit>=0.121.2:audio/jack JACK_LIB_DEPENDS= libjack.so:audio/jack \ libsoxr.so:audio/libsoxr JACK_CMAKE_BOOL= USE_JACK LADSPA_RUN_DEPENDS= analyseplugin:audio/ladspa LADSPA_CMAKE_BOOL= USE_LADSPA LYRICS_CMAKE_BOOL= USE_LYRICS MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123 \ libtag.so:audio/taglib MPG123_CMAKE_BOOL= USE_MPG123 OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile \ libopus.so:audio/opus \ libtag.so:audio/taglib OPUS_CMAKE_BOOL= USE_OPUS OSS_CMAKE_BOOL= USE_OSS OSS4_BUILD_DEPENDS= ${LOCALBASE}/lib/oss/include/sys/soundcard.h:audio/oss OSS4_CMAKE_BOOL= USE_OSS4 PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_CMAKE_BOOL= USE_PIPEWIRE PROJECTM_LIB_DEPENDS= libprojectM.so:graphics/libprojectm PROJECTM_CMAKE_BOOL= USE_PROJECTM PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= USE_PULSE QMMP_DIALOG_CMAKE_BOOL= USE_QMMP_DIALOG QSUI_CMAKE_BOOL= USE_QSUI QTMULTIMEDIA_USE= QT=multimedia QTMULTIMEDIA_CMAKE_BOOL=USE_QTMULTIMEDIA RGSCAN_LIB_DEPENDS= libtag.so:audio/taglib RGSCAN_CMAKE_BOOL= USE_RGSCAN SB_CMAKE_BOOL= USE_SB SCROBBLER_CMAKE_BOOL= USE_SCROBBLER SHOUTCAST_LIB_DEPENDS= libogg.so:audio/libogg \ libshout.so:audio/libshout \ libsoxr.so:audio/libsoxr \ libvorbis.so:audio/libvorbis SHOUTCAST_CMAKE_BOOL= USE_SHOUT SID_LIB_DEPENDS= libsidplayfp.so:audio/libsidplayfp SID_CMAKE_BOOL= USE_SID SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CMAKE_BOOL= USE_SNDFILE SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CMAKE_BOOL= USE_SOXR TWOPANELDIALOG_CMAKE_BOOL= USE_TWO_PANEL_DIALOG UDISKS_RUN_DEPENDS= bsdisks:sysutils/bsdisks UDISKS_CMAKE_BOOL= USE_UDISKS VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg \ libtag.so:audio/taglib VORBIS_CMAKE_BOOL= USE_VORBIS WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack WAVPACK_CMAKE_BOOL= USE_WAVPACK WILDMIDI_LIB_DEPENDS= libWildMidi.so:audio/wildmidi WILDMIDI_CMAKE_BOOL= USE_MIDI XMP_LIB_DEPENDS= libxmp.so:audio/libxmp XMP_CMAKE_BOOL= USE_XMP post-patch: @${GREP} -L '${LOCALBASE}/lib/oss' \ ${WRKSRC}/src/plugins/Output/oss4/CMakeLists.txt | ${XARGS} \ ${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|' 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/multimedia/qt5-multimedia/Makefile b/multimedia/qt5-multimedia/Makefile index d6139ab10a18..9438dcc80ff4 100644 --- a/multimedia/qt5-multimedia/Makefile +++ b/multimedia/qt5-multimedia/Makefile @@ -1,62 +1,63 @@ PORTNAME= multimedia PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= multimedia PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt audio, video, radio and camera support module # LICENSE set via USES_QT5 (bsd.qt.mk) USES= compiler:c++11-lang gl gnome perl5 pkgconfig qmake:norecursive \ qt-dist:5,multimedia xorg USE_GL= gl USE_GNOME= glib20 USE_PERL5= build USE_QT= core declarative gui network opengl widgets \ buildtools:build USE_XORG= x11 xext xv QT_CONFIG= xlib # TODO: Bug 225100: the machinery in bsd.qt.mk's qt-post-install target does # not seem to account for the case of a module no longer defining QT_DEFINES: # the lines in qconfig-modules.h including said module's qconfig-.h # will remain. We're setting it below to avoid build errors, but this needs to # be fixed properly later. QT_DEFINES= _QTMULTIMEDIA_DUMMY OPTIONS_DEFINE= GSTREAMER OPENAL OPTIONS_DEFAULT= ALSA GSTREAMER OPENAL OPTIONS_GROUP= AUDIOPLUGIN OPTIONS_GROUP_AUDIOPLUGIN= ALSA PULSEAUDIO OPTIONS_SUB= yes AUDIOPLUGIN_DESC= Audio plugins to build OPENAL_DESC= 3D positional spatialized sound support OPENAL_USES= openal OPENAL_VARS= QT_CONFIG+=openal OPENAL_VARS_OFF= QT_CONFIG+=-openal \ QMAKE_CONFIGURE_ARGS+=-no-openal ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins ALSA_VARS= QT_CONFIG+=alsa ALSA_VARS_OFF= QT_CONFIG+=-alsa \ QMAKE_CONFIGURE_ARGS+=-no-alsa GSTREAMER_BUILD_DEPENDS=${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat GSTREAMER_USES= gstreamer GSTREAMER_USE= GSTREAMER=bad GSTREAMER_VARS= QT_CONFIG+=gstreamer-1.0 \ QMAKE_CONFIGURE_ARGS+=-gstreamer 1.0 GSTREAMER_VARS_OFF= QT_CONFIG+=-gstreamer-1.0 \ QMAKE_CONFIGURE_ARGS+=-no-gstreamer PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= QT_CONFIG+=pulseaudio PULSEAUDIO_VARS_OFF= QT_CONFIG+=-pulseaudio \ QMAKE_CONFIGURE_ARGS+=-no-pulseaudio .include diff --git a/multimedia/qt6-multimedia/Makefile b/multimedia/qt6-multimedia/Makefile index 3c766c04aa2d..f6c81900033f 100644 --- a/multimedia/qt6-multimedia/Makefile +++ b/multimedia/qt6-multimedia/Makefile @@ -1,69 +1,70 @@ PORTNAME= multimedia DISTVERSION= ${QT6_VERSION} +PORTREVISION= 1 CATEGORIES= multimedia PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT= Qt audio, video, radio and camera support module BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon USES= cmake compiler:c++17-lang gl localbase:ldflags pkgconfig qt-dist:6 USE_GL= opengl USE_QT= base declarative shadertools:build CFLAGS_powerpc= -DPFFFT_SIMD_DISABLE CXXFLAGS_powerpc64= -mvsx OPTIONS_DEFINE= FFMPEG GSTREAMER Q3D V4L VAAPI X11 OPTIONS_DEFAULT= FFMPEG GSTREAMER PULSEAUDIO Q3D V4L VAAPI X11 AUDIO_DESC= Low-level audio backend OPTIONS_SINGLE= AUDIO OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins ALSA_CMAKE_BOOL= FEATURE_alsa FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= FEATURE_ffmpeg GSTREAMER_LIB_DEPENDS= libwayland-client.so:graphics/wayland # As of 2024-09-29, Mk/Uses/xorg.mk freaks out if no modules are defined # via USE_XORG, so FTTB, we must duplicate USES=xorg in the GSTREAMER # and X11 options and cannot hoist it to the main USES declaration as a # noop. GSTREAMER_USES= gnome gstreamer:1 xorg GSTREAMER_USE= GL=egl GNOME=glib20 GSTREAMER=bad,gl,good,ugly XORG=xcb GSTREAMER_CMAKE_BOOL= FEATURE_gstreamer \ FEATURE_gstreamer_1_0 \ FEATURE_gstreamer_app \ FEATURE_gstreamer_gl \ FEATURE_gstreamer_photography PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= FEATURE_pulseaudio Q3D_DESC= Spatial audio support via QtQuick3D Q3D_USE= QT=quick3d,shadertools Q3D_CMAKE_BOOL= FEATURE_spatialaudio_quick3d V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat V4L_CMAKE_BOOL= FEATURE_linux_v4l V4L_IMPLIES= ${"${PORT_OPTIONS:MFFMPEG}":?FFMPEG:GSTREAMER} VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_USE= GL=egl VAAPI_CMAKE_BOOL= FEATURE_vaapi VAAPI_IMPLIES= FFMPEG # We assume that the Qt stack has been built with consistent X11 options. # QT_FEATURE_xlib is defined globally by devel/qt6-base based upon whether # the X11 option was enabled in that port. X11_USES= xorg X11_USE= XORG=x11,xext,xrandr X11_IMPLIES= FFMPEG .include diff --git a/multimedia/ringrtc/Makefile b/multimedia/ringrtc/Makefile index c1bb7b3c4e55..2ed8c18ae5b9 100644 --- a/multimedia/ringrtc/Makefile +++ b/multimedia/ringrtc/Makefile @@ -1,182 +1,183 @@ PORTNAME= ringrtc DISTVERSIONPREFIX= v DISTVERSION= 2.48.7 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= LOCAL/mikael/ringrtc/:base \ LOCAL/mikael/ringrtc/:boringssl \ LOCAL/mikael/ringrtc/:build \ LOCAL/mikael/ringrtc/:buildtools \ LOCAL/mikael/ringrtc/:catapult \ LOCAL/mikael/ringrtc/:icu \ LOCAL/mikael/ringrtc/:nasm \ LOCAL/mikael/ringrtc/:libcubeb \ LOCAL/mikael/ringrtc/:libjpeg_turbo \ LOCAL/mikael/ringrtc/:libsrtp \ LOCAL/mikael/ringrtc/:libvpx \ LOCAL/mikael/ringrtc/:libyuv \ LOCAL/mikael/ringrtc/:opus \ LOCAL/mikael/ringrtc/:perfetto \ LOCAL/mikael/ringrtc/:protobufjs \ LOCAL/mikael/ringrtc/:testing \ LOCAL/mikael/ringrtc/:third_party \ LOCAL/mikael/ringrtc/:tools DISTFILES= base-${BASE_REV}.tar.gz:base \ boringssl-${BORINGSSL_REV}.tar.gz:boringssl \ build-${BUILD_REV}.tar.gz:build \ buildtools-${BUILDTOOLS_REV}.tar.gz:buildtools \ catapult-${CATAPULT_REV}.tar.gz:catapult \ icu-${ICU_REV}.tar.gz:icu \ nasm-${NASM_REV}.tar.gz:nasm \ libcubeb-${LIBCUBEB_VER}.tar.gz:libcubeb \ libjpeg_turbo-${LIBJPEG_TURBO_REV}.tar.gz:libjpeg_turbo \ libsrtp-${LIBSRTP_REV}.tar.gz:libsrtp \ libvpx-${LIBVPX_REV}.tar.gz:libvpx \ libyuv-${LIBYUV_REV}.tar.gz:libyuv \ opus-${OPUS_REV}.tar.gz:opus \ perfetto-${PERFETTO_REV}.tar.gz:perfetto \ protobuf_javascript-${PROTOBUFJS_REV}.tar.gz:protobufjs \ testing-${TESTING_REV}.tar.gz:testing \ third_party-${THIRD_PARTY_REV}.tar.gz:third_party \ tools-${TOOLS_REV}.tar.gz:tools MAINTAINER= mikael@FreeBSD.org COMMENT= Middleware library for Signal-Desktop WWW= https://github.com/signalapp/ringrtc LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= aarch64 amd64 BUILD_DEPENDS= gn:devel/gn \ protoc:devel/protobuf LIB_DEPENDS= libasound.so:audio/alsa-lib \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libpulse.so:audio/pulseaudio USES= cargo gnome jpeg localbase:ldflags ninja pkgconfig python:build \ tar:xz USE_GNOME= glib20 USE_GITHUB= yes GH_ACCOUNT= signalapp GH_TUPLE= signalapp:ringrtc:${DISTVERSIONPREFIX}${DISTVERSION} \ signalapp:webrtc:${WEBRTC_REV}:webrtc # sh net-im/signal-desktop/get_deps.sh WEBRTC_REV= 6723a # modify webrtc_fetch.sh, then sh webrtc_fetch.sh BASE_REV= 7f2a56694b330c2cb2954eee78469ffc69952448 BORINGSSL_REV= e724ef02089bf2bb494203231fc5cb62acc2fad6 BUILD_REV= 8e0612cd2c4e4d7c15a456384760815bdbd64ef1 BUILDTOOLS_REV= e4f992c0660e6cee637c7b97aabf04d0a58d5555 CATAPULT_REV= 296226a4a0067c8cffeb8831fb87526a8035f3cc ICU_REV= 9408c6fd4a39e6fef0e1c4077602e1c83b15f3fb LIBCUBEB_VER= 0.17.1 LIBJPEG_TURBO_REV= 927aabfcd26897abb9776ecf2a6c38ea5bb52ab6 LIBSRTP_REV= 000edd791434c8738455f10e0dd6b268a4852c0b LIBVPX_REV= fbf63dff1f528d44f24bd662abb89fd01a4a1c25 LIBYUV_REV= 874f391dbf13dcc84e13a494daed57539ffe2935 NASM_REV= f477acb1049f5e043904b87b825c5915084a9a29 OPUS_REV= 0e30966b198ad28943799eaf5b3b08100b6f70c3 PERFETTO_REV= 97a5d7ed4d7ddb3844a5cbd184e241b99fe6ebcc PROTOBUFJS_REV= e34549db516f8712f678fcd4bc411613b5cc5295 TESTING_REV= 3f4138fcb15362469527d9310e21600dfdfab691 THIRD_PARTY_REV= 27c9b4efc25d7ae5479b884a7d818058c6066d92 TOOLS_REV= 453f7ad001cd0d341ecb437eb164fd6c4b5cc08d BINARY_ALIAS= vpython3=${PYTHON_CMD} # Keep in sync with https://github.com/signalapp/ringrtc/blob/v${DISTVERSION}/bin/build-electron#L101 # Run "gn args out/release --list" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using # replace_gn_files.py script, some parts just turned on/off for target host # OS "target_os == is_bsd", like libusb, libpci. GN_ARGS+= rtc_build_examples=false \ rtc_build_tools=false \ rtc_include_tests=false \ rtc_enable_protobuf=false \ rtc_use_x11=false \ rtc_enable_sctp=false \ rtc_libvpx_build_vp9=true \ rtc_include_ilbc=false \ clang_use_chrome_plugins=false \ fatal_linker_warnings=false \ is_clang=true \ treat_warnings_as_errors=false \ use_custom_libcxx=false \ use_custom_libunwind=true \ use_lld=true \ use_sysroot=false \ use_system_freetype=false \ use_system_harfbuzz=true \ use_system_libjpeg=true \ use_udev=false \ extra_cxxflags="${CXXFLAGS}" \ extra_ldflags="${LDFLAGS}" NPM_RINGRTC_DIR= npm-@signalapp-ringrtc-2.36.0-67d1b48bd4c1ea31c155ea14a0bd28f04e46eff5-integrity NPM_SIGNAL_DIR= npm-@signalapp-libsignal-client-0.39.1-15b41f15c516ae3eecf8a098a9c9c7aac00444d7-integrity NPM_SQLITE3_DIR= npm-@signalapp-better-sqlite3-8.6.0-0413f4d0626b99838cd64ad09c88720aa2bec6ed-integrity SQLCIPHER= sqlcipher-4.5.5-fts5-fix--3.0.7--0.2.1-ef53ea45ed92b928ecfd33c552d8d405263e86e63dec38e1ec63e1b0193b630b MAKE_ARGS= -C out/${BUILDTYPE} WEBRTCDIR= ${WRKDIR}/${PORTNAME}-${DISTVERSION}/src/webrtc/src CARGO_BUILD_ARGS= --package ringrtc --features electron CARGO_INSTALL= no USE_LDCONFIG= yes MAKE_ENV= OUTPUT_DIR=${WEBRTCDIR}/out PLIST_FILES= lib/libringrtc.so post-extract: ${MKDIR} ${WRKDIR}/${PORTNAME}-${DISTVERSION}/src/webrtc ${MV} ${WRKDIR}/webrtc-${WEBRTC_REV} ${WEBRTCDIR} ${MV} ${WRKDIR}/base ${WEBRTCDIR} ${MV} ${WRKDIR}/build ${WEBRTCDIR} ${MV} ${WRKDIR}/buildtools ${WEBRTCDIR} ${MV} ${WRKDIR}/testing ${WEBRTCDIR} ${MV} ${WRKDIR}/third_party ${WEBRTCDIR} ${MV} ${WRKDIR}/catapult ${WEBRTCDIR}/third_party ${MV} ${WRKDIR}/boringssl ${WEBRTCDIR}/third_party/boringssl/src ${MV} ${WRKDIR}/icu ${WEBRTCDIR}/third_party ${MV} ${WRKDIR}/libjpeg_turbo ${WEBRTCDIR}/third_party ${MV} ${WRKDIR}/libsrtp ${WEBRTCDIR}/third_party ${MV} ${WRKDIR}/libvpx ${WEBRTCDIR}/third_party/libvpx/source ${MV} ${WRKDIR}/libyuv ${WEBRTCDIR}/third_party ${MV} ${WRKDIR}/nasm ${WEBRTCDIR}/third_party ${MV} ${WRKDIR}/opus ${WEBRTCDIR}/ringrtc/opus/src ${MV} ${WRKDIR}/perfetto ${WEBRTCDIR}/third_party ${MV} ${WRKDIR}/protobuf_javascript ${WEBRTCDIR}/third_party/protobuf-javascript/src ${MV} ${WRKDIR}/tools ${WEBRTCDIR} post-patch: ${REINPLACE_CMD} "s|LOCALBASE|${LOCALBASE}|" \ ${WEBRTCDIR}/build/toolchain/gcc_toolchain.gni \ ${WEBRTCDIR}/buildtools/third_party/libc++/BUILD.gn ${REINPLACE_CMD} "s|WRKDIR|${WRKDIR}|" \ ${WRKSRC}/cargo-crates/cubeb-sys-0.17.0/build.rs ${ECHO_CMD} "# Generated from 'DEPS'" > ${WEBRTCDIR}/build/config/gclient_args.gni ${ECHO_CMD} 1591703586 > ${WEBRTCDIR}/build/util/LASTCHANGE.committime ${ECHO_CMD} "qqchose " > ${WEBRTCDIR}/build/util/LASTCHANGE pre-build: cd ${WEBRTCDIR} && \ ${SETENV} ${CONFIGURE_ENV} gn gen out/release --args='${GN_ARGS}' # build webrtc first, ringrtc needs libwebrtc.a cd ${WEBRTCDIR} \ && ${MAKE_ENV} CC=ccache CXX=ccache ninja -C out/release # it's not intended to be used outside of signal-desktop, put that in # /usr/local/share/ringrtc instead? do-install: ${INSTALL_LIB} ${CARGO_TARGET_DIR}/${CARGO_BUILD_TARGET}/release/libringrtc.so \ ${STAGEDIR}${PREFIX}/lib/ .include diff --git a/multimedia/simplescreenrecorder/Makefile b/multimedia/simplescreenrecorder/Makefile index af5eb293e5cd..9127c5a50df9 100644 --- a/multimedia/simplescreenrecorder/Makefile +++ b/multimedia/simplescreenrecorder/Makefile @@ -1,50 +1,50 @@ PORTNAME= simplescreenrecorder DISTVERSION= 0.4.4-9 DISTVERSIONSUFFIX= -gc092f3e -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Screen video/audio recorder WWW= https://www.maartenbaert.be/simplescreenrecorder/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libavformat.so:multimedia/ffmpeg USES= cmake compiler:c++11-lang desktop-file-utils pkgconfig qt:5 xorg USE_QT= core gui widgets x11extras buildtools:build linguisttools:build qmake:build USE_XORG= x11 xext xfixes xi xinerama USE_GITHUB= yes GH_ACCOUNT= MaartenBaert GH_PROJECT= ssr CMAKE_ON= WITH_QT5 CMAKE_OFF= WITH_GLINJECT # doesn't yet work on FreeBSD: https://github.com/MaartenBaert/ssr/issues/586#issuecomment-343780107 CMAKE_OFF+= WITH_OPENGL_RECORDING # extra option requiried when GLInject is off, because this makes OpenGL recording dysfunctional OPTIONS_DEFINE= V4L OPTIONS_MULTI= AUDIO # MULTI because project doesn't allow to build with no backends OPTIONS_MULTI_AUDIO= ALSA PULSEAUDIO JACK OPTIONS_DEFAULT= PULSEAUDIO JACK V4L AUDIO_DESC= Audio backends: ALSA_CMAKE_BOOL= WITH_ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio JACK_CMAKE_BOOL= WITH_JACK JACK_LIB_DEPENDS= libjack.so:audio/jack V4L_CMAKE_BOOL= WITH_V4L2 V4L_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l post-install: # https://github.com/MaartenBaert/ssr/issues/609 @${RM} ${STAGEDIR}${PREFIX}/man/man1/ssr-glinject.* .include diff --git a/multimedia/snapcast/Makefile b/multimedia/snapcast/Makefile index 81744f462a65..2b6f6ab4a632 100644 --- a/multimedia/snapcast/Makefile +++ b/multimedia/snapcast/Makefile @@ -1,44 +1,45 @@ PORTNAME= snapcast DISTVERSIONPREFIX= v DISTVERSION= 0.29.0 +PORTREVISION= 1 CATEGORIES= multimedia audio MAINTAINER= yuri@FreeBSD.org COMMENT= Multiroom client-server audio player WWW= https://github.com/badaix/snapcast LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/boost/asio.hpp:devel/boost-libs LIB_DEPENDS= libasound.so:audio/alsa-lib \ libavahi-common.so:net/avahi-app \ libexpat.so:textproc/expat2 \ libFLAC.so:audio/flac \ libjack.so:audio/jack \ libogg.so:audio/libogg \ libopus.so:audio/opus \ libvorbis.so:audio/libvorbis \ libsoxr.so:audio/libsoxr USES= cmake compiler:c++17-lang pkgconfig python shebangfix USE_GITHUB= yes GH_ACCOUNT= badaix SHEBANG_FILES= server/etc/plug-ins/meta_mpd.py server/etc/plug-ins/meta_mopidy.py \ server/etc/plug-ins/meta_librespot-java.py OPTIONS_DEFINE= CLIENT OPTIONS_DEFAULT= #CLIENT OPTIONS_SUB= yes CLIENT_DESC= Build and install client in addition to server CLIENT_CMAKE_BOOL= BUILD_CLIENT CLIENT_LIB_DEPENDS= libpulse.so:audio/pulseaudio CLIENT_BROKEN= Snapclient not yet supported for FreeBSD (according to CMakeLists.txt) # see https://github.com/badaix/snapcast/issues/1098 post-install: # workaround for https://github.com/badaix/snapcast/issues/1021 @${CHMOD} +r ${STAGEDIR}${PREFIX}/share/snapserver/plug-ins/meta_mpd.py .include diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index 9f4123e4b374..e3dfd79bb6cc 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -1,404 +1,404 @@ PORTNAME= vlc DISTVERSION= 3.0.21 -PORTREVISION= 9 +PORTREVISION= 10 PORTEPOCH= 4 CATEGORIES= multimedia audio net www MASTER_SITES= https://get.videolan.org/${PORTNAME}/${DISTVERSION:S/a$//}/ \ https://mirror.init7.net/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \ http://mirror.clarkson.edu/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \ http://ftp.kaist.ac.kr/vlc/${PORTNAME}/${DISTVERSION:S/a$//}/ \ http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ MAINTAINER= multimedia@FreeBSD.org COMMENT= Qt based multimedia player and streaming server WWW= https://www.videolan.org LICENSE= GPLv2 BUILD_DEPENDS= gsed:textproc/gsed \ ffmpeg>=3.4.1,1:multimedia/ffmpeg \ yasm:devel/yasm LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libdvbpsi.so:multimedia/libdvbpsi \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libidn.so:dns/libidn \ libmatroska.so:multimedia/libmatroska \ libgpg-error.so:security/libgpg-error \ libebml.so:textproc/libebml RUN_DEPENDS= ffmpeg>=3.4.1,1:multimedia/ffmpeg USES= compiler:c++17-lang cpe desktop-file-utils elfctl gettext-tools \ gl gmake gnome iconv:wchar_t libtool localbase pathfix pkgconfig \ tar:xz USE_GL= opengl CPE_VENDOR= videolan USE_GNOME= libxml2 USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-avcodec --enable-avformat --enable-dvbpsi \ --enable-fontconfig --enable-freetype --enable-libgcrypt \ --enable-libxml2 --enable-oss --enable-postproc \ --enable-swscale --enable-vlc \ --disable-alsa --disable-aribb25 \ --disable-chromaprint --disable-crystalhd --disable-dc1394 \ --disable-decklink --disable-dsm --disable-dv1394 \ --disable-fdkaac --disable-gst-decode --disable-gles2 \ --disable-kai --disable-kate --disable-kva --disable-libcddb \ --disable-mpc --disable-mpg123 --disable-vnc --disable-opencv \ --disable-projectm --disable-schroedinger --disable-secret \ --disable-sid --disable-soxr --disable-telx --disable-tiger \ --disable-tremor --disable-udev --disable-update-check \ --disable-vsxu --disable-wasapi --disable-x26410b \ --with-kde-solid=${PREFIX}/share/solid/actions \ ac_cv_search_pthread_rwlock_init=-pthread \ BUILDCC="${CC}" .if defined(WITH_DEBUG) CONFIGURE_ARGS+=--enable-debug .endif INSTALL_TARGET= install-strip CFLAGS+= -Wno-unreachable-code-generic-assoc CFLAGS_i386= -fomit-frame-pointer ELF_FEATURES= +noaslr:bin/.libs/vlc # See PR 270038 BINARY_ALIAS= sed=${LOCALBASE}/bin/gsed PORTDATA= * PORTDOCS= * OPTIONS_DEFINE= A52 AALIB AOM ARIBSUB ASS AVAHI CACA CHROMECAST DAV1D DBUS DCA \ DEBUG DOCS DVDNAV DVDREAD DEBUG FAAD FLAC FLUID FREERDP FRIBIDI \ GME GNUTLS GOOM HARFBUZZ JACK JPEG LIBBLURAY LIBPLACEBO LIBRSVG2 \ LIBSSH2 LIRC LIVEMEDIA LUA MAD MFX MODPLUG MPEG2 MTP \ NCURSES NFS NLS NOTIFY OGGSPOTS OGG OPTIMIZED_CFLAGS OPUS PNG \ PULSEAUDIO QT5 REALRTSP RUNROOT SAMPLERATE SDL SHOUTCAST \ SKINS SMB SNDIO SPEEX SRT STREAM TAGLIB THEORA TWOLAME UPNP V4L \ VAAPI VCD VDPAU VORBIS VPX WAYLAND X11 X264 X265 ZVBI OPTIONS_DEFINE_powerpc= ALTIVEC OPTIONS_DEFINE_powerpc64= ALTIVEC OPTIONS_DEFAULT=ASS AVAHI CHROMECAST DAV1D DBUS DVDNAV DVDREAD GNUTLS HARFBUZZ \ JPEG LIVEMEDIA LUA OGG OPTIMIZED_CFLAGS OPUS PNG QT5 SAMPLERATE \ SKINS SPEEX STREAM TAGLIB THEORA TWOLAME UPNP V4L VAAPI VCD \ VDPAU VORBIS WAYLAND X11 OPTIONS_DEFAULT_powerpc= ALTIVEC OPTIONS_DEFAULT_powerpc64= ALTIVEC OPTIONS_EXCLUDE= LIBPLACEBO # https://code.videolan.org/videolan/vlc/-/commit/8e22c39ea3c3 OPTIONS_EXCLUDE+= VAAPI # Not compatible until VLC 4 OPTIONS_SUB= yes AOM_DESC= AV1 video encoding/decoding via libaom ARIBSUB_DESC= ARIB text decoding via libaribb24 ASS_DESC= ASS/SSA subtitle rendering CHROMECAST_DESC= Streaming to Chromecast devices DAV1D_DESC= AV1 video decoding via libdav1d DVDNAV_DESC= DVD menu navigation DVDREAD_DESC= DVD Playback support FLUID_DESC= Fluidsynth MIDI support FREERDP_DESC= RDP support GME_DESC= Game Music Emu (libgme) support GOOM_DESC= Goom visualisation plugin HARFBUZZ_DESC= OpenType text shaping engine LIBPLACEBO_DESC= HDR tonemapping support through libplacebo LIBSSH2_DESC= SCP/SFTP support via libssh2 MFX_DESC= Intel MediaSDK (aka Quick Sync Video) OGGSPOTS_DESC= Experimental OggSpots codec REALRTSP_DESC= Real RTSP access module RUNROOT_DESC= Enable running as root SKINS_DESC= Build skins2 interface module (implies QT5) SRT_DESC= Secure Reliable Transport support STREAM_DESC= stream output TAGLIB_DESC= ID3 tag and Ogg comment support VCD_DESC= Audio/Video CD support ZVBI_DESC= VBI decoding support A52_LIB_DEPENDS= liba52.so:audio/liba52 A52_CONFIGURE_ON= --with-a52=${LOCALBASE} A52_CONFIGURE_ENABLE= a52 AALIB_LIB_DEPENDS= libaa.so:graphics/aalib AALIB_CONFIGURE_ENABLE= aa ALTIVEC_CONFIGURE_ENABLE= altivec ALTIVEC_CFLAGS= -maltivec AOM_LIB_DEPENDS= libaom.so:multimedia/aom AOM_CONFIGURE_ENABLE= aom ARIBSUB_LIB_DEPENDS= libaribb24.so:multimedia/aribb24 ARIBSUB_CONFIGURE_ENABLE= aribsub ASS_LIB_DEPENDS= libass.so:multimedia/libass ASS_CONFIGURE_ENABLE= libass AVAHI_LIB_DEPENDS= libavahi-common.so:net/avahi-app AVAHI_CONFIGURE_ENABLE= avahi CACA_LIB_DEPENDS= libcaca.so:graphics/libcaca CACA_CONFIGURE_ENABLE= caca CHROMECAST_LIB_DEPENDS= libabsl_base.so:devel/abseil \ libprotobuf-lite.so:devel/protobuf CHROMECAST_USE= cxxstd=c++17 CHROMECAST_CONFIGURE_ENABLE= chromecast DAV1D_LIB_DEPENDS= libdav1d.so:multimedia/dav1d DAV1D_CONFIGURE_ENABLE= dav1d DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus DBUS_CONFIGURE_ENABLE= dbus DCA_LIB_DEPENDS= libdca.so:multimedia/libdca DCA_CONFIGURE_ENABLE= dca DVDNAV_LIB_DEPENDS= libdvdnav.so:multimedia/libdvdnav DVDNAV_CONFIGURE_ENABLE= dvdnav DVDREAD_LIB_DEPENDS= libdvdread.so:multimedia/libdvdread DVDREAD_CONFIGURE_ENABLE= dvdread FAAD_LIB_DEPENDS= libfaad.so:audio/faad FAAD_CONFIGURE_ENABLE= faad FAAD_CONFIGURE_ENV= CPPFLAGS_faad="-I${LOCALBASE}/include" \ LIBS_faad="-L${LOCALBASE}/lib" FLAC_LIB_DEPENDS= libFLAC.so:audio/flac FLAC_CONFIGURE_ENABLE= flac FLUID_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth FLUID_CONFIGURE_ENABLE= fluidsynth FREERDP_LIB_DEPENDS= libfreerdp2.so:net/freerdp FREERDP_CONFIGURE_ENABLE= freerdp FREERDP_CONFIGURE_ENV= FREERDP_CFLAGS="-I${LOCALBASE}/include/freerdp2 \ -I${LOCALBASE}/include/winpr2" \ FREERDP_LIBS="-L${LOCALBASE}/lib" FREERDP_CFLAGS= -Wno-error=incompatible-function-pointer-types FRIBIDI_LIB_DEPENDS= libfribidi.so:converters/fribidi FRIBIDI_CONFIGURE_ENABLE= fribidi GME_LIB_DEPENDS= libgme.so:audio/libgme GME_CONFIGURE_ENABLE= gme GME_CONFIGURE_ENV= LIBS_gme="-L${LOCALBASE}/lib -lgme" GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ENABLE=gnutls GOOM_LIB_DEPENDS= libgoom2.so:graphics/goom GOOM_CONFIGURE_ENABLE= goom HARFBUZZ_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz HARFBUZZ_CONFIGURE_ENABLE= harfbuzz JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_CONFIGURE_ENABLE= jack JPEG_USES= jpeg JPEG_CONFIGURE_ENABLE= jpeg LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ENABLE= bluray LIBPLACEBO_LIB_DEPENDS= libplacebo.so:graphics/libplacebo LIBPLACEBO_CONFIGURE_ENABLE= libplacebo LIBRSVG2_USE= GNOME=librsvg2,cairo LIBRSVG2_CONFIGURE_ENABLE= svg svgdec LIBSSH2_LIB_DEPENDS= libssh2.so:security/libssh2 LIBSSH2_CONFIGURE_ENABLE= sftp LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc LIRC_CONFIGURE_ENABLE= lirc LIRC_CONFIGURE_ENV= LIBS_lirc="-L${LOCALBASE}/lib -llirc_client" LIVEMEDIA_LIB_DEPENDS= libliveMedia.so:net/liveMedia LIVEMEDIA_USES= ssl LIVEMEDIA_CONFIGURE_ENABLE= live555 LIVEMEDIA_CONFIGURE_ENV= \ LIVE555_CFLAGS="-I${LOCALBASE}/include/liveMedia \ -I${LOCALBASE}/include/UsageEnvironment \ -I${LOCALBASE}/include/groupsock \ -I${LOCALBASE}/include/BasicUsageEnvironment" \ LIVE555_LIBS="-L${LOCALBASE}/lib -lliveMedia \ -lgroupsock -lBasicUsageEnvironment \ -lUsageEnvironment \ -L${OPENSSLLIB} -lssl -lcrypto" LUA_USES= lua LUA_CONFIGURE_ON= LUAC=${LUAC_CMD} LUA_CFLAGS="-I${LUA_INCDIR}" \ LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}" LUA_CONFIGURE_ENABLE= lua MAD_LIB_DEPENDS= libmad.so:audio/libmad MAD_CONFIGURE_ON= --with-mad=${LOCALBASE} MAD_CONFIGURE_ENABLE= mad MFX_LIB_DEPENDS= libmfx.so:multimedia/intel-media-sdk MFX_CONFIGURE_ENABLE= mfx MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug MODPLUG_CONFIGURE_ENABLE= mod MPEG2_LIB_DEPENDS= libmpeg2.so:multimedia/libmpeg2 MPEG2_CONFIGURE_ENABLE= libmpeg2 MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp MTP_CONFIGURE_ENABLE= mtp NCURSES_USES= ncurses NCURSES_CONFIGURE_ENABLE= ncurses NCURSES_CONFIGURE_ENV= NCURSES_CFLAGS="-I${NCURSESINC}" \ NCURSES_LIBS="-L${NCURSESLIB} -lncursesw" NFS_LIB_DEPENDS= libnfs.so:net/libnfs NFS_CONFIGURE_ENABLE= nfs NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify NOTIFY_USE= GNOME=gtk30,cairo NOTIFY_CONFIGURE_ENABLE= notify OGGSPOTS_IMPLIES= OGG OGGSPOTS_CONFIGURE_ENABLE= oggspots OGG_LIB_DEPENDS= libogg.so:audio/libogg OGG_CONFIGURE_ENABLE= ogg OPTIMIZED_CFLAGS_CONFIGURE_ENABLE= optimizations OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CONFIGURE_ENABLE= opus PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CONFIGURE_ENABLE= png PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ENABLE= pulse QT5_IMPLIES= X11 QT5_USES= qt:5 QT5_USE= QT=gui,core,svg,widgets,x11extras,buildtools:build QT5_CONFIGURE_ENABLE= qt REALRTSP_CONFIGURE_ENABLE= realrtsp RUNROOT_CONFIGURE_ENABLE= run-as-root SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate SAMPLERATE_CONFIGURE_ENABLE= samplerate SDL_USES= sdl SDL_USE= SDL=image SDL_CONFIGURE_ENABLE= sdl-image SHOUTCAST_LIB_DEPENDS= libshout.so:audio/libshout SHOUTCAST_CONFIGURE_ENABLE= shout SKINS_IMPLIES= QT5 SKINS_USES= libarchive xorg SKINS_USE= XORG=xext,xinerama,xpm SKINS_CONFIGURE_ENABLE= archive skins2 SMB_USES= samba:lib SMB_CONFIGURE_ENABLE= smbclient SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ENABLE= sndio SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp SPEEX_CONFIGURE_ENABLE= speex SRT_LIB_DEPENDS= libsrt.so:www/srt SRT_CONFIGURE_ENABLE= srt STREAM_CONFIGURE_ENABLE= sout TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib TAGLIB_CONFIGURE_ENABLE= taglib THEORA_LIB_DEPENDS= libtheora.so:multimedia/libtheora THEORA_CONFIGURE_ENABLE= theora TWOLAME_LIB_DEPENDS= libtwolame.so:audio/twolame TWOLAME_CONFIGURE_ENABLE= twolame UPNP_LIB_DEPENDS= libupnp.so:devel/upnp UPNP_CONFIGURE_ENABLE= upnp V4L_BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat V4L_LIB_DEPENDS= libv4l2.so:multimedia/libv4l V4L_CONFIGURE_ENABLE= v4l2 VAAPI_LIB_DEPENDS= libva.so:multimedia/libva VAAPI_CONFIGURE_ENABLE= libva VCD_CONFIGURE_ENABLE= vcd VDPAU_IMPLIES= X11 VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau VDPAU_CONFIGURE_ENABLE= vdpau VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis VORBIS_CONFIGURE_ENABLE= vorbis VPX_LIB_DEPENDS= libvpx.so:multimedia/libvpx VPX_CONFIGURE_ENABLE= vpx WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= wayland-protocols>=0:graphics/wayland-protocols WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland WAYLAND_CONFIGURE_ENABLE= wayland X11_LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms X11_USES= xorg X11_USE= XORG=xcb,xorgproto,sm,ice,x11 X11_CONFIGURE_ENABLE= xcb xvideo X11_CONFIGURE_WITH= x X264_LIB_DEPENDS= libx264.so:multimedia/libx264 X264_CONFIGURE_ENABLE= x264 X265_LIB_DEPENDS= libx265.so:multimedia/x265 X265_CONFIGURE_ENABLE= x265 ZVBI_LIB_DEPENDS= libzvbi.so:devel/libzvbi ZVBI_CONFIGURE_ENABLE= zvbi WITH_CDROM_DEVICE?=/dev/cd0 WITH_DVD_DEVICE?=/dev/cd0 .include .if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug --disable-optimizations CFLAGS+=-g -O0 CXXFLAGS+=-g -O0 .endif post-patch: @${REINPLACE_CMD} \ -e '\|LIBS|s|-lrt||' \ -e 's|LIBS="-llirc_client|LIBS="$$LIBS_lirc|' \ -e '/PKG_CONFIG/s|\"gl\"|"opengl"|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|/dev/cdrom|${WITH_CDROM_DEVICE}|g' \ -e 's|/dev/dvd|${WITH_DVD_DEVICE}|g' \ ${WRKSRC}/src/libvlc-module.c @${RM} -r ${WRKSRC}/modules/access/v4l2/linux # XXX FreeBSD doesn't have strerror_l() - use the android version of error.c @${CP} ${WRKSRC}/src/android/error.c ${WRKSRC}/src/posix post-install: @(cd ${STAGEDIR}${PREFIX} && ${FIND} -s lib/vlc -not -name '*.la' \ -type f -o -type l >> ${TMPPLIST}) @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/vlc/plugins/*/*.so # plugin cache becomes stale after strip. Regenerate it: ${WRKSRC}/bin/vlc-cache-gen ${STAGEDIR}${PREFIX}/lib/vlc/plugins .include diff --git a/multimedia/webcamoid/Makefile b/multimedia/webcamoid/Makefile index b4123938c0e6..7a0065006fff 100644 --- a/multimedia/webcamoid/Makefile +++ b/multimedia/webcamoid/Makefile @@ -1,46 +1,46 @@ PORTNAME= webcamoid DISTVERSION= 9.1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MAINTAINER= yuri@FreeBSD.org COMMENT= Full featured webcam suite WWW= https://webcamoid.github.io \ https://github.com/webcamoid/webcamoid LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libasound.so:audio/alsa-lib \ libavcodec.so:multimedia/ffmpeg \ libjack.so:audio/jack \ libpipewire-0.3.so:multimedia/pipewire \ libportaudio.so:audio/portaudio \ libpulse.so:audio/pulseaudio \ libuvc.so:multimedia/libuvc \ libv4l2.so:multimedia/libv4l \ libvlc.so:multimedia/vlc USES= cmake compiler:c++11-lang desktop-file-utils gl gnome gstreamer pkgconfig qt:5 sdl xorg USE_GITHUB= yes USE_GNOME= glib20 USE_GL= gl USE_QT= concurrent core dbus declarative gui multimedia network opengl quickcontrols2 svg widgets xml \ buildtools:build qmake:build quickcontrols:run USE_SDL= sdl2 USE_LDCONFIG= yes MAKE_ENV= NOOSS=1 # NOOSS is because the OSS module attempts to use kevent on OSS devices, which is broken in the base QMAKE_ARGS= INSTALLQMLDIR=${QT_QMLDIR} \ LIBDIR=${PREFIX}/lib \ MANDIR=${PREFIX}/man .include .if ${CHOSEN_COMPILER_TYPE} == gcc # Workaround for Bug#224137: devel/qt5-qmake: Doesn't use the right compiler in case USE_GCC is selected BINARY_ALIAS= g++=${CXX} .endif .include diff --git a/net/freerdp/Makefile b/net/freerdp/Makefile index efee7ce8e924..97d33c278b92 100644 --- a/net/freerdp/Makefile +++ b/net/freerdp/Makefile @@ -1,158 +1,159 @@ PORTNAME= freerdp DISTVERSION= 2.11.7 +PORTREVISION= 1 CATEGORIES= net comms MASTER_SITES= https://pub.freerdp.com/releases/ \ https://github.com/FreeRDP/FreeRDP/releases/download/${DISTVERSION}/ PATCH_SITES= https://github.com/FreeRDP/FreeRDP/commit/ PATCHFILES+= 61983cd6dcb86097d91b7ef405abc1266444a368.patch:-p1 # ffmpeg6 support: AVPicture # https://github.com/FreeRDP/FreeRDP/pull/8941 PATCHFILES+= 78cdb555c57c33b7f331cb280ac2f615cb87fa74.patch:-p1 # add additional neon check # https://github.com/FreeRDP/FreeRDP/issues/9746 MAINTAINER= vvd@FreeBSD.org COMMENT= Free implementation of Remote Desktop Protocol WWW= https://www.freerdp.com/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim USES= alias cmake compiler:c++11-lib cpe localbase pathfix pkgconfig ssl BROKEN_SSL= libressl-devel BROKEN_SSL_REASON_libressl-devel= fails to compile: no member named 'alert_dispatch' in 'struct ssl3_state_st' USE_LDCONFIG= yes PATCHVERSION= ${DISTVERSION} MAJORVERSION= ${DISTVERSION:R:R} CMAKE_ARGS+= ${CMAKE_ARGS_${ARCH}} CMAKE_ON= WITH_CHANNELS WITH_OPENSSL WITH_OSS WITH_ZLIB CHANNEL_URBDRC_CLIENT CMAKE_OFF= WITH_DSP_EXPERIMENTAL WITH_GPROF WITH_GSSAPI WITH_GSTREAMER_0_10 WITH_IPP \ WITH_LIBSYSTEMD WITH_MBEDTLS WITH_OPENCL WITH_OPENSLES WITH_PROFILER \ WITH_SAMPLE WITH_SANITIZE_ADDRESS WITH_SANITIZE_MEMORY \ WITH_SANITIZE_THREAD WITH_SERVER WITH_SERVER_INTERFACE \ WITH_SMARTCARD_INSPECT WITH_THIRD_PARTY WITH_VALGRIND_MEMCHECK PORTSCOUT= limit:^2\. PLIST_SUB+= PATCHVERSION="${PATCHVERSION}" PLIST_SUB+= MAJORVERSION="${MAJORVERSION}" OPTIONS_DEFINE= ALSA BROKENFOCUS CUPS FAAC FAAD FFMPEG GSM GSTREAMER \ ICU JPEG LAME MANPAGES OPENH264 PCSC \ PULSEAUDIO SOXR WAYLAND X11 OPTIONS_DEFINE_aarch64= NEON OPTIONS_DEFINE_amd64= SSE OPTIONS_DEFINE_armv6= NEON OPTIONS_DEFINE_armv7= NEON OPTIONS_DEFINE_i386= SSE OPTIONS_DEFAULT= CUPS GSTREAMER ICU MANPAGES SWSCALE WAYLAND X11 OPTIONS_DEFAULT_aarch64= NEON OPTIONS_DEFAULT_amd64= SSE OPTIONS_DEFAULT_armv7= NEON OPTIONS_RADIO= SCALE OPTIONS_RADIO_SCALE= CAIRO SWSCALE OPTIONS_SUB= yes BROKENFOCUS_DESC= Work around focus bug in some WMs (PR \#254908) CAIRO_DESC= Use CAIRO image library for screen resizing NEON_DESC= Enable Media Processing Engine instructions OPENH264_DESC= H.264 video codec support via OpenH264 PCSC_DESC= Smart card support (smart card device redirection) SWSCALE_DESC= Use SWScale image library for screen resizing (recommended) WAYLAND_DESC= Build FreeRDP Wayland client X11_DESC= Build FreeRDP X11 client ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= WITH_ALSA BROKENFOCUS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-focusbug.diff CAIRO_USES= gnome CAIRO_USE= gnome=cairo CAIRO_CMAKE_BOOL= WITH_CAIRO CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CMAKE_BOOL= WITH_CUPS FAAC_LIB_DEPENDS= libfaac.so:audio/faac FAAC_CMAKE_BOOL= WITH_FAAC FAAD_LIB_DEPENDS= libfaad.so:audio/faad FAAD_CMAKE_BOOL= WITH_FAAD2 FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG WITH_DSP_FFMPEG GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CMAKE_BOOL= WITH_GSM GSTREAMER_LIB_DEPENDS= libgstbase-1.0.so:multimedia/gstreamer1 GSTREAMER_USES= gettext gnome gstreamer xorg GSTREAMER_USE= gnome=glib20 xorg=x11,xext,xorgproto,xrandr GSTREAMER_CMAKE_BOOL= WITH_GSTREAMER_1_0 CHANNEL_TSMF ICU_LIB_DEPENDS= libicuuc.so:devel/icu ICU_CMAKE_BOOL= WITH_ICU JPEG_USES= jpeg JPEG_CMAKE_BOOL= WITH_JPEG LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CMAKE_BOOL= WITH_LAME MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto MANPAGES_CMAKE_BOOL= WITH_MANPAGES NEON_CMAKE_BOOL= WITH_NEON OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 OPENH264_CMAKE_BOOL= WITH_OPENH264 # LoadLibraryA("libpcsclite.so") PCSC_RUN_DEPENDS= ${LOCALBASE}/lib/libpcsclite.so:devel/pcsc-lite PCSC_CMAKE_BOOL= WITH_PCSC PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WITH_PULSE SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CMAKE_BOOL= WITH_SOXR SSE_CMAKE_BOOL= WITH_SSE2 SWSCALE_LIB_DEPENDS= libswscale.so:multimedia/ffmpeg SWSCALE_CMAKE_BOOL= WITH_SWSCALE WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_CMAKE_BOOL= WITH_WAYLAND X11_USES= xorg X11_USE= xorg=x11,xcursor,xext,xorgproto,xfixes,xi,xinerama,xkbfile,xrandr,xrender,xv X11_CMAKE_ON= -DWITH_X11:BOOL=ON -DWITH_XCURSOR:BOOL=ON \ -DWITH_XEXT:BOOL=ON -DWITH_XFIXES:BOOL=ON \ -DWITH_XI:BOOL=ON -DWITH_XINERAMA:BOOL=ON \ -DWITH_XKBFILE:BOOL=ON -DWITH_XRANDR:BOOL=ON \ -DWITH_XRENDER:BOOL=ON -DWITH_XSHM:BOOL=ON \ -DWITH_XV:BOOL=ON X11_CMAKE_OFF= -DWITH_X11:BOOL=OFF -DWITH_XKBFILE:BOOL=OFF post-patch: @${REINPLACE_CMD} -e 's|gsm/gsm.h|gsm.h|' \ ${WRKSRC}/cmake/FindGSM.cmake \ ${WRKSRC}/libfreerdp/codec/dsp.c pre-configure: ${CP} ${FILESDIR}/mntent.h ${WRKSRC}/rdtk/include ${CP} ${FILESDIR}/mntent_compat.c ${WRKSRC}/channels/rdpdr/client .include diff --git a/net/freerdp3/Makefile b/net/freerdp3/Makefile index a778d682c6a5..4d3dd8e710ee 100644 --- a/net/freerdp3/Makefile +++ b/net/freerdp3/Makefile @@ -1,257 +1,258 @@ PORTNAME= freerdp DISTVERSION= 3.9.0 +PORTREVISION= 1 CATEGORIES= net comms MASTER_SITES= https://pub.freerdp.com/releases/ \ https://github.com/FreeRDP/FreeRDP/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= 3 MAINTAINER= vvd@FreeBSD.org COMMENT= Free implementation of Remote Desktop Protocol WWW= https://www.freerdp.com/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim USES= alias cmake compiler:c++11-lib cpe localbase:ldflags pathfix pkgconfig ssl xorg BROKEN_SSL= libressl-devel BROKEN_SSL_REASON_libressl-devel= fails to compile: no member named 'alert_dispatch' in 'struct ssl3_state_st' USE_LDCONFIG= yes USE_XORG= ice sm x11 xext CMAKE_ON= CHANNEL_SERIAL CHANNEL_URBDRC_CLIENT RDTK_FORCE_STATIC_BUILD \ UWAC_FORCE_STATIC_BUILD WITH_BINARY_VERSIONING WITH_CHANNELS \ WITH_OPENSSL WITH_OSS WITH_ZLIB WITH_FREERDP_DEPRECATED \ WITH_FREERDP_DEPRECATED_COMMANDLINE WITH_WINPR_DEPRECATED CMAKE_OFF= CHANNEL_TSMF WITH_DSP_EXPERIMENTAL WITH_FUSE WITH_GPROF \ WITH_GSTREAMER_0_10 WITH_GSTREAMER_1_0 WITH_IPP WITH_LIBSYSTEMD \ WITH_MBEDTLS WITH_OPENCL WITH_OPENSLES WITH_PROFILER WITH_SAMPLE \ WITH_SANITIZE_ADDRESS WITH_SANITIZE_MEMORY WITH_SANITIZE_THREAD \ WITH_SERVER WITH_SERVER_CHANNELS WITH_SERVER_INTERFACE \ WITH_SMARTCARD_INSPECT WITH_THIRD_PARTY WITH_VALGRIND_MEMCHECK PLIST_SUB+= PATCHVERSION="${DISTVERSION}" PLIST_SUB+= MAJORVERSION="${DISTVERSION:R:R}" OPTIONS_DEFINE= ALSA BROKENFOCUS CUPS FAAC FAAD FDKAAC FFMPEG GSM ICU \ JPEG LAME MANPAGES OPENH264 OPUS PCSC PKCS11 \ PULSEAUDIO SDL SOXR URIPARSER WAYLAND X11 OPTIONS_DEFINE_aarch64= NEON OPTIONS_DEFINE_amd64= SSE OPTIONS_DEFINE_armv6= NEON OPTIONS_DEFINE_armv7= NEON OPTIONS_DEFINE_i386= SSE OPTIONS_DEFAULT= AAD CUPS GSSAPI_HEIMDAL ICU JSON_C KEYBOARD_LAYOUT \ MANPAGES SDL SWSCALE TIMEZONE_FILE WAYLAND WEBKIT X11 OPTIONS_DEFAULT_aarch64= NEON OPTIONS_DEFAULT_amd64= SSE OPTIONS_DEFAULT_armv7= NEON OPTIONS_GROUP= CLIPBOARD_IMAGE REQUIRE_JSON OPTIONS_GROUP_CLIPBOARD_IMAGE= JPEG_CB PNG WEBP OPTIONS_GROUP_REQUIRE_JSON= AAD KEYBOARD_LAYOUT TIMEZONE_FILE OPTIONS_RADIO= GSSAPI JSON SCALE WEBVIEW OPTIONS_RADIO_GSSAPI= GSSAPI_HEIMDAL GSSAPI_MIT OPTIONS_RADIO_JSON= CJSON JSON_C OPTIONS_RADIO_SCALE= CAIRO SWSCALE OPTIONS_RADIO_WEBVIEW= WEBENGINE WEBKIT OPTIONS_SUB= yes AAD_DESC= Compile with support for Azure AD authentication (require SDL) BROKENFOCUS_DESC= Work around focus bug in some WMs (PR \#254908) CAIRO_DESC= Use CAIRO image library for screen resizing CJSON_DESC= ${JSON_DESC} via cJSON CLIPBOARD_IMAGE_DESC= Add "to/from" BMP conversion support to clipboard (experimental) FDKAAC_DESC= Support for FDK-AAC for sound and microphone redirection JPEG_CB_DESC= ${JPEG_DESC} KEYBOARD_LAYOUT_DESC= Use keyboard definitions from JSON file NEON_DESC= Enable Media Processing Engine instructions OPENH264_DESC= H.264 video codec support via OpenH264 PCSC_DESC= Smart card support (smart card device redirection) PKCS11_DESC= Use security/pkcs11-helper REQUIRE_JSON_DESC= Options that require JSON SDL_DESC= Build FreeRDP SDL client SWSCALE_DESC= Use SWScale image library for screen resizing (recommended) TIMEZONE_FILE_DESC= Support timezones as JSON resources (if OFF, compiled in is used) URIPARSER_DESC= Use uriparser RFC 3986 URI parsing library to handle URIs WAYLAND_DESC= Build FreeRDP Wayland client WEBVIEW_DESC= Build with WebView support for AAD login popup browser X11_DESC= Build FreeRDP X11 client AAD_IMPLIES= SDL AAD_CMAKE_BOOL= WITH_AAD ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_BOOL= WITH_ALSA BROKENFOCUS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-focusbug.diff CAIRO_USES= gnome CAIRO_USE= gnome=cairo CAIRO_CMAKE_BOOL= WITH_CAIRO CJSON_LIB_DEPENDS= libcjson.so:devel/libcjson \ libcjson_utils.so:devel/libcjson CJSON_CMAKE_BOOL= WITH_CJSON_REQUIRED CUPS_LIB_DEPENDS= libcups.so:print/cups CUPS_CMAKE_BOOL= WITH_CUPS FAAC_LIB_DEPENDS= libfaac.so:audio/faac FAAC_CMAKE_BOOL= WITH_FAAC FAAD_LIB_DEPENDS= libfaad.so:audio/faad FAAD_CMAKE_BOOL= WITH_FAAD2 FDKAAC_LIB_DEPENDS= libfdk-aac.so:audio/fdk-aac FDKAAC_CMAKE_BOOL= WITH_FDK_AAC FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libavutil.so:multimedia/ffmpeg FFMPEG_CMAKE_BOOL= WITH_FFMPEG WITH_DSP_FFMPEG GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CMAKE_BOOL= WITH_GSM GSSAPI_HEIMDAL_USES= gssapi:heimdal GSSAPI_MIT_USES= gssapi:mit ICU_LIB_DEPENDS= libicuuc.so:devel/icu ICU_CMAKE_ON= -DWITH_UNICODE_BUILTIN=OFF ICU_CMAKE_OFF= -DWITH_UNICODE_BUILTIN=ON JPEG_USES= jpeg JPEG_CMAKE_BOOL= WITH_JPEG JPEG_CB_USES= jpeg JPEG_CB_CMAKE_BOOL= WINPR_UTILS_IMAGE_JPEG JSON_C_LIB_DEPENDS= libjson-c.so:devel/json-c JSON_C_CMAKE_BOOL= WITH_JSONC_REQUIRED KEYBOARD_LAYOUT_CMAKE_BOOL= WITH_KEYBOARD_LAYOUT_FROM_FILE LAME_LIB_DEPENDS= libmp3lame.so:audio/lame LAME_CMAKE_BOOL= WITH_LAME MANPAGES_CMAKE_BOOL= WITH_MANPAGES NEON_CMAKE_BOOL= WITH_NEON OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 OPENH264_CMAKE_BOOL= WITH_OPENH264 OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_CMAKE_BOOL= WITH_OPUS # LoadLibraryA("libpcsclite.so") PCSC_RUN_DEPENDS= ${LOCALBASE}/lib/libpcsclite.so:devel/pcsc-lite PCSC_CMAKE_BOOL= WITH_PCSC PKCS11_BUILD_DEPENDS= ${LOCALBASE}/include/pkcs11-helper-1.0/pkcs11.h:security/pkcs11-helper PKCS11_CMAKE_BOOL= WITH_PKCS11 PNG_LIB_DEPENDS= libpng.so:graphics/png PNG_CMAKE_BOOL= WINPR_UTILS_IMAGE_PNG PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= WITH_PULSE SDL_USES= sdl SDL_USE= sdl=sdl2,ttf2,image2 SDL_CMAKE_BOOL= WITH_CLIENT_SDL WITH_SDL_IMAGE_DIALOGS SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SOXR_CMAKE_BOOL= WITH_SOXR SSE_CMAKE_BOOL= WITH_SSE2 SWSCALE_LIB_DEPENDS= libswscale.so:multimedia/ffmpeg SWSCALE_CMAKE_BOOL= WITH_SWSCALE TIMEZONE_FILE_CMAKE_BOOL= WITH_TIMEZONE_FROM_FILE TIMEZONE_FILE_CMAKE_ON= -DWITH_TIMEZONE_COMPILED=OFF TIMEZONE_FILE_CMAKE_OFF= -DWITH_TIMEZONE_COMPILED=ON URIPARSER_LIB_DEPENDS= liburiparser.so:net/uriparser URIPARSER_CMAKE_BOOL= WITH_URIPARSER WAYLAND_CATEGORIES= wayland WAYLAND_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ wayland-scanner:graphics/wayland WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libwayland-cursor.so:graphics/wayland \ libxkbcommon.so:x11/libxkbcommon WAYLAND_RUN_DEPENDS= wayland-scanner:graphics/wayland WAYLAND_CMAKE_BOOL= WITH_WAYLAND WEBENGINE_USES_= qt:5 WEBENGINE_USE_QT= core declarative gui location network printsupport \ webchannel webengine widgets buildtools:build qmake:build WEBENGINE_CMAKE_BOOL= WITH_WEBVIEW_QT WEBENGINE_CMAKE_ON= -DWITH_WEBVIEW:BOOL=ON WEBKIT_LIB_DEPENDS_= libsoup-2.4.so:devel/libsoup \ libharfbuzz.so:print/harfbuzz \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 WEBKIT_USES_= gettext gnome WEBKIT_USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango WEBKIT_CMAKE_ON= -DWITH_WEBVIEW:BOOL=ON WEBP_LIB_DEPENDS= libwebp.so:graphics/webp WEBP_CMAKE_BOOL= WINPR_UTILS_IMAGE_WEBP X11_USE= xorg=xcursor,xfixes,xi,xinerama,xkbfile,xorgproto,xrandr,xrender,xv X11_CMAKE_ON= -DWITH_X11:BOOL=ON -DWITH_XCURSOR:BOOL=ON \ -DWITH_XEXT:BOOL=ON -DWITH_XFIXES:BOOL=ON \ -DWITH_XI:BOOL=ON -DWITH_XINERAMA:BOOL=ON \ -DWITH_XKBFILE:BOOL=ON -DWITH_XRANDR:BOOL=ON \ -DWITH_XRENDER:BOOL=ON -DWITH_XSHM:BOOL=ON \ -DWITH_XV:BOOL=ON X11_CMAKE_OFF= -DWITH_X11:BOOL=OFF -DWITH_XKBFILE:BOOL=OFF .include .if ${PORT_OPTIONS:MAAD} . if ${PORT_OPTIONS:MWEBENGINE} USES+= ${WEBENGINE_USES_} USE_QT+= ${WEBENGINE_USE_QT} . elif ${PORT_OPTIONS:MWEBKIT} LIB_DEPENDS+= ${WEBKIT_LIB_DEPENDS_} USES+= ${WEBKIT_USES_} USE_GNOME+= ${WEBKIT_USE_GNOME} . else CMAKE_OFF+= WITH_WEBVIEW . endif .else CMAKE_OFF+= WITH_WEBVIEW .endif .if ${PORT_OPTIONS:MGSSAPI_HEIMDAL} || ${PORT_OPTIONS:MGSSAPI_MIT} CMAKE_ON+= WITH_KRB5 .else CMAKE_OFF+= WITH_KRB5 .endif .if ${PORT_OPTIONS:MCJSON} || ${PORT_OPTIONS:MJSON_C} CMAKE_ON+= WITH_WINPR_JSON CMAKE_OFF+= WITH_JSON_DISABLED PLIST_SUB+= JSON="" .else CMAKE_ON+= WITH_JSON_DISABLED CMAKE_OFF+= WITH_AAD WITH_WINPR_JSON PLIST_SUB+= JSON="@comment " .endif post-patch: @${REINPLACE_CMD} -e 's|gsm/gsm.h|gsm.h|' \ ${WRKSRC}/cmake/FindGSM.cmake \ ${WRKSRC}/libfreerdp/codec/dsp.c pre-configure: ${CP} ${FILESDIR}/mntent.h ${WRKSRC}/winpr/include ${CP} ${FILESDIR}/mntent_compat.c ${WRKSRC}/channels/rdpdr/client .include diff --git a/net/gtk-vnc/Makefile b/net/gtk-vnc/Makefile index 20e15afd9504..923581a94ca7 100644 --- a/net/gtk-vnc/Makefile +++ b/net/gtk-vnc/Makefile @@ -1,35 +1,35 @@ PORTNAME= gtk-vnc PORTVERSION= 1.3.1 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= VNC viewer widget for GTK WWW= http://live.gnome.org/gtk-vnc LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LIB LIB_DEPENDS= libgnutls.so:security/gnutls \ libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error \ libsasl2.so:security/cyrus-sasl2 USES= gettext gnome localbase meson perl5 pkgconfig python \ tar:xz vala:build xorg USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build USE_XORG= x11 USE_LDCONFIG= yes OPTIONS_DEFINE= PULSEAUDIO OPTIONS_DEFAULT=PULSEAUDIO OPTIONS_SUB= yes PULSEAUDIO_DESC= use PulseAudio for audio playback PULSEAUDIO_MESON_ENABLED= pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio BINARY_ALIAS= python3=${PYTHON_VERSION} .include diff --git a/net/guacamole-server/Makefile b/net/guacamole-server/Makefile index 3549844b838a..6bd648685e7a 100644 --- a/net/guacamole-server/Makefile +++ b/net/guacamole-server/Makefile @@ -1,117 +1,117 @@ PORTNAME= guacamole-server DISTVERSION= 1.5.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= APACHE/guacamole/${DISTVERSION}/source/ PATCH_SITES= https://github.com/apache/${PORTNAME}/commit/ PATCHFILES= 5cf408ebbba9544fb5dfb297d98d5a1e1751a56d.patch:-p1 MAINTAINER= ultima@FreeBSD.org COMMENT= HTML5 Clientless Remote Desktop WWW= https://guacamole.incubator.apache.org LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libossp-uuid.so:misc/ossp-uuid \ libpng.so:graphics/png CONFLICTS_BUILD=pulseaudio-*+jack_* ffmpeg-*+jack_* USES= autoreconf compiler:c11 gnome jpeg libtool localbase pkgconfig \ shebangfix USE_GNOME= cairo USE_LDCONFIG= yes USE_RC_SUBR= guacd SHEBANG_FILES= ${WRKSRC}/src/protocols/rdp/keymaps/generate.pl GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --with-guacd-conf=${ETCDIR}/guacd.conf INSTALL_TARGET= install-strip CFLAGS+= -Wno-error=newline-eof GUACAMOLE_HOME?= ${PREFIX}/guacamole USERS= guacamole GROUPS= guacamole SUB_LIST= GUACD_USER=${USERS} \ GUACD_GROUP=${GROUPS} \ GUACD_HOME=${GUACAMOLE_HOME} PLIST_SUB= GUACD_USER=${USERS} \ GUACD_GROUP=${GROUPS} \ GUACD_HOME=${GUACAMOLE_HOME} OPTIONS_DEFINE= GUACENC GUACLOG NLS SSL WEBP OPTIONS_DEFAULT= GUACENC GUACLOG KUBERNETES PULSEAUDIO RDP \ SSH SSL VNC VORBIS WEBP OPTIONS_GROUP= SP AUDIO OPTIONS_GROUP_SP= KUBERNETES RDP SSH VNC OPTIONS_GROUP_AUDIO= VORBIS PULSEAUDIO OPTIONS_SUB= yes AUDIO_DESC= Audio Support GUACENC_DESC= Video Encoding Utility GUACLOG_DESC= Input log interpreter KUBERNETES_DESC= Kubernetes protocol support RDP_DESC= RDP protocol support SP_DESC= Supported Protocols VNC_DESC= VNC protocol support GUACENC_CONFIGURE_ENABLE= guacenc GUACENC_CONFIGURE_WITH= libavcodec libavutil libswscale GUACENC_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg GUACENC_CFLAGS= -Wno-error=deprecated GUACLOG_CONFIGURE_ENABLE= guaclog KUBERNETES_CONFIGURE_ENABLE= kubernetes KUBERNETES_LIB_DEPENDS= libwebsockets.so:net/libwebsockets \ libharfbuzz.so:print/harfbuzz NLS_USES= gettext-runtime PULSEAUDIO_CONFIGURE_WITH= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio RDP_CONFIGURE_WITH= rdp RDP_LIB_DEPENDS= libfreerdp2.so:net/freerdp SSH_CONFIGURE_WITH= ssh SSH_IMPLIES= SSL SSH_LIB_DEPENDS= libssh2.so:security/libssh2 SSL_CONFIGURE_WITH= ssl SSL_USES= ssl VNC_CONFIGURE_WITH= vnc VNC_LIB_DEPENDS= libvncserver.so:net/libvncserver VORBIS_CONFIGURE_WITH= vorbis VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg WEBP_CONFIGURE_WITH= webp WEBP_LIB_DEPENDS= libwebp.so:graphics/webp .include .if ${PORT_OPTIONS:MKUBERNETES}${PORT_OPTIONS:MSSH} CONFIGURE_ARGS+= --with-pango --with-terminal PLIST_SUB+= TERMINAL="" USE_GNOME+= pango .else CONFIGURE_ARGS+= --without-pango --without-terminal PLIST_SUB+= TERMINAL="@comment " .endif .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=strict-prototypes \ -Wno-error=unused-but-set-variable .endif post-patch: @${REINPLACE_CMD} 's/-Werror//' ${WRKSRC}/src/libguac/Makefile.am \ ${WRKSRC}/src/protocols/vnc/Makefile.am @${REINPLACE_CMD} 's|/etc/ssl|${PREFIX}/etc/ssl|g ; \ s|/etc/guacamole|${ETCDIR}|g' \ ${WRKSRC}/src/guacd/man/guacd.conf.5.in post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}${GUACAMOLE_HOME} ${INSTALL_DATA} ${FILESDIR}/guacd.conf.sample ${STAGEDIR}${ETCDIR} .include diff --git a/sysutils/budgie-control-center/Makefile b/sysutils/budgie-control-center/Makefile index bace20702287..afed4fdff40a 100644 --- a/sysutils/budgie-control-center/Makefile +++ b/sysutils/budgie-control-center/Makefile @@ -1,49 +1,49 @@ PORTNAME= budgie-control-center DISTVERSION= 1.3.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils budgie MASTER_SITES= BUDGIE MAINTAINER= duchateau.olivier@gmail.com COMMENT= Control center for the Budgie desktop WWW= https://github.com/BuddiesOfBudgie/budgie-control-center LICENSE= GPLv2+ BUILD_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas LIB_DEPENDS= libhandy-1.so:x11-toolkits/libhandy \ libaccountsservice.so:sysutils/accountsservice \ libcolord.so:graphics/colord \ libcolord-gtk.so:graphics/colord-gtk \ libgoa-1.0.so:net/gnome-online-accounts \ libpulse.so:audio/pulseaudio \ libupower-glib.so:sysutils/upower \ libepoxy.so:graphics/libepoxy \ libgcr-base-3.so:security/gcr3 \ libgudev-1.0.so:devel/libgudev \ libpwquality.so:security/libpwquality \ libpolkit-gobject-1.so:sysutils/polkit \ libcups.so:print/cups \ libibus-1.0.so:textproc/ibus \ libudisks2.so:sysutils/libudisks \ libgtop-2.0.so:devel/libgtop \ libfontconfig.so:x11-fonts/fontconfig \ libsecret-1.so:security/libsecret \ libgnutls.so:security/gnutls RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas USES= budgie compiler:c++11-lib gettext gnome meson \ localbase:ldflags pkgconfig samba:lib tar:xz xorg USE_GNOME= cairo gdkpixbuf2 glib20 gnomedesktop3 gtk30 gsound libxml2 USE_XORG= x11 xi MESON_ARGS= -Dcheese=false GLIB_SCHEMAS= org.buddiesofbudgie.ControlCenter.gschema.xml post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${LOCALBASE}|' \ ${WRKSRC}/panels/printers/pp-host.c .include diff --git a/sysutils/cinnamon-settings-daemon/Makefile b/sysutils/cinnamon-settings-daemon/Makefile index ea235ba94875..a8d7008443ca 100644 --- a/sysutils/cinnamon-settings-daemon/Makefile +++ b/sysutils/cinnamon-settings-daemon/Makefile @@ -1,82 +1,82 @@ PORTNAME= cinnamon-settings-daemon PORTVERSION= 5.4.4 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= sysutils gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Cinnamon desktop settings daemon WWW= https://github.com/linuxmint/cinnamon-settings-daemon LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= cinnamon-session:x11/cinnamon-session \ gln:sysutils/coreutils LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libpolkit-gobject-1.so:sysutils/polkit \ libgudev-1.0.so:devel/libgudev \ libcolord.so:graphics/colord \ liblcms2.so:graphics/lcms2 \ libcinnamon-desktop.so:x11/cinnamon-desktop \ libxklavier.so:x11/libxklavier \ libnspr4.so:devel/nspr \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libupower-glib.so:sysutils/upower \ libpulse.so:audio/pulseaudio \ libnotify.so:devel/libnotify \ libharfbuzz.so:print/harfbuzz RUN_DEPENDS= cinnamon-session:x11/cinnamon-session USES= compiler:c11 gettext-tools gnome localbase meson pkgconfig \ python:build shebangfix xorg USE_GNOME= cairo dconf gdkpixbuf2 gtk30 intltool libgnomekbd pango USE_XORG= x11 xext xfixes xi USE_GITHUB= yes GH_ACCOUNT= linuxmint MESON_ARGS= -Duse_logind=disabled SHEBANG_GLOB= *.py BINARY_ALIAS= ln=gln USE_LDCONFIG= yes GLIB_SCHEMAS= org.cinnamon.settings-daemon.enums.xml \ org.cinnamon.settings-daemon.peripherals.gschema.xml \ org.cinnamon.settings-daemon.peripherals.wacom.gschema.xml \ org.cinnamon.settings-daemon.plugins.color.gschema.xml \ org.cinnamon.settings-daemon.plugins.gschema.xml \ org.cinnamon.settings-daemon.plugins.housekeeping.gschema.xml \ org.cinnamon.settings-daemon.plugins.media-keys.gschema.xml \ org.cinnamon.settings-daemon.plugins.power.gschema.xml \ org.cinnamon.settings-daemon.plugins.xrandr.gschema.xml \ org.cinnamon.settings-daemon.plugins.xsettings.gschema.xml OPTIONS_DEFINE= CUPS SMARTCARD WACOM OPTIONS_DEFAULT=CUPS SMARTCARD WACOM OPTIONS_SUB= yes CUPS_MESON_ENABLED= use_cups CUPS_LIB_DEPENDS= libcups.so:print/cups SMARTCARD_DESC= Smartcard support SMARTCARD_MESON_ENABLED= use_smartcard SMARTCARD_LIB_DEPENDS= libnss3.so:security/nss WACOM_DESC= Tablet support with libwacom WACOM_MESON_ENABLED= use_wacom WACOM_LIB_DEPENDS= libwacom.so:x11/libwacom WACOM_USE= gnome=librsvg2 post-patch: # Adhere to our hier(7). @${MKDIR} ${WRKSRC}/files${PREFIX} @${MV} ${WRKSRC}/files/usr/share ${WRKSRC}/files${PREFIX} .include diff --git a/sysutils/gnome-control-center/Makefile b/sysutils/gnome-control-center/Makefile index bec5732d9ede..f7945ec3fd4f 100644 --- a/sysutils/gnome-control-center/Makefile +++ b/sysutils/gnome-control-center/Makefile @@ -1,62 +1,62 @@ PORTNAME= gnome-control-center PORTVERSION= 43.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= sysutils gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Control center for the GNOME desktop WWW= https://www.gnome.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gnome-settings-daemon>=3.4.0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>=3.2.2:devel/gsettings-desktop-schemas # # docbook-xsl>=0:textproc/docbook-xsl LIB_DEPENDS= libaccountsservice.so:sysutils/accountsservice \ libadwaita-1.so:x11-toolkits/libadwaita \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libclutter-gtk-1.0.so:graphics/clutter-gtk3 \ libcolord-gtk.so:graphics/colord-gtk \ libcolord.so:graphics/colord \ libcups.so:print/cups \ libepoxy.so:graphics/libepoxy \ libfontconfig.so:x11-fonts/fontconfig \ libgoa-1.0.so:net/gnome-online-accounts \ libgrilo-0.3.so:net/grilo \ libgtop-2.0.so:devel/libgtop \ libhandy-1.so:x11-toolkits/libhandy \ libibus-1.0.so:textproc/ibus \ libpolkit-gobject-1.so:sysutils/polkit \ libpulse.so:audio/pulseaudio \ libpwquality.so:security/libpwquality \ libsecret-1.so:security/libsecret \ libsoup-2.4.so:devel/libsoup \ libudisks2.so:sysutils/libudisks \ libupower-glib.so:sysutils/upower RUN_DEPENDS= cantarell-fonts>=0:x11-fonts/cantarell-fonts \ gnome-settings-daemon>=3.4.0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>=3.2.2:devel/gsettings-desktop-schemas PORTSCOUT= limitw:1,even USES= compiler:c++11-lib gettext gnome gstreamer localbase:ldflags meson \ pkgconfig python:build samba:lib tar:xz xorg USE_GNOME= cairo gnomedesktop3 gsound libxml2 USE_XORG= x11 xi USE_LDCONFIG= yes BINARY_ALIAS= python3=${PYTHON_VERSION} GLIB_SCHEMAS= org.gnome.Settings.gschema.xml OPTIONS_SUB= yes OPTIONS_DEFINE= WAYLAND OPTIONS_DEFAULT= WAYLAND WAYLAND_MESON_TRUE= wayland WAYLAND_LIB_DEPENDS= libgudev-1.0.so:devel/libgudev .include diff --git a/sysutils/gnome-settings-daemon/Makefile b/sysutils/gnome-settings-daemon/Makefile index 90c5c62b35ea..75b64c13bd76 100644 --- a/sysutils/gnome-settings-daemon/Makefile +++ b/sysutils/gnome-settings-daemon/Makefile @@ -1,76 +1,76 @@ PORTNAME= gnome-settings-daemon PORTVERSION= 42.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= sysutils gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome PATCH_SITES= https://gitlab.gnome.org/GNOME/${PORTNAME}/-/commit/ PATCHFILES+= 03739474621e.patch:-p1 # https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/300 MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME settings daemon WWW= https://www.gnome.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libcolord.so:graphics/colord \ libcups.so:print/cups \ libfontconfig.so:x11-fonts/fontconfig \ libgeoclue-2.so:net/geoclue \ libgeocode-glib-2.so:net/geocode-glib2 \ libgweather-4.so:net/libgweather4 \ liblcms2.so:graphics/lcms2 \ libnotify.so:devel/libnotify \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libpolkit-gobject-1.so:sysutils/polkit \ libpulse.so:audio/pulseaudio \ libupower-glib.so:sysutils/upower PORTSCOUT= limitw:1,even USE_XORG= x11 xext xi xtst USE_GNOME= cairo gnomedesktop3 gtk30 USES= gettext gnome localbase:ldflags meson perl5 pkgconfig \ python:build tar:xz xorg USE_PERL5= build # -Dnssdb_dir=${LOCALBASE}/share/certs/ca-root-nss.crt MESON_ARGS= -Dalsa=false \ -Dcolord=false \ -Dcups=true \ -Dnetwork_manager=false \ -Dnssdb_dir=${LOCALBASE}/share/certs/ \ -Drfkill=false \ -Dsmartcard=true \ -Dsystemd=false \ -Dwwan=false BINARY_ALIAS= python3=${PYTHON_VERSION} # wayland doesn't build yet, undefined symbol MESON_ARGS+= -Dgudev=false \ -Dwayland=false #WAYLAND_MESON_TRUE= wayland gudev #WAYLAND_LIB_DEPENDS= libgudev-1.0.so:devel/libgudev \ # libwayland-client.so:graphics/wayland GLIB_SCHEMAS= org.gnome.settings-daemon.enums.xml \ org.gnome.settings-daemon.peripherals.gschema.xml \ org.gnome.settings-daemon.peripherals.wacom.gschema.xml \ org.gnome.settings-daemon.plugins.color.gschema.xml \ org.gnome.settings-daemon.plugins.gschema.xml \ org.gnome.settings-daemon.plugins.housekeeping.gschema.xml \ org.gnome.settings-daemon.plugins.media-keys.gschema.xml \ org.gnome.settings-daemon.plugins.power.gschema.xml \ org.gnome.settings-daemon.plugins.power.gschema.xml.override \ org.gnome.settings-daemon.plugins.sharing.gschema.xml \ org.gnome.settings-daemon.plugins.xsettings.gschema.xml post-install: ${INSTALL_DATA} ${FILESDIR}/org.gnome.settings-daemon.plugins.power.gschema.xml.override \ ${STAGEDIR}${PREFIX}/share/glib-2.0/schemas/ .include diff --git a/sysutils/mate-settings-daemon/Makefile b/sysutils/mate-settings-daemon/Makefile index 24a0cb2bd962..8974b508f8c2 100644 --- a/sysutils/mate-settings-daemon/Makefile +++ b/sysutils/mate-settings-daemon/Makefile @@ -1,81 +1,82 @@ PORTNAME= mate-settings-daemon PORTVERSION= 1.28.0 +PORTREVISION= 1 CATEGORIES= sysutils mate MASTER_SITES= MATE DIST_SUBDIR= mate MAINTAINER= gnome@FreeBSD.org COMMENT= MATE settings daemon WWW= https://mate-desktop.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdbus-1.so:devel/dbus \ libdbus-glib-1.so:devel/dbus-glib \ libxklavier.so:x11/libxklavier \ libnss3.so:security/nss \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ libpolkit-gobject-1.so:sysutils/polkit \ libstartup-notification-1.so:x11/startup-notification \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libnspr4.so:devel/nspr \ libnotify.so:devel/libnotify RUN_DEPENDS= xrdb:x11/xrdb PORTSCOUT= limitw:1,even USES= gettext gmake gnome libtool localbase mate pathfix \ pkgconfig tar:xz xorg USE_MATE= desktop libmatekbd mixer USE_XORG= ice sm x11 xext xi USE_GNOME= cairo dconf gtk30 intlhack USE_LDCONFIG= yes GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --with-dbus-services=${PREFIX}/share/dbus-1/services \ --disable-static \ --disable-rfkill INSTALL_TARGET= install-strip GLIB_SCHEMAS= org.mate.SettingsDaemon.plugins.a11y-keyboard.gschema.xml \ org.mate.SettingsDaemon.plugins.a11y-settings.gschema.xml \ org.mate.SettingsDaemon.plugins.background.gschema.xml \ org.mate.SettingsDaemon.plugins.clipboard.gschema.xml \ org.mate.SettingsDaemon.plugins.datetime.gschema.xml \ org.mate.SettingsDaemon.plugins.gschema.xml \ org.mate.SettingsDaemon.plugins.housekeeping.gschema.xml \ org.mate.SettingsDaemon.plugins.keybindings.gschema.xml \ org.mate.SettingsDaemon.plugins.keyboard.gschema.xml \ org.mate.SettingsDaemon.plugins.media-keys.gschema.xml \ org.mate.SettingsDaemon.plugins.mouse.gschema.xml \ org.mate.SettingsDaemon.plugins.mpris.gschema.xml \ org.mate.SettingsDaemon.plugins.rfkill.gschema.xml \ org.mate.SettingsDaemon.plugins.smartcard.gschema.xml \ org.mate.SettingsDaemon.plugins.sound.gschema.xml \ org.mate.SettingsDaemon.plugins.typing-break.gschema.xml \ org.mate.SettingsDaemon.plugins.xrandr.gschema.xml \ org.mate.SettingsDaemon.plugins.xrdb.gschema.xml \ org.mate.SettingsDaemon.plugins.xsettings.gschema.xml \ org.mate.applications-at.gschema.xml \ org.mate.font-rendering.gschema.xml \ org.mate.peripherals-smartcard.gschema.xml \ org.mate.peripherals-touchpad.gschema.xml \ org.mate.peripherals-keyboard.gschema.xml \ org.mate.peripherals-mouse.gschema.xml OPTIONS_DEFINE= PULSEAUDIO OPTIONS_SUB= yes PULSEAUDIO_CONFIGURE_ENABLE= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif .include diff --git a/www/ladybird/Makefile b/www/ladybird/Makefile index 203a1400b6ca..76f91e760788 100644 --- a/www/ladybird/Makefile +++ b/www/ladybird/Makefile @@ -1,88 +1,89 @@ PORTNAME= ladybird PORTVERSION= g20240505 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://github.com/unicode-org/cldr-json/releases/download/${CLDRVERSION}/:cldr \ https://www.unicode.org/Public/${UCDVERSION}/ucd/:ucd \ https://www.unicode.org/Public/emoji/${UCDVERSION:R}/:emoji \ https://www.unicode.org/Public/idna/${UCDVERSION}/:idna \ https://curl.se/ca/:cacert DISTFILES= cldr-${CLDRVERSION}-json-modern.zip:cldr \ UCD.zip:ucd \ emoji-test.txt:emoji \ IdnaMappingTable.txt:idna \ cacert-${CACERTVERSION}.pem:cacert DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} EXTRACT_ONLY= ${_DISTFILES:M*${GH_ACCOUNT}*} MAINTAINER= fuz@FreeBSD.org COMMENT= SerenityOS web browser WWW= https://ladybird.dev/ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE # see Userland/Libraries/LibWeb/Loader/ResourceLoader.h ONLY_FOR_ARCHS= aarch64 amd64 i386 riscv64 ONLY_FOR_ARCHS_REASON= other architectures not recognised by build system BROKEN_FreeBSD_15_amd64= clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276703 BUILD_DEPENDS= ${LOCALBASE}/share/public_suffix_list/public_suffix_list.dat:dns/public_suffix_list \ ${LOCALBASE}/share/color/Adobe/CMYK/USWebCoatedSWOP.icc:graphics/icc-profiles-adobe-cs4 RUN_DEPENDS= ${LOCALBASE}/share/fonts/Liberation/LiberationMono-Bold.ttf:x11-fonts/liberation-fonts-ttf USES= cmake:testing compiler:c++20-lang gl localbase:ldflags python:build qt:6 USE_GITHUB= yes GH_ACCOUNT= SerenityOS GH_PROJECT= serenity GH_TAGNAME= 3a7bea7402e879f731c9f4802cec84921f496942 USE_GL= egl USE_LDCONFIG= yes USE_QT= base tools:build wayland multimedia CACERTVERSION= 2023-08-22 CLDRVERSION= 44.0.1 UCDVERSION= 15.1.0 CMAKE_ARGS= SERENITY_CACHE_DIR=${_DISTDIR} CMAKE_OFF= ENABLE_LAGOM_CCACHE \ ENABLE_COMMONMARK_SPEC_DOWNLOAD \ ENABLE_CACERT_DOWNLOAD \ ENABLE_TIME_ZONE_DATABASE_DOWNLOAD \ INCLUDE_WASM_SPEC_TESTS \ INCLUDE_FLAC_SPEC_TESTS \ ENABLE_NETWORK_DOWNLOADS CMAKE_SOURCE_PATH= ${WRKSRC}/Ladybird BINARY_ALIAS= python3=${PYTHON_CMD} DESKTOP_ENTRIES= "Ladybird" "SerenityOS web browser" "ladybird" "${PREFIX}/bin/Ladybird" "Network;WebBrowser;" false PLIST_FILES= ${PLIST_FILES_${ARCH}} PLIST_FILES_amd64= lib/liblagom-x86.so \ lib/liblagom-x86.so.0 \ lib/liblagom-x86.so.0.0.0 OPTIONS_DEFINE= PULSEAUDIO OPTIONS_DEFAULT= PULSEAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_BOOL= HAVE_PULSEAUDIO post-extract: ${MKDIR} ${CONFIGURE_WRKSRC}/caches/PublicSuffix ${CONFIGURE_WRKSRC}/caches/AdobeICCProfiles ${LN} -s ${LOCALBASE}/share/public_suffix_list/public_suffix_list.dat \ ${CONFIGURE_WRKSRC}/caches/PublicSuffix/ ${LN} -s ${LOCALBASE}/share/color/Adobe ${CONFIGURE_WRKSRC}/caches/AdobeICCProfiles/'Adobe ICC Profiles (end-user)' post-configure: ${MKDIR} ${CONFIGURE_WRKSRC}/caches/CLDR ${CONFIGURE_WRKSRC}/caches/UCD ${TAR} -x -C ${CONFIGURE_WRKSRC}/caches/CLDR -f ${_DISTDIR}/cldr-${CLDRVERSION}-json-modern.zip ${TAR} -x -C ${CONFIGURE_WRKSRC}/caches/UCD -f ${_DISTDIR}/UCD.zip ${CP} ${_DISTDIR}/emoji-test.txt ${CONFIGURE_WRKSRC}/caches/UCD ${CP} ${_DISTDIR}/IdnaMappingTable.txt ${CONFIGURE_WRKSRC}/caches/UCD ${CP} ${_DISTDIR}/cacert-${CACERTVERSION}.pem ${CONFIGURE_WRKSRC}/Lagom/cacert.pem post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps ${INSTALL_DATA} ${WRKSRC}/Ladybird/Icons/ladybird.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/256x256/apps/ .include diff --git a/www/qt5-webengine/Makefile b/www/qt5-webengine/Makefile index fd800a850d77..c1864b0d30c7 100644 --- a/www/qt5-webengine/Makefile +++ b/www/qt5-webengine/Makefile @@ -1,172 +1,173 @@ # QtWebEngine itself is a very thin layer of Qt code on top of a large part of # Chromium (everything up to the content/ layer). As such, most of the work in # this port revolves around taming Chromium and getting it to build on FreeBSD. # While it does build at the moment, there are several items that should be # investigated or improved: # - We are using several stub files, especially in Chromium's base/ and net/ # layers. We should look at implementing the missing bits instead. # - We are currently not using any sandboxing mechanism. # - We need to see if more "use_system_" flags can be passed. # - The process of porting QtWebEngine needs to be documented so we can move to # newer releases more easily. # # Also note that, due to the insane amount of patches this port needs, it tends # to lag behind the rest of the official Qt5 ones, which is why we set # QT5_VERSION and DISTINFO_FILE here. # In order to successfully build this port in poudriere you need to add # MAX_FILES_qt5_webengine=4096 to /usr/local/etc/poudriere.conf PORTNAME= webengine PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH} +PORTREVISION= 1 CATEGORIES= www PKGNAMEPREFIX= qt5- MAINTAINER= kde@FreeBSD.org COMMENT= Qt 5 library to render web content BUILD_DEPENDS= bison:devel/bison \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \ ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ libdouble-conversion.so:devel/double-conversion \ libevent.so:devel/libevent \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz \ libjsoncpp.so:devel/jsoncpp \ liblcms2.so:graphics/lcms2 \ libnspr4.so:devel/nspr \ libnss3.so:security/nss \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpci.so:devel/libpci \ libpng.so:graphics/png \ libre2.so:devel/re2 \ libsnappy.so:archivers/snappy \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp DISTINFO_FILE= ${.CURDIR}/distinfo QT5_VERSION= ${_KDE_webengine_VERSION} OPTIONS_SINGLE= AUDIO OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_DEFAULT= ALSA AUDIO_DESC= Audio backend # Need the alsa plugins to get sound at runtime, otherwise messages # that the pcm_oss plugin can't be opened. ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins ALSA_VARS= QMAKE_CONFIGURE_ARGS+=-alsa ALSA_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-alsa PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_VARS= QMAKE_CONFIGURE_ARGS+=-pulseaudio PULSEAUDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-pulseaudio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_VARS= QMAKE_CONFIGURE_ARGS+=-sndio SNDIO_VARS_OFF= QMAKE_CONFIGURE_ARGS+=-no-sndio # We pass `norecursive' to USES=qmake because src/plugins/plugins.pro checks # whether webenginewidgets is available, which fails when qmake processes all # .pro files at once. USES= gl gnome gperf jpeg minizip ninja:build nodejs:build,lts \ perl5 pkgconfig python:build qmake:norecursive,outsource \ qt-dist:5,webengine shebangfix xorg USE_GL= gl USE_GNOME= glib20 libxml2 libxslt USE_PERL5= build USE_QT= core declarative gui location network printsupport \ webchannel widgets \ buildtools:build designer:build qmake:build USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xorgproto xrandr xrender xscrnsaver xtst QMAKE_CONFIGURE_ARGS= -proprietary-codecs -system-ffmpeg # We could just set it to an empty string as well. "all" does not account for # dependencies correctly in the generated Makefiles, use the right target here. ALL_TARGET= first # We need ar(1) from ports because the Chromium code uses the @file syntax. # We then need to ensure ld(1) from ports is used because of the archives ar(1) # generated. USE_BINUTILS= yes CC+= "-B${LOCALBASE}/bin" CXX+= "-B${LOCALBASE}/bin" # The build system reads the environment variable $NINJA_PATH to decide whether # to boostrap ninja or not (and also to invoke it afterwards). CC and CXX are # read by some Chromium code to determine which compiler to invoke when running # some configuration tests. # Since we use USES=qmake:norecursive, we also need to pass some variables to # MAKE_ENV because part of the configuration process happens during the build. CONFIGURE_ENV+= NINJAFLAGS="-j${MAKE_JOBS_NUMBER}" \ NINJA_PATH="${LOCALBASE}/bin/ninja" \ PATH=${CONFIGURE_WRKSRC}/bin:${LOCALBASE}/bin:${PATH} MAKE_ENV+= CC="${CC}" CXX="${CXX}" \ C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include \ ${CONFIGURE_ENV} QT_BINARIES= yes .include .if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} PLIST_SUB+= BE="" LE="@comment " .else PLIST_SUB+= BE="@comment " LE="" .endif post-extract: # Install FreeBSD's freebsd.pri file. ${CP} ${FILESDIR}/freebsd.pri ${WRKSRC}/src/buildtools/config/freebsd.pri post-extract-SNDIO-on: @cd ${WRKSRC}/src/3rdparty/chromium/media/audio && ${MKDIR} sndio openbsd @${CP} ${FILESDIR}/sndio_*put.* \ ${WRKSRC}/src/3rdparty/chromium/media/audio/sndio @${CP} ${FILESDIR}/audio_manager_openbsd.* \ ${WRKSRC}/src/3rdparty/chromium/media/audio/openbsd post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/src/3rdparty/chromium/base/linux_util.cc \ ${WRKSRC}/src/3rdparty/chromium/base/test/BUILD.gn \ ${WRKSRC}/src/3rdparty/chromium/build/toolchain/gcc_toolchain.gni \ ${WRKSRC}/src/3rdparty/chromium/chrome/common/chrome_paths.cc \ ${WRKSRC}/src/3rdparty/chromium/third_party/pdfium/core/fxge/fx_ge_linux.cpp \ ${WRKSRC}/src/3rdparty/gn/build/gen.py @${REINPLACE_CMD} -E -e 's|^(MODULE_VERSION = ).*|\1${QT5_VERSION}|' \ ${WRKSRC}/.qmake.conf .if ${ARCH:Mmips*} || ${ARCH:Mpowerpc*} @${REINPLACE_CMD} -e 's/icudtl.dat/icudtb.dat/' \ ${WRKSRC}/src/core/core_module.pro .endif pre-configure: # Link in ${PYTHON_CMD} to ${CONFIGURE_WRKSRC}/bin -- the scripts hardcode 'python' # in too many places to reasonably patch. So just link in ${PYTHON_CMD} to work around # $LOCALBASE/bin/python being python3 if the default versions is set to 3.x. ${MKDIR} ${CONFIGURE_WRKSRC}/bin && ${LN} -s ${PYTHON_CMD} ${CONFIGURE_WRKSRC}/bin/python # Unbundle a few dependencies. cd ${WRKSRC}/src/3rdparty/chromium && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries\ fontconfig freetype harfbuzz-ng libdrm libevent libpng libwebp libxml libxslt openh264 opus || ${FALSE} # Rerun syncqt.pl -- otherwise the resulting package misses some forwarding headers. cd ${WRKSRC} && ${QT_BINDIR}/syncqt.pl -version ${QT5_VERSION} post-build: # Fix version mismatches for CMake .for module in Pdf PdfWidgets WebEngine WebEngineCore WebEngineWidgets @${REINPLACE_CMD} -e '/${QT5_VERSION} $${_Qt5${module}_FIND_VERSION_EXACT}/s|${QT5_VERSION}|'"$$(${MAKE} -C ../../devel/qt5-core -VQT5_VERSION)"'|' \ ${BUILD_WRKSRC}/lib/cmake/Qt5${module}/Qt5${module}Config.cmake .endfor .include diff --git a/www/qt6-webengine/Makefile b/www/qt6-webengine/Makefile index becc63ec87a3..352dcaf77694 100644 --- a/www/qt6-webengine/Makefile +++ b/www/qt6-webengine/Makefile @@ -1,184 +1,184 @@ # QtWebEngine itself is a very thin layer of Qt code on top of a large part of # Chromium (everything up to the content/ layer). As such, most of the work in # this port revolves around taming Chromium and getting it to build on FreeBSD. # While it does build at the moment, there are several items that should be # investigated or improved: # - We are using several stub files, especially in Chromium's base/ and net/ # layers. We should look at implementing the missing bits instead. # - We are currently not using any sandboxing mechanism. # - The process of porting QtWebEngine needs to be documented so we can move to # newer releases more easily. # PORTNAME?= webengine DISTVERSION= ${QT6_VERSION} -PORTREVISION?= 1 # Master port for print/qt6-pdf. Please keep this line. +PORTREVISION?= 2 # Master port for print/qt6-pdf. Please keep this line. CATEGORIES?= www PKGNAMEPREFIX= qt6- MAINTAINER= kde@FreeBSD.org COMMENT?= Qt 6 library to render web content BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \ ${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers LIB_DEPENDS= libfreetype.so:print/freetype2 \ libnss3.so:security/nss \ libxkbcommon.so:x11/libxkbcommon USES= bison cmake compiler:c++17-lang gl gperf \ localbase:ldflags ninja:build nodejs:build,lts \ pkgconfig python:build qt-dist:6,webengine USE_GL= opengl USE_QT= base declarative tools USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xrandr xrender xscrnsaver xshmfence xtst CMAKE_ON= QT_FEATURE_webengine_system_ffmpeg \ QT_FEATURE_webengine_proprietary_codecs .if defined(BUILD_QTPDF) LIB_DEPENDS+= libcups.so:print/cups \ libopenjp2.so:graphics/openjpeg CMAKE_ON+= QT_FEATURE_qtpdf_build CMAKE_OFF+= QT_FEATURE_qtwebengine_build SYS_LIBS= freetype .else BUILD_DEPENDS+= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS+= libabsl_base.so:devel/abseil \ libavcodec.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ libdrm.so:graphics/libdrm \ libevent.so:devel/libevent \ libexpat.so:textproc/expat2 \ libfontconfig.so:x11-fonts/fontconfig \ libharfbuzz.so:print/harfbuzz \ libnspr4.so:devel/nspr \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpci.so:devel/libpci \ libpng.so:graphics/png \ libre2.so:devel/re2 \ libsnappy.so:archivers/snappy \ libvpx.so:multimedia/libvpx \ libwebp.so:graphics/webp USES+= gnome jpeg minizip xorg USE_GL+= gbm USE_QT+= positioning quick3d:build webchannel USE_GNOME+= glib20 libxml2 libxslt USE_XORG+= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \ xrandr xrender xscrnsaver xshmfence xtst CMAKE_ON+= QT_FEATURE_qtwebengine_build CMAKE_OFF+= QT_FEATURE_qtpdf_build SYS_LIBS= freetype harfbuzz-ng libdrm libevent libpng libxml libxslt openh264 opus .endif # The build system reads the environment variable $NINJA_PATH to decide whether # to boostrap ninja or not (and also to invoke it afterwards). CC and CXX are # read by some Chromium code to determine which compiler to invoke when running # some configuration tests. CONFIGURE_ENV+= NINJAFLAGS="-j${MAKE_JOBS_NUMBER}" \ NINJA_PATH="${LOCALBASE}/bin/ninja" \ PATH=${CONFIGURE_WRKSRC}/bin:${LOCALBASE}/bin:${PATH} MAKE_ENV+= CC="${CC}" CXX="${CXX}" \ C_INCLUDE_PATH=${LOCALBASE}/include \ CPLUS_INCLUDE_PATH=${LOCALBASE}/include \ ${CONFIGURE_ENV} # Avoid running multiple make(1) jobs, but only those. Otherwise the build # fails intermittently due race conditions if multiple ninja instances are # running at the same time (mostly for the targets "WebEngineCore" and # "convert_dict"). # # MAKE_JOBS_UNSAFE is too invasive because it also affects the number of jobs # for ninja(1) and would slow everything down which we don't want. We pass the # real number of make jobs via MAKE_JOBS_NUMBER to ninja(1) to CONFIGURE_ENV. DO_MAKE_BUILD= ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} -j1 ${MAKE_ARGS:N${DESTDIRNAME}=*} BINARY_ALIAS= python3=${PYTHON_CMD} .if !defined(BUILD_QTPDF) OPTIONS_DEFINE= CUPS DRIVER OPTIONS_DEFAULT= ALSA CUPS DRIVER OPTIONS_SINGLE= AUDIO OPTIONS_SINGLE_AUDIO= ALSA PULSEAUDIO SNDIO OPTIONS_SUB= yes AUDIO_DESC= Audio backend # Need the alsa plugins to get sound at runtime, otherwise messages # that the pcm_oss plugin can't be opened. ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_RUN_DEPENDS= alsa-plugins>=0:audio/alsa-plugins ALSA_CMAKE_ON= -DQT_FEATURE_webengine_system_alsa:BOOL=ON ALSA_CMAKE_OFF= -DQT_FEATURE_webengine_system_alsa:BOOL=OFF CUPS_LIB_DEPENDS= libcups.so:print/cups \ liblcms2.so:graphics/lcms2 \ libopenjp2.so:graphics/openjpeg \ libtiff.so:graphics/tiff CUPS_CMAKE_ON= -DQT_FEATURE_webengine_printing_and_pdf:BOOL=ON CUPS_CMAKE_OFF= -DQT_FEATURE_webengine_printing_and_pdf:BOOL=OFF DRIVER_DESC= Install WebEngineDriver DRIVER_CMAKE_ON= -DQT_FEATURE_webenginedriver:BOOL=ON DRIVER_CMAKE_OFF= -DQT_FEATURE_webenginedriver:BOOL=OFF PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_ON= -DQT_FEATURE_webengine_system_pulseaudio:BOOL=ON PULSEAUDIO_CMAKE_OFF= -DQT_FEATURE_webengine_system_pulseaudio:BOOL=OFF SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CMAKE_ON= -DQT_FEATURE_webengine_system_sndio:BOOL=ON SNDIO_CMAKE_OFF= -DQT_FEATURE_webengine_system_sndio:BOOL=OFF .endif .include .if ${ARCH} == i386 || ${ARCH} == armv7 EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-32bit-compress_files_js .endif post-extract: @${MKDIR} ${WRKSRC}/src/3rdparty/chromium/media/audio/sndio \ ${WRKSRC}/src/3rdparty/chromium/sandbox/policy/freebsd \ ${WRKSRC}/src/3rdparty/chromium/sandbox/policy/openbsd post-patch: @${REINPLACE_CMD} -e 's|%%CPPFLAGS%%|${CPPFLAGS}|;s|%%CXXFLAGS%%|${CXXFLAGS}|;s|%%LDFLAGS%%|${LDFLAGS}|' \ ${WRKSRC}/src/host/BUILD.toolchain.gn.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/src/3rdparty/chromium/third_party/pdfium/core/fxge/linux/fx_linux_impl.cpp \ ${WRKSRC}/src/3rdparty/chromium/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc pre-configure: # We used to remove bundled libraries to be sure that webengine uses # system libraries and not shipped ones. # # Leads to missing header errors: icu, libvpx, libwebp, re2, snappy, zlib # No-Op: flac # # Don't attempt to unbundle libraries that the Pdf module doesn't use. It # causes configuration errors. # # cd ${WRKSRC} && ${PYTHON_CMD} \ # ./build/linux/unbundle/remove_bundled_libraries.py [list of preserved] cd ${WRKSRC}/src/3rdparty/chromium && ${SETENV} ${CONFIGURE_ENV} ${PYTHON_CMD} \ ./build/linux/unbundle/replace_gn_files.py --system-libraries \ ${SYS_LIBS} || ${FALSE} .if !defined(BUILD_QTPDF) post-install: # Fix for deskutils/calibre, perhaps others, where this empty directory # is created during build causing a fs-violation. ${MKDIR} ${STAGEDIR}${QT_DATADIR}/resources/locales post-install-DRIVER-on: ${STRIP_CMD} ${STAGEDIR}${QT_TOOLDIR}/webenginedriver .endif .include diff --git a/x11-toolkits/copperspice/Makefile b/x11-toolkits/copperspice/Makefile index 41dd7bb065b9..4a7fc81885d7 100644 --- a/x11-toolkits/copperspice/Makefile +++ b/x11-toolkits/copperspice/Makefile @@ -1,48 +1,48 @@ PORTNAME= copperspice DISTVERSION= 1.7.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-toolkits MASTER_SITES= https://download.copperspice.com/${PORTNAME}/source/ MAINTAINER= adridg@FreeBSD.org COMMENT= First class GUI library to unite the C++ community WWW= https://www.copperspice.com/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/license/LICENSE.LGPL NOT_FOR_ARCHS= i386 LIB_DEPENDS= libasound.so:audio/alsa-lib \ libpulse.so:audio/pulseaudio \ libcups.so:print/cups \ libxcb-icccm.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.so:x11/libxcb \ libxkbcommon.so:x11/libxkbcommon \ libfontconfig.so:x11-fonts/fontconfig USES= compiler:c++17-lang cmake dos2unix gl gnome gstreamer iconv jpeg pkgconfig ssl tar:bz2 xorg USE_GL= gl USE_GNOME= cairo glib20 libxml2 USE_XORG= ice sm x11 xau xcb xcursor xext xfixes xi xinerama xrandr xrender CMAKE_ARGS+= -DCMAKE_INSTALL_BINDIR:PATH='${LOCALBASE}/lib/copperspice/bin' \ -DCMAKE_INSTALL_INCLUDEDIR:PATH='${LOCALBASE}/include/copperspice' \ -DCMAKE_INSTALL_PREFIX:PATH='${LOCALBASE}' \ -DTOOLS_SUFFIX:STRING=-cs NO_WRKSUBDIR= yes # There is a notional conflict with the Qt ports: those have **versioned** # tool names, like designer-qt5, lupdate-qt5, to allow co-installation # of Qt[456] (when we had / have more than one current-version in ports). # # We use -cs for the Copperspice suffix to distinguish from -qt5, and # the executables go in a separate directory anyway. # # CONFLICTS= qt5-core .include diff --git a/x11-wm/e16/Makefile b/x11-wm/e16/Makefile index 539b9dff0154..2ded9f4daea3 100644 --- a/x11-wm/e16/Makefile +++ b/x11-wm/e16/Makefile @@ -1,79 +1,79 @@ PORTNAME= e16 PORTVERSION= 1.0.30 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= x11-wm enlightenment MASTER_SITES= SF/enlightenment/${PORTNAME}/${PORTVERSION}/ MAINTAINER= gahr@FreeBSD.org COMMENT= Enlightenment DR16 window manager WWW= https://www.enlightenment.org/p.php?p=about/e16 LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libImlib2.so:graphics/imlib2 \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz USES= autoreconf desktop-file-utils gettext-tools gmake iconv \ libtool gnome perl5 pkgconfig python:run shebangfix xorg INSTALL_TARGET= install-strip OPTIONS_DEFINE= DOCS NLS PANGO OPTIONS_RADIO= SOUND SOUNDLOADER OPTIONS_RADIO_SOUND= PULSEAUDIO SNDIO OPTIONS_RADIO_SOUNDLOADER= SNDFILE AUDIOFILE OPTIONS_SUB= yes OPTIONS_DEFAULT= PULSEAUDIO SNDFILE PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_ON=--enable-sound=pulseaudio SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_CONFIGURE_ON= --enable-sound=sndio SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile SNDFILE_CONFIGURE_ON= --with-sndldr=sndfile AUDIOFILE_LIB_DEPENDS= libaudiofile.so:audio/libaudiofile AUDIOFILE_CONFIGURE_ON= --with-sndldr=audiofile NLS_USES= gettext NLS_CONFIGURE_OFF= --disable-nls PANGO_USE= GNOME=pango PANGO_CONFIGURE_ENABLE= pango DOCS_CONFIGURE_ON= --enable-docs=yes DOCS_CONFIGURE_OFF= --enable-docs=no .include # Double check SOUND and SOUNDLOADER E16_SOUND= ${PORT_OPTIONS:MPULSEAUDIO}${PORT_OPTIONS:MSNDIO} E16_SNDLDR= ${PORT_OPTIONS:MSNDFILE}${PORT_OPTIONS:MAUDIOFILE} .if !empty(E16_SOUND) && empty(E16_SNDLDR) IGNORE= sound support requires a sound loader .endif .if empty(E16_SOUND) && !empty(E16_SNDLDR) IGNORE= sound loader only makes sense with sound support .endif USE_XORG= ice sm xorgproto x11 xbitmaps xcomposite xdamage xext xfixes \ xft xinerama xrandr xrender xxf86vm SHEBANG_FILES= scripts/e_gen_menu CFLAGS+= -Wno-unused-parameter -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS+=--disable-dependency-tracking --disable-rpath \ --enable-mans SHELL=/bin/sh .if empty(E16_SOUND) && empty(E16_SNDLDR) CONFIGURE_ARGS+=--enable-sound=no --with-sndldr=none .endif post-patch: ${REINPLACE_CMD} -e '/dl, dlopen/d' ${WRKSRC}/configure.ac post-patch-DOCS-off: ${REINPLACE_CMD} -e '/^SUBDIRS/s|docs ||' \ ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in .include diff --git a/x11-wm/enlightenment/Makefile b/x11-wm/enlightenment/Makefile index 986052a9b387..9cb7d4ba8f12 100644 --- a/x11-wm/enlightenment/Makefile +++ b/x11-wm/enlightenment/Makefile @@ -1,59 +1,60 @@ PORTNAME= enlightenment PORTVERSION= 0.26.0 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= x11-wm enlightenment MASTER_SITES= http://download.enlightenment.org/rel/apps/${PORTNAME}/ DIST_SUBDIR= enlightenment MAINTAINER= enlightenment@FreeBSD.org COMMENT= Artistic and fast X window manager WWW= https://www.enlightenment.org/ LICENSE= BSD2CLAUSE LIB_DEPENDS= libefl.so:devel/efl \ libpulse.so:audio/pulseaudio USES= compiler:c11 cpe desktop-file-utils gettext-tools gnome \ localbase:ldflags meson ninja iconv libtool pathfix pkgconfig \ tar:xz xorg USE_XORG= xcb USE_LDCONFIG= yes INSTALL_TARGET= install-strip MESON_ARGS= -Dsystemd=false -Ddevice-udev=false \ -Dmount-udisks=false -Dmount-eeze=false -Dbluez5=false \ -Delput=false -Dgesture-recognition=false OPTIONS_DEFINE= NLS EXIF OPTIONS_DEFAULT= NLS EXIF OPTIONS_SUB= yes EXIF_DESC= Exif metadata display support NLS_USES= gettext-runtime NLS_MESON_TRUE= nls EXIF_LIB_DEPENDS= libexif.so:graphics/libexif EXIF_MESON_TRUE= libexif # MESON normalizes ${ARCH} so we cannot use it 'AS IS' without conversion CURRENT_ARCH= ${ARCH} .if ${CURRENT_ARCH} == amd64 ENLIGHTENMENT_ARCH= ${OPSYS:tl}-x86_64 .elif ${CURRENT_ARCH} == i386 ENLIGHTENMENT_ARCH= ${OPSYS:tl}-x86 .elif ${CURRENT_ARCH:Mpowerpc64*} ENLIGHTENMENT_ARCH= ${OPSYS:tl}-ppc64 .elif ${CURRENT_ARCH} == powerpc ENLIGHTENMENT_ARCH= ${OPSYS:tl}-ppc .elif ${CURRENT_ARCH:Marmv?} ENLIGHTENMENT_ARCH= ${OPSYS:tl}-arm .else ENLIGHTENMENT_ARCH= ${OPSYS:tl}-${CURRENT_ARCH} .endif ENLIGHTENMENT_VERSION= ${PORTVERSION} PLIST_SUB= ENLIGHTENMENT_ARCH=${ENLIGHTENMENT_ARCH}-${ENLIGHTENMENT_VERSION} .include diff --git a/x11-wm/lxqt-panel/Makefile b/x11-wm/lxqt-panel/Makefile index 26c9e9a43cb8..17a08d65bce4 100644 --- a/x11-wm/lxqt-panel/Makefile +++ b/x11-wm/lxqt-panel/Makefile @@ -1,64 +1,65 @@ PORTNAME= lxqt-panel PORTVERSION= 2.1.1 +PORTREVISION= 1 CATEGORIES= x11-wm MASTER_SITES= LXQT MAINTAINER= lxqt@FreeBSD.org COMMENT= Panel for the LXQt2 desktop WWW= https://lxqt-project.org LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libdbusmenu-lxqt.so:devel/libdbusmenu-lxqt \ libxkbcommon.so:x11/libxkbcommon \ libxcb-util.so:x11/xcb-util \ libsysstat-qt6.so:sysutils/libsysstat-qt6 \ libxcb-image.so:x11/xcb-util-image BUILD_DEPENDS= lxqt-menu-data>=2.0.0:x11/lxqt-menu-data RUN_DEPENDS= lxqt-menu-data>=2.0.0:x11/lxqt-menu-data USES= cmake compiler:c++17-lang gettext-runtime kde:6 qt:6 gnome \ lxqt:2 localbase:ldflags perl5 pkgconfig tar:xz xorg USE_PERL5= build USE_QT= base:run tools:build svg USE_KDE= layer-shell-qt windowsystem USE_LXQT= buildtools2 lxqt globalkeys qt6xdg USE_XORG= ice sm x11 xcb xcomposite xdamage xext xfixes xrender xtst USE_GNOME= glib20 USE_LDCONFIG= yes OPTIONS_RADIO= SOUND OPTIONS_RADIO_SOUND= ALSA PULSEAUDIO OPTIONS_DEFINE= CPULOAD MOUNT OPTIONS_DEFAULT= PULSEAUDIO CPULOAD_DESC= CPU stat plugin MOUNT_DESC= Mount removable devices support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CMAKE_ON= -DVOLUME_USE_PULSEAUDIO:BOOL=OFF CPULOAD_LIB_DEPENDS= libstatgrab.so:devel/libstatgrab CPULOAD_CMAKE_OFF= -DCPULOAD_PLUGIN:BOOL=OFF PULSEAUDIO_CMAKE_ON= -DVOLUME_USE_ALSA:BOOL=OFF PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio MOUNT_USE= kde=solid MOUNT_CMAKE_OFF= -DMOUNT_PLUGIN:BOOL=OFF OPTIONS_SUB= yes LDFLAGS+= -Xlinker --export-dynamic CMAKE_ARGS+= -DSENSORS_PLUGIN:BOOL=OFF \ -DNETWORKMONITOR_PLUGIN:BOOL=OFF \ -DWITH_SCREENSAVER_FALLBACK:BOOL=OFF .include .if ! ${PORT_OPTIONS:MALSA} && ! ${PORT_OPTIONS:MPULSEAUDIO} CMAKE_ARGS+= -DVOLUME_PLUGIN:BOOL=OFF PLIST_SUB+= SOUND="@comment " .elif ${PORT_OPTIONS:MALSA} || ${PORT_OPTIONS:MPULSEAUDIO} PLIST_SUB+= SOUND="" .endif .include diff --git a/x11/budgie-desktop/Makefile b/x11/budgie-desktop/Makefile index 94b0fa6228a0..d26dd602fa9a 100644 --- a/x11/budgie-desktop/Makefile +++ b/x11/budgie-desktop/Makefile @@ -1,91 +1,91 @@ PORTNAME= budgie-desktop DISTVERSION= 10.8.2 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= x11 budgie MASTER_SITES= BUDGIE MAINTAINER= duchateau.olivier@gmail.com COMMENT= Modern and familiar desktop environment WWW= https://github.com/BuddiesOfBudgie/budgie-desktop LICENSE_COMB= multi LICENSE= GPLv2 LGPL21 BUILD_DEPENDS= gnome-settings-daemon>0:sysutils/gnome-settings-daemon \ gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ sassc:textproc/sassc \ zenity>0:x11/zenity LIB_DEPENDS= libpolkit-gobject-1.so:sysutils/polkit \ libpeas-1.0.so:devel/libpeas \ libuuid.so:misc/e2fsprogs-libuuid \ libnotify.so:devel/libnotify \ libaccountsservice.so:sysutils/accountsservice \ libpulse.so:audio/pulseaudio \ libasound.so:audio/alsa-lib \ libgraphene-1.0.so:graphics/graphene \ libupower-glib.so:sysutils/upower \ libibus-1.0.so:textproc/ibus \ libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libgee-0.8.so:devel/libgee RUN_DEPENDS= gsettings-desktop-schemas>0:devel/gsettings-desktop-schemas \ gnome-session>0:x11/gnome-session \ consolekit2>0:sysutils/consolekit2 \ zenity>0:x11/zenity \ xdotool>0:x11/xdotool USES= budgie gettext gnome gstreamer meson pkgconfig tar:xz \ vala:build xorg USE_BUDGIE= libmagpie screensaver:build USE_GNOME= cairo gdkpixbuf2 glib20 gnomedesktop3 gnomemenus3 \ gtk30 intltool introspection libwnck3 USE_GSTREAMER= libgstreamer USE_XORG= x11 xcomposite MESON_ARGS= -Dwith-gtk-doc=false \ -Dwith-bluetooth=false \ -Dwith-hibernate=false \ -Dwith-libuuid-time-safe=false # If zenity >= 3.90 → build against Gtk4 (new API) MESON_ARGS+= -Duse-old-zenity=true GLIB_SCHEMAS= 20_buddiesofbudgie.budgie-desktop.notifications.gschema.override \ 20_solus-project.budgie.wm.gschema.override \ com.solus-project.budgie-menu.gschema.xml \ com.solus-project.budgie-panel.gschema.xml \ com.solus-project.budgie.raven.gschema.xml \ com.solus-project.budgie.wm.gschema.xml \ com.solus-project.clock.gschema.xml \ com.solus-project.icon-tasklist.gschema.xml \ com.solus-project.places-indicator.gschema.xml \ com.solus-project.spacer.gschema.xml \ com.solus-project.status.gschema.xml \ com.solus-project.trash.gschema.xml \ com.solus-project.tray.gschema.xml \ com.solus-project.workspaces.gschema.xml \ org.buddiesofbudgie.budgie-desktop.raven.widget.Calendar.gschema.xml \ org.buddiesofbudgie.budgie-desktop.raven.widget.SoundInput.gschema.xml \ org.buddiesofbudgie.budgie-desktop.raven.widget.SoundOutput.gschema.xml \ org.buddiesofbudgie.budgie-desktop.raven.widget.UsageMonitor.gschema.xml \ org.buddiesofbudgie.budgie-desktop.screenshot.gschema.xml \ 25_org.buddiesofbudgie-default-settings.gschema.override .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-extract: ${CP} ${FILESDIR}/25_org.buddiesofbudgie-default-settings.gschema.override \ ${WRKSRC}/data post-patch: ${REINPLACE_CMD} -i "" -e 's|%%PREFIX%%|${LOCALBASE}|g' \ ${WRKSRC}/src/wm/20_solus-project.budgie.wm.gschema.override ${REINPLACE_CMD} -i "" -e 's|start-here|view-grid|' \ ${WRKSRC}/src/panel/applets/budgie-menu/com.solus-project.budgie-menu.gschema.xml .include diff --git a/x11/cinnamon-desktop/Makefile b/x11/cinnamon-desktop/Makefile index 11a998f9a060..7d752f9dce34 100644 --- a/x11/cinnamon-desktop/Makefile +++ b/x11/cinnamon-desktop/Makefile @@ -1,61 +1,61 @@ PORTNAME= cinnamon-desktop PORTVERSION= 5.4.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11 gnome DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Additional UI API for cinnamon WWW= https://github.com/linuxmint/cinnamon-desktop LICENSE= GPLv2 LGPL20 LICENSE_COMB= multi LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB BUILD_DEPENDS= xkeyboard-config>=0:x11/xkeyboard-config \ libxkbfile>=0:x11/libxkbfile LIB_DEPENDS= libpulse.so:audio/pulseaudio RUN_DEPENDS= xkeyboard-config>=0:x11/xkeyboard-config \ libxkbfile>=0:x11/libxkbfile USES= gettext gnome localbase meson pkgconfig python:build shebangfix xorg USE_GNOME= cairo gdkpixbuf2 gtk30 intltool introspection USE_XORG= x11 xext xrandr USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= linuxmint SHEBANG_FILES= install-scripts/meson_install_schemas.py installer-test GLIB_SCHEMAS= org.cinnamon.desktop.a11y.applications.gschema.xml \ org.cinnamon.desktop.a11y.keyboard.gschema.xml \ org.cinnamon.desktop.a11y.magnifier.gschema.xml \ org.cinnamon.desktop.a11y.mouse.gschema.xml \ org.cinnamon.desktop.background.gschema.xml \ org.cinnamon.desktop.default-applications.gschema.xml \ org.cinnamon.desktop.enums.xml \ org.cinnamon.desktop.input-sources.gschema.xml \ org.cinnamon.desktop.interface.gschema.xml \ org.cinnamon.desktop.keybindings.gschema.xml \ org.cinnamon.desktop.keybindings.media-keys.gschema.xml \ org.cinnamon.desktop.keybindings.wm.gschema.xml \ org.cinnamon.desktop.lockdown.gschema.xml \ org.cinnamon.desktop.media-handling.gschema.xml \ org.cinnamon.desktop.notifications.gschema.xml \ org.cinnamon.desktop.peripherals.gschema.xml \ org.cinnamon.desktop.privacy.gschema.xml \ org.cinnamon.desktop.screensaver.gschema.xml \ org.cinnamon.desktop.session.gschema.xml \ org.cinnamon.desktop.sound.gschema.xml \ org.cinnamon.desktop.thumbnail-cache.gschema.xml \ org.cinnamon.desktop.thumbnailers.gschema.xml \ org.cinnamon.desktop.wm.preferences.gschema.xml OPTIONS_DEFINE= ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MESON_TRUE= alsa .include diff --git a/x11/deforaos-integration/Makefile b/x11/deforaos-integration/Makefile index 92e771ca9097..b750d73d02b7 100644 --- a/x11/deforaos-integration/Makefile +++ b/x11/deforaos-integration/Makefile @@ -1,48 +1,49 @@ PORTNAME= integration PORTVERSION= 0.1.3 +PORTREVISION= 1 CATEGORIES= x11 MASTER_SITES= https://ftp.defora.org/pub/DeforaOS/Apps/Desktop/src/Integration/ PKGNAMEPREFIX= deforaos- DISTNAME= Integration-${PORTVERSION} MAINTAINER= khorben@defora.org COMMENT= DeforaOS desktop integration WWW= https://www.defora.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/Desktop/Locker.h:x11/deforaos-locker \ ${LOCALBASE}/include/Desktop/Keyboard.h:x11/deforaos-keyboard \ ${LOCALBASE}/include/Desktop/Player.h:multimedia/deforaos-player \ ${LOCALBASE}/include/Desktop/Phone.h:comms/deforaos-phone LIB_DEPENDS= libSystem.so:devel/deforaos-libsystem \ libDesktop.so:x11/deforaos-libdesktop \ libMailer.so.0:mail/deforaos-mailer \ libNotes.so.0:deskutils/deforaos-notes \ libpurple.so:net-im/libpurple \ libsofia-sip-ua.so:net/sofia-sip \ libpulse.so:audio/pulseaudio \ libPanel.so.0:x11-wm/deforaos-panel \ libTodo.so.0:deskutils/deforaos-todo \ libharfbuzz.so:print/harfbuzz \ libdbus-glib-1.so:devel/dbus-glib \ libdbus-1.so:devel/dbus RUN_DEPENDS= ${LOCALBASE}/bin/surfer:www/deforaos-surfer \ ${LOCALBASE}/bin/metacity:x11-wm/metacity \ gnome-icon-theme>=0:misc/gnome-icon-theme USES= desktop-file-utils gnome pkgconfig xorg USE_GNOME= cairo gdkpixbuf2 gtk30 USE_LDCONFIG= yes USE_XORG= x11 post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/Phone/modem/*.so \ ${STAGEDIR}${PREFIX}/lib/Phone/plugins/*.so \ ${STAGEDIR}${PREFIX}/lib/Locker/plugins/*.so \ ${STAGEDIR}${PREFIX}/lib/Mailer/plugins/*.so \ ${STAGEDIR}${PREFIX}/lib/Panel/applets/*.so .include diff --git a/x11/gnome-shell/Makefile b/x11/gnome-shell/Makefile index 7a42a5b38b68..fdd1988b724f 100644 --- a/x11/gnome-shell/Makefile +++ b/x11/gnome-shell/Makefile @@ -1,77 +1,77 @@ PORTNAME= gnome-shell PORTVERSION= 42.4 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= x11 gnome MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/} DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Next generation GNOME desktop shell WWW= https://live.gnome.org/GnomeShell LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/share/bash-completion/bash_completion.sh:shells/bash-completion \ a2x:textproc/asciidoc \ docbook-xsl>=0:textproc/docbook-xsl \ gnome-control-center:sysutils/gnome-control-center \ sassc:textproc/sassc LIB_DEPENDS= libatk-bridge-2.0.so:accessibility/at-spi2-core \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libcanberra.so:audio/libcanberra \ libcroco-0.6.so:textproc/libcroco \ libdrm.so:graphics/libdrm \ libgcr-base-3.so:security/gcr3 \ libgjs.so:lang/gjs \ libgnome-autoar-0.so:archivers/gnome-autoar \ libgraphene-1.0.so:graphics/graphene \ libical.so:devel/libical \ libicuuc.so:devel/icu \ libjson-glib-1.0.so:devel/json-glib \ libmutter-10.so:x11-wm/mutter \ libp11-kit.so:security/p11-kit \ libpolkit-agent-1.so:sysutils/polkit \ libpulse.so:audio/pulseaudio \ libsecret-1.so:security/libsecret \ libsoup-3.0.so:devel/libsoup3 \ libstartup-notification-1.so:x11/startup-notification RUN_DEPENDS= gdm:x11/gdm \ gkbd-keyboard-display:x11/libgnomekbd \ gnome-control-center:sysutils/gnome-control-center PORTSCOUT= limitw:1,even USES= compiler:c11 cpe gettext gl gnome gstreamer libtool localbase \ meson pathfix perl5 pkgconfig python shebangfix tar:xz \ webplugin:native xorg USE_GNOME= cairo evolutiondataserver3 gdkpixbuf2 gnomedesktop3 gtk40 \ introspection libxml2 libxslt:build USE_XORG= x11 xcomposite xdamage xext xfixes xi xrandr xtst USE_GL= egl gbm USE_PERL5= build USE_LDCONFIG= yes SHEBANG_FILES= src/gnome-shell-extension-tool.in src/gnome-shell-perf-tool.in BINARY_ALIAS= python3=${PYTHON_CMD} WEBPLUGIN_NAME= libgnome-shell-browser-plugin.so WEBPLUGIN_DIR= ${PREFIX}/lib/mozilla/plugins/ WEBPLUGIN_FILES= libgnome-shell-browser-plugin.so MESON_ARGS= -Dnetworkmanager=false \ -Dsoup2=false \ -Dsystemd=false \ -Dtests=false CPE_VENDOR= gnome GLIB_SCHEMAS= 00_org.gnome.shell.gschema.override \ org.gnome.shell.gschema.xml post-extract: ${CP} ${FILESDIR}/*.xml ${WRKSRC}/data/dbus-interfaces post-patch: ${REINPLACE_CMD} -e "s,python3,${PYTHON_VERSION},g" \ ${WRKSRC}/meson.build .include diff --git a/x11/polybar/Makefile b/x11/polybar/Makefile index 200cf9a67302..396bc946c16f 100644 --- a/x11/polybar/Makefile +++ b/x11/polybar/Makefile @@ -1,96 +1,96 @@ PORTNAME= polybar DISTVERSION= 3.7.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= https://github.com/polybar/polybar/releases/download/${DISTVERSION}/ MAINTAINER= jbo@FreeBSD.org COMMENT= Fast and easy-to-use status bar WWW= https://github.com/polybar/polybar LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= xcb-proto>=1.9:x11/xcb-proto LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libinotify.so:devel/libinotify \ libuv.so:devel/libuv \ libxcb-ewmh.so:x11/xcb-util-wm \ libxcb-icccm.so:x11/xcb-util-wm \ libxcb-image.so:x11/xcb-util-image \ libxcb-util.so:x11/xcb-util \ libxcb-xrm.so:x11/xcb-util-xrm # compiler:c++11-lang is needed for powerpc64 USES= cmake compiler:c++11-lang gnome localbase:ldflags \ pkgconfig python:build xorg USE_GNOME= cairo USE_XORG= xcb # Needs libnl to work. Disabling it completely. CMAKE_OFF= ENABLE_NETWORK BUILD_DOC OPTIONS_DEFINE= ALSA CURSOR DEBUG GITHUB I3 IPC MPD \ PULSEAUDIO TESTS XKEYBOARD OPTIONS_DEFAULT= CURSOR GITHUB I3 IPC MPD PULSEAUDIO XKEYBOARD OPTIONS_SUB= yes ALSA_DESC= Shows volume and mute state for Alsa CURSOR_DESC= Required for click and scroll settings GITHUB_DESC= Shows the unread notification count I3_DESC= Uses the i3 IPC to display information IPC_DESC= Built-in IPC support MPD_DESC= Support for controlling MPD TESTS_DESC= Build testsuite XKEYBOARD_DESC= Shows the current layout and active indicators ALSA_CMAKE_BOOL= ENABLE_ALSA ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib CURSOR_CMAKE_BOOL= WITH_XCURSOR CURSOR_LIB_DEPENDS= libxcb-cursor.so:x11/xcb-util-cursor DEBUG_CMAKE_BOOL= DEBUG_LOGGER GITHUB_CMAKE_BOOL= ENABLE_CURL GITHUB_LIB_DEPENDS= libcurl.so:ftp/curl I3_BUILD_DEPENDS= ${LOCALBASE}/include/i3/ipc.h:x11-wm/i3 I3_CMAKE_BOOL= ENABLE_I3 I3_LIB_DEPENDS= libjsoncpp.so:devel/jsoncpp IPC_CMAKE_BOOL= BUILD_IPC_MSG MPD_CMAKE_BOOL= ENABLE_MPD MPD_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient PULSEAUDIO_CMAKE_BOOL= ENABLE_PULSEAUDIO PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio # fail while building on poudriere because it needs network access # during the building process to download googletest on-the-fly. TESTS_BUILD_DEPENDS= git>=0:devel/git TESTS_CMAKE_BOOL= BUILD_TESTS XKEYBOARD_CMAKE_BOOL= ENABLE_XKEYBOARD XKEYBOARD_LIB_DEPENDS= libxcb-xkb.so:x11/libxcb ETCFIX = include/utils/command.hpp \ contrib/bash/polybar \ contrib/zsh/_polybar \ doc/man/polybar.1.rst \ doc/man/polybar.5.rst \ CHANGELOG.md post-patch: .for f in ${ETCFIX} @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/${f} .endfor do-test-TESTS-on: cd ${TEST_WRKSRC} && ${SETENV} BUILD_TESTS=ON \ ${SH} ${WRKSRC}/common/travis/tests.sh .include diff --git a/x11/sfwbar/Makefile b/x11/sfwbar/Makefile index ea003fc4c84f..2a546147e5e5 100644 --- a/x11/sfwbar/Makefile +++ b/x11/sfwbar/Makefile @@ -1,66 +1,67 @@ PORTNAME= sfwbar DISTVERSIONPREFIX= v DISTVERSION= 1.0_beta15 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= tino.engel@mail.de COMMENT= Flexible taskbar application for wayland compositors WWW= https://github.com/LBCrion/sfwbar LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= rst2man:textproc/py-docutils@${PY_FLAVOR} \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \ libjson-c.so:devel/json-c \ libwayland-client.so:graphics/wayland USES= gnome meson pkgconfig python:run USE_GITHUB= yes GH_ACCOUNT= LBCrion USE_GNOME= cairo gdkpixbuf2 gtk30 MESON_ARGS= -Dbluez=enabled \ -Dbsdctl=enabled \ -Didleinhibit=enabled \ -Diwd=enabled \ -Dnetwork=enabled SUB_FILES= pkg-message OPTIONS_DEFINE= ALSA MPD NM PULSEAUDIO XKB OPTIONS_DEFAULT= ALSA MPD NM PULSEAUDIO XKB OPTIONS_SUB= yes ALSA_DESC= ALSA audio volume control MPD_DESC= Music player daemon control NM_DESC= Network manager module PULSEAUDIO_DESC= Pulse audio volume control XKB_DESC= XkbCommon keyboard layout conversion support ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_MESON_ENABLED= alsa MPD_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient MPD_MESON_ENABLED= mpd NM_MESON_ENABLED= nm PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_ENABLED= pulse XKB_LIB_DEPENDS= libxkbregistry.so:x11/libxkbcommon XKB_MESON_ENABLED= xkb .include .if ${PORT_OPTIONS:MALSA} || ${PORT_OPTIONS:MPULSEAUDIO} PLIST_SUB+= VOLUME="" .else PLIST_SUB+= VOLUME="@comment " .endif .include diff --git a/x11/sway-audio-idle-inhibit/Makefile b/x11/sway-audio-idle-inhibit/Makefile index 6a0adab02024..585d62702df4 100644 --- a/x11/sway-audio-idle-inhibit/Makefile +++ b/x11/sway-audio-idle-inhibit/Makefile @@ -1,23 +1,24 @@ PORTNAME= sway-audio-idle-inhibit DISTVERSIONPREFIX= v PORTVERSION= 0.1.2 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Disable swayidle during audio playback/recording WWW= https://github.com/ErikReider/SwayAudioIdleInhibit LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libwayland-client.so:graphics/wayland USES= compiler:c++11-lang meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= ErikReider GH_PROJECT= SwayAudioIdleInhibit PLIST_FILES= bin/${PORTNAME} .include diff --git a/x11/swaync/Makefile b/x11/swaync/Makefile index 8f0ab36b54ff..a3e2e92f2847 100644 --- a/x11/swaync/Makefile +++ b/x11/swaync/Makefile @@ -1,57 +1,58 @@ PORTNAME= swaync DISTVERSIONPREFIX= v PORTVERSION= 0.10.1 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Simple Wayland notification daemon with GTK panel WWW= https://github.com/ErikReider/SwayNotificationCenter LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= sassc:textproc/sassc LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ libgee-0.8.so:devel/libgee \ libgranite.so:x11-toolkits/granite \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \ libhandy-1.so:x11-toolkits/libhandy USES= compiler:c11 gnome meson pkgconfig \ python:build shebangfix vala:build USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build GH_ACCOUNT= ErikReider GH_PROJECT= SwayNotificationCenter SHEBANG_FILES= build-aux/meson/postinstall.py GLIB_SCHEMAS= org.erikreider.swaync.gschema.xml OPTIONS_DEFINE= MANPAGES PULSEAUDIO OPTIONS_DEFAULT=MANPAGES PULSEAUDIO MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_TRUE= man-pages MANPAGES_PLIST_FILES= share/man/man1/${PORTNAME}.1.gz \ share/man/man1/${PORTNAME}-client.1.gz \ share/man/man5/${PORTNAME}.5.gz PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_TRUE= pulse-audio post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/src/meson.build # Let @sample handle default files under etc/ @${REINPLACE_CMD} -e "s,'/',get_option('prefix')," \ -e "/output.*json/s/'[^']*/&.sample/" \ ${WRKSRC}/src/meson.build @${REINPLACE_CMD} -e "s,'/',get_option('prefix')," \ -e "/output.*css/s/'[^']*/&.sample/" \ ${WRKSRC}/data/meson.build # Respect PREFIX in manpages @${REINPLACE_CMD} 's,/etc,${PREFIX}&,' \ ${WRKSRC}/man/${PORTNAME}.1.scd .include diff --git a/x11/swaysettings/Makefile b/x11/swaysettings/Makefile index 746793128353..8ca4f7dbb657 100644 --- a/x11/swaysettings/Makefile +++ b/x11/swaysettings/Makefile @@ -1,52 +1,52 @@ PORTNAME= swaysettings DISTVERSIONPREFIX= v DISTVERSION= 0.4.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11 MAINTAINER= jbeich@FreeBSD.org COMMENT= GUI for setting Sway wallpaper, default apps, GTK themes, etc. WWW= https://github.com/ErikReider/SwaySettings LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libjson-glib-1.0.so:devel/json-glib \ libgee-0.8.so:devel/libgee \ libaccountsservice.so:sysutils/accountsservice \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \ libhandy-1.so:x11-toolkits/libhandy USES= compiler:c11 gettext gnome localbase:ldflags meson pkgconfig \ python:build shebangfix vala:build USE_GITHUB= yes USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 GH_ACCOUNT= ErikReider GH_PROJECT= SwaySettings SHEBANG_FILES= build-aux/meson/postinstall.py GLIB_SCHEMAS= org.erikreider.swaysettings.gschema.xml post-patch: # Respect PREFIX for images and XKB layouts @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/src/Page/Input_Page.vala \ ${WRKSRC}/src/Pages/Background/Background_Page.vala \ ${WRKSRC}/src/Pages/Users/Users.vala # Drop unused dependency @${REINPLACE_CMD} -e 's/granite/gio-unix-2.0/' \ ${WRKSRC}/src/meson.build # Disable Linux-only bluez and rfkill @${REINPLACE_CMD} -e '/Bluetooth/d; /Rfkill/d' \ ${WRKSRC}/src/meson.build \ ${WRKSRC}/src/${PORTNAME}.gresource.xml @${REINPLACE_CMD} -e '/bluetooth-symbolic/d' \ -e 's/new Bluetooth_Page.*/null;/' \ ${WRKSRC}/src/Window/Window.vala post-configure: # XXX https://github.com/ErikReider/SwaySettings/issues/36 @${REINPLACE_CMD} -e '/pkg/s/accountsservice/AccountsService-1.0/' \ ${BUILD_WRKSRC}/build.ninja .include diff --git a/x11/wapanel/Makefile b/x11/wapanel/Makefile index f2c19c377815..97810d0d7368 100644 --- a/x11/wapanel/Makefile +++ b/x11/wapanel/Makefile @@ -1,39 +1,39 @@ PORTNAME= wapanel DISTVERSION= 1.1.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Desktop bar for Wayfire and other wlroots compositors WWW= https://firstbober.github.io/wapanel/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE DEPRECATED= https://github.com/Firstbober/wapanel/issues/39 BUILD_DEPENDS= toml11>0:devel/toml11 \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell USES= compiler:c++17-lang gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= gdkpixbuf2 gtk30 GH_ACCOUNT= Firstbober MESON_ARGS= -Dsystem_toml11=true OPTIONS_DEFINE= PULSEAUDIO OPTIONS_DEFAULT=PULSEAUDIO OPTIONS_SUB= yes PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_TRUE= volume-control post-patch: # Respect PREFIX for *.desktop @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/src/applets/task-switcher/task_switcher.cc \ ${WRKSRC}/thirdparty/xdgpp/xdg.hpp .include diff --git a/x11/waybar/Makefile b/x11/waybar/Makefile index 17a4ecb051d8..948d14f8fe54 100644 --- a/x11/waybar/Makefile +++ b/x11/waybar/Makefile @@ -1,199 +1,199 @@ PORTNAME= waybar DISTVERSION= 0.11.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 wayland PKGNAMESUFFIX= ${FLAVOR:N${FLAVORS:[1]}:C/.+/-${FLAVOR}/} PATCH_SITES= https://github.com/Alexays/Waybar/commit/ # see https://github.com/Alexays/Waybar/issues/3616 PATCHFILES= 0d02f6877d88551ea2be0cd151c1e6354e208b1c.patch:-p1 MAINTAINER= nivit@FreeBSD.org COMMENT= Highly customizable Wayland bar for Sway and wlroots-based compositors WWW= https://github.com/Alexays/Waybar LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libdate-tz.so:devel/date \ libinotify.so:devel/libinotify \ libjsoncpp.so:devel/jsoncpp \ libfmt.so:devel/libfmt \ libspdlog.so:devel/spdlog \ libwayland-client.so:graphics/wayland \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell \ libxkbregistry.so:x11/libxkbcommon TEST_DEPENDS= catch>0:devel/catch FLAVORS= default nopulse CONFLICTS_INSTALL= ${PORTNAME}* USES= compiler:c++20-lang gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= gtkmm30 GH_ACCOUNT= Alexays GH_PROJECT= Waybar MESON_ARGS= ${libnl systemd tests:L:C/.*/-D&=disabled/} PLIST_FILES= bin/${PORTNAME} \ etc/xdg/${PORTNAME}/config.jsonc \ etc/xdg/${PORTNAME}/style.css # XXX Add pkg-config support to devel/date .if exists(${.CURDIR}/files/date.pc.in) CONFIGURE_ENV+= PKG_CONFIG_PATH="${WRKDIR}" SUB_FILES+= date.pc .endif OPTIONS_DEFINE= CAVA DBUS EVDEV ICONSFONT JACK MANPAGES MPD MPRIS PIPEWIRE PULSEAUDIO SNDIO UDEV UPOWER WIREPLUMBER OPTIONS_DEFAULT= CAVA DBUS EVDEV ICONSFONT JACK MANPAGES MPD MPRIS PIPEWIRE PULSEAUDIO SNDIO UDEV UPOWER WIREPLUMBER OPTIONS_EXCLUDE+= CAVA # https://github.com/karlstav/cava/issues/487 .if ${FLAVOR:U:M*nopulse} OPTIONS_EXCLUDE+= PULSEAUDIO .endif CAVA_LIB_DEPENDS= libcava.so:audio/cava CAVA_MESON_ENABLED= cava CAVA_VARS= MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-cava.5.gz DBUS_LIB_DEPENDS= libdbusmenu-gtk3.so:devel/libdbusmenu DBUS_MESON_ENABLED= dbusmenu-gtk DBUS_VARS= MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-tray.5.gz EVDEV_DESC= Keyboard state via libevdev EVDEV_BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto EVDEV_LIB_DEPENDS= libevdev.so:devel/libevdev \ libinput.so:x11/libinput EVDEV_MESON_ENABLED= libevdev libinput EVDEV_VARS= MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-keyboard-state.5.gz ICONSFONT_DESC= Install Font Awesome to properly render icons ICONSFONT_RUN_DEPENDS= font-awesome>0:x11-fonts/font-awesome JACK_LIB_DEPENDS= libjack.so:audio/jack JACK_MESON_ENABLED= jack JACK_VARS= MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-jack.5.gz MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc MANPAGES_MESON_ENABLED= man-pages MANPAGES_PLIST_FILES= share/man/man5/${PORTNAME}-battery.5.gz \ share/man/man5/${PORTNAME}-cffi.5.gz \ share/man/man5/${PORTNAME}-clock.5.gz \ share/man/man5/${PORTNAME}-cpu.5.gz \ share/man/man5/${PORTNAME}-custom.5.gz \ share/man/man5/${PORTNAME}-disk.5.gz \ share/man/man5/${PORTNAME}-dwl-tags.5.gz \ share/man/man5/${PORTNAME}-dwl-window.5.gz \ share/man/man5/${PORTNAME}-gamemode.5.gz \ share/man/man5/${PORTNAME}-hyprland-language.5.gz \ share/man/man5/${PORTNAME}-hyprland-submap.5.gz \ share/man/man5/${PORTNAME}-hyprland-window.5.gz \ share/man/man5/${PORTNAME}-hyprland-workspaces.5.gz \ share/man/man5/${PORTNAME}-idle-inhibitor.5.gz \ share/man/man5/${PORTNAME}-image.5.gz \ share/man/man5/${PORTNAME}-inhibitor.5.gz \ share/man/man5/${PORTNAME}-memory.5.gz \ share/man/man5/${PORTNAME}-menu.5.gz \ share/man/man5/${PORTNAME}-niri-language.5.gz \ share/man/man5/${PORTNAME}-niri-window.5.gz \ share/man/man5/${PORTNAME}-niri-workspaces.5.gz \ share/man/man5/${PORTNAME}-river-layout.5.gz \ share/man/man5/${PORTNAME}-river-mode.5.gz \ share/man/man5/${PORTNAME}-river-tags.5.gz \ share/man/man5/${PORTNAME}-river-window.5.gz \ share/man/man5/${PORTNAME}-states.5.gz \ share/man/man5/${PORTNAME}-styles.5.gz \ share/man/man5/${PORTNAME}-sway-language.5.gz \ share/man/man5/${PORTNAME}-sway-mode.5.gz \ share/man/man5/${PORTNAME}-sway-scratchpad.5.gz \ share/man/man5/${PORTNAME}-sway-window.5.gz \ share/man/man5/${PORTNAME}-sway-workspaces.5.gz \ share/man/man5/${PORTNAME}-temperature.5.gz \ share/man/man5/${PORTNAME}-wlr-taskbar.5.gz \ share/man/man5/${PORTNAME}.5.gz \ ${NULL} MPD_DESC= Music Player Daemon support MPD_LIB_DEPENDS= libmpdclient.so:audio/libmpdclient MPD_MESON_ENABLED= mpd MPD_VARS= MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-mpd.5.gz MPRIS_DESC= Media Player Remote Interfacing Specification via playerctl MPRIS_LIB_DEPENDS= libplayerctl.so:multimedia/playerctl MPRIS_MESON_ENABLED= mpris MPRIS_VARS= MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-mpris.5.gz PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire PIPEWIRE_MESON_ENABLED= pipewire PIPEWIRE_VARS= MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-privacy.5.gz PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_ENABLED= pulseaudio PULSEAUDIO_VARS= MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-pulseaudio-slider.5.gz \ MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-pulseaudio.5.gz SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio SNDIO_USES= localbase:ldflags SNDIO_MESON_ENABLED= sndio SNDIO_VARS= MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-sndio.5.gz UDEV_DESC= Monitor backlight level via libudev UDEV_LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \ libudev.so:devel/libudev-devd UDEV_MESON_ENABLED= libudev UDEV_VARS= MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-backlight-slider.5.gz \ MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-backlight.5.gz UPOWER_DESC= Monitor battery capacity via UPower UPOWER_LIB_DEPENDS= libupower-glib.so:sysutils/upower UPOWER_MESON_ENABLED= upower_glib UPOWER_VARS= MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-upower.5.gz WIREPLUMBER_LIB_DEPENDS= libwireplumber-0.5.so:multimedia/wireplumber WIREPLUMBER_MESON_ENABLED= wireplumber WIREPLUMBER_VARS= MANPAGES_PLIST_FILES+=share/man/man5/${PORTNAME}-wireplumber.5.gz post-patch: # Extract (snapshot) version from the port instead of meson.build @${REINPLACE_CMD} -i .nogit -e 's/git.found()/false/' \ -e '/project_version/s/@0@/${DISTVERSIONFULL}/' \ ${WRKSRC}/meson.build # https://github.com/ConsoleKit2/ConsoleKit2/issues/150 @${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \ -e 's,login1\([".]\),ConsoleKit\1,g' \ ${WRKSRC}/src/modules/gamemode.cpp \ ${WRKSRC}/src/modules/inhibitor.cpp \ ${WRKSRC}/src/modules/upower.cpp \ ${WRKSRC}/src/util/backlight_backend.cpp \ ${WRKSRC}/src/util/prepare_for_sleep.cpp # Respect PREFIX for icons @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/src/modules/wlr/taskbar.cpp pre-test: @if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \ ${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \ ${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dtests=enabled"; \ ${TOUCH} ${WRKDIR}/.meson_build_tests; \ fi # XXX Drop after FreeBSD 13.3 EOL around 2025-07-01 (don't forget distinfo) .if ${CXX} == c++ && exists(/usr/include/c++/v1/__chrono/concepts.h) && \ !exists(/usr/include/c++/v1/__chrono/tzdb.h) || make(makesum) || make(fetch) USES+= cmake:indirect CMAKE_ARGS= -B ${WRKDIR}/libcxx_build -S ${WRKSRC_libcxx}/libcxx CMAKE_OFF= LIBCXX_INCLUDE_BENCHMARKS CMAKE_INSTALL_PREFIX= ${WRKDIR}/libcxx_prefix # 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++ as it's not necessary #LDFLAGS+= -nostdlib++ -L${WRKDIR}/libcxx_prefix/lib -l:libc++.a -lcxxrt pre-configure: bundled-libcxx bundled-libcxx: @${SETENVI} ${WRK_ENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} @${DO_MAKE_BUILD:NDESTDIR*} install -C ${WRKDIR}/libcxx_build .endif # exists(/usr/include/c++/v1/__chrono/concepts.h) .include diff --git a/x11/wf-shell/Makefile b/x11/wf-shell/Makefile index bbf8838efcd6..0ee84c20d8b8 100644 --- a/x11/wf-shell/Makefile +++ b/x11/wf-shell/Makefile @@ -1,50 +1,51 @@ PORTNAME= wf-shell DISTVERSIONPREFIX= v DISTVERSION= 0.9.0 +PORTREVISION= 1 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= GTK3-based panel for wayfire WWW= https://wayfire.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= wayland-protocols>0:graphics/wayland-protocols \ wf-config>=0.7.0:devel/wf-config \ wayfire>0:x11-wm/wayfire LIB_DEPENDS= libdbusmenu-gtk3.so:devel/libdbusmenu \ libinotify.so:devel/libinotify \ libwf-config.so:devel/wf-config \ libwayland-client.so:graphics/wayland \ libgtk-layer-shell.so:x11-toolkits/gtk-layer-shell RUN_DEPENDS= wayland-logout:x11/wayland-logout FLAVORS= default nopulse default_CONFLICTS_INSTALL= ${PORTNAME}-nopulse nopulse_CONFLICTS_INSTALL= ${PORTNAME} nopulse_PKGNAMESUFFIX= -nopulse USES= compiler:c++17-lang gnome meson pkgconfig USE_GITHUB= yes USE_GNOME= gtkmm30 GH_ACCOUNT= WayfireWM GH_TUPLE= GNOME:libgnome-volume-control:468022b:gvc/subprojects/gvc MESON_ARGS= -Dgvc:alsa=false -Dwayland-logout=false DATADIR= ${PREFIX}/share/wayfire OPTIONS_DEFINE= PULSEAUDIO OPTIONS_DEFAULT=PULSEAUDIO .if ${FLAVOR:U} == nopulse OPTIONS_EXCLUDE=PULSEAUDIO .endif PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_MESON_ENABLED= pulse post-patch: @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},' \ ${WRKSRC}/src/dock/toplevel-icon.cpp \ ${WRKSRC}/src/panel/widgets/window-list/toplevel.cpp .include