mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-07 11:05:10 +02:00
Added the following patches:
- Backported dkms-patch from Ubuntu (support for kernel >= 5.18) [1]
- Limit v4l2_loopback_write calls to (streaming) writers [2]
- Reintroduce previous behavior for write call [3]
[1] e7edf2f55b
[2] https://github.com/umlaeute/v4l2loopback/pull/477/commits
[3] https://github.com/umlaeute/v4l2loopback/pull/485/commits
22 lines
802 B
Bash
22 lines
802 B
Bash
# Template file for 'v4l2loopback'
|
|
pkgname=v4l2loopback
|
|
version=0.12.7
|
|
revision=1
|
|
hostmakedepends="help2man"
|
|
depends="dkms"
|
|
short_desc="Kernel module to create V4L2 loopback devices"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/umlaeute/v4l2loopback"
|
|
distfiles="https://github.com/umlaeute/v4l2loopback/archive/v${version}.tar.gz"
|
|
checksum=e0782b8abe8f2235e2734f725dc1533a0729e674c4b7834921ade43b9f04939b
|
|
dkms_modules="v4l2loopback ${version}"
|
|
|
|
do_install() {
|
|
make DESTDIR=${DESTDIR} PREFIX=/usr install-utils install-man
|
|
vmkdir usr/src/v4l2loopback-${version}
|
|
vcopy Makefile usr/src/v4l2loopback-${version}
|
|
vcopy dkms.conf usr/src/v4l2loopback-${version}
|
|
vcopy "*.c" usr/src/v4l2loopback-${version}
|
|
vcopy "*.h" usr/src/v4l2loopback-${version}
|
|
}
|