diff --git a/kwave.changes b/kwave.changes index 1129534..5fa0853 100644 --- a/kwave.changes +++ b/kwave.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Aug 26 09:14:06 UTC 2017 - wbauer@tmo.at + +- Enable MP3 support in Factory/Tumbleweed, libmad is part of the + distribution now + ------------------------------------------------------------------- Wed Aug 23 18:04:00 UTC 2017 - wbauer@tmo.at diff --git a/kwave.spec b/kwave.spec index 6abba17..27dba69 100644 --- a/kwave.spec +++ b/kwave.spec @@ -62,6 +62,10 @@ BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Widgets) +%if 0%{?suse_version} >= 1330 +BuildRequires: id3lib-devel +BuildRequires: pkgconfig(mad) +%endif Recommends: lame Recommends: toolame Recommends: twolame @@ -90,7 +94,11 @@ and scroll capability. perl -pi -e "s|X-SuSE-translate=true||" kwave/org.kde.kwave.desktop.in %build +%if 0%{?suse_version} >= 1330 + %cmake_kf5 -d build -- -DWITH_MP3=ON +%else %cmake_kf5 -d build +%endif %make_jobs %install