commit:     798b39d002de345abe0eaae950a3a3c89192d76e
Author:     sqozz <sqozz <AT> geekify <DOT> de>
AuthorDate: Fri Sep  1 19:35:49 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Nov 11 21:02:53 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=798b39d0

media-sound/mpd: Add webdav use flag

Committer-comment: Added missing IUSE description and curl REQUIRED_USE.
Closes: https://bugs.gentoo.org/629564

 media-sound/mpd/metadata.xml       | 1 +
 media-sound/mpd/mpd-0.20.10.ebuild | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-sound/mpd/metadata.xml b/media-sound/mpd/metadata.xml
index a824cdeb5ff..44d02733ce2 100644
--- a/media-sound/mpd/metadata.xml
+++ b/media-sound/mpd/metadata.xml
@@ -35,6 +35,7 @@
     <flag name="soundcloud">Build plugin to access soundcloud</flag>
     <flag name="systemd">Enable support for systemd socket activation</flag>
     <flag name="twolame">Support twolame MPEG-2 encoding</flag>
+    <flag name="webdav">Enable using music from a WebDAV share</flag>
     <flag name="wildmidi">Enable MIDI support via wildmidi</flag>
     <flag name="zip">Support for ZIP files</flag>
   </use>

diff --git a/media-sound/mpd/mpd-0.20.10.ebuild 
b/media-sound/mpd/mpd-0.20.10.ebuild
index 7e3851e85ed..dcde1d4cc46 100644
--- a/media-sound/mpd/mpd-0.20.10.ebuild
+++ b/media-sound/mpd/mpd-0.20.10.ebuild
@@ -17,7 +17,7 @@ IUSE="adplug +alsa ao audiofile bzip2 cdio +curl debug 
+eventfd expat faad
        lame mms libav libmpdclient libsamplerate libsoxr +mad mikmod modplug
        mpg123 musepack +network nfs ogg openal opus oss pipe pulseaudio 
recorder
        samba selinux sid +signalfd sndfile soundcloud sqlite systemd tcpd 
twolame
-       unicode upnp vorbis wavpack wildmidi zeroconf zip zlib"
+       unicode upnp vorbis wavpack wildmidi zeroconf zip zlib webdav"
 
 OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder"
 DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod
@@ -31,6 +31,7 @@ REQUIRED_USE="
        recorder? ( || ( ${ENCODER_PLUGINS} ) )
        opus? ( ogg )
        upnp? ( expat )
+       webdav? ( curl expat )
 "
 
 CDEPEND="!<sys-cluster/mpich2-1.4_rc2
@@ -220,6 +221,7 @@ src_configure() {
                $(use_enable wildmidi)
                $(use_enable zip zzip)
                $(use_enable icu)
+               $(use_enable webdav)
                $(use_enable faad aac)
                $(use_with zeroconf zeroconf avahi)
                --with-systemdsystemunitdir=$(systemd_get_systemunitdir)

Reply via email to