pkgsrc/audio/libdca/Makefile

31 lines
777 B
Makefile

# $NetBSD: Makefile,v 1.12 2015/01/27 00:36:22 jperkin Exp $
#
DISTNAME= libdca-0.0.5
CATEGORIES= audio
MASTER_SITES= http://download.videolan.org/pub/videolan/libdca/0.0.5/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= shattered@NetBSD.org
HOMEPAGE= http://www.videolan.org/developers/libdca.html
COMMENT= DTS Coherent Acoustics decoder
LICENSE= gnu-gpl-v2
RESTRICTED= Unresolved patent issue
NO_BIN_ON_CDROM=${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM=${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
.include "../../mk/compiler.mk"
# Avoid clang bugs resulting in "duplicate symbol ___sputc".
.if !empty(PKGSRC_COMPILER:Mclang) && ${OPSYS} == "Darwin"
CFLAGS+= -std=gnu89
.endif
.include "../../mk/bsd.pkg.mk"