aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2023-04-27 09:10:39 +0000
committerDaniel Engberg <diizzy@FreeBSD.org>2023-04-27 12:01:40 +0000
commit7e01d5dc02bc2662339a6e81cd6940ca1d56a217 (patch)
treeca6cd2ae5975e93ee469715b680f73957c43e0a3
parent685e477b807c7662670de46b042141939af7555e (diff)
downloadports-7e01d5dc02bc2662339a6e81cd6940ca1d56a217.tar.gz
ports-7e01d5dc02bc2662339a6e81cd6940ca1d56a217.zip
audio/aqualung: Move to FFmpeg 4
Fails to build with FFmpeg 6 PR: 270194 Approved by: portmgr (blanket, build fix) Sponsored by: Blinkinblox
-rw-r--r--audio/aqualung/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/aqualung/Makefile b/audio/aqualung/Makefile
index c813fe26cc60..075f095f03c9 100644
--- a/audio/aqualung/Makefile
+++ b/audio/aqualung/Makefile
@@ -24,13 +24,18 @@ LIB_DEPENDS= libFLAC.so:audio/flac \
libmpcdec.so:audio/musepack \
libspeex.so:audio/speex \
libwavpack.so:audio/wavpack \
- libavcodec.so:multimedia/ffmpeg \
+ libavcodec.so.58:multimedia/ffmpeg4 \
libcdio_paranoia.so:sysutils/libcdio-paranoia \
liblrdf.so:textproc/liblrdf
USES= compiler:c++11-lang cpe gettext gnome localbase lua:52 pkgconfig
USE_GNOME= gtk20 libxml2 libxslt
GNU_CONFIGURE= yes
+
+LDFLAGS+= -L${LOCALBASE}/ffmpeg4/lib
+CONFIGURE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig"
+MAKE_ENV+= PKG_CONFIG_PATH="${LOCALBASE}/ffmpeg4/libdata/pkgconfig"
+
CONFIGURE_ARGS= --with-ifp=no
DESKTOP_ENTRIES="Aqualung" "" "${DATADIR}/general.png" "aqualung" \