Lines 1-14
Link Here
|
1 |
# Copyright 1999-2014 Gentoo Foundation |
1 |
# Copyright 1999-2015 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Id$ |
3 |
# $Id$ |
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit linux-mod vcs-snapshot |
7 |
inherit linux-mod |
|
|
8 |
|
9 |
case ${PV} in |
10 |
9999) |
11 |
inherit git-2 |
12 |
EGIT_REPO_URI="git://github.com/umlaeute/v4l2loopback.git" |
13 |
;; |
14 |
*) |
15 |
inherit vcs-snapshot |
16 |
SRC_URI="https://github.com/umlaeute/v4l2loopback/tarball/v${PV} -> ${P}.tar.gz" |
17 |
;; |
18 |
esac |
8 |
|
19 |
|
9 |
DESCRIPTION="v4l2 loopback device which output is it's own input" |
20 |
DESCRIPTION="v4l2 loopback device which output is it's own input" |
10 |
HOMEPAGE="https://github.com/umlaeute/v4l2loopback" |
21 |
HOMEPAGE="https://github.com/umlaeute/v4l2loopback" |
11 |
SRC_URI="https://github.com/umlaeute/v4l2loopback/tarball/v${PV} -> ${P}.tar.gz" |
|
|
12 |
|
22 |
|
13 |
LICENSE="GPL-2" |
23 |
LICENSE="GPL-2" |
14 |
SLOT="0" |
24 |
SLOT="0" |
Lines 22-27
Link Here
|
22 |
DEPEND="" |
32 |
DEPEND="" |
23 |
RDEPEND="${DEPEND}" |
33 |
RDEPEND="${DEPEND}" |
24 |
|
34 |
|
|
|
35 |
pkg_setup() { |
36 |
linux-mod_pkg_setup |
37 |
export KERNELRELEASE=${KV_FULL} |
38 |
} |
39 |
|
25 |
src_compile() { |
40 |
src_compile() { |
26 |
linux-mod_src_compile |
41 |
linux-mod_src_compile |
27 |
if use examples; then |
42 |
if use examples; then |
Lines 34-40
Link Here
|
34 |
linux-mod_src_install |
49 |
linux-mod_src_install |
35 |
dosbin utils/v4l2loopback-ctl |
50 |
dosbin utils/v4l2loopback-ctl |
36 |
dodoc doc/kernel_debugging.txt |
51 |
dodoc doc/kernel_debugging.txt |
37 |
dohtml doc/v4l2.html |
52 |
dodoc doc/docs.txt |
38 |
if use examples; then |
53 |
if use examples; then |
39 |
dosbin examples/yuv4mpeg_to_v4l2 |
54 |
dosbin examples/yuv4mpeg_to_v4l2 |
40 |
docinto examples |
55 |
docinto examples |