summaryrefslogtreecommitdiff
path: root/audio/pavucontrol/Makefile
blob: f4b61b7e3cd10c8e28b9a40dc2174f725c32a3c7 (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
# Created by: Romain Tartière <romain@blogreen.org>

PORTNAME=	pavucontrol
PORTVERSION=	5.0
CATEGORIES=	audio
MASTER_SITES=	http://freedesktop.org/software/pulseaudio/${PORTNAME}/

MAINTAINER=	romain@FreeBSD.org
COMMENT=	GTK mixer for PulseAudio

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libcanberra-gtk3.so:audio/libcanberra-gtk3 \
		libjson-glib-1.0.so:devel/json-glib \
		libpulse.so:audio/pulseaudio

USES=		compiler:c++11-lang gettext gmake gnome pkgconfig tar:xz
USE_GNOME=	glibmm gtkmm30 intltool libsigc++20
USE_CXXSTD=	c++11

GNU_CONFIGURE=	yes
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

CONFIGURE_ARGS=	--disable-lynx

post-patch:
# Install locales files in right place
	${REINPLACE_CMD} -e 's|[$$][(]DATADIRNAME[)]|share|' \
		${WRKSRC}/po/Makefile.in.in

.include <bsd.port.mk>