diff options
author | François Andriot <albator78@libertysurf.fr> | 2018-06-19 20:09:51 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2018-06-19 20:11:02 +0200 |
commit | 77398a607fe09f49f40349bce398661c43e77143 (patch) | |
tree | f425bd25663358da9a4ad30ba58ac2c5577624c9 /redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec | |
parent | 3f0ae4ce7e948c666db00647454b4ec32d796768 (diff) | |
download | tde-packaging-77398a607fe09f49f40349bce398661c43e77143.tar.gz tde-packaging-77398a607fe09f49f40349bce398661c43e77143.zip |
RPM: avoid linking to libmad on non-x86 architectures
Diffstat (limited to 'redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec')
-rw-r--r-- | redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec index 97540d5d4..086f7ec9f 100644 --- a/redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec +++ b/redhat/main/tdemultimedia/tdemultimedia-14.0.0-cmake.spec @@ -95,8 +95,11 @@ BuildRequires: taglib-devel %define with_akode 1 BuildRequires: trinity-akode-devel -%define with_mad 1 -%{?with_mad:BuildRequires: libakode_mpeg_decoder} +# MAD support +%ifarch %{ix86} x86_64 +%define with_libmad 1 +%{?with_libmad:BuildRequires: libakode_mpeg_decoder} +%endif # ZLIB support BuildRequires: zlib-devel @@ -754,7 +757,7 @@ This package contains akode plugins for aRts. %{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass # Requires MAD support -%{?with_mad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} +%{?with_libmad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass} %endif |