From d758a9ffb4fe70453085783d63e67a8f5814c1f0 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Sun, 27 May 2018 15:44:50 +0200 Subject: media-sound/mpd: remove opts variable from init script This variable should never have been used in the first place because it is reserved to OpenRC. It is unlikely that this variable was ever used because mpd exposes no interesting command-line options and Gentoo never provided an associated conf.d file either. Closes: https://bugs.gentoo.org/645664 Package-Manager: Portage-2.3.38, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8621 --- media-sound/mpd/files/mpd-0.20.4.init | 4 +- media-sound/mpd/mpd-0.20.12-r1.ebuild | 268 ++++++++++++++++++++++++++++++++++ media-sound/mpd/mpd-0.20.12.ebuild | 268 ---------------------------------- 3 files changed, 270 insertions(+), 270 deletions(-) create mode 100644 media-sound/mpd/mpd-0.20.12-r1.ebuild delete mode 100644 media-sound/mpd/mpd-0.20.12.ebuild diff --git a/media-sound/mpd/files/mpd-0.20.4.init b/media-sound/mpd/files/mpd-0.20.4.init index 3eb0bc2bcb82..0a4c61677bcb 100644 --- a/media-sound/mpd/files/mpd-0.20.4.init +++ b/media-sound/mpd/files/mpd-0.20.4.init @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 : CFGFILE=${CFGFILE:=/etc/mpd.conf} @@ -20,7 +20,7 @@ get_config() { extra_started_commands='reload' command=/usr/bin/mpd -command_args=${opts:=${CFGFILE}} +command_args=${CFGFILE} required_files=${CFGFILE} pidfile=$(get_config pid_file) description="Music Player Daemon" diff --git a/media-sound/mpd/mpd-0.20.12-r1.ebuild b/media-sound/mpd/mpd-0.20.12-r1.ebuild new file mode 100644 index 000000000000..413a9c53b120 --- /dev/null +++ b/media-sound/mpd/mpd-0.20.12-r1.ebuild @@ -0,0 +1,268 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools flag-o-matic linux-info systemd user + +DESCRIPTION="The Music Player Daemon (mpd)" +HOMEPAGE="https://www.musicpd.org https://github.com/MusicPlayerDaemon/MPD" +SRC_URI="https://www.musicpd.org/download/${PN}/${PV%.*}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sh ~x86 ~x86-fbsd ~x64-macos" +IUSE="adplug +alsa ao audiofile bzip2 cdio +curl debug +eventfd expat faad + +fifo +ffmpeg flac fluidsynth gme +icu +id3tag +inotify +ipv6 jack + 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 webdav" + +OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder" +DECODER_PLUGINS="adplug audiofile faad ffmpeg flac fluidsynth mad mikmod + modplug mpg123 musepack ogg flac sid vorbis wavpack wildmidi" +ENCODER_PLUGINS="audiofile flac lame twolame vorbis" + +REQUIRED_USE=" + || ( ${OUTPUT_PLUGINS} ) + || ( ${DECODER_PLUGINS} ) + network? ( || ( ${ENCODER_PLUGINS} ) ) + recorder? ( || ( ${ENCODER_PLUGINS} ) ) + opus? ( ogg ) + upnp? ( expat ) + webdav? ( curl expat ) +" + +CDEPEND=" + adplug? ( media-libs/adplug ) + alsa? ( + media-libs/alsa-lib + media-sound/alsa-utils + ) + ao? ( media-libs/libao[alsa?,pulseaudio?] ) + audiofile? ( media-libs/audiofile ) + bzip2? ( app-arch/bzip2 ) + cdio? ( + dev-libs/libcdio:= + dev-libs/libcdio-paranoia + ) + curl? ( net-misc/curl ) + expat? ( dev-libs/expat ) + faad? ( media-libs/faad2 ) + ffmpeg? ( + libav? ( media-video/libav:0= ) + !libav? ( media-video/ffmpeg:0= ) + ) + flac? ( media-libs/flac[ogg?] ) + fluidsynth? ( media-sound/fluidsynth ) + gme? ( >=media-libs/game-music-emu-0.6.0_pre20120802 ) + icu? ( dev-libs/icu:= ) + id3tag? ( media-libs/libid3tag ) + jack? ( virtual/jack ) + lame? ( network? ( media-sound/lame ) ) + libmpdclient? ( media-libs/libmpdclient ) + libsamplerate? ( media-libs/libsamplerate ) + libsoxr? ( media-libs/soxr ) + mad? ( media-libs/libmad ) + mikmod? ( media-libs/libmikmod:0 ) + mms? ( media-libs/libmms ) + modplug? ( media-libs/libmodplug ) + mpg123? ( >=media-sound/mpg123-1.12.2 ) + musepack? ( media-sound/musepack-tools ) + network? ( + >=media-libs/libshout-2 + !lame? ( !vorbis? ( media-libs/libvorbis ) ) + ) + nfs? ( net-fs/libnfs ) + ogg? ( media-libs/libogg ) + openal? ( media-libs/openal ) + opus? ( media-libs/opus ) + pulseaudio? ( media-sound/pulseaudio ) + samba? ( >=net-fs/samba-4.0.25 ) + sid? ( || ( + media-libs/libsidplay:2 + media-libs/libsidplayfp + ) ) + sndfile? ( media-libs/libsndfile ) + soundcloud? ( >=dev-libs/yajl-2:= ) + sqlite? ( dev-db/sqlite:3 ) + systemd? ( sys-apps/systemd ) + tcpd? ( sys-apps/tcp-wrappers ) + twolame? ( media-sound/twolame ) + upnp? ( net-libs/libupnp:= ) + vorbis? ( media-libs/libvorbis ) + wavpack? ( media-sound/wavpack ) + wildmidi? ( media-sound/wildmidi ) + zeroconf? ( net-dns/avahi[dbus] ) + zip? ( dev-libs/zziplib ) + zlib? ( sys-libs/zlib )" +DEPEND="${CDEPEND} + dev-libs/boost + virtual/pkgconfig" +RDEPEND="${CDEPEND} + !