Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2018 04:10:11 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486821 - head/multimedia/libva-intel-media-driver
Message-ID:  <201812070410.wB74ABrf087176@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Dec  7 04:10:11 2018
New Revision: 486821
URL: https://svnweb.freebsd.org/changeset/ports/486821

Log:
  multimedia/libva-intel-media-driver: drop profile.d script
  
  None of the shells I've tested read etc/profile.d by default.

Added:
  head/multimedia/libva-intel-media-driver/pkg-message   (contents, props changed)
Modified:
  head/multimedia/libva-intel-media-driver/Makefile   (contents, props changed)

Modified: head/multimedia/libva-intel-media-driver/Makefile
==============================================================================
--- head/multimedia/libva-intel-media-driver/Makefile	Fri Dec  7 04:02:58 2018	(r486820)
+++ head/multimedia/libva-intel-media-driver/Makefile	Fri Dec  7 04:10:11 2018	(r486821)
@@ -3,6 +3,7 @@
 PORTNAME=	media-driver
 DISTVERSIONPREFIX=	intel-media-
 DISTVERSION=	18.3.0
+PORTREVISION=	1
 CATEGORIES=	multimedia
 PKGNAMEPREFIX=	libva-intel-
 
@@ -24,12 +25,11 @@ USES=		cmake:outsource compiler:c++11-lib pkgconfig
 USE_GITHUB=	yes
 GH_ACCOUNT=	intel
 ARCH_SUFX=	${ARCH:S/i386/32/:S/amd//:S/x86_//}
-CMAKE_OFF=	MEDIA_BUILD_FATAL_WARNINGS
+CMAKE_OFF=	MEDIA_BUILD_FATAL_WARNINGS INSTALL_DRIVER_SYSCONF
 CMAKE_ARGS=	-DBUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
 		-DARCH:STRING="${ARCH_SUFX}" \
 		-DUFO_MARCH:STRING="${CPUTYPE}"
-PLIST_FILES=	etc/profile.d/intel-media.sh \
-		lib/dri/iHD_drv_video.so \
+PLIST_FILES=	lib/dri/iHD_drv_video.so \
 		lib/igfxcmrt${ARCH_SUFX}.so
 
 OPTIONS_DEFINE=	TEST

Added: head/multimedia/libva-intel-media-driver/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/libva-intel-media-driver/pkg-message	Fri Dec  7 04:10:11 2018	(r486821)
@@ -0,0 +1,7 @@
+To enable the driver set up environ(7) e.g.,
+
+For sh/bash/ksh/zsh run and (optionally) add into ~/.profile:
+  export LIBVA_DRIVER_NAME=iHD
+
+For csh/tcsh run and (optionally) add into ~/.login:
+  setenv LIBVA_DRIVER_NAME iHD



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