summaryrefslogtreecommitdiff
path: root/audio/libxspf/Makefile
blob: fe4268eb8bac9e9a9d5e137a1019c2a8ee71c252 (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
# $NetBSD: Makefile,v 1.5 2020/01/26 05:26:12 rillig Exp $

DISTNAME=	libxspf-1.2.0
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=libspiff/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://libspiff.sourceforge.net/
COMMENT=	XML Shareable Playlist Format (XSPF) library
LICENSE=	modified-bsd

PKG_DESTDIR_SUPPORT=	user-destdir

USE_TOOLS+=		pkg-config
GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
USE_LANGUAGES=		c c++
PKGCONFIG_OVERRIDE+=	xspf.pc.in

CONFIGURE_ARGS+=	--with-expat=${BUILDLINK_PREFIX.expat:Q}
#CONFIGURE_ARGS+=	--with-uriparser=${BUILDLINK_PREFIX.uriparser:Q}

CONFIGURE_ARGS+=	--disable-test
#TEST_TARGET=		check

BUILDLINK_ABI_DEPENDS.expat+=		expat>=2.0.0nb1
BUILDLINK_API_DEPENDS.uriparser+=	uriparser>=0.7.5

.include "../../textproc/expat/buildlink3.mk"
.include "../../textproc/uriparser/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"