diff options
author | François Andriot <albator78@libertysurf.fr> | 2018-06-02 14:27:43 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2018-06-19 20:11:02 +0200 |
commit | ffaa912975f8f31b0daa221a1d604f65fc9b429d (patch) | |
tree | 112b829575cf66811046199001919866ef692c6d /redhat/applications/k3b | |
parent | ce947350eb2ae4260a6476e302fb73ad244fe955 (diff) | |
download | tde-packaging-ffaa912975f8f31b0daa221a1d604f65fc9b429d.tar.gz tde-packaging-ffaa912975f8f31b0daa221a1d604f65fc9b429d.zip |
RPM: disable lame support when building on OBS
Diffstat (limited to 'redhat/applications/k3b')
-rw-r--r-- | redhat/applications/k3b/k3b-14.0.0.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/applications/k3b/k3b-14.0.0.spec b/redhat/applications/k3b/k3b-14.0.0.spec index 9944a1fa6..9970464d2 100644 --- a/redhat/applications/k3b/k3b-14.0.0.spec +++ b/redhat/applications/k3b/k3b-14.0.0.spec @@ -191,6 +191,7 @@ BuildRequires: libmad-devel %endif # LAME support +%if 0%{?opensuse_bs} == 0 %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} %define with_lame 1 %if 0%{?mgaversion} || 0%{?mdkversion} @@ -211,6 +212,7 @@ BuildRequires: libmp3lame-devel BuildRequires: lame-devel %endif %endif +%endif # FFMPEG support %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} @@ -445,6 +447,7 @@ fi -DWITH_MUSICBRAINZ="OFF" \ -DWITH_FFMPEG_ALL_CODECS="ON" \ -DWITH_MUSEPACK="ON" \ + -DWITH_LAME="%{!?with_lame:OFF}%{?with_lame:ON}" \ .. %__make %{?_smp_mflags} || %__make |