media-sound/mpd: Add webdav use flag
authorsqozz <sqozz@geekify.de>
Fri, 1 Sep 2017 19:35:49 +0000 (21:35 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 11 Nov 2017 21:02:53 +0000 (22:02 +0100)
Committer-comment: Added missing IUSE description and curl REQUIRED_USE.
Closes: https://bugs.gentoo.org/629564

media-sound/mpd/metadata.xml
media-sound/mpd/mpd-0.20.10.ebuild

index a824cdeb5ff08e8b7a5e9138f964ddf4675a2aad..44d02733ce25864442b4c268951f54c86670b78f 100644 (file)
@@ -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>
index 7e3851e85edd345cc783118f6b1a11b2e53937f1..dcde1d4cc4680c8579b1c9b067f9de2cd6a15d5e 100644 (file)
@@ -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)