diff options
author | Nick Sarnie <sarnex@gentoo.org> | 2019-05-16 20:29:11 -0400 |
---|---|---|
committer | Nick Sarnie <sarnex@gentoo.org> | 2019-05-16 20:31:45 -0400 |
commit | 486152236d558be15947d92b006449a35431cc4e (patch) | |
tree | 4312732d4a3ee2f5b910ef3d03070803e2a18b65 /media-video | |
parent | dev-lang/rust: drop vulnerable (diff) | |
download | gentoo-486152236d558be15947d92b006449a35431cc4e.tar.gz gentoo-486152236d558be15947d92b006449a35431cc4e.tar.bz2 gentoo-486152236d558be15947d92b006449a35431cc4e.zip |
media-video/v4l2loopback: Version bump
Version bump to fix build. Checked with grknight who had no objections
Didn't hear back from naota, bug is over 2 months old, so pushing
Fixes: https://bugs.gentoo.org/679480
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Nick Sarnie <sarnex@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/v4l2loopback/Manifest | 1 | ||||
-rw-r--r-- | media-video/v4l2loopback/v4l2loopback-0.12.1.1_pre.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/media-video/v4l2loopback/Manifest b/media-video/v4l2loopback/Manifest index 06c0780c3a5a..2c0a81c3ec11 100644 --- a/media-video/v4l2loopback/Manifest +++ b/media-video/v4l2loopback/Manifest @@ -1 +1,2 @@ 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 diff --git a/media-video/v4l2loopback/v4l2loopback-0.12.1.1_pre.ebuild b/media-video/v4l2loopback/v4l2loopback-0.12.1.1_pre.ebuild new file mode 100644 index 000000000000..acdc108ae0e1 --- /dev/null +++ b/media-video/v4l2loopback/v4l2loopback-0.12.1.1_pre.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit linux-mod toolchain-funcs + +case ${PV} in +9999) + inherit git-r3 + KEYWORDS="" + EGIT_REPO_URI="git://github.com/umlaeute/v4l2loopback.git" + ;; +*) + inherit vcs-snapshot + KEYWORDS="~amd64 ~x86" + SNAPSHOT_COMMIT="0b8feb80fdef9a415d8250bca1790b3ff23e8391" + SRC_URI="https://github.com/umlaeute/v4l2loopback/archive/${SNAPSHOT_COMMIT}.tar.gz -> ${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 +} |