mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-video/v4l2loopback: Bump to 0.12.5
Assume maintainership. Includes "Bad Address" fix that some users experienced with kernels >=5.4. Use https:// instead of git://. Bump to EAPI 7. Closes: https://bugs.gentoo.org/720036 Closes: https://bugs.gentoo.org/726602 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST v4l2loopback-0.12.0.tar.gz 48723 BLAKE2B 6d62b7839889f43422623e1cfc52142846e796ca184b567906ab950642012a5c581ac656d3e4a71d806786e7ff347298f1f7aabba33743508ba388beb590c03f SHA512 e951fcc2b0a55ec5cd9812c2c26c0cab6e37b99bbb5b8512e28c67b3c59e981b776cb3285a0275f027dbddc010855f12134b9f3fa92f20e19e4de713f77289a1
|
||||
DIST v4l2loopback-0.12.1.1_pre.tar.gz 49060 BLAKE2B 6caa3d8fed14beea599d05a18ea0cbcc2e1522fb32dcf80b35d1de057a8a2ea4239da2f123acf9969f571d32e6696fa8d12b81c877ca5b1aa31d84b6ab5c27da SHA512 0d2af7fa86d0730d227f067dc53c281817eea327f707fea2b60386afde39ff094dd8197f39fb140685e4e3024f0730f3e5185dea3da5224195e4cb50faa846b6
|
||||
DIST v4l2loopback-0.12.5.tar.gz 51484 BLAKE2B 5ae2decce3bbd1fd06592dd283f06796c02beeab066c7f1e16e6a72f8074a765ad6b1a017879095c3058852168f58fe27dedbcb32d3eb9f4097e02823f264ec8 SHA512 5545e83d95ec63a7d984641fc354c9146b4cf3bd7695d47606206ec43e45f63b099d1667491dc97295bc0f3fb16387f80ba8c12ce6d63608e8774c5c7fdf4168
|
||||
|
||||
@@ -1,14 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>naota@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer type="person">
|
||||
<email>grknight@gentoo.org</email>
|
||||
<name>Brian Evans</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">umlaeute/v4l2loopback</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>titanofold@gentoo.org</email>
|
||||
<name>Aaron W. Swenson</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">umlaeute/v4l2loopback</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
59
media-video/v4l2loopback/v4l2loopback-0.12.5.ebuild
Normal file
59
media-video/v4l2loopback/v4l2loopback-0.12.5.ebuild
Normal file
@@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit linux-mod toolchain-funcs
|
||||
|
||||
case ${PV} in
|
||||
9999)
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="https://github.com/umlaeute/v4l2loopback.git"
|
||||
;;
|
||||
*)
|
||||
inherit vcs-snapshot
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
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"
|
||||
IUSE="examples"
|
||||
|
||||
CONFIG_CHECK="VIDEO_DEV"
|
||||
MODULE_NAMES="v4l2loopback(video:)"
|
||||
BUILD_TARGETS="all"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
export KERNELRELEASE=${KV_FULL}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e 's/gcc /$(CC) /' examples/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
linux-mod_src_compile
|
||||
if use examples; then
|
||||
emake CC=$(tc-getCC) -C examples
|
||||
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
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
inherit linux-mod toolchain-funcs
|
||||
|
||||
@@ -9,7 +9,7 @@ case ${PV} in
|
||||
9999)
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
EGIT_REPO_URI="git://github.com/umlaeute/v4l2loopback.git"
|
||||
EGIT_REPO_URI="https://github.com/umlaeute/v4l2loopback.git"
|
||||
;;
|
||||
*)
|
||||
inherit vcs-snapshot
|
||||
|
||||
Reference in New Issue
Block a user