# $NetBSD: Makefile,v 1.3 2015/04/25 14:20:17 tnn Exp $

DISTNAME=	SDL2_mixer-2.0.0
PKGREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	http://www.libsdl.org/projects/SDL_mixer/release/

MAINTAINER=	rodent@NetBSD.org
HOMEPAGE=	http://www.libsdl.org/projects/SDL_mixer/
COMMENT=	Sample multi-channel audio mixer library
LICENSE=	zlib

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	gmake pkg-config
USE_LANGUAGES=	c c++

PKGCONFIG_OVERRIDE+=	SDL2_mixer.pc.in
PKGCONFIG_OVERRIDE+=	external/flac-1.2.1/src/libFLAC/flac.pc.in
PKGCONFIG_OVERRIDE+=	external/flac-1.2.1/src/libFLAC++/flac++.pc.in
PKGCONFIG_OVERRIDE+=	external/libmodplug-0.8.8.4/libmodplug.pc.in
PKGCONFIG_OVERRIDE+=	external/libogg-1.3.1/ogg.pc.in
PKGCONFIG_OVERRIDE+=	external/libvorbis-1.3.3/vorbis.pc.in
PKGCONFIG_OVERRIDE+=	external/libvorbis-1.3.3/vorbisenc.pc.in
PKGCONFIG_OVERRIDE+=	external/libvorbis-1.3.3/vorbisfile.pc.in
PKGCONFIG_OVERRIDE+=	external/libvorbisidec-1.2.1/vorbisidec.pc.in

.include "options.mk"

.include "../../devel/SDL2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
