From 3c9867abc4fa6bd64b2b66d8325a67efb6295f24 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 6 Feb 2024 05:21:48 +0000 Subject: media-sound/mpd : use gentoo ebuild --- media-sound/mpd/files/mpd-0.21.1.logrotate | 9 ------- media-sound/mpd/files/mpd-0.21.4.init | 34 ------------------------ media-sound/mpd/files/mpd-0.23.13-ffmpeg61.patch | 11 -------- 3 files changed, 54 deletions(-) delete mode 100644 media-sound/mpd/files/mpd-0.21.1.logrotate delete mode 100644 media-sound/mpd/files/mpd-0.21.4.init delete mode 100644 media-sound/mpd/files/mpd-0.23.13-ffmpeg61.patch (limited to 'media-sound/mpd/files') diff --git a/media-sound/mpd/files/mpd-0.21.1.logrotate b/media-sound/mpd/files/mpd-0.21.1.logrotate deleted file mode 100644 index 597c4fb2..00000000 --- a/media-sound/mpd/files/mpd-0.21.1.logrotate +++ /dev/null @@ -1,9 +0,0 @@ -/var/lib/mpd/log { - missingok - weekly - delaycompress - compress - postrotate - /etc/init.d/mpd --quiet reload - endscript -} diff --git a/media-sound/mpd/files/mpd-0.21.4.init b/media-sound/mpd/files/mpd-0.21.4.init deleted file mode 100644 index 72fede85..00000000 --- a/media-sound/mpd/files/mpd-0.21.4.init +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -: CFGFILE=${CFGFILE:=/etc/mpd.conf} - -depend() { - need localmount - use net netmount nfsmount alsasound esound pulseaudio - config ${CFGFILE} -} - -get_config() { - x=$1 - test -e ${CFGFILE} || return 1 - sed -n \ - -e '/^[ \t]*'${x}'/{s:^[ \t]*'${x}'[ \t]\+"\?\([^#"]\+\)[^"]*"\?$:\1: ; p }' \ - ${CFGFILE} -} - -extra_started_commands='reload' -# Required by io_uring -rc_ulimit="-l 65535" -command=/usr/bin/mpd -command_args=${CFGFILE} -required_files=${CFGFILE} -pidfile=$(get_config pid_file) -description="Music Player Daemon" - -reload() { - ebegin "Reloading ${RC_SVCNAME}" - start-stop-daemon --pidfile ${pidfile} --signal HUP - eend $? - } diff --git a/media-sound/mpd/files/mpd-0.23.13-ffmpeg61.patch b/media-sound/mpd/files/mpd-0.23.13-ffmpeg61.patch deleted file mode 100644 index 1f6cb51b..00000000 --- a/media-sound/mpd/files/mpd-0.23.13-ffmpeg61.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Nur a/src/decoder/plugins/FfmpegIo.cxx b/src/decoder/plugins/FfmpegIo.cxx ---- a/src/decoder/plugins/FfmpegIo.cxx 2023-05-22 18:46:38.000000000 +0100 -+++ b/src/decoder/plugins/FfmpegIo.cxx 2023-12-17 16:45:32.172757417 +0000 -@@ -26,6 +26,7 @@ - - extern "C" { - #include -+#include - } - - AvioStream::~AvioStream() -- cgit v1.2.3