[packages/capseo] - require cpuinfo(mmx) when enabled
qboosh
qboosh at pld-linux.org
Sat May 17 11:48:55 CEST 2025
commit 8e13575f36fc9313307fc773256d29bd9a82c408
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat May 17 10:31:47 2025 +0200
- require cpuinfo(mmx) when enabled
capseo.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/capseo.spec b/capseo.spec
index 28a69c6..7d6786e 100644
--- a/capseo.spec
+++ b/capseo.spec
@@ -1,6 +1,6 @@
#
# Conditional build:
-%bcond_with mmx # MMX acceleration (won't work without)
+%bcond_with mmx # MMX acceleration (obligatory, no runtime detection)
#
%ifarch %{x8664} pentium2 pentium3 pentium4 athlon
%define with_mmx 1
@@ -24,6 +24,7 @@ BuildRequires: pkgconfig >= 1:0.17.2
BuildRequires: yasm
%endif
Requires: libogg >= 1:1.1
+%{?with_mmx:Requires: cpuinfo(mmx)}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/capseo.git/commitdiff/8e13575f36fc9313307fc773256d29bd9a82c408
More information about the pld-cvs-commit
mailing list