diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-11-23 12:13:36 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-12-02 10:01:15 -0800 |
commit | 333162ad6a22e3927ec455b3aac936c12680ccd1 (patch) | |
tree | e3cae14e79f7303a7ff83b169d1027dd8d867452 /x11-libs | |
parent | x11-misc/meteo: New app (diff) | |
download | gentoo-333162ad6a22e3927ec455b3aac936c12680ccd1.tar.gz gentoo-333162ad6a22e3927ec455b3aac936c12680ccd1.tar.bz2 gentoo-333162ad6a22e3927ec455b3aac936c12680ccd1.zip |
x11-libs/libva-intel-media-driver: Add USE=redistributable
Controls whether non-free media kernels primarily used for video encoding
support are used.
Closes: https://bugs.gentoo.org/824098
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild | 5 | ||||
-rw-r--r-- | x11-libs/libva-intel-media-driver/metadata.xml | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild index 15ca5a26b62c..918f62446ee5 100644 --- a/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild +++ b/x11-libs/libva-intel-media-driver/libva-intel-media-driver-9999.ebuild @@ -23,9 +23,9 @@ fi DESCRIPTION="Intel Media Driver for VAAPI (iHD)" HOMEPAGE="https://github.com/intel/media-driver" -LICENSE="MIT BSD" +LICENSE="MIT BSD redistributable? ( no-source-code )" SLOT="0" -IUSE="+custom-cflags set-as-default test X" +IUSE="+custom-cflags +redistributable set-as-default test X" RESTRICT="!test? ( test )" @@ -47,6 +47,7 @@ src_configure() { -DBUILD_TYPE=Release -DPLATFORM=linux -DUSE_X11=$(usex X) + -DENABLE_NONFREE_KERNELS=$(usex redistributable) -DLATEST_CPP_NEEDED=ON # Seems to be the best option for now -DOVERRIDE_COMPILER_FLAGS=$(usex !custom-cflags) ) diff --git a/x11-libs/libva-intel-media-driver/metadata.xml b/x11-libs/libva-intel-media-driver/metadata.xml index 6afcc149822d..706003d80004 100644 --- a/x11-libs/libva-intel-media-driver/metadata.xml +++ b/x11-libs/libva-intel-media-driver/metadata.xml @@ -9,6 +9,7 @@ <name>Evgeny Grin</name> </maintainer> <use> + <flag name="redistributable">Install redistributable media kernel binaries (no source code) files (primarily needed for video encoding support)</flag> <flag name="set-as-default">Override libva automatic driver selection and set this (iHD) driver as default one.</flag> <flag name="custom-cflags">Do not override user CFLAGS like -02, -march, -msse and similar with lib defaults. Not tested by upstream.</flag> </use> |