diff --git a/audio/Makefile b/audio/Makefile index b42fa2f3bfcf..3c5308d2c654 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -792,6 +792,7 @@ SUBDIR += xcdplayer SUBDIR += xfce4-mixer SUBDIR += xfce4-mpc-plugin + SUBDIR += xfce4-pulseaudio-plugin SUBDIR += xfmpc SUBDIR += xhippo SUBDIR += ximp3 diff --git a/audio/xfce4-pulseaudio-plugin/Makefile b/audio/xfce4-pulseaudio-plugin/Makefile new file mode 100644 index 000000000000..be04376098c0 --- /dev/null +++ b/audio/xfce4-pulseaudio-plugin/Makefile @@ -0,0 +1,36 @@ +# Created by: Olivier Duchateau +# $FreeBSD$ + +PORTNAME= xfce4-pulseaudio-plugin +PORTVERSION= 0.2.2 +CATEGORIES= audio xfce +MASTER_SITES= XFCE +MASTER_SITE_SUBDIR= src/panel-plugins/${PORTNAME}/${PORTVERSION:R} +DIST_SUBDIR= xfce4 + +MAINTAINER= xfce@FreeBSD.org +COMMENT= Panel plugin for controlling PulseAudio mixer + +LICENSE= GPLv2 + +LIB_DEPENDS= libpulse-mainloop-glib.so:${PORTSDIR}/audio/pulseaudio +RUN_DEPENDS= pavucontrol>=2.0:${PORTSDIR}/audio/pavucontrol + +USES= pkgconfig libtool gmake gettext xfce:gtk3 tar:bzip2 +GNU_CONFIGURE= yes +USE_GNOME= glib20 gtk30 intltool intlhack +USE_XFCE= panel +USE_XORG= x11 +INSTALLS_ICONS= yes +INSTALL_TARGET= install-strip + +CONFIGURE_ARGS=--with-mixer-command=${LOCALBASE}/bin/pavucontrol +CFLAGS+= -Wno-return-type + +OPTIONS_DEFINE= KEYBINDER +OPTIONS_DEFAULT= KEYBINDER +KEYBINDER_DESC= Keyboard shortcuts +KEYBINDER_LIB_DEPENDS= libkeybinder-3.0.so:${PORTSDIR}/x11/keybinder-gtk3 +KEYBINDER_CONFIGURE_ENABLE= keybinder + +.include diff --git a/audio/xfce4-pulseaudio-plugin/distinfo b/audio/xfce4-pulseaudio-plugin/distinfo new file mode 100644 index 000000000000..168c02c40b5d --- /dev/null +++ b/audio/xfce4-pulseaudio-plugin/distinfo @@ -0,0 +1,2 @@ +SHA256 (xfce4/xfce4-pulseaudio-plugin-0.2.2.tar.bz2) = 67c04ab9a3932d74480f42461aafe779b68de4388db3f7546966a3967376c6d8 +SIZE (xfce4/xfce4-pulseaudio-plugin-0.2.2.tar.bz2) = 324250 diff --git a/audio/xfce4-pulseaudio-plugin/pkg-descr b/audio/xfce4-pulseaudio-plugin/pkg-descr new file mode 100644 index 000000000000..b5a0eacd5ff7 --- /dev/null +++ b/audio/xfce4-pulseaudio-plugin/pkg-descr @@ -0,0 +1,5 @@ +Xfce4-pulseaudio-plugin is a panel plugin for controlling an audio output +volume of the PulseAudio mixer. The volume can be adjusted using keyboard +shortcuts, mouse wheel, or via a linked external audio mixer tool. + +WWW: http://goodies.xfce.org/projects/panel-plugins/xfce4-pulseaudio-plugin diff --git a/audio/xfce4-pulseaudio-plugin/pkg-plist b/audio/xfce4-pulseaudio-plugin/pkg-plist new file mode 100644 index 000000000000..e02423f13259 --- /dev/null +++ b/audio/xfce4-pulseaudio-plugin/pkg-plist @@ -0,0 +1,8 @@ +lib/xfce4/panel/plugins/libpulseaudio-plugin.so +share/icons/hicolor/48x48/apps/xfce4-pulseaudio-plugin.png +share/icons/hicolor/scalable/status/audio-volume-high-symbolic.svg +share/icons/hicolor/scalable/status/audio-volume-low-symbolic.svg +share/icons/hicolor/scalable/status/audio-volume-medium-symbolic.svg +share/icons/hicolor/scalable/status/audio-volume-muted-symbolic.svg +share/icons/hicolor/scalable/apps/xfce4-pulseaudio-plugin.svg +share/xfce4/panel/plugins/pulseaudio.desktop