diff --git a/anda/fusion/kmod-v4l2loopback/anda.hcl b/anda/fusion/kmod-v4l2loopback/anda.hcl deleted file mode 100644 index 329861eb08..0000000000 --- a/anda/fusion/kmod-v4l2loopback/anda.hcl +++ /dev/null @@ -1,8 +0,0 @@ -project pkg { - rpm { - spec = "kmod-v4l2loopback.spec" - } - labels { - mock = 1 - } -} diff --git a/anda/fusion/kmod-v4l2loopback/kmod-v4l2loopback.spec b/anda/fusion/kmod-v4l2loopback/kmod-v4l2loopback.spec deleted file mode 100644 index 6e1ba0821d..0000000000 --- a/anda/fusion/kmod-v4l2loopback/kmod-v4l2loopback.spec +++ /dev/null @@ -1,129 +0,0 @@ -# https://github.com/rpmfusion/v4l2loopback-kmod/blob/master/v4l2loopback-kmod.spec -%if 0%{?fedora} -%global buildforkernels akmod -%endif -%if 0%{?el9} -# kmod fails on rhel9 kernel with aarch64 - just build an akmod there -%ifarch aarch64 -%global buildforkernels akmod -%endif -%endif -%global debug_package %{nil} - -%global commit 2c9b67072b15d903fecde67c7f269abeafee4c25 -%global commitdate 20230503 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -%global prjname v4l2loopback - -Name: %{prjname}-kmod -Summary: Kernel module (kmod) for %{prjname} -Version: 0.13.2 -Release: 1%{?dist} -License: GPLv2+ - -URL: https://github.com/umlaeute/v4l2loopback -Source0: %{url}/archive/v%{version}/%{prjname}-%{version}.tar.gz -Source1: v4l2loopback-kmod.spec - -BuildRequires: gcc -BuildRequires: elfutils-libelf-devel -BuildRequires: kmodtool -%dnl %{!?kernels:BuildRequires: buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu} } - -# kmodtool does its magic here -%{expand:%(kmodtool --target %{_target_cpu} --repo terra --kmodname %{prjname} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } - -%description -This module allows you to create "virtual video devices". Normal (v4l2) -applications will read these devices as if they were ordinary video -devices, but the video will not be read from e.g. a capture card but -instead it is generated by another application. - -This package contains the kmod module for %{prjname}. - - -%prep -# HACK: put that spec into the specdir -cp %SOURCE1 %_specdir/ -# error out if there was something wrong with kmodtool -%{?kmodtool_check} - -# print kmodtool output for debugging purposes: -kmodtool --target %{_target_cpu} --repo terra --kmodname %{prjname} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null - -%setup -q -c -(cd v4l2loopback-%{version} -#patch -P 0 -p1 -) - -for kernel_version in %{?kernel_versions} ; do - cp -a v4l2loopback-%{version} _kmod_build_${kernel_version%%___*} -done - - -%build -for kernel_version in %{?kernel_versions} ; do - make V=1 %{?_smp_mflags} -C ${kernel_version##*___} M=${PWD}/_kmod_build_${kernel_version%%___*} modules -done - - -%install -for kernel_version in %{?kernel_versions}; do - mkdir -p %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - install -D -m 755 _kmod_build_${kernel_version%%___*}/v4l2loopback.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - chmod a+x %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/*.ko -done -%{?akmod_install} - - -%changelog -* Fri Sep 27 2024 Nicolas Chauvet - 0.13.2-1 -- Update to 0.13.2 - -* Fri Aug 02 2024 RPM Fusion Release Engineering - 0.13.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Thu Mar 21 2024 Leigh Scott - 0.13.1-1 -- Update to 0.13.1 - -* Sun Feb 04 2024 RPM Fusion Release Engineering - 0.12.7^20230503g2c9b670-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Nov 24 2023 Nicolas Chauvet - 0.12.7^20230503g2c9b670-3 -- Rebuilt - -* Wed Aug 02 2023 RPM Fusion Release Engineering - 0.12.7^20230503g2c9b670-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue May 09 2023 Kate Hsuan - 0.12.7-20230503g2c9b670-1 -- Updated to commit 2c9b67072b15d903fecde67c7f269abeafee4c25 -- The patch is used to prevent the value of byteused field becomes too large - -* Thu Mar 02 2023 Kate Hsuan - 0.12.7-20230220ga669686-1 -- Updated to commit a66968647843f57448b59cf98d0318f1e98e072c - -* Mon Aug 08 2022 RPM Fusion Release Engineering - 0.12.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg - 5.1 - -* Fri Aug 05 2022 Leigh Scott - 0.12.7-1 -- Update to 0.12.7 - -* Wed Feb 09 2022 RPM Fusion Release Engineering - 0.12.5-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Tue Aug 03 2021 RPM Fusion Release Engineering - 0.12.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jun 08 2021 Nicolas Chauvet - 0.12.5-4 -- rebuilt - -* Tue Feb 23 2021 Nicolas Chauvet - 0.12.5-3 -- Bump spec - -* Mon Feb 15 2021 Nicolas Chauvet - 0.12.5-2 -- Rework spec file - -* Sat Dec 26 2020 Neal Gompa - 0.12.5-1 -- Initial packaging diff --git a/anda/fusion/kmod-v4l2loopback/update.rhai b/anda/fusion/kmod-v4l2loopback/update.rhai deleted file mode 100644 index fd9dec4b15..0000000000 --- a/anda/fusion/kmod-v4l2loopback/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh_tag("umlaeute/v4l2loopback")); diff --git a/anda/fusion/kmod-v4l2loopback/v4l2loopback-kmod.spec b/anda/fusion/kmod-v4l2loopback/v4l2loopback-kmod.spec deleted file mode 100644 index 5679296943..0000000000 --- a/anda/fusion/kmod-v4l2loopback/v4l2loopback-kmod.spec +++ /dev/null @@ -1,125 +0,0 @@ -%if 0%{?fedora} -%global buildforkernels akmod -%endif -%if 0%{?el9} -# kmod fails on rhel9 kernel with aarch64 - just build an akmod there -%ifarch aarch64 -%global buildforkernels akmod -%endif -%endif -%global debug_package %{nil} - -%global commit 2c9b67072b15d903fecde67c7f269abeafee4c25 -%global commitdate 20230503 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -%global prjname v4l2loopback - -Name: %{prjname}-kmod -Summary: Kernel module (kmod) for %{prjname} -Version: 0.13.2 -Release: 1%{?dist} -License: GPLv2+ - -URL: https://github.com/umlaeute/v4l2loopback -Source0: %{url}/archive/v%{version}/%{prjname}-%{version}.tar.gz - -BuildRequires: gcc -BuildRequires: elfutils-libelf-devel -BuildRequires: kmodtool -%{!?kernels:BuildRequires: buildsys-build-rpmfusion-kerneldevpkgs-%{?buildforkernels:%{buildforkernels}}%{!?buildforkernels:current}-%{_target_cpu} } - -# kmodtool does its magic here -%{expand:%(kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{prjname} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } - -%description -This module allows you to create "virtual video devices". Normal (v4l2) -applications will read these devices as if they were ordinary video -devices, but the video will not be read from e.g. a capture card but -instead it is generated by another application. - -This package contains the kmod module for %{prjname}. - - -%prep -# error out if there was something wrong with kmodtool -%{?kmodtool_check} - -# print kmodtool output for debugging purposes: -kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{prjname} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null - -%setup -q -c -(cd v4l2loopback-%{version} -#patch -P 0 -p1 -) - -for kernel_version in %{?kernel_versions} ; do - cp -a v4l2loopback-%{version} _kmod_build_${kernel_version%%___*} -done - - -%build -for kernel_version in %{?kernel_versions} ; do - make V=1 %{?_smp_mflags} -C ${kernel_version##*___} M=${PWD}/_kmod_build_${kernel_version%%___*} modules -done - - -%install -for kernel_version in %{?kernel_versions}; do - mkdir -p %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - install -D -m 755 _kmod_build_${kernel_version%%___*}/v4l2loopback.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ - chmod a+x %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/*.ko -done -%{?akmod_install} - - -%changelog -* Fri Sep 27 2024 Nicolas Chauvet - 0.13.2-1 -- Update to 0.13.2 - -* Fri Aug 02 2024 RPM Fusion Release Engineering - 0.13.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Thu Mar 21 2024 Leigh Scott - 0.13.1-1 -- Update to 0.13.1 - -* Sun Feb 04 2024 RPM Fusion Release Engineering - 0.12.7^20230503g2c9b670-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Nov 24 2023 Nicolas Chauvet - 0.12.7^20230503g2c9b670-3 -- Rebuilt - -* Wed Aug 02 2023 RPM Fusion Release Engineering - 0.12.7^20230503g2c9b670-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue May 09 2023 Kate Hsuan - 0.12.7-20230503g2c9b670-1 -- Updated to commit 2c9b67072b15d903fecde67c7f269abeafee4c25 -- The patch is used to prevent the value of byteused field becomes too large - -* Thu Mar 02 2023 Kate Hsuan - 0.12.7-20230220ga669686-1 -- Updated to commit a66968647843f57448b59cf98d0318f1e98e072c - -* Mon Aug 08 2022 RPM Fusion Release Engineering - 0.12.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg - 5.1 - -* Fri Aug 05 2022 Leigh Scott - 0.12.7-1 -- Update to 0.12.7 - -* Wed Feb 09 2022 RPM Fusion Release Engineering - 0.12.5-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Tue Aug 03 2021 RPM Fusion Release Engineering - 0.12.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jun 08 2021 Nicolas Chauvet - 0.12.5-4 -- rebuilt - -* Tue Feb 23 2021 Nicolas Chauvet - 0.12.5-3 -- Bump spec - -* Mon Feb 15 2021 Nicolas Chauvet - 0.12.5-2 -- Rework spec file - -* Sat Dec 26 2020 Neal Gompa - 0.12.5-1 -- Initial packaging diff --git a/anda/fusion/v4l2-relayd/0000-set-new-offset.patch b/anda/fusion/v4l2-relayd/0000-set-new-offset.patch deleted file mode 100644 index effcaeb267..0000000000 --- a/anda/fusion/v4l2-relayd/0000-set-new-offset.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 1be2bafe7a9aabf0389da9e685051859c56e64ce Mon Sep 17 00:00:00 2001 -From: Kate Hsuan -Date: Thu, 9 Feb 2023 15:26:37 +0800 -Subject: [PATCH] Set a new ID offset for the private event - -According to the v4l2loopback, the private event ID should be -start from V4L2_EVENT_PRIVATE_START+0x08E00000. Therefore, the -V4L2_EVENT_PRI_CLIENT_USAGE is V4L2_EVENT_PRIVATE_START+ -0x08E00000+1 - -Signed-off-by: Kate Hsuan ---- - src/v4l2-relayd.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/src/v4l2-relayd.c b/src/v4l2-relayd.c -index 21bb0d5..d731af0 100644 ---- a/src/v4l2-relayd.c -+++ b/src/v4l2-relayd.c -@@ -27,7 +27,10 @@ - #include - #include - --#define V4L2_EVENT_PRI_CLIENT_USAGE V4L2_EVENT_PRIVATE_START -+#define V4L2LOOPBACK_EVENT_OFFSET 0x08E00000 -+#define V4L2_EVENT_PRI_CLIENT_USAGE (V4L2_EVENT_PRIVATE_START+\ -+ V4L2LOOPBACK_EVENT_OFFSET+\ -+ 1) - - struct v4l2_event_client_usage { - __u32 count; --- -2.39.2 - diff --git a/anda/fusion/v4l2-relayd/anda.hcl b/anda/fusion/v4l2-relayd/anda.hcl deleted file mode 100644 index febd3dbe1f..0000000000 --- a/anda/fusion/v4l2-relayd/anda.hcl +++ /dev/null @@ -1,8 +0,0 @@ -project pkg { - rpm { - spec = "v4l2-relayd.spec" - } - labels { - weekly = 1 - } -} diff --git a/anda/fusion/v4l2-relayd/update.rhai b/anda/fusion/v4l2-relayd/update.rhai deleted file mode 100644 index 97d355cb4e..0000000000 --- a/anda/fusion/v4l2-relayd/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gitlab("24306684")); diff --git a/anda/fusion/v4l2-relayd/v4l2-relayd.preset b/anda/fusion/v4l2-relayd/v4l2-relayd.preset deleted file mode 100644 index cd0a1709e9..0000000000 --- a/anda/fusion/v4l2-relayd/v4l2-relayd.preset +++ /dev/null @@ -1 +0,0 @@ -enable v4l2-relayd.service \ No newline at end of file diff --git a/anda/fusion/v4l2-relayd/v4l2-relayd.spec b/anda/fusion/v4l2-relayd/v4l2-relayd.spec deleted file mode 100644 index 17f0e794cf..0000000000 --- a/anda/fusion/v4l2-relayd/v4l2-relayd.spec +++ /dev/null @@ -1,63 +0,0 @@ -%global commit 2e4d5c9ba53bfe8cfe16ea91932c8e5ecb090a87 -%global commitdate 20220126 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - -Name: v4l2-relayd -Summary: Utils for relaying the video stream between two video devices -Version: %{commitdate}.%{shortcommit} -Release: 1%{?dist} -License: GPL-2.0-only -Source0: https://gitlab.com/vicamo/v4l2-relayd//-/archive/%{commit}/%{name}-%{shortcommit}.tar.gz -Source1: v4l2-relayd.preset -### RPM Fusion | [v4l2-relayd] Set output stream to I420 -## https://lists.rpmfusion.org/archives/list/rpmfusion-commits@lists.rpmfusion.org/thread/VUMAJABDYISF3UVOSESSFYQBAMQK7VKY/ -Patch0: 0000-set-new-offset.patch -BuildRequires: systemd-rpm-macros -BuildRequires: gcc -BuildRequires: g++ -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool -BuildRequires: glib2-devel -BuildRequires: gstreamer1-devel -BuildRequires: gstreamer1-plugins-base-devel -BuildRequires: systemd -Requires: v4l2loopback - -%description -This is used to relay the input GStreamer source to an output source or a V4L2 device. - -%prep -%autosetup -p1 -n %{name}-%{commit} -autoreconf --force --install --verbose - -%build -%configure -%make_build - -%install -%make_install modprobedir=%{_modprobedir} -sed -i '/^EnvironmentFile=\/etc\/default\/v4l2-relayd/a EnvironmentFile=-\/run\/v4l2-relayd' %{buildroot}%{_unitdir}/v4l2-relayd.service -sed -i 's/videoconvert/videoconvert ! video\/x-raw,format=I420/g' %{buildroot}%{_unitdir}/v4l2-relayd.service -install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_presetdir}/95-v4l2-relayd.preset - -%post -%systemd_post v4l2-relayd.service - -%preun -%systemd_preun v4l2-relayd.service - -%postun -%systemd_postun_with_restart v4l2-relayd.service - -%files -%license LICENSE -%{_bindir}/v4l2-relayd -%{_sysconfdir}/default/v4l2-relayd -%{_modprobedir}/v4l2-relayd.conf -%{_modulesloaddir}/v4l2-relayd.conf -%{_unitdir}/v4l2-relayd.service -%{_presetdir}/95-v4l2-relayd.preset - -%changelog -%autochangelog diff --git a/anda/fusion/v4l2loopback/anda.hcl b/anda/fusion/v4l2loopback/anda.hcl deleted file mode 100644 index 14eb49b671..0000000000 --- a/anda/fusion/v4l2loopback/anda.hcl +++ /dev/null @@ -1,8 +0,0 @@ -project pkg { - rpm { - spec = "v4l2loopback.spec" - } - labels { - mock = 1 - } -} diff --git a/anda/fusion/v4l2loopback/modprobe-d-98-v4l2loopback.conf b/anda/fusion/v4l2loopback/modprobe-d-98-v4l2loopback.conf deleted file mode 100644 index de440a13a7..0000000000 --- a/anda/fusion/v4l2loopback/modprobe-d-98-v4l2loopback.conf +++ /dev/null @@ -1 +0,0 @@ -options v4l2loopback exclusive_caps=1 card_label="OBS Virtual Camera" diff --git a/anda/fusion/v4l2loopback/modules-load-d-v4l2loopback.conf b/anda/fusion/v4l2loopback/modules-load-d-v4l2loopback.conf deleted file mode 100644 index d394e47bc8..0000000000 --- a/anda/fusion/v4l2loopback/modules-load-d-v4l2loopback.conf +++ /dev/null @@ -1 +0,0 @@ -v4l2loopback diff --git a/anda/fusion/v4l2loopback/update.rhai b/anda/fusion/v4l2loopback/update.rhai deleted file mode 100644 index fd9dec4b15..0000000000 --- a/anda/fusion/v4l2loopback/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh_tag("umlaeute/v4l2loopback")); diff --git a/anda/fusion/v4l2loopback/v4l2loopback.spec b/anda/fusion/v4l2loopback/v4l2loopback.spec deleted file mode 100644 index 7b73a6bb44..0000000000 --- a/anda/fusion/v4l2loopback/v4l2loopback.spec +++ /dev/null @@ -1,47 +0,0 @@ -Name: v4l2loopback -Summary: Utils for V4L2 loopback devices -Version: 0.13.2 -Release: 1%{?dist} -License: GPLv2+ -URL: https://github.com/umlaeute/v4l2loopback -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz -Source1: modprobe-d-98-v4l2loopback.conf -Source2: modules-load-d-v4l2loopback.conf -BuildRequires: gcc -BuildRequires: make -BuildRequires: help2man -BuildRequires: systemd-rpm-macros -### For Akmods package -Provides: %{name}-kmod-common = %{version}-%{release} -Requires: %{name}-kmod >= %{version} -### For compatibility with older names -Provides: %{name}-utils = %{version}-%{release} -Obsoletes: %{name}-utils < 0.12.5-2 - -%description -Allows creation of virtual video devices. Normal (v4l2) applications will read these devices as if they were ordinary video devices. - -%prep -%autosetup -p1 -n %{name}-%{version} - -%build -%{set_build_flags} -%make_build utils - - -%install -make V=1 %{?_smp_mflags} install-utils DESTDIR=%{buildroot} PREFIX=%{_prefix} -make V=1 %{?_smp_mflags} install-man DESTDIR=%{buildroot} PREFIX=%{_prefix} -install -D -m 0644 %{SOURCE1} %{buildroot}%{_modprobedir}/98-v4l2loopback.conf -install -D -m 0644 %{SOURCE2} %{buildroot}%{_modulesloaddir}/v4l2loopback.conf - -%files -%doc README.md AUTHORS NEWS -%license COPYING -%attr(0755,root,root) %{_bindir}/v4l2loopback-ctl -%attr(0644,root,root) %{_mandir}/man1/v4l2loopback-ctl.1* -%{_modprobedir}/98-v4l2loopback.conf -%{_modulesloaddir}/v4l2loopback.conf - -%changelog -%autochangelog