Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Dec 2017 21:25:57 +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: r456673 - in head/multimedia: libva libva-intel-driver libva-vdpau-driver
Message-ID:  <201712182125.vBILPvFa015072@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Mon Dec 18 21:25:57 2017
New Revision: 456673
URL: https://svnweb.freebsd.org/changeset/ports/456673

Log:
  Make libva and it's drivers install modules in the standard location
  PREFIX/lib/dri.
  
  This is the same location where other ports(mesa) install drivers,
  so that everything works out of the box.
  
  PR:		224424
  Submitted by:	Greg V <greg@unrelenting.technology>

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

Modified: head/multimedia/libva-intel-driver/Makefile
==============================================================================
--- head/multimedia/libva-intel-driver/Makefile	Mon Dec 18 20:45:48 2017	(r456672)
+++ head/multimedia/libva-intel-driver/Makefile	Mon Dec 18 21:25:57 2017	(r456673)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libva-intel-driver
 PORTVERSION=	2.0.0
+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/i915_drv_video.so lib/va/i965_drv_video.so
+PLIST_FILES=	lib/dri/i915_drv_video.so lib/dri/i965_drv_video.so
 
 ONLY_FOR_ARCHS=	amd64 i386
 ONLY_FOR_ARCHS_REASON=	Driver for hardware present only on intel i386 and amd64 CPUs
@@ -36,6 +37,6 @@ post-patch:	.SILENT
 		${WRKSRC}/configure.ac
 
 post-install:
-	${LN} -sf i965_drv_video.so ${STAGEDIR}${PREFIX}/lib/va/i915_drv_video.so
+	${LN} -sf i965_drv_video.so ${STAGEDIR}${PREFIX}/lib/dri/i915_drv_video.so
 
 .include <bsd.port.mk>

Modified: head/multimedia/libva-vdpau-driver/Makefile
==============================================================================
--- head/multimedia/libva-vdpau-driver/Makefile	Mon Dec 18 20:45:48 2017	(r456672)
+++ head/multimedia/libva-vdpau-driver/Makefile	Mon Dec 18 21:25:57 2017	(r456673)
@@ -2,7 +2,7 @@
 
 PORTNAME=	libva-vdpau-driver
 PORTVERSION=	0.7.4
-PORTREVISION=	8
+PORTREVISION=	9
 CATEGORIES=	multimedia
 MASTER_SITES=	http://www.freedesktop.org/software/vaapi/releases/${PORTNAME}/
 
@@ -23,7 +23,7 @@ USE_GL=		gl
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 
-PLIST_FILES=	lib/va/nvidia_drv_video.so lib/va/s3g_drv_video.so lib/va/vdpau_drv_video.so
+PLIST_FILES=	lib/dri/nvidia_drv_video.so lib/dri/s3g_drv_video.so lib/dri/vdpau_drv_video.so
 
 OPTIONS_DEFINE=	DEBUG
 

Modified: head/multimedia/libva/Makefile
==============================================================================
--- head/multimedia/libva/Makefile	Mon Dec 18 20:45:48 2017	(r456672)
+++ head/multimedia/libva/Makefile	Mon Dec 18 21:25:57 2017	(r456673)
@@ -2,6 +2,7 @@
 
 PORTNAME=	libva
 PORTVERSION=	2.0.0
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	madpilot@FreeBSD.org
@@ -41,8 +42,7 @@ WAYLAND_LIB_DEPENDS=	libwayland-client.so:graphics/way
 WAYLAND_BUILD_DEPENDS=	gsed:textproc/gsed
 
 post-patch:	.SILENT
-	${REINPLACE_CMD} -e 's|\($$libdir\)/dri|\1/va|' \
-		-e 's|$${libdir}/\(pkgconfig\)|${PREFIX}/libdata/\1|' \
+	${REINPLACE_CMD} -e 's|$${libdir}/\(pkgconfig\)|${PREFIX}/libdata/\1|' \
 		${WRKSRC}/configure.ac
 	${REINPLACE_CMD} '/^export VA_HEADER_/d' \
 		${WRKSRC}/doc/Makefile.am



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