a370195f5c
PR: ports/173597 Submitted by: Manuel Creach <manuel.creach@me.com> (maintainer) Feature safe: yes
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# Created by: Manuel Creach <manuel.creach@me.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libva-intel-driver
|
|
PORTVERSION= 1.0.19
|
|
CATEGORIES= multimedia
|
|
MASTER_SITES= http://www.freedesktop.org/software/vaapi/releases/${PORTNAME}/
|
|
|
|
MAINTAINER= manuel.creach@me.com
|
|
COMMENT= VAAPI intel driver
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= va:${PORTSDIR}/multimedia/libva
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
|
|
|
|
USE_GMAKE= yes
|
|
USE_BZIP2= yes
|
|
USE_GL= gl
|
|
USE_AUTOTOOLS= aclocal autoheader automake autoconf libtoolize
|
|
ACLOCAL_ARGS= -I.
|
|
AUTOMAKE_ARGS= --add-missing
|
|
USE_LDCONFIG= yes
|
|
|
|
CPPFLAGS+= -isystem${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PLIST_FILES= lib/va/i965_drv_video.so \
|
|
lib/va/i965_drv_video.la
|
|
|
|
.if !defined(WITH_NEW_XORG) || !defined(WITH_KMS)
|
|
IGNORE= requires libdrm >= 2.4.23 and intel KMS to be enabled
|
|
.endif
|
|
|
|
post-patch: .SILENT
|
|
${REINPLACE_CMD} -e 's/-ldl//' \
|
|
${WRKSRC}/src/Makefile.am
|
|
${REINPLACE_CMD} -e 's|driverdir|& --define-variable prefix=${PREFIX}|' \
|
|
${WRKSRC}/configure.ac
|
|
|
|
.include <bsd.port.mk>
|