Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2023 12:03:56 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4d05aee79511 - main - graphics/gnash: Move to FFmpeg 4
Message-ID:  <202304271203.33RC3u69046113@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

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

commit 4d05aee79511c90e7c983af8fa2b9cb1123b2977
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-04-27 09:37:46 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-04-27 12:01:41 +0000

    graphics/gnash: Move to FFmpeg 4
    
    Fails to build with FFmpeg 6
    
    PR:             270206
    Approved by:    portmgr (blanket, build fix)
    Sponsored by:   Blinkinblox
---
 graphics/gnash/Makefile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile
index f4004f30e645..24ff72e233cb 100644
--- a/graphics/gnash/Makefile
+++ b/graphics/gnash/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS=	libltdl.so:devel/libltdl \
 		libboost_thread.so:devel/boost-libs \
 		libfreetype.so:print/freetype2 \
 		libfontconfig.so:x11-fonts/fontconfig \
-		libavcodec.so:multimedia/ffmpeg \
+		libavcodec.so.58:multimedia/ffmpeg4 \
 		libtheora.so:multimedia/libtheora \
 		libogg.so:audio/libogg \
 		libvorbis.so:audio/libvorbis \
@@ -32,7 +32,7 @@ LIB_DEPENDS=	libltdl.so:devel/libltdl \
 CONFLICTS=	gnash-devel
 
 USES=		cpe tar:bzip2 compiler:c++11-lang autoreconf gmake libtool \
-		pkgconfig jpeg gnome gl sdl desktop-file-utils xorg
+		pkgconfig jpeg gnome gl sdl desktop-file-utils xorg localbase:ldflags
 USE_CSTD=	gnu11
 CPE_VENDOR=	gnu
 GNU_CONFIGURE=	yes
@@ -43,17 +43,17 @@ USE_SDL=	sdl
 SYSCONFIGDIR=	${PREFIX}/etc
 
 # jemalloc leads to infinite recursion on FreeBSD
-CFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/ffmpeg
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+CFLAGS+=	-I${LOCALBASE}/ffmpeg4/include
+CPPFLAGS+=	-I${LOCALBASE}/ffmpeg4/include
+LDFLAGS+=	-L${LOCALBASE}/ffmpeg4/lib
 CONFIGURE_ARGS=	--with-boost-incl="${LOCALBASE}/include" \
 		--with-boost-lib="${LOCALBASE}/lib" \
 		--with-plugins-install=prefix \
 		--sysconfdir="${SYSCONFIGDIR}" \
 		--enable-gui=gtk \
 		--enable-media=ffmpeg \
-		--with-ffmpeg-incl=${LOCALBASE}/include/libavcodec \
-		--with-ffmpeg-lib=${LOCALBASE}/lib \
+		--with-ffmpeg-incl="${LOCALBASE}/ffmpeg4/include/libavcodec" \
+		--with-ffmpeg-lib=${LOCALBASE}/ffmpeg4/lib \
 		--disable-testsuite \
 		--disable-kparts3 \
 		--disable-jemalloc \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304271203.33RC3u69046113>