public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/xine-lib] epel9-next: another approach, disabling v4l support hammers both v4l1 and v4l2
@ 2026-07-20 20:01 Rex Dieter
  0 siblings, 0 replies; only message in thread
From: Rex Dieter @ 2026-07-20 20:01 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/xine-lib
Branch : epel9-next
Commit : ecb7e8977815b8feca645fbc7ae618d8d9b09913
Author : Rex Dieter <rdieter@fedoraproject.org>
Date   : 2011-02-14T10:45:46-06:00
Stats  : +8/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/xine-lib/c/ecb7e8977815b8feca645fbc7ae618d8d9b09913?branch=epel9-next

Log:
another approach, disabling v4l support hammers both v4l1 and v4l2

---
diff --git a/xine-lib.spec b/xine-lib.spec
index 726c3c0..087da2c 100644
--- a/xine-lib.spec
+++ b/xine-lib.spec
@@ -39,7 +39,7 @@
 %endif
 
 %if 0%{?fedora} > 14 
-%undefine _enable_v4l
+%define _disable_v4l1 1
 %endif
 
 %if 0%{?fedora} > 11 || 0%{?rhel} > 5
@@ -283,6 +283,12 @@ rm -Rf $RPM_BUILD_ROOT%{_libdir}/libxine.la __docs/README \
 # Directory for binary codecs
 mkdir -p $RPM_BUILD_ROOT%{codecdir}
 
+# unpackaged files
+%if 0%{?_disable_v4l1:1}
+rm -fv $RPM_BUILD_ROOT%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_pvr.so
+rm -fv $RPM_BUILD_ROOT%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_v4l.so
+%endif
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -390,10 +396,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_rtsp.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_stdin_fifo.so
 %if 0%{?_enable_v4l:1}
+%if ! 0%{?_disable_v4l1:1}
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_pvr.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_v4l.so
 %endif
-%if 0%{?_enable_libv4l:1)
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_v4l2.so
 %endif
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_fb.so

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-20 20:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-20 20:01 [rpms/xine-lib] epel9-next: another approach, disabling v4l support hammers both v4l1 and v4l2 Rex Dieter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox