BSD Ports

multimedia/playerctl 2.3.1_2 MidnightBSD

MPRIS command-line controller and library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
lgpl3+
Categories
multimedia, audio

Description

Playerctl is a command-line utility and library for controlling media players that implement the MPRIS D-Bus Interface Specification. Playerctl makes it easy to bind player actions, such as play and pause, to media keys. You can also get metadata about the playing track such as the artist and title for integration into statusline generators or other command-line tools.

For more advanced users, Playerctl provides an introspectable library available in your favorite scripting language that allows more detailed control like the ability to subscribe to media player events or get metadata such as artist and title for the playing track.

In the other systems

SystemPortVersion
MidnightBSDmultimedia/playerctl2.3.1_2
FreeBSDmultimedia/playerctl2.3.1_2
OpenBSDmultimedia/playerctl2.4.1p0
DragonFlymultimedia/playerctl2.3.1_2
HardenedBSDmultimedia/playerctl2.3.1_2
GhostBSDmultimedia/playerctl2.3.1_2

Install

Binary package:

mport install playerctl

From mports:

cd /usr/mports/multimedia/playerctl && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	playerctl>0:multimedia/playerctl
LIB_DEPENDS=	libplayerctl.so:multimedia/playerctl

Dependencies

No port depends on this one.

Configuration

Options name: multimedia_playerctl

OptionDefaultDescription
DOCSoffBuild GTK documentation
INTROSPECTIONoffBuild GObject Introspection
USES
gnome meson pkgconfig tar:xz
Service scripts
none

Files

Manual pages 1
  • playerctl(1)
pkg-plist 19
  • bin/playerctl
  • bin/playerctld
  • include/playerctl/playerctl-enum-types.h
  • include/playerctl/playerctl-player-manager.h
  • include/playerctl/playerctl-player-name.h
  • include/playerctl/playerctl-player.h
  • include/playerctl/playerctl-version.h
  • include/playerctl/playerctl.h
  • lib/girepository-1.0/Playerctl-2.0.typelib
  • lib/libplayerctl.a
  • lib/libplayerctl.so
  • lib/libplayerctl.so.2
  • lib/libplayerctl.so.
  • libdata/pkgconfig/playerctl.pc
  • share/man/man1/playerctl.1.gz
  • share/bash-completion/completions/playerctl.bash
  • share/dbus-1/services/org.mpris.MediaPlayer2.playerctld.service
  • share/gir-1.0/Playerctl-2.0.gir
  • share/zsh/site-functions/_playerctl
distinfo 1
FileSizeSHA256
playerctl-2.3.1.tar.xz6029236fbd2d168e1ba94d538022f358dc08818b90a4e8ea7eb4150eaaa8837630ed9
Master sites 1
  • https://github.com/altdesktop/playerctl/releases/download/v2.3.1/