Commit c88d9c31 authored by Denis Smirnov's avatar Denis Smirnov

add mp3 decoder from mpg123

parent 6bf8fe0a
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
%def_disable sidplay %def_disable sidplay
%def_enable doc %def_enable doc
%def_without tremor %def_without tremor
%def_enable mpg123
# auto|avahi|bonjour|no # auto|avahi|bonjour|no
%define zeroconf avahi %define zeroconf avahi
%define mpd_user _mpd %define mpd_user _mpd
...@@ -105,6 +106,7 @@ BuildRequires: zlib-devel gcc-c++ ...@@ -105,6 +106,7 @@ BuildRequires: zlib-devel gcc-c++
%{?_enable_iso9660:BuildRequires: libcdio-devel} %{?_enable_iso9660:BuildRequires: libcdio-devel}
%{?_enable_sqlite:BuildRequires: libsqlite3-devel} %{?_enable_sqlite:BuildRequires: libsqlite3-devel}
%{?_enable_fluidsynth:BuildRequires: libfluidsynth-devel} %{?_enable_fluidsynth:BuildRequires: libfluidsynth-devel}
%{?_enable_mpg123:BuildRequires: libmpg123-devel}
%{?_enable_doc:BuildRequires: docbook-dtds doxygen xmlto >= 0.0.21-alt2} %{?_enable_doc:BuildRequires: docbook-dtds doxygen xmlto >= 0.0.21-alt2}
BuildRequires: systemd-devel BuildRequires: systemd-devel
%if %zeroconf == avahi %if %zeroconf == avahi
...@@ -207,6 +209,7 @@ sed -i 's/\[mad\]/[libmad]/' configure.ac ...@@ -207,6 +209,7 @@ sed -i 's/\[mad\]/[libmad]/' configure.ac
%{subst_enable sqlite} \ %{subst_enable sqlite} \
%{subst_enable fluidsynth} \ %{subst_enable fluidsynth} \
%{subst_enable wildmidi} \ %{subst_enable wildmidi} \
%{subst_enable mpg123} \
%{subst_enable_to doc documentation} \ %{subst_enable_to doc documentation} \
--with-systemdsystemunitdir=/lib/systemd/system \ --with-systemdsystemunitdir=/lib/systemd/system \
--with-zeroconf=%zeroconf \ --with-zeroconf=%zeroconf \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment