[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / libsndfile

File: [cvs.NetBSD.org] / pkgsrc / audio / libsndfile / Makefile (download)

Revision 1.80, Tue Aug 18 17:57:25 2020 UTC (3 years, 3 months ago) by leot
Branch: MAIN
Changes since 1.79: +2 -1 lines

*: revbump for libsndfile

# $NetBSD: Makefile,v 1.80 2020/08/18 17:57:25 leot Exp $

DISTNAME=	libsndfile-1.0.29
PKGREVISION=	1
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_GITHUB:=erikd/}
GITHUB_PROJECT=	libsndfile
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.mega-nerd.com/libsndfile/
COMMENT=	Library for reading and writing audio files
LICENSE=	gnu-lgpl-v2.1

TOOL_DEPENDS+=	autogen-[0-9]*:../../devel/autogen

USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
USE_TOOLS+=		autogen autoconf autoreconf automake pkg-config
PKGCONFIG_OVERRIDE=	sndfile.pc.in
GNU_CONFIGURE=		yes
PYTHON_FOR_BUILD_ONLY=	tool

TEST_TARGET=		check

.include "options.mk"

OPSYSVARS+=		BUILDLINK_PASSTHRU_DIRS

BUILDLINK_PASSTHRU_DIRS.Darwin+=	/Developer

.if !empty(PKGSRC_COMPILER:Msunpro)
CXXFLAGS+=		-features=extensions
.endif

pre-configure:
	cd ${WRKSRC} && autoreconf -fi

.include "../../audio/flac/buildlink3.mk"
.include "../../audio/libopus/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../lang/python/tool.mk"
BUILDLINK_API_DEPENDS.libogg+=	libogg>=1.1.3
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"