blob: 474131d5d5ebb1621b5d6aefb45351a41adcb658 (
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
|
# Created by: Manuel Creach <manuel.creach@me.com>
# $FreeBSD$
PORTNAME= libva-intel-driver
PORTVERSION= 1.8.1
PORTREVISION= 1
CATEGORIES= multimedia
MAINTAINER= madpilot@FreeBSD.org
COMMENT= VAAPI intel driver
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libva.so:multimedia/libva
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
GNU_CONFIGURE= yes
USES= alias autoreconf compiler:c11 gmake libtool localbase \
pkgconfig tar:bzip2
USE_GL= gl
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= 01org
GH_PROJECT= intel-vaapi-driver
PLIST_FILES= lib/va/i915_drv_video.so lib/va/i965_drv_video.so
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= Driver for hardware present only on intel i386 and amd64 CPUs
post-patch: .SILENT
${REINPLACE_CMD} -e 's/-ldl//' \
${WRKSRC}/src/Makefile.am
${REINPLACE_CMD} -e 's|driverdir|& --define-variable prefix=${PREFIX}|' \
${WRKSRC}/configure.ac
post-install:
${LN} -sf i965_drv_video.so ${STAGEDIR}${PREFIX}/lib/va/i915_drv_video.so
.include <bsd.port.mk>
|