audio/pasystray: new port had been added (+)

PulseAudio system tray, replacement for deprecated padevchooser.
Add several options to disable unneeded features; unfortunately,
AppIndicator support currently implies GTK v3 (the default one).

PR:	264327
This commit is contained in:
Alexey Dokuchaev 2024-03-21 04:23:46 +00:00
parent 65cb998aee
commit d340d8ff32
5 changed files with 57 additions and 0 deletions

View File

@ -579,6 +579,7 @@
SUBDIR += paman
SUBDIR += pamixer
SUBDIR += paprefs
SUBDIR += pasystray
SUBDIR += patchage
SUBDIR += pavucontrol
SUBDIR += pavucontrol-qt

42
audio/pasystray/Makefile Normal file
View File

@ -0,0 +1,42 @@
PORTNAME= pasystray
PORTVERSION= 0.8.2
CATEGORIES= audio
MAINTAINER= julien+freebsdports@delhaye.me
COMMENT= System tray applet to control PulseAudio
WWW= https://github.com/christophgysin/pasystray
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpulse.so:audio/pulseaudio
USES= autoreconf gnome pkgconfig
USE_GNOME= cairo gdkpixbuf2
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
USE_GITHUB= yes
GH_ACCOUNT= christophgysin
OPTIONS_DEFINE= APPINDICATOR AVAHI GTK2 NOTIFY
OPTIONS_DEFAULT= APPINDICATOR AVAHI NOTIFY
APPINDICATOR_DESC= AppIndicator support
APPINDICATOR_LIB_DEPENDS= libappindicator3.so:devel/libappindicator
APPINDICATOR_CONFIGURE_OFF= --disable-appindicator
AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app
AVAHI_CONFIGURE_OFF= --disable-avahi
GTK2_DESC= Use GTK 2 instead of GTK 3
GTK2_CONFIGURE_ON= --with-gtk=2
GTK2_USE= GNOME=gtk20
GTK2_USE_OFF= GNOME=gtk30
GTK2_PLIST_FILES= ${DATADIR_REL}/${PORTNAME}.gtk2.glade
GTK2_PLIST_FILES_OFF= ${DATADIR_REL}/${PORTNAME}.gtk3.glade
GTK2_PREVENTS= APPINDICATOR
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
NOTIFY_CONFIGURE_OFF= --disable-notify
.include <bsd.port.mk>

3
audio/pasystray/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1676063460
SHA256 (christophgysin-pasystray-0.8.2_GH0.tar.gz) = 9c6fc5859a203f0a6dd8ce2038fea85b7bac44b1baff5c4cf73643229fafa641
SIZE (christophgysin-pasystray-0.8.2_GH0.tar.gz) = 59654

View File

@ -0,0 +1,5 @@
PulseAudio system tray, a replacement for the deprecated padevchooser.
pasystray allows setting the default PulseAudio source/sink and moving
streams on the fly between sources/sinks without restarting the client
applications.

View File

@ -0,0 +1,6 @@
bin/pasystray
etc/xdg/autostart/pasystray.desktop
share/applications/pasystray.desktop
share/icons/hicolor/scalable/apps/pasystray.svg
share/man/man1/pasystray.1.gz
share/pixmaps/pasystray.png