diff --git a/multimedia/vlc/Makefile b/multimedia/vlc/Makefile index e73b9edf267d..3f2da1991990 100644 --- a/multimedia/vlc/Makefile +++ b/multimedia/vlc/Makefile @@ -1,406 +1,426 @@ PORTNAME= vlc -DISTVERSION= 3.0.22 -PORTREVISION= 2 +DISTVERSION= 3.0.23 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 -EXTRA_PATCHES= ${FILESDIR}/vlc-3.0.22-ffmpeg8.patch:-p1 - -USES= compiler:c++17-lang cpe desktop-file-utils elfctl gettext-tools \ - gl gmake gnome iconv:wchar_t libtool localbase pathfix pkgconfig \ - tar:xz +USES= compiler:c++17-lang cpe desktop-file-utils dos2unix \ + elfctl gettext-tools gl gmake gnome iconv:wchar_t \ + libtool localbase pathfix pkgconfig tar:xz USE_GL= opengl +DOS2UNIX_FILES= modules/gui/qt/qt6.pro 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 +CONFIGURE_ARGS+=--enable-debug --disable-optimizations +CFLAGS+= -g -O0 +CXXFLAGS+= -g -O0 .endif + +MAKE_ENV= MAKE=${GMAKE} 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 \ + DOCS DVDNAV DVDREAD 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 \ + PULSEAUDIO QT 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 \ +OPTIONS_RADIO= QTVER +OPTIONS_RADIO_QTVER= QT5 QT6 + +OPTIONS_DEFAULT=ASS AVAHI CHROMECAST DAV1D DBUS DVDNAV DVDREAD FRIBIDI GNUTLS HARFBUZZ \ + JPEG LIVEMEDIA LUA OGG OPTIMIZED_CFLAGS OPUS PNG QT 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 +QT_DESC= Qt toolkit support (requires either QT5 or QT6) +QT6_DESC= Qt 6 toolkit support (experimental) +QTVER_DESC= Select Qt GUI engine version REALRTSP_DESC= Real RTSP access module RUNROOT_DESC= Enable running as root -SKINS_DESC= Build skins2 interface module (implies QT5) +SKINS_DESC= Build skins2 interface module (implies QT) 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_IMPLIES= FRIBIDI 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 +QT_IMPLIES= X11 +QT_CONFIGURE_ENABLE= qt +QT_CONFIGURE_ENV= QTDIR="${QT_ARCHDIR}" QMAKE="${QMAKE}" \ + MOC="${MOC}" RCC="${RCC}" UIC="${UIC}" \ + +QT5_IMPLIES= QT QT5_USES= qt:5 QT5_USE= QT=gui,core,svg,widgets,x11extras,buildtools:build -QT5_CONFIGURE_ENABLE= qt + +QT6_IMPLIES= QT +QT6_USES= qt:6 +QT6_USE= QT=base,svg 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_IMPLIES= QT 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 +# Incomplete Wayland support 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 +.if ${PORT_OPTIONS:MQT} +. if empty(PORT_OPTIONS:MQT5) && empty(PORT_OPTIONS:MQT6) +IGNORE= cannot be installed: QT option requires either QT5 or QT6 +. endif .endif -post-patch: - @${REINPLACE_CMD} \ - -e '\|LIBS|s|-lrt||' \ - -e 's|LIBS="-llirc_client|LIBS="$$LIBS_lirc|' \ - -e '/PKG_CONFIG/s|\"gl\"|"opengl"|g' \ +pre-configure-QT6-on: + ${REINPLACE_CMD} 's|Qt5|Qt6}|g;s|qt5|qt6|g' \ + ${WRKSRC}/configure + +pre-configure: + ${REINPLACE_CMD} -e 's|make -s|${MAKE_CMD} -s|' \ ${WRKSRC}/configure - @${REINPLACE_CMD} -e 's|/dev/cdrom|${WITH_CDROM_DEVICE}|g' \ + ${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 + ${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 + ${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 + ${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/vlc/distinfo b/multimedia/vlc/distinfo index fcc6ae9e4cb3..b2f9bfcd40fb 100644 --- a/multimedia/vlc/distinfo +++ b/multimedia/vlc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1766620787 -SHA256 (vlc-3.0.22.tar.xz) = e2cc1cf0ae0902a09da5a37c249a8a4e4b5ec4dc095443b8e1493c6a7cc138ea -SIZE (vlc-3.0.22.tar.xz) = 26427084 +TIMESTAMP = 1784491577 +SHA256 (vlc-3.0.23.tar.xz) = e891cae6aa3ccda69bf94173d5105cbc55c7a7d9b1d21b9b21666e69eff3e7e0 +SIZE (vlc-3.0.23.tar.xz) = 26486988 diff --git a/multimedia/vlc/files/patch-modules_access_rdp.c b/multimedia/vlc/files/patch-modules_access_rdp.c index 3f56335f8db5..ee348b8d1dbc 100644 --- a/multimedia/vlc/files/patch-modules_access_rdp.c +++ b/multimedia/vlc/files/patch-modules_access_rdp.c @@ -1,118 +1,118 @@ ---- modules/access/rdp.c.orig 2016-07-22 12:10:45 UTC +--- modules/access/rdp.c.orig 2025-12-23 10:49:20 UTC +++ modules/access/rdp.c @@ -45,18 +45,6 @@ # include #endif -#if !defined(FREERDP_VERSION_MAJOR) || \ - (defined(FREERDP_VERSION_MAJOR) && !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 1))) -# define SoftwareGdi sw_gdi -# define Fullscreen fullscreen -# define ServerHostname hostname -# define Username username -# define Password password -# define ServerPort port -# define EncryptionMethods encryption -# define ContextSize context_size -#endif - #include #ifdef HAVE_POLL # include -@@ -140,6 +128,7 @@ static void desktopResizeHandler( rdpCon +@@ -144,6 +132,7 @@ static void desktopResizeHandler( rdpContext *p_contex vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_context; demux_sys_t *p_sys = p_vlccontext->p_demux->p_sys; rdpGdi *p_gdi = p_context->gdi; + unsigned bytesPerPixel; if ( p_sys->es ) { -@@ -149,17 +138,21 @@ static void desktopResizeHandler( rdpCon +@@ -153,17 +142,21 @@ static void desktopResizeHandler( rdpContext *p_contex /* Now init and fill es format */ vlc_fourcc_t i_chroma; - switch( p_gdi->bytesPerPixel ) + switch( p_gdi->dstFormat ) { default: - case 16: + msg_Dbg( p_vlccontext->p_demux, "unhandled dstFormat %x bpp", p_gdi->dstFormat ); + case PIXEL_FORMAT_BGR16: i_chroma = VLC_CODEC_RGB16; + bytesPerPixel = 16; break; - case 24: + case PIXEL_FORMAT_BGR24: i_chroma = VLC_CODEC_RGB24; + bytesPerPixel = 24; break; - case 32: + case PIXEL_FORMAT_BGRA32: i_chroma = VLC_CODEC_RGB32; + bytesPerPixel = 32; break; } es_format_t fmt; -@@ -172,7 +165,7 @@ static void desktopResizeHandler( rdpCon +@@ -176,7 +169,7 @@ static void desktopResizeHandler( rdpContext *p_contex fmt.video.i_height = p_gdi->height; fmt.video.i_frame_rate_base = 1000; fmt.video.i_frame_rate = 1000 * p_sys->f_fps; - p_sys->i_framebuffersize = p_gdi->width * p_gdi->height * p_gdi->bytesPerPixel; + p_sys->i_framebuffersize = p_gdi->width * p_gdi->height * bytesPerPixel; if ( p_sys->p_block ) p_sys->p_block = block_Realloc( p_sys->p_block, 0, p_sys->i_framebuffersize ); -@@ -233,28 +226,19 @@ static bool postConnectHandler( freerdp +@@ -237,28 +230,19 @@ static bool postConnectHandler( freerdp *p_instance ) vlcrdp_context_t * p_vlccontext = (vlcrdp_context_t *) p_instance->context; msg_Dbg( p_vlccontext->p_demux, "connected to desktop %dx%d (%d bpp)", -#if defined(FREERDP_VERSION_MAJOR) && (FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 1)) p_instance->settings->DesktopWidth, p_instance->settings->DesktopHeight, p_instance->settings->ColorDepth -#else - p_instance->settings->width, - p_instance->settings->height, - p_instance->settings->color_depth -#endif ); p_instance->update->DesktopResize = desktopResizeHandler; p_instance->update->BeginPaint = beginPaintHandler; p_instance->update->EndPaint = endPaintHandler; - gdi_init( p_instance, - CLRBUF_16BPP | -#if defined(FREERDP_VERSION_MAJOR) && defined(FREERDP_VERSION_MINOR) && \ - !(FREERDP_VERSION_MAJOR > 1 || (FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR >= 2)) - CLRBUF_24BPP | -#endif - CLRBUF_32BPP, NULL ); + if ( p_instance->settings->ColorDepth > 16 ) + gdi_init( p_instance, PIXEL_FORMAT_XRGB32); + else + gdi_init( p_instance, PIXEL_FORMAT_RGB16); desktopResizeHandler( p_instance->context ); return true; -@@ -428,10 +412,6 @@ static int Open( vlc_object_t *p_this ) +@@ -432,10 +416,6 @@ static int Open( vlc_object_t *p_this ) if ( p_sys->f_fps <= 0 ) p_sys->f_fps = 1.0; p_sys->i_frame_interval = 1000000 / p_sys->f_fps; -#if FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR < 2 - freerdp_channels_global_init(); -#endif - p_sys->p_instance = freerdp_new(); if ( !p_sys->p_instance ) { -@@ -506,9 +486,6 @@ static void Close( vlc_object_t *p_this +@@ -512,9 +492,6 @@ static void Close( vlc_object_t *p_this ) freerdp_disconnect( p_sys->p_instance ); freerdp_free( p_sys->p_instance ); -#if FREERDP_VERSION_MAJOR == 1 && FREERDP_VERSION_MINOR < 2 - freerdp_channels_global_uninit(); -#endif if ( p_sys->p_block ) block_Release( p_sys->p_block ); diff --git a/multimedia/vlc/files/patch-modules_gui_qt_qt6.pro b/multimedia/vlc/files/patch-modules_gui_qt_qt6.pro new file mode 100644 index 000000000000..423d9fc124e3 --- /dev/null +++ b/multimedia/vlc/files/patch-modules_gui_qt_qt6.pro @@ -0,0 +1,13 @@ +--- modules/gui/qt/qt6.pro.orig 2026-07-20 18:14:35 UTC ++++ modules/gui/qt/qt6.pro +@@ -21,6 +21,10 @@ QTPLUGIN += qxcb-glx-integration qxcb-egl-integration + QTPLUGIN += qxcb-glx-integration qxcb-egl-integration qxcb qwayland-generic qwayland-egl qgtk3 qxdgdesktopportal xdg-shell + } + ++freebsd { ++QTPLUGIN += qxcb-glx-integration qxcb-egl-integration qxcb qwayland-generic qwayland-egl qgtk3 qxdgdesktopportal xdg-shell ++} ++ + macx { + QTPLUGIN += qcocoa qmacstyle + } diff --git a/multimedia/vlc/files/patch-share_Makefile.in b/multimedia/vlc/files/patch-share_Makefile.in index 79222127a897..d27ed522e0ee 100644 --- a/multimedia/vlc/files/patch-share_Makefile.in +++ b/multimedia/vlc/files/patch-share_Makefile.in @@ -1,11 +1,11 @@ ---- share/Makefile.in.orig 2017-04-06 14:40:37 UTC +--- share/Makefile.in.orig 2026-08-03 20:48:17 UTC +++ share/Makefile.in -@@ -1845,7 +1845,7 @@ skins2/default.vlt: $(skins2_default_vlt +@@ -1855,7 +1855,7 @@ skins2/default.vlt: $(skins2_default_vlt_FILES) GZIP=--no-name \ tar cvvzf skins2/default.vlt.tmp \ --format=ustar $$tarsort \ - --owner=root --group=root --directory="$(srcdir)/skins2" \ + --directory="$(srcdir)/skins2" \ default/ $(AM_V_at)mv -f -- skins2/default.vlt.tmp skins2/default.vlt diff --git a/multimedia/vlc/files/patch-src-network-udp.c b/multimedia/vlc/files/patch-src-network-udp.c index 22f0c77b7279..8bf8709ce300 100644 --- a/multimedia/vlc/files/patch-src-network-udp.c +++ b/multimedia/vlc/files/patch-src-network-udp.c @@ -1,11 +1,11 @@ ---- src/network/udp.c.orig 2018-01-17 13:29:46 UTC +--- src/network/udp.c.orig 2025-12-23 10:49:21 UTC +++ src/network/udp.c -@@ -315,7 +315,7 @@ net_SourceSubscribe (vlc_object_t *obj, +@@ -316,7 +316,7 @@ net_SourceSubscribe (vlc_object_t *obj, int fd, { /* MCAST_JOIN_SOURCE_GROUP was introduced to OS X in v10.7, but it doesn't work, * so ignore it to use the same code path as on 10.5 or 10.6 */ -#if defined (MCAST_JOIN_SOURCE_GROUP) && !defined (__APPLE__) +#if defined (MCAST_JOIN_SOURCE_GROUP) && !defined (__APPLE__) && !defined (__FreeBSD__) /* Family-agnostic Source-Specific Multicast join */ int level; struct group_source_req gsr; diff --git a/multimedia/vlc/files/vlc-3.0.22-ffmpeg8.patch b/multimedia/vlc/files/vlc-3.0.22-ffmpeg8.patch deleted file mode 100644 index 061fa5edff13..000000000000 --- a/multimedia/vlc/files/vlc-3.0.22-ffmpeg8.patch +++ /dev/null @@ -1,324 +0,0 @@ -From: Steve Lhomme -Date: Mon, 8 Sep 2025 13:55:28 +0200 -Subject: avcodec: encoder: remove AV_INPUT_BUFFER_MIN_SIZE usage - -It's not supported in FFMpeg 8.0 since 60.40.100. - -It used to be used with preallocated packet buffers with -the old encode API, but said API is no more and therefore -there is no reason for this to be public any more. -So deprecate it and use an internal replacement -for the encoders using it as an upper bound for the -size of their headers. - -(cherry picked from commit dae7faa0757ee094681c5e7100baca74c007c67c) ---- - modules/codec/avcodec/avcommon_compat.h | 3 --- - modules/codec/avcodec/encoder.c | 2 +- - 2 files changed, 1 insertion(+), 4 deletions(-) - -diff --git a/modules/codec/avcodec/avcommon_compat.h b/modules/codec/avcodec/avcommon_compat.h -index 8ab6910..14aa62c 100644 ---- a/modules/codec/avcodec/avcommon_compat.h -+++ b/modules/codec/avcodec/avcommon_compat.h -@@ -75,9 +75,6 @@ - #ifndef AV_CODEC_CAP_SMALL_LAST_FRAME - # define AV_CODEC_CAP_SMALL_LAST_FRAME CODEC_CAP_SMALL_LAST_FRAME - #endif --#ifndef AV_INPUT_BUFFER_MIN_SIZE --# define AV_INPUT_BUFFER_MIN_SIZE FF_MIN_BUFFER_SIZE --#endif - #ifndef FF_MAX_B_FRAMES - # define FF_MAX_B_FRAMES 16 // FIXME: remove this - #endif -diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c -index be53cec..deb61eb 100644 ---- a/modules/codec/avcodec/encoder.c -+++ b/modules/codec/avcodec/encoder.c -@@ -1052,7 +1052,7 @@ errmsg: - p_sys->i_sample_bytes = (p_enc->fmt_in.audio.i_bitspersample / 8); - p_sys->i_frame_size = p_context->frame_size > 1 ? - p_context->frame_size : -- AV_INPUT_BUFFER_MIN_SIZE; -+ 16384; // AV_INPUT_BUFFER_MIN_SIZE - p_sys->i_buffer_out = av_samples_get_buffer_size(NULL, - p_enc->fmt_out.audio.i_channels, p_sys->i_frame_size, - p_sys->p_context->sample_fmt, DEFAULT_ALIGN); -From: Steve Lhomme -Date: Tue, 14 Jan 2025 11:28:21 +0100 -Subject: avcodec/video: use frame flags instead of fields - -The structure fields are deprecated. -It was introduced in lavu 58.7.100. - -(cherry picked from commit c79659bc9cfa2ff14754920a706f89d07d6425e6) ---- - modules/codec/avcodec/video.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c -index 8524f57..dfd359c 100644 ---- a/modules/codec/avcodec/video.c -+++ b/modules/codec/avcodec/video.c -@@ -1431,8 +1431,13 @@ static picture_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block, bool *error - /* Hack to force display of still pictures */ - p_pic->b_force = p_sys->b_first_frame; - p_pic->i_nb_fields = 2 + frame->repeat_pict; -+#if LIBAVUTIL_VERSION_CHECK( 58, 7, 100 ) -+ p_pic->b_progressive = !(frame->flags & AV_FRAME_FLAG_INTERLACED); -+ p_pic->b_top_field_first = !!(frame->flags & AV_FRAME_FLAG_TOP_FIELD_FIRST); -+#else - p_pic->b_progressive = !frame->interlaced_frame; - p_pic->b_top_field_first = frame->top_field_first; -+#endif - - if (DecodeSidedata(p_dec, frame, p_pic)) - i_pts = VLC_TICK_INVALID; -From: Steve Lhomme -Date: Mon, 8 Sep 2025 13:51:43 +0200 -Subject: avcodec: use AV_PROFILE_xxx instead of FF_PROFILE_xxx - -This was added in libavcodec 60.26.100 [^1]. We require 58.54.100. - -[^1]: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/8238bc0b5e3dba271217b1223a901b3f9713dc6e - -(cherry picked from commit ff292b650ea0b10c67c9e4ff16327486afe0d8ad) (edited) -- the vaapi had less profiles -- the direct_va doesn't have HEVC EXT -- FF_PROFILE_UNKNOWN was used in more places ---- - modules/codec/avcodec/audio.c | 2 +- - modules/codec/avcodec/avcommon_compat.h | 6 +++++ - modules/codec/avcodec/directx_va.c | 40 ++++++++++++++++----------------- - modules/codec/avcodec/encoder.c | 20 ++++++++--------- - modules/codec/avcodec/vaapi.c | 8 +++---- - modules/codec/avcodec/video.c | 2 +- - 6 files changed, 42 insertions(+), 36 deletions(-) - -diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c -index b6186d6..46f9a2a 100644 ---- a/modules/codec/avcodec/audio.c -+++ b/modules/codec/avcodec/audio.c -@@ -271,7 +271,7 @@ int InitAudioDec( vlc_object_t *obj ) - p_dec->pf_flush = Flush; - - /* XXX: Writing input format makes little sense. */ -- if( avctx->profile != FF_PROFILE_UNKNOWN ) -+ if( avctx->profile != AVPROFILE(UNKNOWN) ) - p_dec->fmt_in.i_profile = avctx->profile; - if( avctx->level != FF_LEVEL_UNKNOWN ) - p_dec->fmt_in.i_level = avctx->level; -diff --git a/modules/codec/avcodec/avcommon_compat.h b/modules/codec/avcodec/avcommon_compat.h -index 14aa62c..01e6223 100644 ---- a/modules/codec/avcodec/avcommon_compat.h -+++ b/modules/codec/avcodec/avcommon_compat.h -@@ -144,4 +144,10 @@ - - #endif - -+#if LIBAVCODEC_VERSION_CHECK(60,26,100) -+# define AVPROFILE(prof) (AV_PROFILE_##prof) -+#else -+# define AVPROFILE(prof) (FF_PROFILE_##prof) -+#endif -+ - #endif -diff --git a/modules/codec/avcodec/directx_va.c b/modules/codec/avcodec/directx_va.c -index 36a5d61..f6e252f 100644 ---- a/modules/codec/avcodec/directx_va.c -+++ b/modules/codec/avcodec/directx_va.c -@@ -48,25 +48,25 @@ struct picture_sys_t { - #include "../../packetizer/h264_nal.h" - #include "../../packetizer/hevc_nal.h" - --static const int PROF_MPEG2_MAIN[] = { FF_PROFILE_MPEG2_SIMPLE, -- FF_PROFILE_MPEG2_MAIN, -- FF_PROFILE_UNKNOWN }; --static const int PROF_H264_HIGH[] = { FF_PROFILE_H264_BASELINE, -- FF_PROFILE_H264_CONSTRAINED_BASELINE, -- FF_PROFILE_H264_MAIN, -- FF_PROFILE_H264_HIGH, -- FF_PROFILE_UNKNOWN }; --static const int PROF_HEVC_MAIN[] = { FF_PROFILE_HEVC_MAIN, -- FF_PROFILE_UNKNOWN }; --static const int PROF_HEVC_MAIN10[] = { FF_PROFILE_HEVC_MAIN, -- FF_PROFILE_HEVC_MAIN_10, -- FF_PROFILE_UNKNOWN }; -- --static const int PROF_VP9_MAIN[] = { FF_PROFILE_VP9_0, FF_PROFILE_UNKNOWN }; --static const int PROF_VP9_10[] = { FF_PROFILE_VP9_2, FF_PROFILE_UNKNOWN }; -- --static const int PROF_AV1_MAIN[] = { FF_PROFILE_AV1_MAIN, FF_PROFILE_UNKNOWN }; --static const int PROF_AV1_HIGH[] = { FF_PROFILE_AV1_HIGH, FF_PROFILE_AV1_MAIN, FF_PROFILE_UNKNOWN }; -+static const int PROF_MPEG2_MAIN[] = { AVPROFILE(MPEG2_SIMPLE), -+ AVPROFILE(MPEG2_MAIN), -+ AVPROFILE(UNKNOWN) }; -+static const int PROF_H264_HIGH[] = { AVPROFILE(H264_BASELINE), -+ AVPROFILE(H264_CONSTRAINED_BASELINE), -+ AVPROFILE(H264_MAIN), -+ AVPROFILE(H264_HIGH), -+ AVPROFILE(UNKNOWN) }; -+static const int PROF_HEVC_MAIN[] = { AVPROFILE(HEVC_MAIN), -+ AVPROFILE(UNKNOWN) }; -+static const int PROF_HEVC_MAIN10[] = { AVPROFILE(HEVC_MAIN), -+ AVPROFILE(HEVC_MAIN_10), -+ AVPROFILE(UNKNOWN) }; -+ -+static const int PROF_VP9_MAIN[] = { AVPROFILE(VP9_0), AVPROFILE(UNKNOWN) }; -+static const int PROF_VP9_10[] = { AVPROFILE(VP9_2), AVPROFILE(UNKNOWN) }; -+ -+static const int PROF_AV1_MAIN[] = { AVPROFILE(AV1_MAIN), AVPROFILE(UNKNOWN) }; -+static const int PROF_AV1_HIGH[] = { AVPROFILE(AV1_HIGH), AVPROFILE(AV1_MAIN), AVPROFILE(UNKNOWN) }; - - #include - #if defined(WINAPI_FAMILY) -@@ -436,7 +436,7 @@ static bool profile_supported(const directx_va_mode_t *mode, const es_format_t * - bool is_supported = false; - if (profile <= 0) - is_supported = true; -- else for (const int *p_profile = &mode->p_profiles[0]; *p_profile != FF_PROFILE_UNKNOWN; ++p_profile) -+ else for (const int *p_profile = &mode->p_profiles[0]; *p_profile != AVPROFILE(UNKNOWN); ++p_profile) - { - if (*p_profile == profile) - { -diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c -index deb61eb..1f3dd8f 100644 ---- a/modules/codec/avcodec/encoder.c -+++ b/modules/codec/avcodec/encoder.c -@@ -484,30 +484,30 @@ int InitVideoEnc( vlc_object_t *p_this ) - psz_val = var_GetString( p_enc, ENC_CFG_PREFIX "aac-profile" ); - /* libavcodec uses faac encoder atm, and it has issues with - * other than low-complexity profile, so default to that */ -- p_sys->i_aac_profile = FF_PROFILE_AAC_LOW; -+ p_sys->i_aac_profile = AVPROFILE(AAC_LOW); - if( psz_val && *psz_val ) - { - if( !strncmp( psz_val, "main", 4 ) ) -- p_sys->i_aac_profile = FF_PROFILE_AAC_MAIN; -+ p_sys->i_aac_profile = AVPROFILE(AAC_MAIN); - else if( !strncmp( psz_val, "low", 3 ) ) -- p_sys->i_aac_profile = FF_PROFILE_AAC_LOW; -+ p_sys->i_aac_profile = AVPROFILE(AAC_LOW); - else if( !strncmp( psz_val, "ssr", 3 ) ) -- p_sys->i_aac_profile = FF_PROFILE_AAC_SSR; -+ p_sys->i_aac_profile = AVPROFILE(AAC_SSR); - else if( !strncmp( psz_val, "ltp", 3 ) ) -- p_sys->i_aac_profile = FF_PROFILE_AAC_LTP; -+ p_sys->i_aac_profile = AVPROFILE(AAC_LTP); - /* These require libavcodec with libfdk-aac */ - else if( !strncmp( psz_val, "hev2", 4 ) ) -- p_sys->i_aac_profile = FF_PROFILE_AAC_HE_V2; -+ p_sys->i_aac_profile = AVPROFILE(AAC_HE_V2); - else if( !strncmp( psz_val, "hev1", 4 ) ) -- p_sys->i_aac_profile = FF_PROFILE_AAC_HE; -+ p_sys->i_aac_profile = AVPROFILE(AAC_HE); - else if( !strncmp( psz_val, "ld", 2 ) ) -- p_sys->i_aac_profile = FF_PROFILE_AAC_LD; -+ p_sys->i_aac_profile = AVPROFILE(AAC_LD); - else if( !strncmp( psz_val, "eld", 3 ) ) -- p_sys->i_aac_profile = FF_PROFILE_AAC_ELD; -+ p_sys->i_aac_profile = AVPROFILE(AAC_ELD); - else - { - msg_Warn( p_enc, "unknown AAC profile requested, setting it to low" ); -- p_sys->i_aac_profile = FF_PROFILE_AAC_LOW; -+ p_sys->i_aac_profile = AVPROFILE(AAC_LOW); - } - } - free( psz_val ); -diff --git a/modules/codec/avcodec/vaapi.c b/modules/codec/avcodec/vaapi.c -index e203baa..5380099 100644 ---- a/modules/codec/avcodec/vaapi.c -+++ b/modules/codec/avcodec/vaapi.c -@@ -100,9 +100,9 @@ static int GetVaProfile(AVCodecContext *ctx, const es_format_t *fmt, - count = 18; - break; - case AV_CODEC_ID_HEVC: -- if (ctx->profile == FF_PROFILE_HEVC_MAIN) -+ if (ctx->profile == AVPROFILE(HEVC_MAIN)) - i_profile = VAProfileHEVCMain; -- else if (ctx->profile == FF_PROFILE_HEVC_MAIN_10) -+ else if (ctx->profile == AVPROFILE(HEVC_MAIN_10)) - { - i_profile = VAProfileHEVCMain10; - i_vlc_chroma = VLC_CODEC_VAAPI_420_10BPP; -@@ -116,10 +116,10 @@ static int GetVaProfile(AVCodecContext *ctx, const es_format_t *fmt, - count = 5; - break; - case AV_CODEC_ID_VP9: -- if (ctx->profile == FF_PROFILE_VP9_0) -+ if (ctx->profile == AVPROFILE(VP9_0)) - i_profile = VAProfileVP9Profile0; - #if VA_CHECK_VERSION( 0, 39, 0 ) -- else if (ctx->profile == FF_PROFILE_VP9_2) -+ else if (ctx->profile == AVPROFILE(VP9_2)) - { - i_profile = VAProfileVP9Profile2; - i_vlc_chroma = VLC_CODEC_VAAPI_420_10BPP; -diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c -index dfd359c..2448e07 100644 ---- a/modules/codec/avcodec/video.c -+++ b/modules/codec/avcodec/video.c -@@ -624,7 +624,7 @@ static int InitVideoDecCommon( decoder_t *p_dec ) - p_dec->pf_flush = Flush; - - /* XXX: Writing input format makes little sense. */ -- if( p_context->profile != FF_PROFILE_UNKNOWN ) -+ if( p_context->profile != AVPROFILE(UNKNOWN) ) - p_dec->fmt_in.i_profile = p_context->profile; - if( p_context->level != FF_LEVEL_UNKNOWN ) - p_dec->fmt_in.i_level = p_context->level; -From: Steve Lhomme -Date: Tue, 9 Dec 2025 11:42:02 +0100 -Subject: avcodec: use AV_LEVEL_xxx instead of FF_LEVEL_xxx - -This was added in libavcodec 60.26.100 [^1]. - -[^1]: https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/8238bc0b5e3dba271217b1223a901b3f9713dc6e ---- - modules/codec/avcodec/audio.c | 2 +- - modules/codec/avcodec/avcommon_compat.h | 6 ++++++ - modules/codec/avcodec/video.c | 2 +- - 3 files changed, 8 insertions(+), 2 deletions(-) - -diff --git a/modules/codec/avcodec/audio.c b/modules/codec/avcodec/audio.c -index 46f9a2a..d3748cc 100644 ---- a/modules/codec/avcodec/audio.c -+++ b/modules/codec/avcodec/audio.c -@@ -273,7 +273,7 @@ int InitAudioDec( vlc_object_t *obj ) - /* XXX: Writing input format makes little sense. */ - if( avctx->profile != AVPROFILE(UNKNOWN) ) - p_dec->fmt_in.i_profile = avctx->profile; -- if( avctx->level != FF_LEVEL_UNKNOWN ) -+ if( avctx->level != AVLEVEL(UNKNOWN) ) - p_dec->fmt_in.i_level = avctx->level; - - return VLC_SUCCESS; -diff --git a/modules/codec/avcodec/avcommon_compat.h b/modules/codec/avcodec/avcommon_compat.h -index 01e6223..b3fb167 100644 ---- a/modules/codec/avcodec/avcommon_compat.h -+++ b/modules/codec/avcodec/avcommon_compat.h -@@ -150,4 +150,10 @@ - # define AVPROFILE(prof) (FF_PROFILE_##prof) - #endif - -+#if LIBAVCODEC_VERSION_CHECK(60,26,100) -+# define AVLEVEL(prof) (AV_LEVEL_##prof) -+#else -+# define AVLEVEL(prof) (FF_LEVEL_##prof) -+#endif -+ - #endif -diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c -index 2448e07..3412a7f 100644 ---- a/modules/codec/avcodec/video.c -+++ b/modules/codec/avcodec/video.c -@@ -626,7 +626,7 @@ static int InitVideoDecCommon( decoder_t *p_dec ) - /* XXX: Writing input format makes little sense. */ - if( p_context->profile != AVPROFILE(UNKNOWN) ) - p_dec->fmt_in.i_profile = p_context->profile; -- if( p_context->level != FF_LEVEL_UNKNOWN ) -+ if( p_context->level != AVLEVEL(UNKNOWN) ) - p_dec->fmt_in.i_level = p_context->level; - return VLC_SUCCESS; - } diff --git a/multimedia/vlc/pkg-plist b/multimedia/vlc/pkg-plist index e08b004f2bca..6584f910be0d 100644 --- a/multimedia/vlc/pkg-plist +++ b/multimedia/vlc/pkg-plist @@ -1,236 +1,236 @@ bin/cvlc %%NCURSES%%bin/nvlc -%%QT5%%bin/qvlc +%%QT%%bin/qvlc bin/rvlc %%SKINS%%bin/svlc bin/vlc bin/vlc-wrapper include/vlc/deprecated.h include/vlc/libvlc.h include/vlc/libvlc_dialog.h include/vlc/libvlc_events.h include/vlc/libvlc_media.h include/vlc/libvlc_media_discoverer.h include/vlc/libvlc_media_library.h include/vlc/libvlc_media_list.h include/vlc/libvlc_media_list_player.h include/vlc/libvlc_media_player.h include/vlc/libvlc_renderer_discoverer.h include/vlc/libvlc_version.h include/vlc/libvlc_vlm.h include/vlc/plugins/vlc_about.h include/vlc/plugins/vlc_access.h include/vlc/plugins/vlc_actions.h include/vlc/plugins/vlc_addons.h include/vlc/plugins/vlc_aout.h include/vlc/plugins/vlc_aout_volume.h include/vlc/plugins/vlc_arrays.h include/vlc/plugins/vlc_atomic.h include/vlc/plugins/vlc_avcodec.h include/vlc/plugins/vlc_bits.h include/vlc/plugins/vlc_block.h include/vlc/plugins/vlc_block_helper.h include/vlc/plugins/vlc_boxes.h include/vlc/plugins/vlc_charset.h include/vlc/plugins/vlc_codec.h include/vlc/plugins/vlc_common.h include/vlc/plugins/vlc_config.h include/vlc/plugins/vlc_config_cat.h include/vlc/plugins/vlc_configuration.h include/vlc/plugins/vlc_cpu.h include/vlc/plugins/vlc_demux.h include/vlc/plugins/vlc_dialog.h include/vlc/plugins/vlc_epg.h include/vlc/plugins/vlc_es.h include/vlc/plugins/vlc_es_out.h include/vlc/plugins/vlc_events.h include/vlc/plugins/vlc_filter.h include/vlc/plugins/vlc_fingerprinter.h include/vlc/plugins/vlc_fourcc.h include/vlc/plugins/vlc_fs.h include/vlc/plugins/vlc_gcrypt.h include/vlc/plugins/vlc_http.h include/vlc/plugins/vlc_httpd.h include/vlc/plugins/vlc_image.h include/vlc/plugins/vlc_inhibit.h include/vlc/plugins/vlc_input.h include/vlc/plugins/vlc_input_item.h include/vlc/plugins/vlc_interface.h include/vlc/plugins/vlc_interrupt.h include/vlc/plugins/vlc_keystore.h include/vlc/plugins/vlc_main.h include/vlc/plugins/vlc_md5.h include/vlc/plugins/vlc_media_library.h include/vlc/plugins/vlc_memstream.h include/vlc/plugins/vlc_messages.h include/vlc/plugins/vlc_meta.h include/vlc/plugins/vlc_meta_fetcher.h include/vlc/plugins/vlc_mime.h include/vlc/plugins/vlc_modules.h include/vlc/plugins/vlc_mouse.h include/vlc/plugins/vlc_mtime.h include/vlc/plugins/vlc_network.h include/vlc/plugins/vlc_objects.h include/vlc/plugins/vlc_opengl.h include/vlc/plugins/vlc_picture.h include/vlc/plugins/vlc_picture_fifo.h include/vlc/plugins/vlc_picture_pool.h include/vlc/plugins/vlc_playlist.h include/vlc/plugins/vlc_plugin.h include/vlc/plugins/vlc_probe.h include/vlc/plugins/vlc_rand.h include/vlc/plugins/vlc_renderer_discovery.h include/vlc/plugins/vlc_services_discovery.h include/vlc/plugins/vlc_sout.h include/vlc/plugins/vlc_spu.h include/vlc/plugins/vlc_stream.h include/vlc/plugins/vlc_stream_extractor.h include/vlc/plugins/vlc_strings.h include/vlc/plugins/vlc_subpicture.h include/vlc/plugins/vlc_text_style.h include/vlc/plugins/vlc_threads.h include/vlc/plugins/vlc_timestamp_helper.h include/vlc/plugins/vlc_tls.h include/vlc/plugins/vlc_url.h include/vlc/plugins/vlc_variables.h include/vlc/plugins/vlc_video_splitter.h include/vlc/plugins/vlc_viewpoint.h include/vlc/plugins/vlc_vlm.h include/vlc/plugins/vlc_vout.h include/vlc/plugins/vlc_vout_display.h include/vlc/plugins/vlc_vout_osd.h include/vlc/plugins/vlc_vout_window.h include/vlc/plugins/vlc_xlib.h include/vlc/plugins/vlc_xml.h include/vlc/vlc.h lib/libvlc.so lib/libvlc.so.5 lib/libvlc.so.5.6.1 lib/libvlccore.so lib/libvlccore.so.9 lib/libvlccore.so.9.0.1 libdata/pkgconfig/libvlc.pc libdata/pkgconfig/vlc-plugin.pc share/man/man1/vlc-wrapper.1.gz share/man/man1/vlc.1.gz share/applications/vlc.desktop share/icons/hicolor/128x128/apps/vlc-kb.png share/icons/hicolor/128x128/apps/vlc-xmas.png share/icons/hicolor/128x128/apps/vlc.png share/icons/hicolor/16x16/apps/vlc.png share/icons/hicolor/16x16/apps/vlc.xpm share/icons/hicolor/256x256/apps/vlc.png share/icons/hicolor/32x32/apps/vlc-xmas.xpm share/icons/hicolor/32x32/apps/vlc.png share/icons/hicolor/32x32/apps/vlc.xpm share/icons/hicolor/48x48/apps/vlc-xmas.png share/icons/hicolor/48x48/apps/vlc.png %%NLS%%share/locale/ach/LC_MESSAGES/vlc.mo %%NLS%%share/locale/af/LC_MESSAGES/vlc.mo %%NLS%%share/locale/am/LC_MESSAGES/vlc.mo %%NLS%%share/locale/am_ET/LC_MESSAGES/vlc.mo %%NLS%%share/locale/an/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ar/LC_MESSAGES/vlc.mo %%NLS%%share/locale/as/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ast/LC_MESSAGES/vlc.mo %%NLS%%share/locale/be/LC_MESSAGES/vlc.mo %%NLS%%share/locale/bg/LC_MESSAGES/vlc.mo %%NLS%%share/locale/bn/LC_MESSAGES/vlc.mo %%NLS%%share/locale/bn_IN/LC_MESSAGES/vlc.mo %%NLS%%share/locale/br/LC_MESSAGES/vlc.mo %%NLS%%share/locale/brx/LC_MESSAGES/vlc.mo %%NLS%%share/locale/bs/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ca/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ca@valencia/LC_MESSAGES/vlc.mo %%NLS%%share/locale/cgg/LC_MESSAGES/vlc.mo %%NLS%%share/locale/co/LC_MESSAGES/vlc.mo %%NLS%%share/locale/cs/LC_MESSAGES/vlc.mo %%NLS%%share/locale/cy/LC_MESSAGES/vlc.mo %%NLS%%share/locale/da/LC_MESSAGES/vlc.mo %%NLS%%share/locale/de/LC_MESSAGES/vlc.mo %%NLS%%share/locale/el/LC_MESSAGES/vlc.mo %%NLS%%share/locale/en_GB/LC_MESSAGES/vlc.mo %%NLS%%share/locale/eo/LC_MESSAGES/vlc.mo %%NLS%%share/locale/es/LC_MESSAGES/vlc.mo %%NLS%%share/locale/es_MX/LC_MESSAGES/vlc.mo %%NLS%%share/locale/et/LC_MESSAGES/vlc.mo %%NLS%%share/locale/eu/LC_MESSAGES/vlc.mo %%NLS%%share/locale/fa/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ff/LC_MESSAGES/vlc.mo %%NLS%%share/locale/fi/LC_MESSAGES/vlc.mo %%NLS%%share/locale/fr/LC_MESSAGES/vlc.mo %%NLS%%share/locale/fur/LC_MESSAGES/vlc.mo %%NLS%%share/locale/fy/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ga/LC_MESSAGES/vlc.mo %%NLS%%share/locale/gd/LC_MESSAGES/vlc.mo %%NLS%%share/locale/gl/LC_MESSAGES/vlc.mo %%NLS%%share/locale/gu/LC_MESSAGES/vlc.mo %%NLS%%share/locale/he/LC_MESSAGES/vlc.mo %%NLS%%share/locale/hi/LC_MESSAGES/vlc.mo %%NLS%%share/locale/hr/LC_MESSAGES/vlc.mo %%NLS%%share/locale/hu/LC_MESSAGES/vlc.mo %%NLS%%share/locale/hy/LC_MESSAGES/vlc.mo %%NLS%%share/locale/id/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ie/LC_MESSAGES/vlc.mo %%NLS%%share/locale/is/LC_MESSAGES/vlc.mo %%NLS%%share/locale/it/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ja/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ka/LC_MESSAGES/vlc.mo %%NLS%%share/locale/kab/LC_MESSAGES/vlc.mo %%NLS%%share/locale/kk/LC_MESSAGES/vlc.mo %%NLS%%share/locale/km/LC_MESSAGES/vlc.mo %%NLS%%share/locale/kn/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ko/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ks_IN/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ku_IQ/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ky/LC_MESSAGES/vlc.mo %%NLS%%share/locale/lg/LC_MESSAGES/vlc.mo %%NLS%%share/locale/lo/LC_MESSAGES/vlc.mo %%NLS%%share/locale/lt/LC_MESSAGES/vlc.mo %%NLS%%share/locale/lv/LC_MESSAGES/vlc.mo %%NLS%%share/locale/mai/LC_MESSAGES/vlc.mo %%NLS%%share/locale/mk/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ml/LC_MESSAGES/vlc.mo %%NLS%%share/locale/mn/LC_MESSAGES/vlc.mo %%NLS%%share/locale/mr/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ms/LC_MESSAGES/vlc.mo %%NLS%%share/locale/my/LC_MESSAGES/vlc.mo %%NLS%%share/locale/nb/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ne/LC_MESSAGES/vlc.mo %%NLS%%share/locale/nl/LC_MESSAGES/vlc.mo %%NLS%%share/locale/nn/LC_MESSAGES/vlc.mo %%NLS%%share/locale/oc/LC_MESSAGES/vlc.mo %%NLS%%share/locale/or_IN/LC_MESSAGES/vlc.mo %%NLS%%share/locale/pa/LC_MESSAGES/vlc.mo %%NLS%%share/locale/pl/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ps/LC_MESSAGES/vlc.mo %%NLS%%share/locale/pt_BR/LC_MESSAGES/vlc.mo %%NLS%%share/locale/pt_PT/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ro/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ru/LC_MESSAGES/vlc.mo %%NLS%%share/locale/si/LC_MESSAGES/vlc.mo %%NLS%%share/locale/sk/LC_MESSAGES/vlc.mo %%NLS%%share/locale/sl/LC_MESSAGES/vlc.mo %%NLS%%share/locale/sm/LC_MESSAGES/vlc.mo %%NLS%%share/locale/sq/LC_MESSAGES/vlc.mo %%NLS%%share/locale/sr/LC_MESSAGES/vlc.mo %%NLS%%share/locale/sv/LC_MESSAGES/vlc.mo %%NLS%%share/locale/sw/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ta/LC_MESSAGES/vlc.mo %%NLS%%share/locale/te/LC_MESSAGES/vlc.mo %%NLS%%share/locale/th/LC_MESSAGES/vlc.mo %%NLS%%share/locale/tr/LC_MESSAGES/vlc.mo %%NLS%%share/locale/tt/LC_MESSAGES/vlc.mo %%NLS%%share/locale/ug/LC_MESSAGES/vlc.mo %%NLS%%share/locale/uk/LC_MESSAGES/vlc.mo %%NLS%%share/locale/uz/LC_MESSAGES/vlc.mo %%NLS%%share/locale/vi/LC_MESSAGES/vlc.mo %%NLS%%share/locale/wa/LC_MESSAGES/vlc.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/vlc.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/vlc.mo %%NLS%%share/locale/zu/LC_MESSAGES/vlc.mo share/metainfo/org.videolan.vlc.appdata.xml share/solid/actions/vlc-openbd.desktop share/solid/actions/vlc-opencda.desktop share/solid/actions/vlc-opendvd.desktop share/solid/actions/vlc-openvcd.desktop