Сравнение v4l2loopback-0.12.5-r1 с v4l2loopback-0.12.7
/usr/portage/media-video/v4l2loopback/v4l2loopback-0.12.7.ebuild 2023-10-09 14:52:31.832368409 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 |
inherit linux-mod toolchain-funcs |
|
6 |
inherit linux-mod-r1 toolchain-funcs |
|
7 | 7 | |
8 | 8 |
case ${PV} in |
9 | 9 |
9999) |
... | ... | |
24 | 24 |
IUSE="examples" |
25 | 25 | |
26 | 26 |
CONFIG_CHECK="VIDEO_DEV" |
27 |
MODULE_NAMES="v4l2loopback(video:)" |
|
28 |
BUILD_TARGETS="all" |
|
29 | 27 | |
30 | 28 |
pkg_setup() { |
31 |
linux-mod_pkg_setup |
|
29 |
linux-mod-r1_pkg_setup |
|
32 | 30 |
export KERNELRELEASE=${KV_FULL} |
33 | 31 |
} |
34 | 32 | |
... | ... | |
38 | 36 |
} |
39 | 37 | |
40 | 38 |
src_compile() { |
41 |
linux-mod_src_compile |
|
39 |
local modlist=( |
|
40 |
v4l2loopback=video: |
|
41 |
) |
|
42 | ||
43 |
linux-mod-r1_src_compile |
|
42 | 44 |
if use examples; then |
43 | 45 |
emake CC="$(tc-getCC)" -C examples |
44 | 46 |
fi |
45 | 47 |
} |
46 | 48 | |
47 | 49 |
src_install() { |
48 |
linux-mod_src_install |
|
50 |
linux-mod-r1_src_install |
|
49 | 51 |
dosbin utils/v4l2loopback-ctl |
50 | 52 |
dodoc doc/kernel_debugging.txt |
51 | 53 |
dodoc doc/docs.txt |