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: enable caca for f10+ only
Date: Mon, 20 Jul 2026 20:00:40 GMT [thread overview]
Message-ID: <178457764096.1.7599760866084783648.rpms-xine-lib-fcf3303c5cf2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/xine-lib
Branch : epel9-next
Commit : fcf3303c5cf257561c9cee290338e1961b0cf141
Author : Rex Dieter <rdieter@fedoraproject.org>
Date : 2009-01-07T21:17:12+00:00
Stats : +8/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/xine-lib/c/fcf3303c5cf257561c9cee290338e1961b0cf141?branch=epel9-next
Log:
enable caca for f10+ only
---
diff --git a/xine-lib.spec b/xine-lib.spec
index a44c7c5..757046b 100644
--- a/xine-lib.spec
+++ b/xine-lib.spec
@@ -13,14 +13,16 @@
%define have_vidix 0
%endif # ix86
+%if 0%{?fedora} > 9
+%define _with_caca --with-caca
+%endif
+
%if 0%{?fedora}
%define with_aalib %{?_without_aalib:0}%{!?_without_aalib:1}
- %define with_caca %{?_without_caca:0}%{!?_without_caca:1}
%define with_pa %{?_without_pulseaudio:0}%{!?_without_pulseaudio:1}
%define with_xcb %{?_without_xcb:0}%{!?_without_xcb:1}
%else
%define with_aalib %{?_with_aalib:1}%{!?_with_aalib:0}
- %define with_caca %{?_with_caca:1}%{!?_with_caca:0}
%define with_pa %{?_with_pulseaudio:1}%{!?_with_pulseaudio:0}
%define with_xcb %{?_with_xcb:1}%{!?_with_xcb:0}
%endif # Fedora
@@ -67,7 +69,7 @@ BuildRequires: libmng-devel
%if %{with_aalib}
BuildRequires: aalib-devel >= 1.4
%endif # aalib
-%if %{with_caca}
+%if 0%{?_with_caca:1}
BuildRequires: libcaca-devel >= 0.99-0.5.beta16
%endif # caca
%if 0%{!?_without_directfb:1}
@@ -168,7 +170,7 @@ This package contains extra plugins for xine-lib:
%if %{with_aalib}
- AA-lib
%endif # aalib
-%if %{with_caca}
+%if 0%{?with_caca:1}
- Libcaca
%endif # caca
%if 0%{!?_without_imagemagick:1}
@@ -225,6 +227,7 @@ export SDL_CFLAGS="$(sdl-config --cflags)" SDL_LIBS="$(sdl-config --libs)"
%if 0%{?_without_imagemagick:1}
--without-imagemagick \
%endif # imagemagick
+ %{?_with_caca} %{!?_with_caca:--without-caca} \
%{!?_without_arts:--with-arts} %{?_without_arts} \
--with-wavpack \
--with-real-codecs-path=%{codecdir} \
@@ -398,7 +401,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with_aalib}
%{_libdir}/xine/plugins/%{abiver}/xineplug_vo_out_aa.so
%endif # aalib
-%if %{with_caca}
+%if 0%{?_with_caca}
%{_libdir}/xine/plugins/%{abiver}/xineplug_vo_out_caca.so
%endif # caca
%if 0%{!?_without_directfb:1}
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=178457764096.1.7599760866084783648.rpms-xine-lib-fcf3303c5cf2@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