Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2017 11:26:19 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436483 - head/multimedia/libva-intel-driver
Message-ID:  <201703191126.v2JBQJsX089505@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Sun Mar 19 11:26:19 2017
New Revision: 436483
URL: https://svnweb.freebsd.org/changeset/ports/436483

Log:
  X11 looks for this driver with two names depending on the hardware, since linux has tow separate drivers. Having just one KMS driver in FreeBSD I create a symlink with the alternative name, so X11 can alys find the driver.
  
  PR:		217825
  Submitted by:	Henry Hu <henry.hu.sh@gmail.com>

Modified:
  head/multimedia/libva-intel-driver/Makefile

Modified: head/multimedia/libva-intel-driver/Makefile
==============================================================================
--- head/multimedia/libva-intel-driver/Makefile	Sun Mar 19 10:55:58 2017	(r436482)
+++ head/multimedia/libva-intel-driver/Makefile	Sun Mar 19 11:26:19 2017	(r436483)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libva-intel-driver
 PORTVERSION=	1.7.3
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	madpilot@FreeBSD.org
@@ -24,7 +25,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	01org
 GH_PROJECT=	intel-vaapi-driver
 
-PLIST_FILES=	lib/va/i965_drv_video.so
+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
@@ -35,4 +36,7 @@ post-patch:	.SILENT
 	${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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703191126.v2JBQJsX089505>