2020-08-17 22:19:01 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2020/08/17 20:19:39 leot Exp $
|
2011-01-19 05:19:08 +01:00
|
|
|
#
|
|
|
|
|
2020-08-17 14:22:50 +02:00
|
|
|
DISTNAME= hwdecode-demos-0.9.6p1
|
2020-08-17 22:19:01 +02:00
|
|
|
PKGREVISION= 1
|
2011-01-19 05:19:08 +01:00
|
|
|
CATEGORIES= multimedia
|
2020-08-17 14:22:50 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=gbeauchesne/}
|
|
|
|
GITHUB_TAG= 6b4c053b70b612f7375a3ccf6f27e62cd2bc5fea
|
2011-01-19 05:19:08 +01:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-08-17 14:22:50 +02:00
|
|
|
HOMEPAGE= https://github.com/gbeauchesne/hwdecode-demos/
|
2011-01-19 05:19:08 +01:00
|
|
|
COMMENT= Standalone programs showing off various HW acceleration APIs
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2020-08-17 14:22:50 +02:00
|
|
|
USE_TOOLS+= pkg-config gmake autoconf automake aclocal
|
2011-01-19 05:19:08 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
|
2020-08-17 14:22:50 +02:00
|
|
|
pre-configure:
|
|
|
|
${RUN} cd ${WRKSRC} && ${PKGSRC_SETENV} ${CONFIGURE_ENV} autoreconf -vif
|
|
|
|
|
2014-09-22 13:55:07 +02:00
|
|
|
PLIST_VARS+= vdpau vaapi
|
2012-12-02 16:50:35 +01:00
|
|
|
|
|
|
|
.include "../../multimedia/libvdpau/buildlink3.mk"
|
|
|
|
.if ${VDPAU_AVAILABLE} == yes
|
|
|
|
PLIST.vdpau= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-vdpau
|
|
|
|
.endif
|
2014-09-23 17:09:54 +02:00
|
|
|
.include "../../multimedia/libva/buildlink3.mk"
|
2014-09-22 13:55:07 +02:00
|
|
|
.if ${VAAPI_AVAILABLE} == yes
|
|
|
|
PLIST.vaapi= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-vaapi
|
|
|
|
.endif
|
2012-12-02 16:50:35 +01:00
|
|
|
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
2011-01-19 05:19:08 +01:00
|
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
2012-12-02 16:50:35 +01:00
|
|
|
.include "../../x11/libXfixes/buildlink3.mk"
|
|
|
|
.include "../../x11/libdrm/buildlink3.mk"
|
2011-01-19 05:19:08 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|