From: Stefan Huber Date: Mon, 12 Jun 2023 20:02:38 +0000 (+0200) Subject: Remove media-video/v4l2loopback X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=a10c51e53cbb5c4af25ef2c87954c26b4da54cca;p=shuber-gentoo-overlay.git Remove media-video/v4l2loopback --- diff --git a/media-video/v4l2loopback/Manifest b/media-video/v4l2loopback/Manifest deleted file mode 100644 index d300841..0000000 --- a/media-video/v4l2loopback/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX use-v4l2-buffer-ptr-instead-timeval.patch 2276 BLAKE2B 65de87fccc14b8401f33ad26b907e522a2167ff0bcbd66d92d6e92863b888558492ed958a59600ebdc391f525d2ba13e2f44033a8558a19956c45f3433231d15 SHA512 558eada721cbc2cf6ce9bc1aec0e1165d6cd46ac8151da404d551fe0bea5994e242f1af77699a0de554bff7e3ef835e458958037b8ee3c429448f024d7525a84 -DIST v4l2loopback-0.12.3.tar.gz 49963 BLAKE2B 42b8d1e3a615700e0aee3448741559e90757ed86528fcacef60920626a6b698a43fed76fd57aa0c89e15c23fb277fe5ee7cdf416ae56ab3e59299fc2338de62a SHA512 7d9f2f16bde93480f4c37ba9a38fda2868ca73eb2a1ea49e3534797ed4b5e1136d072633eea93471f03c7966207cc110472ce101a5265d948740d96c749c4d96 -EBUILD v4l2loopback-0.12.3-r1.ebuild 1234 BLAKE2B 355e16cb94c7f265b525c47355a001dbaa661675c2b84996ad7d34de1b523dba1cfc79c59bc35f4f637ff2fd0110e84f29af4507d9ab9617e2e76220092a445f SHA512 a0fa37a2d4098f165eb50460593844b280228c0b15cedffa9649d42c2f7db3f4772734f41baefbaf101a8907f4d229cde37af1a568ee61337e6cbc2f95bb3054 -EBUILD v4l2loopback-0.12.3.ebuild 1170 BLAKE2B 29036360252a737752128f48d28db2f75a6ff16146461d93cdd598617f29323092e8eeb52e121462679dc4f52b129e237e92d9730593a73c594001d1ed09d9e9 SHA512 dddc4df86efadecc9eda02f7e2ba6832f9c9a5b68b21ff0212629dd6a451650d1163a69a5cc19451b6d1acfcd2c35adf44f3373fd872e982e75b84c8072ee63f diff --git a/media-video/v4l2loopback/files/use-v4l2-buffer-ptr-instead-timeval.patch b/media-video/v4l2loopback/files/use-v4l2-buffer-ptr-instead-timeval.patch deleted file mode 100644 index 6e95ea3..0000000 --- a/media-video/v4l2loopback/files/use-v4l2-buffer-ptr-instead-timeval.patch +++ /dev/null @@ -1,61 +0,0 @@ -commit d7b657802c109ece5195208db26059921d2d6ebe -Author: Alex Xu (Hello71) -Date: Fri Jan 31 22:04:36 2020 -0500 - - use v4l2_buffer ptr instead of timeval - - 577c89b0ce726e44c08c396d14f84a00070a57b7 changes timestamp to type - __kernel_v4l2_timeval. use v4l2_buffer instead of raw timeval for better - compatibility. - -diff --git a/v4l2loopback.c b/v4l2loopback.c -index f43f98c..4f43a73 100644 ---- a/v4l2loopback.c -+++ b/v4l2loopback.c -@@ -134,7 +134,7 @@ void *v4l2l_vzalloc(unsigned long size) - # define v4l2l_vzalloc vzalloc - #endif - --static inline void v4l2l_get_timestamp(struct timeval *tv) { -+static inline void v4l2l_get_timestamp(struct v4l2_buffer *b) { - /* ktime_get_ts is considered deprecated, so use ktime_get_ts64 if possible */ - #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) - struct timespec ts; -@@ -144,8 +144,8 @@ static inline void v4l2l_get_timestamp(struct timeval *tv) { - ktime_get_ts64(&ts); - #endif - -- tv->tv_sec = (time_t)ts.tv_sec; -- tv->tv_usec = (suseconds_t)(ts.tv_nsec / NSEC_PER_USEC); -+ b->timestamp.tv_sec = (time_t)ts.tv_sec; -+ b->timestamp.tv_usec = (suseconds_t)(ts.tv_nsec / NSEC_PER_USEC); - } - - -@@ -1520,7 +1520,7 @@ static int vidioc_qbuf(struct file *file, void *private_data, struct v4l2_buffer - case V4L2_BUF_TYPE_VIDEO_OUTPUT: - dprintkrw("output QBUF pos: %d index: %d\n", dev->write_position, index); - if (buf->timestamp.tv_sec == 0 && buf->timestamp.tv_usec == 0) -- v4l2l_get_timestamp(&b->buffer.timestamp); -+ v4l2l_get_timestamp(&b->buffer); - else - b->buffer.timestamp = buf->timestamp; - b->buffer.bytesused = buf->bytesused; -@@ -1947,7 +1947,7 @@ static ssize_t v4l2_loopback_write(struct file *file, - count); - return -EFAULT; - } -- v4l2l_get_timestamp(&b->timestamp); -+ v4l2l_get_timestamp(b); - b->bytesused = count; - b->sequence = dev->write_position; - buffer_written(dev, &dev->buffers[write_index]); -@@ -2052,7 +2052,7 @@ static void init_buffers(struct v4l2_loopback_device *dev) - b->timestamp.tv_usec = 0; - b->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; - -- v4l2l_get_timestamp(&b->timestamp); -+ v4l2l_get_timestamp(b); - } - dev->timeout_image_buffer = dev->buffers[0]; - dev->timeout_image_buffer.buffer.m.offset = MAX_BUFFERS * buffer_size; diff --git a/media-video/v4l2loopback/metadata.xml b/media-video/v4l2loopback/metadata.xml deleted file mode 100644 index 9434230..0000000 --- a/media-video/v4l2loopback/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - shuber@sthu.org - Stefan Huber - - diff --git a/media-video/v4l2loopback/v4l2loopback-0.12.3-r1.ebuild b/media-video/v4l2loopback/v4l2loopback-0.12.3-r1.ebuild deleted file mode 100644 index 3835ad8..0000000 --- a/media-video/v4l2loopback/v4l2loopback-0.12.3-r1.ebuild +++ /dev/null @@ -1,61 +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/v${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 - epatch "${FILESDIR}/use-v4l2-buffer-ptr-instead-timeval.patch" - 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 -} 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 b4e5826..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/v${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 -}