diff options
Diffstat (limited to 'redhat/applications/multimedia/amarok/amarok.spec')
-rw-r--r-- | redhat/applications/multimedia/amarok/amarok.spec | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/redhat/applications/multimedia/amarok/amarok.spec b/redhat/applications/multimedia/amarok/amarok.spec index 2f5b51151..d2099a9cf 100644 --- a/redhat/applications/multimedia/amarok/amarok.spec +++ b/redhat/applications/multimedia/amarok/amarok.spec @@ -18,7 +18,7 @@ # TDE variables %define tde_epoch 2 %if "%{?tde_version}" == "" -%define tde_version 14.1.2 +%define tde_version 14.1.3 %endif %define tde_pkg amarok %define tde_prefix /opt/trinity @@ -89,7 +89,7 @@ BuildRequires: brp-check-trinity %endif # ALSA supportl -%if 0%{?mdkver} +%if 0%{?mdkver} >= 5000000 BuildRequires: %{_lib}asound-devel %else BuildRequires: alsa-lib-devel @@ -171,15 +171,19 @@ BuildRequires: trinity-dbus-tqt-devel >= 1:0.63 # IFP support # IFP package is broken under PCLinuxOS. %if 0%{?pclinuxos} == 0 -%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} +%if ( 0%{?fedora} && 0%{?fedora} <= 40 ) || 0%{?mgaversion} || 0%{?mdkversion} %define with_ifp 1 +%if 0%{?mgaversion} || 0%{?mdkversion} BuildRequires: %{_lib}ifp-devel +%else +BuildRequires: libifp-devel +%endif %endif %endif # KARMA support %if 0%{?mgaversion} || 0%{?mdkversion} -%if 0%{?pclinuxos} == 0 && 0%{?mdkver} < 24090000 +%if 0%{?pclinuxos} == 0 && 0%{?mdkver} < 5000000 %define with_karma 1 BuildRequires: libkarma-devel BuildRequires: karma-sharp @@ -268,7 +272,7 @@ BuildRequires: xine-lib-devel %endif %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} %define with_xine 1 -%if 0%{?mdkver} +%if 0%{?mdkver} >= 5000000 BuildRequires: %{_lib}xine-devel %else BuildRequires: %{_lib}xine1.2-devel @@ -290,14 +294,6 @@ BuildRequires: libxine-devel BuildRequires: trinity-akode-devel %endif -# MP4V2 support -%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} -%if 0%{?mdkver} < 24090000 -%define with_mp4v2 1 -BuildRequires: libmp4v2-devel -%endif -%endif - # ruby BuildRequires: ruby BuildRequires: ruby-devel @@ -547,7 +543,6 @@ fi %{?with_mtp:-DWITH_MTP=ON} \ %{?with_karma:-DWITH_RIOKARMA=ON} \ %{!?with_daap:-DWITH_DAAP=OFF} \ - %{?with_mp4v2:-DWITH_MP4V2=ON} \ %{?with_inotify:-DWITH_INOTIFY=ON} \ -DWITH_SYSTEM_SQLITE=ON \ -DBUILD_ALL=ON \ |