aboutsummaryrefslogtreecommitdiff
path: root/audio/xfce4-pulseaudio-plugin/Makefile
blob: 483270f0d13f352edfb1807e8601d8c8ca8d22fb (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
36
37
38
39
40
41
42
43
44
PORTNAME=	xfce4-pulseaudio-plugin
PORTVERSION=	0.4.8
PORTREVISION=	2
CATEGORIES=	audio xfce
MASTER_SITES=	XFCE/panel-plugins
DIST_SUBDIR=	xfce4

MAINTAINER=	xfce@FreeBSD.org
COMMENT=	Panel plugin for controlling PulseAudio mixer
WWW=		https://goodies.xfce.org/projects/panel-plugins/xfce4-pulseaudio-plugin

LICENSE=	GPLv2

LIB_DEPENDS=	libpulse-mainloop-glib.so:audio/pulseaudio \
		libnotify.so:devel/libnotify \
		libharfbuzz.so:print/harfbuzz
RUN_DEPENDS=	pavucontrol>=2.0:audio/pavucontrol

USES=		compiler:c11 gettext-tools gmake gnome libtool pkgconfig \
		tar:bzip2 xfce xorg
USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 intltool libwnck3
USE_XFCE=	libexo panel xfconf
USE_XORG=	x11

GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip

CONFIGURE_ARGS=--with-mixer-command=${LOCALBASE}/bin/pavucontrol \
		--enable-mpris2 \
		--enable-wnck
CFLAGS+=	-Wno-return-type

OPTIONS_DEFINE=			KEYBINDER NLS
OPTIONS_DEFAULT=		KEYBINDER
OPTIONS_SUB=			yes

KEYBINDER_DESC=			Keyboard shortcuts
KEYBINDER_LIB_DEPENDS=		libkeybinder-3.0.so:x11/keybinder-gtk3
KEYBINDER_CONFIGURE_ENABLE=	keybinder

NLS_CONFIGURE_ENABLE=		nls
NLS_USES=			gettext-runtime

.include <bsd.port.mk>