git: f6c56fe165b2 - main - emulators/mgba: Minor build fixes

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 25 Mar 2023 14:56:02 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f6c56fe165b212d6112b1305bbc8a9821b1a18f8

commit f6c56fe165b212d6112b1305bbc8a9821b1a18f8
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-03-25 14:52:35 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-03-25 14:52:39 +0000

    emulators/mgba: Minor build fixes
    
    Relax definitions of FFMPEG_LIB_DEPENDS, fixes build with FFmpeg 6.0
    Update compiler requirements
    
    PR:             270257
    Reviewed by:    pkubaj (maintainer)
---
 emulators/mgba/Makefile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/emulators/mgba/Makefile b/emulators/mgba/Makefile
index d11cd50f6fdc..a18ecf1923f3 100644
--- a/emulators/mgba/Makefile
+++ b/emulators/mgba/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE_MPL20=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libepoxy.so:graphics/libepoxy \
 		libpng.so:graphics/png
 
-USES=		cmake compiler:c++11-lang gl gnome localbase:ldflags lua \
+USES=		cmake compiler:c++14-lang gl gnome localbase:ldflags lua \
 		pkgconfig sdl sqlite:3
 
 USE_GITHUB=	yes
@@ -51,11 +51,7 @@ QT5_DESC=	Qt 5 frontend
 DEBUGGERS_USES=		libedit
 DEBUGGERS_CMAKE_BOOL=	USE_DEBUGGERS USE_EDITLINE USE_GDB_STUB
 
-FFMPEG_LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg \
-			libavformat.so:multimedia/ffmpeg \
-			libavresample.so:multimedia/ffmpeg \
-			libavutil.so:multimedia/ffmpeg \
-			libswscale.so:multimedia/ffmpeg
+FFMPEG_LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
 FFMPEG_CMAKE_BOOL=	USE_FFMPEG
 
 LIBRETRO_CMAKE_BOOL=	BUILD_LIBRETRO