]> git.pld-linux.org Git - packages/mpd.git/commitdiff
- audiofile bcond, disabled (audiofile missing currently in th) auto/th/mpd-0_16_3-7
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 1 Oct 2011 21:36:28 +0000 (21:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mpd.spec -> 1.72

mpd.spec

index c512cde0c6f9bca6ef4a0123b962beca65a1a8b2..ec4d25888f18274364f9b6f21ec3fcd038775d41 100644 (file)
--- a/mpd.spec
+++ b/mpd.spec
@@ -4,13 +4,14 @@
 # Conditional build:
 %bcond_without mod             # enable MOD support
 %bcond_without pulseaudio      # disable PulseAudio support
+%bcond_with            audiofile       # Audiofile support (WAV and others)
 
 Summary:       Music Player Daemon
 Summary(hu.UTF-8):     Music Player Daemon
 Summary(pl.UTF-8):     Music Player Daemon - demon odtwarzający muzykę
 Name:          mpd
 Version:       0.16.3
-Release:       6
+Release:       7
 License:       GPL v2+
 Group:         Applications/Multimedia
 Source0:       http://downloads.sourceforge.net/musicpd/%{name}-%{version}.tar.bz2
@@ -22,7 +23,7 @@ URL:          http://www.musicpd.org/
 Patch0:                %{name}-ffmpeg_sigsegv.patch
 BuildRequires: OpenAL-devel
 BuildRequires: alsa-lib-devel >= 0.9.0
-BuildRequires: audiofile-devel >= 0.1.7
+%{?with_audiofile:BuildRequires:       audiofile-devel >= 0.1.7}
 BuildRequires: avahi-glib-devel
 BuildRequires: bzip2-devel
 BuildRequires: curl-devel
@@ -131,7 +132,7 @@ GME_CFLAGS="-I/usr/include/gme" GME_LIBS="-lgme" \
        --disable-sidplay \
        --enable-alsa \
        --enable-ao \
-       --enable-audiofile \
+       %{?with_audiofile:--enable-audiofile} \
        --enable-bzip2 \
        --enable-cue \
        --enable-curl \
This page took 1.110248 seconds and 4 git commands to generate.