Bug 246212 - [NEW PORT] multimedia/playerctl: MPRIS command-line controller and library
Summary: [NEW PORT] multimedia/playerctl: MPRIS command-line controller and library
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL: https://github.com/altdesktop/playerctl
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-05 05:27 UTC by Aaron LI
Modified: 2020-05-05 05:27 UTC (History)
0 users

See Also:


Attachments
multimedia/playerctl port shar (4.14 KB, text/plain)
2020-05-05 05:27 UTC, Aaron LI
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron LI 2020-05-05 05:27:30 UTC
Created attachment 214143 [details]
multimedia/playerctl port shar

Hi,

I've ported the playerctl (https://github.com/altdesktop/playerctl), which is a MPRIS command-line controller and library, to DragonFly BSD and FreeBSD.  I've tested and am using it on DragonFly BSD and it should just work on FreeBSD as well.

'portlint' says 'looks fine'.

'make stage-qa' generates the following warnings (on DragonFly BSD 5.9):
------------------------------------------------------
====> Running Q/A tests (stage-qa)
Error: /usr/local/lib/libplayerctl.so.2.1.1 is linked to /usr/local/lib/libiconv.so.2 from converters/libiconv but it is not declared as a dependency
Warning: you need USES+=iconv, USES+=iconv:wchar_t, or USES+=iconv:translit depending on needs
Error: /usr/local/lib/libplayerctl.so.2.1.1 is linked to /usr/local/lib/libpcre.so.1 from devel/pcre but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libpcre.so:devel/pcre
Error: /usr/local/lib/libplayerctl.so.2.1.1 is linked to /usr/local/lib/libffi.so.6 from devel/libffi but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libffi.so:devel/libffi
------------------------------------------------------

However, all those libraries (libiconv, libpcre, libffi) are pulled by Glib libraries (e.g., libgio-2.0.so, libglib-2.0.so, libgobject-2.0.so).  So I'm not sure how to best handle these warnings.  Any suggestions are very appreciated.


Regards,
Aaron