blob: 01b67e747660ae793edfece013e9d7c16b79b85c (
plain)
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
|
# $NetBSD: Makefile,v 1.26 2004/10/03 00:13:05 tv Exp $
DISTNAME= flac-1.1.1
PKGREVISION= 1
CATEGORIES= audio archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flac/}
MAINTAINER= ben@NetBSD.org
HOMEPAGE= http://flac.sourceforge.net/
COMMENT= Free lossless audio codec
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_BUILDLINK3= yes
USE_LIBTOOL= yes
USE_GNU_TOOLS+= make
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_ENV+= ac_cv_path_XMMS_CONFIG="no"
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-*-i386)
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
.endif
# This version of flac doesn't build with SunPro yet.
NOT_FOR_COMPILER= sunpro
# This version of flac doesn't seem to build correctly with -O3 using
# the MIPSpro compiler.
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mmipspro)
BUILDLINK_TRANSFORM+= rm:-O3
.endif
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|