diff --git a/kopete.spec b/kopete.spec index d0c337e..7010c1f 100644 --- a/kopete.spec +++ b/kopete.spec @@ -1,4 +1,9 @@ +# linphone currently FTBFS rawhide/f29+ +%if 0%{?fedora} < 29 +#global jingle 1 +%endif + Name: kopete Summary: Instant messenger Version: 18.04.0 @@ -52,18 +57,20 @@ BuildRequires: cmake(KF5DNSSD) BuildRequires: cmake(Qca-qt5) -BuildRequires: expat-devel BuildRequires: giflib-devel BuildRequires: perl-generators BuildRequires: pkgconfig(alsa) BuildRequires: openslp-devel -BuildRequires: pkgconfig(jsoncpp) BuildRequires: pkgconfig(libgadu) >= 1.8.0 -BuildRequires: pkgconfig(mediastreamer) -# linphone currently FTBFS rawhide/f29+ -%if 0%{?fedora} < 29 +# jingle dependencies +%if 0%{?jingle:1} +BuildRequires: expat-devel BuildRequires: linphone-devel +BuildRequires: pkgconfig(mediastreamer) +BuildRequires: openssl-devel +BuildRequires: pkgconfig(jsoncpp) +BuildRequires: pkgconfig(ortp) %endif BuildRequires: openssl-devel BuildRequires: pkgconfig(jasper) @@ -72,7 +79,6 @@ BuildRequires: pkgconfig(libotr) BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(libxslt) BuildRequires: pkgconfig(meanwhile) -BuildRequires: pkgconfig(ortp) BuildRequires: pkgconfig(speex) BuildRequires: pkgconfig(sqlite3) BuildRequires: libvncserver-devel @@ -110,7 +116,9 @@ pushd %{_target_platform} # disable oscar support due to FTBFS, # https://bugs.kde.org/show_bug.cgi?id=393372 %{cmake_kf5} .. \ - -DWITH_oscar:BOOL=OFF + %{?!jingle:-DWITH_libjingle:BOOL=OFF} \ + -DWITH_oscar:BOOL=OFF \ + -DWITH_wlm:BOOL=OFF popd @@ -131,7 +139,9 @@ desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/org.kde.kopete.d %license COPYING* %{_kf5_sysconfdir}/xdg/kopete* %{_kf5_bindir}/kopete +%if 0%{?jingle} %{_kf5_bindir}/libjingle-call +%endif %{_kf5_bindir}/winpopup-* %{_kf5_datadir}/applications/org.kde.kopete.desktop %{_kf5_datadir}/config.kcfg/*.kcfg @@ -166,7 +176,10 @@ desktop-file-validate %{buildroot}%{_kde4_datadir}/applications/org.kde.kopete.d %changelog * Sat Apr 21 2018 Rex Dieter - 18.04.0-1 -- 18.04.0, oscar disabled (for now, kde#393372) +- 18.04.0 +- disable wlm (deprecated) +- oscar disabled (for now, kde#393372) +- libjingle disabled f29+ (linphon/mediastreamer FTBFS) * Wed Feb 07 2018 Fedora Release Engineering - 17.08.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild