From 2859925ba40111e649c30d2e00fad31288bde8f7846945fb6600bd13c60e0546 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Tue, 29 Aug 2017 20:32:13 +0000 Subject: [PATCH] Accepting request 519259 from home:wolfi323:branches:KDE:Applications - Enable MP3 support in Factory/Tumbleweed, libmad is part of the distribution now OBS-URL: https://build.opensuse.org/request/show/519259 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kwave?expand=0&rev=31 --- kwave.changes | 6 ++++++ kwave.spec | 8 ++++++++ 2 files changed, 14 insertions(+) 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