[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / multimedia / hwdecode-demos

File: [cvs.NetBSD.org] / pkgsrc / multimedia / hwdecode-demos / Makefile (download)

Revision 1.19, Mon Aug 17 20:19:39 2020 UTC (15 months, 1 week ago) by leot
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, HEAD
Changes since 1.18: +2 -1 lines

*: revbump after fontconfig bl3 changes (libuuid removal)

# $NetBSD: Makefile,v 1.19 2020/08/17 20:19:39 leot Exp $
#

DISTNAME=	hwdecode-demos-0.9.6p1
PKGREVISION=	1
CATEGORIES=	multimedia
MASTER_SITES=	${MASTER_SITE_GITHUB:=gbeauchesne/}
GITHUB_TAG=	6b4c053b70b612f7375a3ccf6f27e62cd2bc5fea

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/gbeauchesne/hwdecode-demos/
COMMENT=	Standalone programs showing off various HW acceleration APIs
LICENSE=	gnu-gpl-v2

GNU_CONFIGURE=	yes
USE_TOOLS+=	pkg-config gmake autoconf automake aclocal
USE_LIBTOOL=	yes

pre-configure:
	${RUN} cd ${WRKSRC} && ${PKGSRC_SETENV} ${CONFIGURE_ENV} autoreconf -vif

PLIST_VARS+=	vdpau vaapi

.include "../../multimedia/libvdpau/buildlink3.mk"
.if ${VDPAU_AVAILABLE} == yes
PLIST.vdpau=	yes
.else
CONFIGURE_ARGS+=	--disable-vdpau
.endif
.include "../../multimedia/libva/buildlink3.mk"
.if ${VAAPI_AVAILABLE} == yes
PLIST.vaapi=	yes
.else
CONFIGURE_ARGS+=	--disable-vaapi
.endif

.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../x11/libXfixes/buildlink3.mk"
.include "../../x11/libdrm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"