[MacPorts] #68441: Pianobar - it works with ffmpeg6 however

MacPorts noreply at macports.org
Thu Oct 12 19:38:51 UTC 2023


#68441: Pianobar - it works with ffmpeg6 however
--------------------------------+----------------------
 Reporter:  Behinder            |      Owner:  (none)
     Type:  request             |     Status:  new
 Priority:  Normal              |  Milestone:
Component:  ports               |    Version:  2.8.1
 Keywords:  pianobar, libpiano  |       Port:  pianobar
--------------------------------+----------------------
 I was able to compile pianobar by hand from the macports source tree. I
 modified Portfile and changed dependency to ffmpeg6. However ffmpeg6 puts
 relevant headers in different subdirectory:  \\

 `/opt/local/libexec/ffmpeg6/include/` \\
 and pkg-config is not seeing relevant *.pc files until I set environment
 variable `PKG_CONFIG_PATH=/opt/local/libexec/ffmpeg6/lib/pkgconfig`.

 After that `sudo gmake && sudo gmake install` worked and pianobar work.
 But when I try to install something else macporsts complain that pianobar
 and libpiano are broken and they must be rebuild. I contacted developer of
 Pianobar but he told he is not maintaing the macports version. But if this
 works in Homebrew there is no reason for not making it work in MP.\\

 I have no experience in building Portfiles so I don't know how to modify
 this to set PKG_CONFIG_PATH variable and how to make Macports to look also
 in `/opt/local/libexec/ffmpeg6/include/` or how to create variant of the
 port?\\
 I also do not understand why libpiano and pianobar being two ports, only
 the latter can be found in
 `/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/audio/`

-- 
Ticket URL: <https://trac.macports.org/ticket/68441>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list