Merge branch 'master' of github.com:TheChymera/overlay
This commit is contained in:
commit
128e43b383
@ -6,7 +6,7 @@ The repository structure is somewhat based on that of the *gentoo science overla
|
||||
|
||||
If you are looking for the neuroscience software packages maintained by [TheChymera](https://github.com/TheChymera), use the [NeuroGentoo overlay](https://github.com/TheChymera/neurogentoo) instead.
|
||||
|
||||
##Install
|
||||
## Install
|
||||
|
||||
As per the [current Portage specifications](https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html), overlays should be managed via `/etc/portage/repos.conf/`.
|
||||
To enable this overlay make sure you are using a recent Portage version (at least `2.2.14`), and create an `/etc/portage/repos.conf/chymeric` file containing precisely:
|
||||
|
11
media-video/v4l2loopback/ChangeLog
Normal file
11
media-video/v4l2loopback/ChangeLog
Normal file
@ -0,0 +1,11 @@
|
||||
10 Aug 2017; <chymera@gentoo.org> v4l2loopback-0.10.0.ebuild:
|
||||
media-video/v4l2loopback: bump from
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=568776
|
||||
|
||||
10 Aug 2017; <chymera@gentoo.org> v4l2loopback-0.10.0.ebuild:
|
||||
media-video/v4l2loopback:
|
||||
|
||||
*v4l2loopback-0.10.0 (10 Aug 2017)
|
||||
|
||||
10 Aug 2017; <chymera@gentoo.org> +metadata.xml, +v4l2loopback-0.10.0.ebuild:
|
||||
media-video/v4l2loopback:
|
1
media-video/v4l2loopback/Manifest
Normal file
1
media-video/v4l2loopback/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST v4l2loopback-0.10.0.tar.gz 46976 SHA256 61f840708dcbea21906c9a02469ea3f23b03e32420c6b650450ea57377956b06 SHA512 990b83cc592bf66861483d5ed8ebd7aba9d23f8ab54dc11d82ac3c88588cbd340d9cc49f7b758095e76bf9c5f02822700074506439ba51bcafc5cc7c1c979cb8 WHIRLPOOL 08c524ad9f540fe5d5b2ead1dd6bc814b8aa8eb0a49d9e3b734e90a14497e4d104972442f95bfc80bc3ba007d3728edb9c14a0423d2fbb6c1218f95534e5142a
|
17
media-video/v4l2loopback/metadata.xml
Normal file
17
media-video/v4l2loopback/metadata.xml
Normal 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>
|
57
media-video/v4l2loopback/v4l2loopback-0.10.0.ebuild
Normal file
57
media-video/v4l2loopback/v4l2loopback-0.10.0.ebuild
Normal 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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user