summaryrefslogtreecommitdiff
path: root/multimedia/butt/Makefile
blob: 57a3ab4245ed1c98fd87fc13a0f593b0331b2aff (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=	butt
PORTVERSION=	1.45.0
PORTREVISION=	2
CATEGORIES=	multimedia graphics
MASTER_SITES=	https://danielnoethen.de/butt/release/${PORTVERSION}/

MAINTAINER=	pi@FreeBSD.org
COMMENT=	Broadcast SHOUTcast and Icecast streams
WWW=		https://danielnoethen.de/butt/

LICENSE=	GPLv2

LIB_DEPENDS=	libcurl.so:ftp/curl \
		libdatachannel.so:www/libdatachannel \
		libdbus-1.so:devel/dbus \
		libFLAC.so:audio/flac \
		libfdk-aac.so:audio/fdk-aac \
		libfltk_images.so:x11-toolkits/fltk \
		libfontconfig.so:x11-fonts/fontconfig \
		libmp3lame.so:audio/lame \
		libogg.so:audio/libogg \
		libopus.so:audio/opus \
		libpng.so:graphics/png \
		libportaudio.so:audio/portaudio \
		libportmidi.so:audio/portmidi \
		libsamplerate.so:audio/libsamplerate \
		libvorbis.so:audio/libvorbis

USES=		autoreconf compiler:c++11-lang gettext \
		gmake jpeg pkgconfig xorg ssl uidfix
USE_XORG=	x11 xrender xcursor xfixes xext xft xinerama
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--enable-webrtc
CFLAGS+=	-I/usr/local/include
LDFLAGS+=	-L/usr/local/lib -lintl
PLIST_FILES=	bin/butt \
		share/locale/ar/LC_MESSAGES/butt.mo \
		share/locale/de/LC_MESSAGES/butt.mo \
		share/locale/es/LC_MESSAGES/butt.mo \
		share/locale/fr/LC_MESSAGES/butt.mo \
		share/locale/nl/LC_MESSAGES/butt.mo \
		share/locale/pt_BR/LC_MESSAGES/butt.mo

.include <bsd.port.mk>