# $FreeBSD: audio/xmms-flac/Makefile 328596 2013-09-28 16:59:55Z naddy $

PORTNAME=	xmms-flac
PORTVERSION=	1.3.0
CATEGORIES=	audio
MASTER_SITES=	http://downloads.xiph.org/releases/flac/
DISTNAME=	flac-${PORTVERSION}

MAINTAINER=	naddy@FreeBSD.org
COMMENT=	XMMS input plugin for playing FLAC files

LIB_DEPENDS=	libxmms.so:${PORTSDIR}/multimedia/xmms \
		libFLAC.so:${PORTSDIR}/audio/flac \
		libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs \
		libogg.so:${PORTSDIR}/audio/libogg

USES=		gettext iconv
USE_AUTOTOOLS=	libtool
USE_GNOME=	gtk12
USE_XORG=	x11 xau xcb xdmcp xext xi
USE_XZ=		yes

CONFIGURE_ARGS=	--disable-silent-rules
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

MAKE_ARGS=	LIBTOOL="${LIBTOOL} --tag=disable-static"
MAKEFILE=	${FILESDIR}/Makefile

PLIST_FILES=	lib/xmms/Input/libxmms-flac.so

.include <bsd.port.mk>
