File:  [cvs.NetBSD.org] / pkgsrc / audio / libopenmpt / Makefile
Revision 1.74: download - view: text, annotated - select for diffs
Tue Jul 18 12:56:05 2023 UTC (16 months, 3 weeks ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, HEAD
audio: Where possible, adapt packages to use USE_(CC|CXX)_FEATURES

# $NetBSD: Makefile,v 1.74 2023/07/18 12:56:05 nia Exp $

DISTNAME=	libopenmpt-0.7.2+release.autotools
PKGNAME=	${DISTNAME:C/\+.*//}
CATEGORIES=	audio
MASTER_SITES=	https://lib.openmpt.org/files/libopenmpt/src/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://lib.openmpt.org/libopenmpt/
COMMENT=	Library to decode tracked music files into a raw PCM audio stream
LICENSE=	modified-bsd

TOOL_DEPENDS+=	help2man-[0-9]*:../../converters/help2man

USE_LANGUAGES=	c c++
USE_TOOLS=	gmake pkg-config

USE_CXX_FEATURES+=	charconv

GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
PKGCONFIG_OVERRIDE=	libmodplug/libmodplug.pc.in libopenmpt/libopenmpt.pc.in
CONFIGURE_ARGS+=	--without-portaudio
CONFIGURE_ARGS+=	--without-portaudiocpp

.include "options.mk"

.include "../../audio/mpg123/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>