From cd9fe45e99167224e0adcb58ad867b8e39f1d828 Mon Sep 17 00:00:00 2001 From: Naohiro Aota Date: Wed, 15 May 2013 22:57:45 +0000 Subject: Install docs. Introduce USE=example to install example programs. #466828 (Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key F8551514) --- media-video/v4l2loopback/ChangeLog | 7 +++- .../v4l2loopback/v4l2loopback-0.6.3-r1.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 media-video/v4l2loopback/v4l2loopback-0.6.3-r1.ebuild (limited to 'media-video/v4l2loopback') diff --git a/media-video/v4l2loopback/ChangeLog b/media-video/v4l2loopback/ChangeLog index fdcf1ef7d28d..0df7aa083854 100644 --- a/media-video/v4l2loopback/ChangeLog +++ b/media-video/v4l2loopback/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/v4l2loopback # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/v4l2loopback/ChangeLog,v 1.4 2013/02/25 07:39:17 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/v4l2loopback/ChangeLog,v 1.5 2013/05/15 22:57:45 naota Exp $ + +*v4l2loopback-0.6.3-r1 (15 May 2013) + + 15 May 2013; Naohiro Aota +v4l2loopback-0.6.3-r1.ebuild: + Install docs. Introduce USE=example to install example programs. #466828 *v4l2loopback-0.6.3 (25 Feb 2013) diff --git a/media-video/v4l2loopback/v4l2loopback-0.6.3-r1.ebuild b/media-video/v4l2loopback/v4l2loopback-0.6.3-r1.ebuild new file mode 100644 index 000000000000..39216517e0ee --- /dev/null +++ b/media-video/v4l2loopback/v4l2loopback-0.6.3-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/v4l2loopback/v4l2loopback-0.6.3-r1.ebuild,v 1.1 2013/05/15 22:57:45 naota Exp $ + +EAPI=4 + +inherit linux-mod vcs-snapshot + +DESCRIPTION="v4l2 loopback device which output is it's own input" +HOMEPAGE="https://github.com/umlaeute/v4l2loopback" +SRC_URI="https://github.com/umlaeute/v4l2loopback/tarball/v${PV} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples" + +CONFIG_CHECK="VIDEO_DEV" +MODULE_NAMES="v4l2loopback(video:)" +BUILD_TARGETS="all" + +DEPEND="" +RDEPEND="${DEPEND}" + +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 + dohtml doc/v4l2.html + if use examples; then + dosbin examples/yuv4mpeg_to_v4l2 + docinto examples + dodoc examples/{*.sh,*.c,Makefile} + fi +} -- cgit v1.2.3-65-gdbad