multimedia/libva-intel-media-driver: drop profile.d script

None of the shells I've tested read etc/profile.d by default.
This commit is contained in:
Jan Beich 2018-12-07 04:10:11 +00:00
parent acad61b465
commit ecba46225f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=486821
2 changed files with 10 additions and 3 deletions

View File

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

View File

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