Added v4l2loopback 0.15.3 - Gentoo repos were taking to long to update

This commit is contained in:
root 2025-12-16 18:34:53 -07:00
parent 8aa3782bd5
commit e0a566f915
4 changed files with 92 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST v4l2loopback-0.15.3.tar.gz 89708 BLAKE2B 30cc7415b41657e6bad6a7e52db0834eecd25a7be3f04bee86dce43e2856c8b97061b04d2f7e36d2eb917a6e529cf7664aaf9cf71b5b4fc3c74cfee9d2c78b02 SHA512 a4ee59115bb9eec62b5a94e9e00b1fe13933ddacac6bc395c07ede772e40e697d23d6fcd8d2f1073c27567372f88d460958fee1bd2bc0e4f4310968b8fa4c528

View File

@ -0,0 +1,59 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-mod-r1 toolchain-funcs
case ${PV} in
9999)
inherit git-r3
EGIT_REPO_URI="https://github.com/umlaeute/v4l2loopback.git"
;;
*)
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/umlaeute/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
;;
esac
DESCRIPTION="v4l2 loopback device whose output is its own input"
HOMEPAGE="https://github.com/umlaeute/v4l2loopback"
LICENSE="GPL-2"
SLOT="0"
IUSE="examples"
CONFIG_CHECK="VIDEO_DEV"
pkg_setup() {
linux-mod-r1_pkg_setup
export KERNELRELEASE=${KV_FULL}
}
src_prepare() {
default
sed -i -e 's/gcc /$(CC) /' examples/Makefile || die
}
src_compile() {
local modlist=(
v4l2loopback=video:::all
)
linux-mod-r1_src_compile
if use examples; then
emake CC="$(tc-getCC)" -C examples
fi
}
src_install() {
linux-mod-r1_src_install
dosbin utils/v4l2loopback-ctl
dodoc doc/kernel_debugging.txt
dodoc doc/docs.txt
if use examples; then
dosbin examples/yuv4mpeg_to_v4l2
docinto examples
dodoc examples/{*.sh,*.c,Makefile}
fi
}

View File

@ -0,0 +1,16 @@
BDEPEND=dev-util/pahole sys-apps/kmod[tools] modules-sign? ( dev-libs/openssl virtual/pkgconfig )
DEFINED_PHASES=compile install postinst prepare setup
DEPEND=virtual/linux-sources
DESCRIPTION=v4l2 loopback device whose output is its own input
EAPI=8
HOMEPAGE=https://github.com/umlaeute/v4l2loopback
IDEPEND=sys-apps/kmod[tools]
INHERIT=linux-mod-r1 toolchain-funcs
IUSE=examples dist-kernel modules-compress modules-sign +strip
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=sys-apps/kmod[tools] dist-kernel? ( virtual/dist-kernel:= )
SLOT=0
SRC_URI=https://github.com/umlaeute/v4l2loopback/archive/v0.15.1.tar.gz -> v4l2loopback-0.15.1.tar.gz
_eclasses_=mount-boot-utils 2551bac1a772f4b6beacb494a750ae92 toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db dist-kernel-utils a40de3638d3f7a89f4c45d1a62b90e20 edo a5e294016aa84979fcb2459749eb80b2 linux-info efd923656513c879204fec6638eadee5 multiprocessing 1e32df7deee68372153dca65f4a7c21f linux-mod-r1 2b1749a4ea9e1aea780b1b54dd2f65f1
_md5_=9e36e0ed7faf97c1bac22cd1c2954416

View File

@ -0,0 +1,16 @@
BDEPEND=dev-util/pahole sys-apps/kmod[tools] modules-sign? ( dev-libs/openssl virtual/pkgconfig )
DEFINED_PHASES=compile install postinst prepare setup
DEPEND=virtual/linux-sources
DESCRIPTION=v4l2 loopback device whose output is its own input
EAPI=8
HOMEPAGE=https://github.com/umlaeute/v4l2loopback
IDEPEND=sys-apps/kmod[tools]
INHERIT=linux-mod-r1 toolchain-funcs
IUSE=examples dist-kernel modules-compress modules-sign +strip
KEYWORDS=~amd64 ~x86
LICENSE=GPL-2
RDEPEND=sys-apps/kmod[tools] dist-kernel? ( virtual/dist-kernel:= )
SLOT=0
SRC_URI=https://github.com/umlaeute/v4l2loopback/archive/v0.15.3.tar.gz -> v4l2loopback-0.15.3.tar.gz
_eclasses_=mount-boot-utils 2551bac1a772f4b6beacb494a750ae92 toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db dist-kernel-utils a40de3638d3f7a89f4c45d1a62b90e20 edo a5e294016aa84979fcb2459749eb80b2 linux-info efd923656513c879204fec6638eadee5 multiprocessing 1e32df7deee68372153dca65f4a7c21f linux-mod-r1 2b1749a4ea9e1aea780b1b54dd2f65f1
_md5_=9e36e0ed7faf97c1bac22cd1c2954416