1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

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>
This commit is contained in:
Guido Falsi 2017-12-18 21:25:57 +00:00
parent 0ec0945174
commit 7a8364fb88
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456673
3 changed files with 7 additions and 6 deletions

View File

@ -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>

View File

@ -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

View File

@ -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/wayland
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