diff options
author | Daniel Bermond | 2018-04-14 01:27:46 +0000 |
---|---|---|
committer | Daniel Bermond | 2018-04-14 02:37:22 +0000 |
commit | 56a64e7f2d6214e85c81513c934786c9325b4060 (patch) | |
tree | c2939d00bdaa000192b689fba394856dbee12beb /intel-media-driver-git.install | |
parent | 1eff7b051bd756237c2850741d3afeb232adbbb8 (diff) | |
download | aur-56a64e7f2d6214e85c81513c934786c9325b4060.tar.gz |
Do not force the use of 'iHD' libva driver by default
This will let the user choose which libva driver to use. No other
libva driver package on the official repositories force the setting
of the installed driver by default. This makes sense because the
user can install this additional iHD driver without modifying any
settings that he might have previously configured.
Configuration is done by setting the 'LIBVA_DRIVER_NAME'
environment variable. In the case of this package, it
must be setted to 'iHD'. See the Wiki page on Hardware
video acceleration (VA-API sections) for details. An
informative message is shown during install and upgrade.
Diffstat (limited to 'intel-media-driver-git.install')
-rw-r--r-- | intel-media-driver-git.install | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/intel-media-driver-git.install b/intel-media-driver-git.install index bd3460e59fae..bed3c13f5b17 100644 --- a/intel-media-driver-git.install +++ b/intel-media-driver-git.install @@ -1,4 +1,9 @@ post_install() { - printf '%s\n' 'For the proper configuration of Intel VAAPI media driver,' - printf '%s\n' 'you need to re-login or source /etc/profile.d/intel-media.sh' + printf '%s\n' 'In order to use the the Intel Media Driver for VAAPI you need to set the' + printf '%s\n' "environment variable 'LIBVA_DRIVER_NAME' to 'iHD'. You can do this, for" + printf '%s\n' "example, by uncommenting the proper line in '/etc/profile.d/intel-media.sh'." +} + +post_upgrade() { + post_install } |