On Sat, 22 Jun 2024 07:22:42 +0900 Takashi Yano wrote: > Hi Federico, > > On Fri, 21 Jun 2024 19:35:32 +0200 > Federico Kircheis wrote: > > After some investigation, it seems that ffmeg hash clang (which has gcc) > ^^^^^^^^^^ > > as dependency in its chain. > > > > I would consider it a bug, although not critical. > > Do you mean "ffmpeg has clang as dependency"? > That's right thing. ffmpeg depends on clang indirectly as follows. > > ffmpeg depends on libavfilter10. > libavfilter10 depends on libOpenCL1. > libOpenCL1 depends on libpocl2. > libpocl2 depends on clang. > > pocl uses Clang as an OpenCL C frontend and LLVM for the kernel > compiler implementation, and as a portability layer.
BTW, I looked into cmus.cygport of 2.11.0-2 and noticed that you need to patch for configure to enable ffmpeg plugin as attached. With ffmpeg plugin, many of audio formats get supported by cmus. Furthermore, you do not need to add ffmpeg to "REQUIRES" because the cmus package itself does not really depend on ffmpeg package even though it depends libavcodec, libavformat, libavutil and libswresample. Maybe, you do not have to add any of packages to "REQUIRES" because dependencies are added automatically by cygport in most cases. -- Takashi Yano <takashi.y...@nifty.ne.jp>
--- origsrc/cmus-2.11.0/configure 2024-05-12 05:04:09.000000000 +0900 +++ src/cmus-2.11.0/configure 2024-06-22 08:53:45.715725600 +0900 @@ -472,30 +472,14 @@ check_aac() check_ffmpeg() { HAVE_FFMPEG_AVCODEC_H=y - pkg_config FFMPEG "libavformat libavcodec" || return $? + pkg_config FFMPEG "libavformat libavcodec libavutil libswresample" || return $? if check_header "libavcodec/avcodec.h" $FFMPEG_CFLAGS then HAVE_FFMPEG_AVCODEC_H=n else check_header "ffmpeg/avcodec.h" $FFMPEG_CFLAGS || return $? fi - # ffmpeg api changes so frequently that it is best to compile the module - libs="$LDDLFLAGS $FFMPEG_LIBS" - cflags="$SOFLAGS $FFMPEG_CFLAGS" - if test "$HAVE_FFMPEG_AVCODEC_H" = y - then - cflags="$cflags -DHAVE_FFMPEG_AVCODEC_H" - fi - topdir=`dirname "$0"` - ffmpeg_code=`cat "$topdir"/ip/ffmpeg.c | sed 's/\\\n//g'` - msg_checking "for successful build of ffmpeg.c" - if try_compile_link "$ffmpeg_code" $cflags -I$topdir/ip $libs - then - msg_result yes - return 0 - fi - msg_result no - return 1 + return 0 } check_string_function()
-- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple