mpd/mpd.spec

274 lines
7.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package mpd
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_with faad
%bcond_without mpd_iso9660
%if !%{defined _userunitdir}
%define _userunitdir %{_prefix}/lib/systemd/user
%endif
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
%define mver 0.21
Name: mpd
Version: 0.21.2
Release: 0
Summary: Music Player Daemon
License: GPL-3.0-or-later
Group: Productivity/Multimedia/Sound/Players
Url: https://www.musicpd.org/
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
Source: https://www.musicpd.org/download/mpd/%{mver}/mpd-%{version}.tar.xz
Source2: README.%{name}
Source3: mpd-user.conf
# PATCH-FEATURE-OPENSUSE mpd-mpdconf_suse.patch --
Patch0: %{name}-mpdconf_suse.patch
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
# PATCH-FEATURE-OPENSUSE mpd-docs.patch
Patch3: mpd-docs.patch
# PATCH-FIX-OPENSUSE mpd-sndfile.patch
Patch4: mpd-sndfile.patch
# PATCH-FIX-UPSTREAM GCC9-buildfix.patch
Patch5: GCC9-buildfix.patch
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
%if 0%{?suse_version} >= 1500
BuildRequires: libboost_headers-devel >= 1.58
%else
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
BuildRequires: boost-devel >= 1.58
%endif
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
%if 0%{?suse_version} >= 1500
BuildRequires: gcc
BuildRequires: gcc-c++
%else
# Leap 42.3+ / SLE12SP3Backports
BuildRequires: gcc7
BuildRequires: gcc7-c++
%endif
#uildRequires: cdrkit-cdrtools-compat
%if %{with faad}
BuildRequires: faad2-devel
%endif
#
BuildRequires: hicolor-icon-theme
BuildRequires: libcue-devel
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
BuildRequires: libmikmod-devel >= 3.2
BuildRequires: libmp3lame-devel
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
BuildRequires: meson >= 0.47.2
BuildRequires: pkgconfig
# MPD_ENABLE_AUTO_PKG
BuildRequires: pkgconfig(alsa) >= 0.9.0
BuildRequires: pkgconfig(ao)
BuildRequires: pkgconfig(audiofile) >= 0.3
BuildRequires: pkgconfig(avahi-client)
# MPD_ENABLE_AUTO_LIB
BuildRequires: libgcrypt-devel
BuildRequires: pkgconfig(bzip2)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(flac) >= 1.2
BuildRequires: pkgconfig(fluidsynth) >= 1.1
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
BuildRequires: pkgconfig(icu-i18n) >= 50
BuildRequires: pkgconfig(id3tag)
BuildRequires: pkgconfig(jack) >= 0.100
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
BuildRequires: pkgconfig(libavcodec) >= 56.1
BuildRequires: pkgconfig(libavformat) >= 56.1
BuildRequires: pkgconfig(libavutil) >= 54.3
BuildRequires: pkgconfig(libcdio) >= 2.0.0
BuildRequires: pkgconfig(libcdio_paranoia)
BuildRequires: pkgconfig(libchromaprint)
BuildRequires: pkgconfig(libcurl) >= 7.18
BuildRequires: pkgconfig(libgme)
%if %{with mpd_iso9660}
BuildRequires: pkgconfig(libiso9660)
%endif
BuildRequires: pkgconfig(libmms) >= 0.4
BuildRequires: pkgconfig(libmodplug)
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
BuildRequires: pkgconfig(libmpdclient) >= 2.9
BuildRequires: pkgconfig(libmpg123)
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
BuildRequires: pkgconfig(libnfs) >= 1.11
BuildRequires: pkgconfig(libpulse) >= 0.9.16
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libupnp)
BuildRequires: pkgconfig(mad)
BuildRequires: pkgconfig(ogg)
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(samplerate) >= 0.1.3
BuildRequires: pkgconfig(shine) >= 3.1
BuildRequires: pkgconfig(shout)
BuildRequires: pkgconfig(smbclient) >= 0.2
BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(soxr)
BuildRequires: pkgconfig(sqlite3) >= 3.7.3
BuildRequires: pkgconfig(twolame)
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(vorbisenc)
BuildRequires: pkgconfig(wavpack)
BuildRequires: pkgconfig(yajl) >= 2.0
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(zziplib) >= 0.13
Requires(pre): %fillup_prereq
Requires(pre): pwdutils
Requires(pre): shadow
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
%if 0%{?suse_version} >= 1500
BuildRequires: group(audio)
Requires(pre): group(audio)
%endif
%{?systemd_requires}
%description
A daemon for playing music (mp3, ogg vorbis, flac, and wav). Music is
played through the server's audio device. The daemon stores info
about all available music, and this info can be easily searched and
retrieved. Player control, info retrieval, and playlist management
can all be managed remotely. There a bunch of clients to control mpd:
for Gnome, KDE, console and Apache (PHP).
Please read README.mpd how to configure it.
%prep
%autosetup -p1
%build
export CC=gcc
export CXX=g++
test -x "$(type -p gcc-7)" && export CC=gcc-7
test -x "$(type -p g++-7)" && export CXX=g++-7
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
%meson \
-Dsidplay=disabled \
-Dfaad=disabled \
-Diso9660=disabled \
-Dsyslog=enabled \
-Deventfd=true \
-Dsignalfd=true \
-Depoll=true \
-Ddatabase=true \
-Ddaemon=true \
-Ddocumentation=false \
-Ddsd=true \
-Dfifo=true \
-Dhttpd=true \
-Dinotify=true \
-Dipv6=enabled \
-Dsoundcloud=disabled \
-Dlibwrap=disabled \
-Dmikmod=enabled \
-Dopenal=enabled \
-Doss=disabled \
-Dpipe=true \
-Drecorder=true \
-Dshout=enabled \
-Dsolaris_output=enabled \
-Dtcp=true \
-Dtest=false \
-Dlocal_socket=true \
-Dvorbis=enabled \
-Dwave_encoder=true \
-Dicu=enabled \
-Diconv=enabled \
-Dsystemd=enabled \
-Dlibmpdclient=enabled \
-Dexpat=enabled \
-Did3tag=enabled \
-Dsqlite=enabled \
-Dlibsamplerate=enabled \
-Dsoxr=enabled \
-Dcurl=enabled \
-Dsmbclient=enabled \
-Dnfs=enabled \
-Dcdio_paranoia=enabled \
-Dmms=enabled \
-Dwebdav=enabled \
-Dcue=true \
-Dneighbor=true \
%if %{with mpd_iso9660}
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
-Diso9660=enabled \
%endif
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
-Dzlib=enabled \
-Dbzip2=enabled \
-Dupnp=enabled \
-Dzzip=enabled \
-Dadplug=disabled \
-Daudiofile=enabled \
%if %{with faad}
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
-Dfaad=enabled \
%endif
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
-Dffmpeg=enabled \
-Dflac=enabled \
-Dfluidsynth=enabled \
-Dgme=enabled \
-Dmad=enabled \
-Dmpg123=enabled \
-Dmodplug=enabled \
-Dopus=enabled \
-Dsndfile=enabled \
-Dmpcdec=disabled \
-Dwavpack=enabled \
-Dwildmidi=disabled \
-Dshine=enabled \
-Dvorbisenc=enabled \
-Dlame=enabled \
-Dtwolame=enabled \
-Dalsa=enabled \
-Dsndio=disabled \
-Djack=enabled \
-Dao=enabled \
-Dpulse=enabled \
-Dsystemd_system_unit_dir=%{_unitdir} \
-Dsystemd_user_unit_dir=%{_userunitdir}
%meson_build
%install
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
%meson_install
# missing dirs
install -d \
%{buildroot}%{_localstatedir}/lib/%{name}/playlists \
%{buildroot}%{_sbindir}
# additional docs
install -m 0644 %{SOURCE2} README.mpd
cp -a "%{SOURCE3}" "%{buildroot}%{_docdir}/%{name}/"
ln -s service %{buildroot}%{_sbindir}/rcmpd
%pre
# add mpd user only when installing first time
getent passwd mpd >/dev/null || useradd -r -g audio -d %{_localstatedir}/lib/mpd -s /sbin/nologin -c "user for mpd" mpd
%service_add_pre mpd.service mpd.socket
%post
%service_add_post mpd.service mpd.socket
%preun
%service_del_preun mpd.service mpd.socket
%postun
%service_del_postun mpd.service mpd.socket
%files
%license COPYING
Accepting request 647671 from home:alois:branches:multimedia:apps - Update to version 0.21.1, fixes (boo#1114607) * protocol + allow escaping quotes in filter expressions + operator "==" never searches substrings in filter expressions * decoder + ffmpeg: fix build failure with non-standard FFmpeg installation path + flac: fix linker failure when building without FLAC support * encoder + vorbis: fix linker failure when building without Vorbis decoder * fix build failure on Linux-PowerPC * add warning about buggy Boost version 1.67 * require Meson 0.47.2 because a Meson 0.47.1 bug breaks our build version 0.21 * configuration + add "include" directive, allows including config files + incremental "metadata_to_use" setting * protocol + "tagtypes" can be used to hide tags + "find" and "search" can sort + "outputs" prints the plugin name + "outputset" sets runtime attributes + close connection when client sends HTTP request + new filter syntax for "find"/"search" etc. with negation * database + simple: scan audio formats + proxy: require libmpdclient 2.9 + proxy: forward `sort` and `window` to server * player + hard-code "buffer_before_play" to 1 second, independent of audio format + "one-shot" single mode * input + curl: download to buffer instead of throttling transfer + qobuz: new plugin to play Qobuz streams + tidal: new plugin to play Tidal streams * tags + new tags "OriginalDate", "MUSICBRAINZ_WORKID" * decoder + ffmpeg: require at least version 11.12 + gme: try loading m3u sidecar files + hybrid_dsd: new decoder plugin + mad: move "gapless_mp3_playback" setting to "decoder" block + mikmod: require at least version 3.2 + pcm: support audio/L24 (RFC 3190) + sidplay: support basic and kernal rom (libsidplayfp) * resampler + soxr: flush resampler at end of song * output + alsa: non-blocking mode + alsa: change "dop" and "allowed_formats" settings at runtime + ao: fix crash bug due to partial frames + shout: support the Shine encoder plugin + sndio: remove support for the broken RoarAudio sndio emulation + roar: removed + httpd_output: support for unix sockets * mixer + sndio: new mixer plugin * encoder + opus: support for sending metadata using ogg stream chaining * listen on $XDG_RUNTIME_DIR/mpd/socket by default * append hostname to Zeroconf service name * systemd watchdog support * require GCC 6 * build with Meson instead of autotools * use GTest instead of cppunit version 0.20.23 * protocol + emit "player" idle event when restarting the current song * fix broken float to s32 conversion * new clang crash bug workaround - Dropped mpd-configh.patch (no longer necessary) - Added mpd-zlib.patch, mpd-docs.patch and mpd-sndfile.patch - Switched build to meson OBS-URL: https://build.opensuse.org/request/show/647671 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=19
2018-11-11 12:49:47 +01:00
%doc README.mpd
%config(noreplace) %{_sysconfdir}/%{name}.conf
%{_bindir}/%{name}
%{_sbindir}/rcmpd
%attr(0755,mpd,audio) %{_localstatedir}/lib/%{name}
Accepting request 561086 from home:alois:branches:multimedia:apps - Update to version 0.20.14 (2018/01/01) * database - simple: fix file corruption in the presence of mount points * archive - bz2: fix deadlock - reduce lock contention, fixing lots of xrun problems ver 0.20.13 (2017/12/18) * mixer - alsa: fix rounding errors * database - simple: don't purge mount points on update/rescan - simple: fix "mount" bug caused by bad compiler optimization - simple: fix "lsinfo" into mount points - upnp: work around libupnp 1.6.24 API breakage * queue: fix spuriously misplaced prioritized songs * save and restore mountpoints within the state file ver 0.20.12 (2017/11/25) * database - upnp: adapt to libupnp 1.8 API changes * input - cdio_paranoia, ffmpeg, file, smbclient: reduce lock contention, fixing lots of xrun problems - curl: fix seeking * decoder - ffmpeg: fix GCC 8 warning - vorbis: fix Tremor support * player - log message when decoder is too slow * encoder - vorbis: default to quality 3 * output - fix hanging playback with soxr resampler - httpd: flush encoder after tag; fixes corrupt Vorbis stream ver 0.20.11 (2017/10/18) * storage - curl: support Content-Type application/xml * decoder - ffmpeg: more reliable song duration - gme: fix track numbering * improve random song order when switching songs manually * fix case insensitive search without libicu * fix endless loop when accessing malformed file names in ZIP files ver 0.20.10 (2017/08/24) * decoder - ffmpeg: support MusicBrainz ID3v2 tags * tags - aiff: fix FORM chunk size endianess (is big-endian) * fix crash when resuming playback before decoder is ready OBS-URL: https://build.opensuse.org/request/show/561086 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=3
2018-01-02 10:58:39 +01:00
%{_mandir}/man1/%{name}.1%{ext_man}
%{_mandir}/man5/%{name}.conf.5%{ext_man}
%dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_unitdir}/mpd.service
%{_unitdir}/mpd.socket
%{_userunitdir}/mpd.service
%changelog