blob: 6a3c495d3d861bf97b556aab52a392449dd7191e (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.8 2015/04/28 06:56:18 tnn Exp $
#
DISTNAME= libva-1.1.0
PKGREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/libva/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.freedesktop.org/wiki/Software/vaapi
COMMENT= Video Acceleration API
LICENSE= mit
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= autoreconf autoconf automake gmake pkg-config
.include "../../mk/bsd.prefs.mk"
DRIVER_SEARCH_PATH= ${PREFIX}/lib/xorg/modules/dri
CONFIGURE_ARGS+= --enable-i965-driver
CONFIGURE_ARGS+= --enable-shared
CONFIGURE_ARGS+= --with-drivers-path=${DRIVER_SEARCH_PATH:Q}
LIBS+= ${BUILDLINK_LDADD.dl}
PKGCONFIG_OVERRIDE+= libva-drm.pc.in
PKGCONFIG_OVERRIDE+= libva-egl.pc.in
PKGCONFIG_OVERRIDE+= libva-glx.pc.in
PKGCONFIG_OVERRIDE+= libva-tpi.pc.in
PKGCONFIG_OVERRIDE+= libva-x11.pc.in
PKGCONFIG_OVERRIDE+= libva.pc.in
PLIST_VARS+= egl
.if ${X11_TYPE} == "modular" || exists(${X11BASE}/include/EGL/egl.h)
PLIST.egl= yes
.endif
pre-configure:
cd ${WRKSRC} && autoreconf -i
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../x11/libXfixes/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libdrm/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|