diff options
author | François Andriot <albator78@libertysurf.fr> | 2023-05-08 13:52:09 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2023-05-08 13:52:09 +0200 |
commit | 8ab4d3920b6da379f4d14ff3b78d088a45df7cb8 (patch) | |
tree | 513fffd2185a74b7d8e1ef0a0808e9d7b1bac0a0 /redhat/applications | |
parent | 0edc1511e1134e66172a80f8d69389f246ff867e (diff) | |
download | tde-packaging-8ab4d3920b6da379f4d14ff3b78d088a45df7cb8.tar.gz tde-packaging-8ab4d3920b6da379f4d14ff3b78d088a45df7cb8.zip |
RPM: update build scripts for Fedora 38
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/applications')
-rw-r--r-- | redhat/applications/multimedia/k3b/k3b.spec | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/redhat/applications/multimedia/k3b/k3b.spec b/redhat/applications/multimedia/k3b/k3b.spec index ed7d62590..f5a2cb013 100644 --- a/redhat/applications/multimedia/k3b/k3b.spec +++ b/redhat/applications/multimedia/k3b/k3b.spec @@ -80,7 +80,6 @@ BuildRequires: brp-check-trinity BuildRequires: alsa-lib-devel BuildRequires: audiofile-devel BuildRequires: gettext -BuildRequires: libmpcdec-devel BuildRequires: libvorbis-devel BuildRequires: taglib-devel BuildRequires: zlib-devel @@ -227,6 +226,12 @@ BuildRequires: ffmpeg-devel %endif %endif +# MUSEPACK +%if 0%{?fedora} != 38 +%define with_musepack 1 +BuildRequires: libmpcdec-devel +%endif + %description K3b provides a comfortable user interface to perform most CD/DVD @@ -260,8 +265,10 @@ start. %{tde_tdelibdir}/libk3blibsndfiledecoder.la %{tde_tdelibdir}/libk3blibsndfiledecoder.so %endif +%if 0%{?with_musepack} %{tde_tdelibdir}/libk3bmpcdecoder.la %{tde_tdelibdir}/libk3bmpcdecoder.so +%endif %{tde_tdelibdir}/libk3boggvorbisdecoder.la %{tde_tdelibdir}/libk3boggvorbisdecoder.so %{tde_tdelibdir}/libk3boggvorbisencoder.la @@ -453,7 +460,7 @@ fi -DWITH_ALL_OPTIONS="ON" \ -DWITH_MUSICBRAINZ="OFF" \ -DWITH_FFMPEG_ALL_CODECS="ON" \ - -DWITH_MUSEPACK="ON" \ + -DWITH_MUSEPACK="%{!?with_musepack:OFF}%{?with_musepack:ON}" \ -DWITH_LAME="%{!?with_lame:OFF}%{?with_lame:ON}" \ -DWITH_MAD="%{!?with_libmad:OFF}%{?with_libmad:ON}" \ %if 0%{?rhel} == 5 |