public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Rex Dieter <rdieter@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/xine-lib] epel9-next: sync changes from EL-6 branch
Date: Mon, 20 Jul 2026 20:00:58 GMT	[thread overview]
Message-ID: <178457765885.1.11981120414662271848.rpms-xine-lib-ba91530bdd83@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/xine-lib
Branch : epel9-next
Commit : ba91530bdd8353ecbe0cecb2c28ce7f9e0e57b76
Author : Rex Dieter <rdieter@fedoraproject.org>
Date   : 2010-06-21T19:22:43+00:00
Stats  : +22/-14 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/xine-lib/c/ba91530bdd8353ecbe0cecb2c28ce7f9e0e57b76?branch=epel9-next

Log:
sync changes from EL-6 branch

---
diff --git a/xine-lib.spec b/xine-lib.spec
index 7bb8a4d..4aa99ac 100644
--- a/xine-lib.spec
+++ b/xine-lib.spec
@@ -13,21 +13,27 @@
 %endif # ix86
 
 %if 0%{?fedora}
-%define _enable_v4l  --enable-v4l --enable-libv4l 
 %define _disable_gnomevfs --disable-gnomevfs
 %define with_aalib  %{?_without_aalib:0}%{!?_without_aalib:1}
-%define with_pa     %{?_without_pulseaudio:0}%{!?_without_pulseaudio:1}
 %else
 %define with_aalib  %{?_with_aalib:1}%{!?_with_aalib:0}
-%define with_pa     %{?_with_pulseaudio:1}%{!?_with_pulseaudio:0}
 %endif # Fedora
 
-%if 0%{?fedora} || 0%{?rhel} > 5
-%define _without_arts --without-art
-%define _with_xcb    %{?_without_xcb:0}%{!?_without_xcb:1}
+%define _enable_xvmc --enable-xvmc
+%if 0%{?rhel} > 5
+%ifarch ppc64
+%undefine _enable_xvmc
+%endif
+%endif
+
+%if 0%{?fedora} > 8 || 0%{?rhel} > 5
+%define _enable_v4l  --enable-v4l --enable-libv4l
+%define _without_arts --without-arts
+%define _with_pa  %{?_without_pulseaudio:0}%{!?_without_pulseaudio:1}
+%define _with_xcb %{?_without_xcb:0}%{!?_without_xcb:1} 
 %endif
 
-%if 0%{?fedora} > 11
+%if 0%{?fedora} > 11 || 0%{?rhel} > 5
 %define pa_in_main 1
 %endif
 
@@ -67,7 +73,7 @@ BuildRequires:  automake libtool
 BuildRequires:  libX11-devel
 BuildRequires:  libXv-devel
 BuildRequires:  libXinerama-devel
-BuildRequires:  libXvMC-devel
+%{?_enable_xvmc:BuildRequires:  libXvMC-devel}
 BuildRequires:  libGLU-devel
 %if 0%{?_enable_v4l:1}
 BuildRequires:  libv4l-devel
@@ -100,7 +106,7 @@ BuildRequires:  jack-audio-connection-kit-devel
 BuildRequires:  libmodplug-devel
 BuildRequires:  libmpcdec-devel
 BuildRequires:  libvorbis-devel
-%if %{with_pa}
+%if 0%{?_with_pa:1}
 BuildRequires:  pulseaudio-lib-devel
 %endif # pa
 BuildRequires:  speex-devel
@@ -167,9 +173,7 @@ This package contains extra plugins for %{name}:
   - EsounD
   - JACK
   - GDK-Pixbuf
-%if ! 0%{?_disable_gnomevfs:1}
   - GNOME VFS
-%endif
   - SMB
   - SDL
 %if %{with_aalib}
@@ -218,6 +222,7 @@ export SDL_CFLAGS="$(sdl-config --cflags)" SDL_LIBS="$(sdl-config --libs)"
     --enable-directfb \
 %endif # directfb
     %{?_enable_v4l}%{!?_enable_v4l:--disable-v4l --disable-libv4l} \
+    %{?_enable_xvmc}%{!?_enable_xvmc:--disable-xvmc} \
     %{?_disable_gnomevfs} \
     --disable-a52dec \
     --disable-mad \
@@ -365,12 +370,14 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_http.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_net.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_pnm.so
-%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_pvr.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_rtp.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_rtsp.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_stdin_fifo.so
+%if 0%{?_enable_v4l:1}
+%{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_pvr.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_v4l.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_inp_v4l2.so
+%endif
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_fb.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_none.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_opengl.so
@@ -385,11 +392,13 @@ rm -rf $RPM_BUILD_ROOT
 %endif # xcb
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_xshm.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_xv.so
+%if 0%{?_enable_xvmc:1}
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_xvmc.so
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_vo_out_xxmc.so
+%endif
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_wavpack.so
 
-%if %{with_pa}
+%if 0%{?_with_pa:1}
 %if ! 0%{?pa_in_main}
 %files pulseaudio
 %defattr(-,root,root,-)
@@ -397,7 +406,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/xine/plugins/%{plugin_abi}/xineplug_ao_out_pulseaudio.so
 %endif
 
-
 %if 0%{!?_without_arts:1}
 %files arts
 %defattr(-,root,root,-)

                 reply	other threads:[~2026-07-20 20:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178457765885.1.11981120414662271848.rpms-xine-lib-ba91530bdd83@fedoraproject.org \
    --to=rdieter@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox