diff --git a/README.md b/README.md index 39ec45c..abcd5c9 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/media-video/v4l2loopback/ChangeLog b/media-video/v4l2loopback/ChangeLog new file mode 100644 index 0000000..c70726b --- /dev/null +++ b/media-video/v4l2loopback/ChangeLog @@ -0,0 +1,11 @@ + 10 Aug 2017; v4l2loopback-0.10.0.ebuild: + media-video/v4l2loopback: bump from + https://bugs.gentoo.org/show_bug.cgi?id=568776 + + 10 Aug 2017; v4l2loopback-0.10.0.ebuild: + media-video/v4l2loopback: + +*v4l2loopback-0.10.0 (10 Aug 2017) + + 10 Aug 2017; +metadata.xml, +v4l2loopback-0.10.0.ebuild: + media-video/v4l2loopback: diff --git a/media-video/v4l2loopback/Manifest b/media-video/v4l2loopback/Manifest new file mode 100644 index 0000000..a473ce1 --- /dev/null +++ b/media-video/v4l2loopback/Manifest @@ -0,0 +1 @@ +DIST v4l2loopback-0.10.0.tar.gz 46976 SHA256 61f840708dcbea21906c9a02469ea3f23b03e32420c6b650450ea57377956b06 SHA512 990b83cc592bf66861483d5ed8ebd7aba9d23f8ab54dc11d82ac3c88588cbd340d9cc49f7b758095e76bf9c5f02822700074506439ba51bcafc5cc7c1c979cb8 WHIRLPOOL 08c524ad9f540fe5d5b2ead1dd6bc814b8aa8eb0a49d9e3b734e90a14497e4d104972442f95bfc80bc3ba007d3728edb9c14a0423d2fbb6c1218f95534e5142a diff --git a/media-video/v4l2loopback/metadata.xml b/media-video/v4l2loopback/metadata.xml new file mode 100644 index 0000000..8969d50 --- /dev/null +++ b/media-video/v4l2loopback/metadata.xml @@ -0,0 +1,17 @@ + + + + + horea.christ@yandex.com + Horea Christian + + + 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. + + + umlaeute/v4l2loopback + + diff --git a/media-video/v4l2loopback/v4l2loopback-0.10.0.ebuild b/media-video/v4l2loopback/v4l2loopback-0.10.0.ebuild new file mode 100644 index 0000000..fc02fbc --- /dev/null +++ b/media-video/v4l2loopback/v4l2loopback-0.10.0.ebuild @@ -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 +}