From 454f4e73fd5cde4343b9315c3177539a85a55e11e6e421adb06184f414d66e13 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin <sor.alexei@meowr.ru> Date: Thu, 4 Aug 2016 13:41:51 +0000 Subject: [PATCH] Accepting request 416890 from home:olh:branches:multimedia:apps - Use buildconditional for faad and mad support OBS-URL: https://build.opensuse.org/request/show/416890 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/qmmp?expand=0&rev=85 --- qmmp.changes | 5 +++++ qmmp.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/qmmp.changes b/qmmp.changes index e48a15a..78d6039 100644 --- a/qmmp.changes +++ b/qmmp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 4 09:48:32 UTC 2016 - olaf@aepfle.de + +- Use buildconditional for faad and mad support + ------------------------------------------------------------------- Sat Jul 23 16:15:39 UTC 2016 - sor.alexei@meowr.ru diff --git a/qmmp.spec b/qmmp.spec index d24fc4d..9acc8c5 100644 --- a/qmmp.spec +++ b/qmmp.spec @@ -18,6 +18,8 @@ %define sover 1 %bcond_with restricted +%bcond_with faad +%bcond_with mad Name: qmmp Version: 1.1.2 Release: 0 @@ -77,8 +79,10 @@ BuildRequires: pkgconfig(wavpack) Requires: %{name}(%{sover})(Input) Requires: %{name}(%{sover})(Output) Requires: %{name}(%{sover})(Ui) -%if %{with restricted} +%if %{with faad} BuildRequires: libfaad-devel +%endif +%if %{with mad} BuildRequires: pkgconfig(mad) %endif