blob: a1e37763eaae592c015ac59b57f8ff82ff4e9806 (
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
|
# $NetBSD: Makefile,v 1.2 2011/07/03 08:22:12 dholland Exp $
#
# libva-1.0.7+ needs libdrm-2.4.23
DISTNAME= libva-1.0.6
PKGREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://cgit.freedesktop.org/libva/snapshot/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.freedesktop.org/wiki/Software/vaapi
COMMENT= Video Acceleration API
LICENSE= mit
PKG_DESTDIR_SUPPORT= user-destdir
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}
PKGCONFIG_OVERRIDE+= libva-glx.pc.in
PKGCONFIG_OVERRIDE+= libva-tpi.pc.in
PKGCONFIG_OVERRIDE+= libva-x11.pc.in
PKGCONFIG_OVERRIDE+= libva.pc.in
pre-configure:
cd ${WRKSRC} && autoreconf -i
.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"
|