X-Git-Url: https://git.sthu.org/?p=shuber-gentoo-overlay.git;a=blobdiff_plain;f=media-video%2Fv4l2loopback%2Fv4l2loopback-0.12.3.ebuild;h=b4e5826a226fa43c2976a54c1ff37752fddca9cc;hp=644122a8d13986ce1bf3adbc34d6f4310f5dd23d;hb=HEAD;hpb=19552872cebbb3bc56f8efddd532dd1c1bfde637 diff --git a/media-video/v4l2loopback/v4l2loopback-0.12.3.ebuild b/media-video/v4l2loopback/v4l2loopback-0.12.3.ebuild deleted file mode 100644 index 644122a..0000000 --- a/media-video/v4l2loopback/v4l2loopback-0.12.3.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# 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="" - SRC_URI="https://github.com/umlaeute/v4l2loopback/archive/${PV}.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 -}