| Summary: | x11-libs/libva-intel-media-driver should have a USE flag to control non-free components | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Matt Turner <mattst88> |
| Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | k2k, klondike |
| Priority: | Normal | Keywords: | PullRequest |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://github.com/gentoo/gentoo/pull/23062 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
The binary kernels have the following license: /* // Copyright (c) 2020 Intel Corporation // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // 'Software'), to deal in the Software without restriction, including // without limitation the rights to use, copy, modify, merge, publish, // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ That looks like the MIT license to me so all you have to do is add "no-source-code" as done by sys-kernel/linux-firmware If you want to disable building such kernels, maybe reusing the "redistributable" USE flag used by sys-kernel/linux-firmware is the best approach. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=333162ad6a22e3927ec455b3aac936c12680ccd1 commit 333162ad6a22e3927ec455b3aac936c12680ccd1 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-11-23 20:13:36 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-12-02 18:01:15 +0000 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> .../libva-intel-media-driver/libva-intel-media-driver-9999.ebuild | 5 +++-- x11-libs/libva-intel-media-driver/metadata.xml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) |
The ENABLE_NONFREE_KERNELS CMake option controls: > # ENABLE_NONFREE_KERNELS option permits to enable closed source EU shaders (kernels) > # additionally to open source EU shaders and fixed function hardware. I don't know how LICENSE should be modified for this.