testing/v4l2loopback-src: new aport

https://github.com/umlaeute/v4l2loopback
Kernel module to create V4L2 loopback devices
This commit is contained in:
Krystian Chachuła 2021-10-10 22:43:38 +02:00 committed by Leo
parent dc867de83d
commit fd2acb0938

View File

@ -0,0 +1,32 @@
# Contributor: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
# Maintainer: Krystian Chachuła <krystian@krystianch.com>
pkgname=v4l2loopback-src
_modname=v4l2loopback
pkgver=0.12.5
pkgrel=0
pkgdesc="Kernel module to create V4L2 loopback devices"
url="https://github.com/umlaeute/v4l2loopback"
arch="noarch"
license="GPL-2.0-only"
options="!check" # sources only
source="$pkgname-$pkgver.tar.gz::https://github.com/umlaeute/v4l2loopback/archive/v$pkgver.tar.gz"
builddir="$srcdir/v4l2loopback-$pkgver"
prepare() {
default_prepare
cat >AKMBUILD <<-EOF
modname=$_modname
modver=$pkgver-r$pkgrel
built_modules='v4l2loopback.ko'
EOF
}
package() {
install -D -m644 -t "$pkgdir"/usr/src/$_modname-$pkgver \
./*.c ./*.h Makefile AKMBUILD
}
sha512sums="
5fd2affbb4a7f38bb78f996179de6570b2bd69cfed2a79c4505e7ea2cdf5b65c0a6807f1f4e03f320b667f5cbe62f26fadd412bc0fec5944e4e394635bf5fb3d v4l2loopback-src-0.12.5.tar.gz
"