1
0
mirror of synced 2024-12-22 21:00:20 +01:00

media-video/v4l2loopback:

Package-Manager: Portage-2.3.6, Repoman-2.3.3
This commit is contained in:
Horea Christian 2017-08-11 01:22:40 +02:00
parent 9753c76b3c
commit cf32553307
No known key found for this signature in database
GPG Key ID: EAA9223EE3BB378A
4 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,4 @@
*v4l2loopback-0.10.0 (10 Aug 2017)
10 Aug 2017; <chymera@gentoo.org> +metadata.xml, +v4l2loopback-0.10.0.ebuild:
media-video/v4l2loopback:

View File

@ -0,0 +1 @@
DIST v4l2loopback-0.10.0.tar.gz 46976 SHA256 61f840708dcbea21906c9a02469ea3f23b03e32420c6b650450ea57377956b06 SHA512 990b83cc592bf66861483d5ed8ebd7aba9d23f8ab54dc11d82ac3c88588cbd340d9cc49f7b758095e76bf9c5f02822700074506439ba51bcafc5cc7c1c979cb8 WHIRLPOOL 08c524ad9f540fe5d5b2ead1dd6bc814b8aa8eb0a49d9e3b734e90a14497e4d104972442f95bfc80bc3ba007d3728edb9c14a0423d2fbb6c1218f95534e5142a

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>horea.christ@yandex.com</email>
<name>Horea Christian</name>
</maintainer>
<longdescription lang="en">
This module allows you to create "virtual video devices". Normal (v4l2)
applications will read these devices as if they were ordinary video devices,
but the video will not be read from e.g. a capture card but instead it is
generated by another application.
</longdescription>
<upstream>
<remote-id type="github">umlaeute/v4l2loopback</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,57 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit linux-mod
case ${PV} in
9999)
inherit git-2
EGIT_REPO_URI="git://github.com/umlaeute/v4l2loopback.git"
;;
*)
inherit vcs-snapshot
SRC_URI="https://github.com/umlaeute/v4l2loopback/tarball/v${PV} -> ${P}.tar.gz"
;;
esac
DESCRIPTION="v4l2 loopback device which output is it's own input"
HOMEPAGE="https://github.com/umlaeute/v4l2loopback"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
CONFIG_CHECK="VIDEO_DEV"
MODULE_NAMES="v4l2loopback(video:)"
BUILD_TARGETS="all"
DEPEND=""
RDEPEND="${DEPEND}"
pkg_setup() {
linux-mod_pkg_setup
export KERNELRELEASE=${KV_FULL}
}
src_compile() {
linux-mod_src_compile
if use examples; then
cd "${S}"/examples
emake
fi
}
src_install() {
linux-mod_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
}