Remove ffmpeg support until the upstream project is revived. It depends
on ffmpeg4 which can hopefully upgraded to ffmpeg6 soon.

Please ignore the BROKEN part (It's from my bulk build)


OK to remove ffmpeg support?

diff --git a/audio/moc/Makefile b/audio/moc/Makefile
index 799865bb6df..9a02543c395 100644
--- a/audio/moc/Makefile
+++ b/audio/moc/Makefile
@@ -1,4 +1,3 @@
-BROKEN =       Depends on ffmpeg4
 COMMENT =      console audio player
 DISTNAME =     moc-2.5.2
 CATEGORIES =   audio
@@ -6,18 +5,17 @@ HOMEPAGE =    https://moc.daper.net/
 SITES =                https://ftp.daper.net/pub/soft/moc/stable/ \
                https://distfiles.sigtrap.nl/
 EXTRACT_SUFX = .tar.bz2
-REVISION =     10
+REVISION =     11
 
 # GPLv3+
 PERMIT_PACKAGE = Yes
 
 # uses pledge()
-WANTLIB += ${COMPILER_LIBCXX} FLAC aom avcodec avformat avutil
-WANTLIB += bz2 c crypto curl curses dav1d db faad gsm iconv id3tag
-WANTLIB += ltdl lzma m mad magic modplug mp3lame mpcdec mpg123
-WANTLIB += nghttp2 ogg opus samplerate sndfile sndio speex ssl
-WANTLIB += swresample tag tag_c theoradec theoraenc vorbis vorbisenc
-WANTLIB += vorbisfile vpx wavpack x264 x265 xml2 xvidcore z
+WANTLIB += ${COMPILER_LIBCXX} FLAC c crypto curl curses db faad
+WANTLIB += iconv id3tag ltdl m mad magic modplug mp3lame mpcdec
+WANTLIB += mpg123 nghttp2 nghttp3 ngtcp2 ngtcp2_crypto_quictls
+WANTLIB += ogg opus samplerate sndfile sndio speex ssl vorbis
+WANTLIB += vorbisenc vorbisfile wavpack z
 
 COMPILER =     base-clang ports-gcc base-gcc
 
@@ -36,7 +34,6 @@ LIB_DEPENDS = audio/faad \
                databases/db/v4 \
                devel/libmagic \
                devel/libtool,-ltdl \
-               graphics/ffmpeg \
                net/curl
 
 SEPARATE_BUILD = Yes
@@ -50,9 +47,11 @@ CONFIGURE_ARGS += \
                --without-rcc \
                --without-included-ltdl \
                --without-timidity \
+               --without-ffmpeg \
                --with-magic \
                --with-ltdl-include=${LOCALBASE}/include \
                --with-ltdl-lib=${LOCALBASE}/lib
+
 CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/db4" \
                LDFLAGS="-L${LOCALBASE}/lib"
 
diff --git a/audio/moc/pkg/PLIST b/audio/moc/pkg/PLIST
index bc3e8925530..fa115997682 100644
--- a/audio/moc/pkg/PLIST
+++ b/audio/moc/pkg/PLIST
@@ -1,16 +1,15 @@
 @bin bin/mocp
 lib/moc/
 lib/moc/decoder_plugins/
-lib/moc/decoder_plugins/libaac_decoder.so
-lib/moc/decoder_plugins/libffmpeg_decoder.so
-lib/moc/decoder_plugins/libflac_decoder.so
-lib/moc/decoder_plugins/libmodplug_decoder.so
-lib/moc/decoder_plugins/libmp3_decoder.so
-lib/moc/decoder_plugins/libmusepack_decoder.so
-lib/moc/decoder_plugins/libsndfile_decoder.so
-lib/moc/decoder_plugins/libspeex_decoder.so
-lib/moc/decoder_plugins/libvorbis_decoder.so
-lib/moc/decoder_plugins/libwavpack_decoder.so
+@so lib/moc/decoder_plugins/libaac_decoder.so
+@so lib/moc/decoder_plugins/libflac_decoder.so
+@so lib/moc/decoder_plugins/libmodplug_decoder.so
+@so lib/moc/decoder_plugins/libmp3_decoder.so
+@so lib/moc/decoder_plugins/libmusepack_decoder.so
+@so lib/moc/decoder_plugins/libsndfile_decoder.so
+@so lib/moc/decoder_plugins/libspeex_decoder.so
+@so lib/moc/decoder_plugins/libvorbis_decoder.so
+@so lib/moc/decoder_plugins/libwavpack_decoder.so
 @man man/man1/mocp.1
 share/doc/moc/
 share/doc/moc/README

Reply via email to