From c0bd9c394e417d57660de3fa474164a2b9751a9a129016916c312b2e1d22af30 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Fri, 9 Nov 2018 10:27:15 +0000 Subject: [PATCH] - Make iso9660 support optional (gh#173) OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=18 --- mpd.changes | 5 +++++ mpd.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/mpd.changes b/mpd.changes index feede0a..3fb9ab0 100644 --- a/mpd.changes +++ b/mpd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 9 10:25:48 UTC 2018 - olaf@aepfle.de + +- Make iso9660 support optional (gh#173) + ------------------------------------------------------------------- Tue Oct 23 18:51:03 UTC 2018 - Luigi Baldoni diff --git a/mpd.spec b/mpd.spec index 7e35cbc..5e51a77 100644 --- a/mpd.spec +++ b/mpd.spec @@ -18,6 +18,7 @@ %bcond_with faad +%bcond_without mpd_iso9660 %if !%{defined _userunitdir} %define _userunitdir %{_prefix}/lib/systemd/user @@ -86,7 +87,9 @@ BuildRequires: pkgconfig(libavutil) >= 51.17 BuildRequires: pkgconfig(libcdio_paranoia) BuildRequires: pkgconfig(libcurl) >= 7.18 BuildRequires: pkgconfig(libgme) +%if %{with mpd_iso9660} BuildRequires: pkgconfig(libiso9660) +%endif BuildRequires: pkgconfig(libmms) >= 0.4 BuildRequires: pkgconfig(libmodplug) BuildRequires: pkgconfig(libmpdclient) >= 2.2 @@ -149,6 +152,7 @@ NOCONFIGURE=1 ./autogen.sh %configure \ --disable-sidplay \ --disable-aac \ + --disable-iso9660 \ \ --enable-syslog \ --enable-eventfd \ @@ -198,7 +202,9 @@ NOCONFIGURE=1 ./autogen.sh --enable-webdav \ --enable-cue \ --enable-neighbor-plugins \ +%if %{with mpd_iso9660} --enable-iso9660 \ +%endif --enable-zlib \ --enable-bzip2 \ --enable-upnp \