aboutsummaryrefslogtreecommitdiff
path: root/audio/xfce4-pulseaudio-plugin/Makefile
blob: c90488076cbb4ea80209df619401e74a6ed73a89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=	xfce4-pulseaudio-plugin
PORTVERSION=	0.2.3
CATEGORIES=	audio xfce
MASTER_SITES=	XFCE/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 <bsd.port.mk>