1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit linux-mod toolchain-funcs
12 EGIT_REPO_URI="git://github.com/umlaeute/v4l2loopback.git"
16 KEYWORDS="~amd64 ~x86"
18 SRC_URI="https://github.com/umlaeute/v4l2loopback/archive/v${PV}.tar.gz -> ${P}.tar.gz"
22 DESCRIPTION="v4l2 loopback device which output is it's own input"
23 HOMEPAGE="https://github.com/umlaeute/v4l2loopback"
29 CONFIG_CHECK="VIDEO_DEV"
30 MODULE_NAMES="v4l2loopback(video:)"
35 export KERNELRELEASE=${KV_FULL}
40 sed -i -e 's/gcc /$(CC) /' examples/Makefile || die
46 emake CC=$(tc-getCC) -C examples
52 dosbin utils/v4l2loopback-ctl
53 dodoc doc/kernel_debugging.txt
56 dosbin examples/yuv4mpeg_to_v4l2
58 dodoc examples/{*.sh,*.c,Makefile}