commit:     83d8f74170bb77974402118b602ef0ced36b2777
Author:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 21 00:12:17 2020 +0000
Commit:     Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Fri Aug 21 00:12:17 2020 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=83d8f741

Drop dated ebuilds that have not been touched in while

Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>

 mate-extra/mate-power-manager/Manifest             |   1 -
 .../files/musl-fix-compile-execinfo.patch          |  56 ----
 .../files/musl-fix-remove-backtrace.patch          | 152 -----------
 .../mate-power-manager-1.18.1.ebuild               |  71 -----
 mate-extra/mate-power-manager/metadata.xml         |  14 -
 media-sound/mpd/Manifest                           |   1 -
 media-sound/mpd/files/mpd-0.18.conf.patch          |  78 ------
 media-sound/mpd/files/mpd-0.21.1.logrotate         |   9 -
 .../mpd/files/mpd-0.21.18-fix-stacksize.patch      |  31 ---
 media-sound/mpd/files/mpd-0.21.4.init              |  32 ---
 media-sound/mpd/metadata.xml                       |  42 ---
 media-sound/mpd/mpd-0.21.18-r1.ebuild              | 299 ---------------------
 12 files changed, 786 deletions(-)

diff --git a/mate-extra/mate-power-manager/Manifest 
b/mate-extra/mate-power-manager/Manifest
deleted file mode 100644
index f8466fd..0000000
--- a/mate-extra/mate-power-manager/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mate-power-manager-1.18.1.tar.xz 3210144 BLAKE2B 
7ab427acefd02b4aeea6fa2dd3052e2eaa9de3231ed9f8aa7b81af3a46fbf15da20925b568364ff802598738a7c3387d1b1fa620bef3ff2fd5522bb6247c2f3c
 SHA512 
f4b42f66607e54020901f1f686cb018962c419294e50e0b37724bfddb462cf98a2e74e7ed980c3fe968873ca3848ff401839b39f53f1b40876773bfbf91b51c1

diff --git 
a/mate-extra/mate-power-manager/files/musl-fix-compile-execinfo.patch 
b/mate-extra/mate-power-manager/files/musl-fix-compile-execinfo.patch
deleted file mode 100644
index 2c07ef1..0000000
--- a/mate-extra/mate-power-manager/files/musl-fix-compile-execinfo.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From f117ad21ce676d67df265e522bfc1047118958ba Mon Sep 17 00:00:00 2001
-From: Alan Lacerda <[email protected]>
-Date: Thu, 16 Apr 2015 18:53:43 +0000
-Subject: [PATCH] execinfo patch
-
----
- applets/brightness/egg-debug.c | 2 ++
- applets/inhibit/egg-debug.c    | 2 ++
- src/egg-debug.c                | 2 ++
- 3 files changed, 6 insertions(+)
-
-diff --git a/applets/brightness/egg-debug.c b/applets/brightness/egg-debug.c
-index 2f140f2..3a8e6e7 100644
---- a/applets/brightness/egg-debug.c
-+++ b/applets/brightness/egg-debug.c
-@@ -39,7 +39,9 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <time.h>
-+#if defined (__GLIBC__)
- #include <execinfo.h>
-+#endif
- 
- #include "egg-debug.h"
- 
-diff --git a/applets/inhibit/egg-debug.c b/applets/inhibit/egg-debug.c
-index 2f140f2..3a8e6e7 100644
---- a/applets/inhibit/egg-debug.c
-+++ b/applets/inhibit/egg-debug.c
-@@ -39,7 +39,9 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <time.h>
-+#if defined (__GLIBC__)
- #include <execinfo.h>
-+#endif
- 
- #include "egg-debug.h"
- 
-diff --git a/src/egg-debug.c b/src/egg-debug.c
-index 2f140f2..3a8e6e7 100644
---- a/src/egg-debug.c
-+++ b/src/egg-debug.c
-@@ -39,7 +39,9 @@
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <time.h>
-+#if defined (__GLIBC__)
- #include <execinfo.h>
-+#endif
- 
- #include "egg-debug.h"
- 
--- 
-2.3.3
-

diff --git 
a/mate-extra/mate-power-manager/files/musl-fix-remove-backtrace.patch 
b/mate-extra/mate-power-manager/files/musl-fix-remove-backtrace.patch
deleted file mode 100644
index 536991b..0000000
--- a/mate-extra/mate-power-manager/files/musl-fix-remove-backtrace.patch
+++ /dev/null
@@ -1,152 +0,0 @@
-From b8907c90dec6a7f6fc2a3c682ddb48d4ebf8406e Mon Sep 17 00:00:00 2001
-From: Alan Lacerda <[email protected]>
-Date: Fri, 17 Apr 2015 11:34:47 +0000
-Subject: [PATCH] removing backtrace
-
----
- applets/brightness/egg-debug.c | 28 ----------------------------
- applets/inhibit/egg-debug.c    | 28 ----------------------------
- src/egg-debug.c                | 28 ----------------------------
- 3 files changed, 84 deletions(-)
-
-diff --git a/applets/brightness/egg-debug.c b/applets/brightness/egg-debug.c
-index 3a8e6e7..b06b540 100644
---- a/applets/brightness/egg-debug.c
-+++ b/applets/brightness/egg-debug.c
-@@ -75,31 +75,6 @@ pk_set_console_mode (guint console_code)
- }
- 
- /**
-- * egg_debug_backtrace:
-- **/
--void
--egg_debug_backtrace (void)
--{
--      void *call_stack[512];
--      int  call_stack_size;
--      char **symbols;
--      int i = 1;
--
--      call_stack_size = backtrace (call_stack, G_N_ELEMENTS (call_stack));
--      symbols = backtrace_symbols (call_stack, call_stack_size);
--      if (symbols != NULL) {
--              pk_set_console_mode (CONSOLE_RED);
--              g_print ("Traceback:\n");
--              while (i < call_stack_size) {
--                      g_print ("\t%s\n", symbols[i]);
--                      i++;
--              }
--              pk_set_console_mode (CONSOLE_RESET);
--              free (symbols);
--      }
--}
--
--/**
-  * pk_log_line:
-  **/
- static void
-@@ -229,9 +204,6 @@ egg_error_real (const gchar *func, const gchar *file, 
const int line, const gcha
-       pk_print_line (func, file, line, buffer, CONSOLE_RED);
-       g_free(buffer);
- 
--      /* we want to fix this! */
--      egg_debug_backtrace ();
--
-       exit (1);
- }
- 
-diff --git a/applets/inhibit/egg-debug.c b/applets/inhibit/egg-debug.c
-index 3a8e6e7..b06b540 100644
---- a/applets/inhibit/egg-debug.c
-+++ b/applets/inhibit/egg-debug.c
-@@ -75,31 +75,6 @@ pk_set_console_mode (guint console_code)
- }
- 
- /**
-- * egg_debug_backtrace:
-- **/
--void
--egg_debug_backtrace (void)
--{
--      void *call_stack[512];
--      int  call_stack_size;
--      char **symbols;
--      int i = 1;
--
--      call_stack_size = backtrace (call_stack, G_N_ELEMENTS (call_stack));
--      symbols = backtrace_symbols (call_stack, call_stack_size);
--      if (symbols != NULL) {
--              pk_set_console_mode (CONSOLE_RED);
--              g_print ("Traceback:\n");
--              while (i < call_stack_size) {
--                      g_print ("\t%s\n", symbols[i]);
--                      i++;
--              }
--              pk_set_console_mode (CONSOLE_RESET);
--              free (symbols);
--      }
--}
--
--/**
-  * pk_log_line:
-  **/
- static void
-@@ -229,9 +204,6 @@ egg_error_real (const gchar *func, const gchar *file, 
const int line, const gcha
-       pk_print_line (func, file, line, buffer, CONSOLE_RED);
-       g_free(buffer);
- 
--      /* we want to fix this! */
--      egg_debug_backtrace ();
--
-       exit (1);
- }
- 
-diff --git a/src/egg-debug.c b/src/egg-debug.c
-index 3a8e6e7..b06b540 100644
---- a/src/egg-debug.c
-+++ b/src/egg-debug.c
-@@ -75,31 +75,6 @@ pk_set_console_mode (guint console_code)
- }
- 
- /**
-- * egg_debug_backtrace:
-- **/
--void
--egg_debug_backtrace (void)
--{
--      void *call_stack[512];
--      int  call_stack_size;
--      char **symbols;
--      int i = 1;
--
--      call_stack_size = backtrace (call_stack, G_N_ELEMENTS (call_stack));
--      symbols = backtrace_symbols (call_stack, call_stack_size);
--      if (symbols != NULL) {
--              pk_set_console_mode (CONSOLE_RED);
--              g_print ("Traceback:\n");
--              while (i < call_stack_size) {
--                      g_print ("\t%s\n", symbols[i]);
--                      i++;
--              }
--              pk_set_console_mode (CONSOLE_RESET);
--              free (symbols);
--      }
--}
--
--/**
-  * pk_log_line:
-  **/
- static void
-@@ -229,9 +204,6 @@ egg_error_real (const gchar *func, const gchar *file, 
const int line, const gcha
-       pk_print_line (func, file, line, buffer, CONSOLE_RED);
-       g_free(buffer);
- 
--      /* we want to fix this! */
--      egg_debug_backtrace ();
--
-       exit (1);
- }
- 
--- 
-2.3.3
-

diff --git a/mate-extra/mate-power-manager/mate-power-manager-1.18.1.ebuild 
b/mate-extra/mate-power-manager/mate-power-manager-1.18.1.ebuild
deleted file mode 100644
index 1d0a1a3..0000000
--- a/mate-extra/mate-power-manager/mate-power-manager-1.18.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit mate
-
-if [[ ${PV} != 9999 ]]; then
-       KEYWORDS="amd64 ~arm ~arm64 x86"
-fi
-
-DESCRIPTION="A session daemon for MATE that makes it easy to manage your 
laptop or desktop"
-LICENSE="GPL-2"
-SLOT="0"
-
-IUSE="+applet gnome-keyring policykit systemd test"
-
-# Interactive testsuite.
-RESTRICT="test"
-
-COMMON_DEPEND=">=dev-libs/dbus-glib-0.70:0
-       >=dev-libs/glib-2.36:2
-       >=media-libs/libcanberra-0.10:0[gtk3]
-       >=sys-apps/dbus-1:0
-       >=x11-apps/xrandr-1.3:0
-       >=x11-libs/cairo-1:0
-       >=x11-libs/gdk-pixbuf-2.11:2
-       >=x11-libs/gtk+-3.14:3
-       x11-libs/libX11:0
-       x11-libs/libXext:0
-       x11-libs/libXrandr:0
-       >=x11-libs/libnotify-0.7:0
-       x11-libs/pango:0
-       applet? ( >=mate-base/mate-panel-1.17.0 )
-       gnome-keyring? ( >=gnome-base/libgnome-keyring-3:0 )
-       >=sys-power/upower-0.9.23:=
-       systemd? ( sys-apps/systemd )
-       !systemd? ( >=sys-auth/consolekit-0.9.2 )"
-
-RDEPEND="${COMMON_DEPEND}
-       policykit? ( >=mate-extra/mate-polkit-1.6 )"
-
-DEPEND="${COMMON_DEPEND}
-       app-text/docbook-xml-dtd:4.3
-       app-text/rarian:0
-       >=app-text/scrollkeeper-dtd-1:1.0
-       app-text/yelp-tools:0
-       >=dev-util/intltool-0.50.1:*
-       sys-devel/gettext:*
-       virtual/pkgconfig:*
-       x11-base/xorg-proto"
-
-src_prepare() {
-       eapply "${FILESDIR}/musl-fix-compile-execinfo.patch"
-       eapply "${FILESDIR}/musl-fix-remove-backtrace.patch"
-       eapply_user
-}
-
-src_configure() {
-       mate_src_configure \
-               --enable-compile-warnings=minimum \
-               $(use_with gnome-keyring keyring) \
-               $(use_enable applet applets) \
-               $(use_enable test tests)
-}
-
-src_test() {
-       unset DBUS_SESSION_BUS_ADDRESS
-
-       dbus-launch Xemake check || die "Test phase failed"
-}

diff --git a/mate-extra/mate-power-manager/metadata.xml 
b/mate-extra/mate-power-manager/metadata.xml
deleted file mode 100644
index ff952f0..0000000
--- a/mate-extra/mate-power-manager/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Gentoo MATE Desktop</name>
-       </maintainer>
-       <use>
-               <flag name="applet">Enable building of the MATE applet.</flag>
-       </use>
-       <upstream>
-               <remote-id 
type="github">mate-desktop/mate-power-manager</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/media-sound/mpd/Manifest b/media-sound/mpd/Manifest
deleted file mode 100644
index cc39c32..0000000
--- a/media-sound/mpd/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mpd-0.21.18.tar.xz 676084 BLAKE2B 
f55ea278da4b50bf24da476ed9e3ff50a8130215702fb5c4a0accdbfeb00ed734983034ce6ee0542623e42d488555b1c709acefbba026f0e01f17f25f749b833
 SHA512 
68b4d9dc4be8454d7ef92df2a7b42513dc2d97bfd6b11ba99bce6709fc58ccbeab05419863bacb7a3427f1325bc88da74f9f4b48206222349085f02d0135e1a8

diff --git a/media-sound/mpd/files/mpd-0.18.conf.patch 
b/media-sound/mpd/files/mpd-0.18.conf.patch
deleted file mode 100644
index d71056f..0000000
--- a/media-sound/mpd/files/mpd-0.18.conf.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-diff --git a/doc/mpdconf.dist b/doc/mpdconf.dist
-index 470a5c9..9f595a6 100644
---- a/doc/mpdconf.dist
-+++ b/doc/mpdconf.dist
-@@ -10,14 +10,14 @@
- # be disabled and audio files will only be accepted over ipc socket (using
- # file:// protocol) or streaming files over an accepted protocol.
- #
--#music_directory              "~/music"
-+music_directory                       "/var/lib/mpd/music"
- #
- # This setting sets the MPD internal playlist directory. The purpose of this
- # directory is storage for playlists created by MPD. The server will use 
- # playlist files not created by the server but only if they are in the MPD
- # format. This setting defaults to playlist saving being disabled.
- #
--#playlist_directory           "~/.mpd/playlists"
-+playlist_directory            "/var/lib/mpd/playlists"
- #
- # This setting sets the location of the MPD database. This file is used to
- # load the database at server start up and store the database while the 
-@@ -25,7 +25,7 @@
- # MPD to accept files over ipc socket (using file:// protocol) or streaming
- # files over an accepted protocol.
- #
--#db_file                      "~/.mpd/database"
-+db_file                       "/var/lib/mpd/database"
- # 
- # These settings are the locations for the daemon log files for the daemon.
- # These logs are great for troubleshooting, depending on your log_level
-@@ -34,20 +34,20 @@
- # The special value "syslog" makes MPD use the local syslog daemon. This
- # setting defaults to logging to syslog, otherwise logging is disabled.
- #
--#log_file                     "~/.mpd/log"
-+log_file                      "/var/lib/mpd/log"
- #
- # This setting sets the location of the file which stores the process ID
--# for use of mpd --kill and some init scripts. This setting is disabled by
--# default and the pid file will not be stored.
-+# for use of mpd --kill and some init scripts. This setting is required when
-+# using the Gentoo init script.
- #
--#pid_file                     "~/.mpd/pid"
-+pid_file                      "/var/lib/mpd/pid"
- #
- # This setting sets the location of the file which contains information about
- # most variables to get MPD back into the same general shape it was in before
- # it was brought down. This setting is disabled by default and the server 
- # state will be reset on server start up.
- #
--#state_file                   "~/.mpd/state"
-+state_file                    "/var/lib/mpd/state"
- #
- # The location of the sticker database.  This is a database which
- # manages dynamic information attached to songs.
-@@ -64,7 +64,7 @@
- # initialization. This setting is disabled by default and MPD is run as the
- # current user.
- #
--#user                         "nobody"
-+user                          "mpd"
- #
- # This setting specifies the group that MPD will run as. If not specified
- # primary group of user specified with "user" setting will be used (if set).
-@@ -78,10 +78,10 @@
- # This setting can deny access to control of the daemon.
- #
- # For network
--#bind_to_address              "any"
-+bind_to_address               "localhost"
- #
- # And for Unix Socket
--#bind_to_address              "~/.mpd/socket"
-+bind_to_address               "/var/lib/mpd/socket"
- #
- # This setting is the TCP port that is desired for the daemon to get assigned
- # to.

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 597c4fb..0000000
--- 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.18-fix-stacksize.patch 
b/media-sound/mpd/files/mpd-0.21.18-fix-stacksize.patch
deleted file mode 100644
index c57803b..0000000
--- a/media-sound/mpd/files/mpd-0.21.18-fix-stacksize.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 8671aa5b12fd6b857ee24cf8aa55275d283d9014 Mon Sep 17 00:00:00 2001
-From: Jory Pratt <[email protected]>
-Date: Tue, 28 Jan 2020 12:55:14 -0600
-Subject: [PATCH] Fix stacksize on musl
-
----
- src/thread/Thread.cxx | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/src/thread/Thread.cxx b/src/thread/Thread.cxx
-index bb498fd..da65d52 100644
---- a/src/thread/Thread.cxx
-+++ b/src/thread/Thread.cxx
-@@ -34,8 +34,12 @@ Thread::Start()
-       if (handle == nullptr)
-               throw MakeLastError("Failed to create thread");
- #else
--      int e = pthread_create(&handle, nullptr, ThreadProc, this);
--
-+      pthread_attr_t attr, *attrptr = nullptr;
-+      if ((pthread_attr_init(&attr) == 0)
-+              && (pthread_attr_setstacksize(&attr, 1024*1024) == 0)) {
-+              attrptr = &attr;
-+      }
-+      int e = pthread_create(&handle, attrptr, ThreadProc, this);
-       if (e != 0)
-               throw MakeErrno(e, "Failed to create thread");
- #endif
--- 
-2.25.0
-

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 6af55c1..0000000
--- a/media-sound/mpd/files/mpd-0.21.4.init
+++ /dev/null
@@ -1,32 +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'
-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/metadata.xml b/media-sound/mpd/metadata.xml
deleted file mode 100644
index 621b406..0000000
--- a/media-sound/mpd/metadata.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-  <maintainer type="person">
-    <email>[email protected]</email>
-    <name>Mikle Kolyada</name>
-  </maintainer>
-  <use>
-    <flag name="cdio">Use libcdio for ISO9660 parsing support</flag>
-    <flag name="chromaprint">Enable ChromaPrint / AcoustID support</flag>
-    <flag name="cue">Enable CUE sheet support</flag>
-    <flag name="curl">Support for web stream listening</flag>
-    <flag name="eventfd">Use the eventfd function in MPD's event loop</flag>
-    <flag name="faad">Use external faad library for AAC decoding</flag>
-    <flag name="fifo">Support writing audio to a FIFO</flag>
-    <flag name="fluidsynth">Enables Fluidsynth MIDI software synthesis 
(discouraged)</flag>
-    <flag name="gme">Enables support for <pkg>media-libs/game-music-emu</pkg> 
for playing various video game music formats.</flag>
-    <flag name="id3tag">Support for ID3 tags</flag>
-    <flag name="inotify">Use the Linux kernel inotify subsystem to notice 
changes to mpd music library</flag>
-    <flag name="lame">Support for MP3 streaming via Icecast2</flag>
-    <flag name="libmpdclient">Enable support for remote mpd databases</flag>
-    <flag name="libsoxr">Enable the libsoxr resampler</flag>
-    <flag name="mpg123">Enable support for mp3 decoding over 
media-sound/mpg123</flag>
-    <flag name="network">Enables network streaming support</flag>
-    <flag name="nfs">Enable support for the Network File System</flag>
-    <flag name="pipe">Support writing audio to a pipe</flag>
-    <flag name="qobuz">Build plugin to access qobuz</flag>
-    <flag name="recorder">Enables output plugin for recording radio 
streams</flag>
-    <flag name="sid">Build with SID (Commodore 64 Audio) support</flag>
-    <flag name="signalfd">Use the signalfd function in MPD's event loop</flag>
-    <flag name="soundcloud">Build plugin to access soundcloud</flag>
-    <flag name="tidal">Build plugin to access tidal</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>
-  </use>
-  <upstream>
-    <remote-id type="github">MusicPlayerDaemon/MPD</remote-id>
-    <bugs-to>https://github.com/MusicPlayerDaemon/MPD/issues</bugs-to>
-  </upstream>
-</pkgmetadata>

diff --git a/media-sound/mpd/mpd-0.21.18-r1.ebuild 
b/media-sound/mpd/mpd-0.21.18-r1.ebuild
deleted file mode 100644
index c4bb3c2..0000000
--- a/media-sound/mpd/mpd-0.21.18-r1.ebuild
+++ /dev/null
@@ -1,299 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit flag-o-matic linux-info meson systemd xdg-utils
-
-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="amd64 ~arm ~ppc ~ppc64 x86"
-IUSE="+alsa ao +audiofile bzip2 cdio chromaprint +cue +curl +dbus debug
-       +eventfd expat faad +ffmpeg +fifo flac fluidsynth gme +icu +id3tag 
+inotify
-       +ipv6 jack lame libav libmpdclient libsamplerate libsoxr +mad mikmod mms
-       modplug mpg123 musepack +network nfs openal opus oss pipe pulseaudio 
qobuz
-       recorder samba selinux sid signalfd sndfile soundcloud sqlite systemd
-       test tidal twolame udisks unicode vorbis wavpack webdav wildmidi upnp
-       zeroconf zip zlib"
-
-OUTPUT_PLUGINS="alsa ao fifo jack network openal oss pipe pulseaudio recorder"
-DECODER_PLUGINS="audiofile faad ffmpeg flac fluidsynth mad mikmod
-       modplug mpg123 musepack flac sid vorbis wavpack wildmidi"
-ENCODER_PLUGINS="audiofile flac lame twolame vorbis"
-
-REQUIRED_USE="
-       || ( ${OUTPUT_PLUGINS} )
-       || ( ${DECODER_PLUGINS} )
-       network? ( || ( ${ENCODER_PLUGINS} ) )
-       recorder? ( || ( ${ENCODER_PLUGINS} ) )
-       upnp? ( expat )
-       webdav? ( curl expat )
-       "
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-       acct-user/mpd
-       alsa? (
-               media-libs/alsa-lib
-               media-sound/alsa-utils
-       )
-
-       ao? ( media-libs/libao[alsa?,pulseaudio?] )
-       audiofile? ( media-libs/audiofile:= )
-
-       cdio? (
-               dev-libs/libcdio:=
-               dev-libs/libcdio-paranoia
-       )
-
-       chromaprint? ( media-libs/chromaprint )
-       curl? ( net-misc/curl )
-       dbus? ( sys-apps/dbus )
-       expat? ( dev-libs/expat )
-       faad? ( media-libs/faad2 )
-
-       ffmpeg? (
-               libav? ( media-video/libav:0= )
-               !libav? ( media-video/ffmpeg:0= )
-       )
-
-       flac? ( media-libs/flac )
-       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 )
-       mms? ( media-libs/libmms )
-       modplug? ( media-libs/libmodplug )
-       mpg123? ( media-sound/mpg123 )
-       musepack? ( media-sound/musepack-tools )
-       network? ( media-libs/libshout )
-       nfs? ( net-fs/libnfs )
-       openal? ( media-libs/openal )
-       opus? ( media-libs/opus )
-       pulseaudio? ( media-sound/pulseaudio )
-       qobuz? ( dev-libs/libgcrypt:0 )
-       samba? ( net-fs/samba )
-       selinux? ( sec-policy/selinux-mpd )
-       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 )
-       tidal? ( dev-libs/yajl
-               net-misc/curl )
-       twolame? ( media-sound/twolame )
-       udisks? ( sys-fs/udisks:2 )
-       upnp? ( net-libs/libupnp:0 )
-       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="${RDEPEND}
-       >=dev-libs/boost-1.58:=
-       test? ( dev-cpp/gtest )"
-
-BDEPEND=">=dev-util/meson-0.49.2
-       virtual/pkgconfig"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.18.conf.patch
-       "${FILESDIR}"/${PN}-0.21.18-fix-stacksize.patch
-)
-
-pkg_setup() {
-       if use eventfd; then
-               CONFIG_CHECK+=" ~EVENTFD"
-               ERROR_EVENTFD="${P} requires eventfd in-kernel support."
-       fi
-
-       if use signalfd; then
-               CONFIG_CHECK+=" ~SIGNALFD"
-               ERROR_SIGNALFD="${P} requires signalfd in-kernel support."
-       fi
-
-       if use inotify; then
-               CONFIG_CHECK+=" ~INOTIFY_USER"
-               ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
-       fi
-
-       if use eventfd || use signalfd || use inotify; then
-               linux-info_pkg_setup
-       fi
-
-       elog "If you will be starting mpd via /etc/init.d/mpd, please make
-       sure that MPD's pid_file is _set_."
-}
-
-src_prepare() {
-       cp -f doc/mpdconf.example doc/mpdconf.dist || die "cp failed"
-       default
-}
-
-src_configure() {
-       local emesonargs=(
-               -Dbzip2=$(usex bzip2 enabled disabled)
-               -Dcdio_paranoia=$(usex cdio enabled disabled)
-               -Dchromaprint=$(usex chromaprint enabled disabled)
-               -Dcue=$(usex cue true false)
-               -Dcurl=$(usex curl enabled disabled)
-               -Ddbus=$(usex dbus enabled disabled)
-               -Ddebug=$(usex debug true false)
-               -Deventfd=$(usex eventfd true false)
-               -Dexpat=$(usex expat enabled disabled)
-               -Dicu=$(usex icu enabled disabled)
-               -Did3tag=$(usex id3tag enabled disabled)
-               -Dinotify=$(usex inotify true false)
-               -Dipv6=$(usex ipv6 enabled disabled)
-               -Diso9660=$(usex cdio enabled disabled)
-               -Dlibmpdclient=$(usex libmpdclient enabled disabled)
-               -Dlibsamplerate=$(usex libsamplerate enabled disabled)
-               -Dmms=$(usex mms enabled disabled)
-               -Dnfs=$(usex nfs enabled disabled)
-               -Dsignalfd=$(usex signalfd true false)
-               -Dsmbclient=$(usex samba enabled disabled)
-               -Dsoxr=$(usex libsoxr enabled disabled)
-               -Dsqlite=$(usex sqlite enabled disabled)
-               -Dsystemd=$(usex systemd enabled disabled)
-               -Dtest=$(usex test true false)
-               -Dudisks=$(usex udisks enabled disabled)
-               -Dupnp=$(usex upnp enabled disabled)
-               -Dwebdav=$(usex webdav enabled disabled)
-               -Dzeroconf=$(usex zeroconf avahi disabled)
-               -Dzlib=$(usex zlib enabled disabled)
-               -Dzzip=$(usex zip enabled disabled)
-               )
-
-       emesonargs+=(
-               -Dalsa=$(usex alsa enabled disabled)
-               -Dao=$(usex ao enabled disabled)
-               -Dfifo=$(usex fifo true false)
-               -Djack=$(usex jack enabled disabled)
-               -Dopenal=$(usex openal enabled disabled)
-               -Doss=$(usex oss enabled disabled)
-               -Dpipe=$(usex pipe true false)
-               -Dpulse=$(usex pulseaudio enabled disabled)
-               -Drecorder=$(usex recorder true false)
-       )
-
-       if use samba || use upnp; then
-               emesonargs+=( -Dneighbor=true )
-       fi
-
-       append-lfs-flags
-       append-ldflags "-L/usr/$(get_libdir)/sidplay/builders"
-
-       if use network; then
-
-       emesonargs+=(
-               -Dshine=disabled
-               -Dshout=enabled
-               -Dvorbisenc=$(usex vorbis enabled disabled)
-               -Dhttpd=true
-               -Dlame=$(usex lame enabled disabled)
-               -Dtwolame=$(usex twolame enabled disabled)
-               -Dwave_encoder=$(usex audiofile true false)
-       )
-       fi
-
-       emesonargs+=(
-               # media-libs/adplug is not packaged anymore
-               -Dadplug=disabled
-               -Daudiofile=$(usex audiofile enabled disabled)
-               -Dfaad=$(usex faad enabled disabled)
-               -Dffmpeg=$(usex ffmpeg enabled disabled)
-               -Dflac=$(usex flac enabled disabled)
-               -Dfluidsynth=$(usex fluidsynth enabled disabled)
-               -Dgme=$(usex gme enabled disabled)
-               -Dmad=$(usex mad enabled disabled)
-               -Dmikmod=$(usex mikmod enabled disabled)
-               -Dmodplug=$(usex modplug enabled disabled)
-               -Dmpcdec=$(usex musepack enabled disabled)
-               -Dmpg123=$(usex mpg123 enabled disabled)
-               -Dopus=$(usex opus enabled disabled)
-               -Dsidplay=$(usex sid enabled disabled)
-               -Dsndfile=$(usex sndfile enabled disabled)
-               -Dvorbis=$(usex vorbis enabled disabled)
-               -Dwavpack=$(usex wavpack enabled disabled)
-               -Dwildmidi=$(usex wildmidi enabled disabled)
-
-       )
-
-       emesonargs+=(
-               -Dqobuz=$(usex qobuz enabled disabled)
-               -Dsoundcloud=$(usex soundcloud enabled disabled)
-               -Dtidal=$(usex tidal enabled disabled)
-       )
-
-       emesonargs+=(
-               --libdir="/usr/$(get_libdir)"
-               -Ddocumentation=false
-               -Dsndio=disabled #not yet in the tree
-               -Dsolaris_output=disabled
-
-               -Ddatabase=true
-               -Ddsd=true
-               -Dtcp=true
-
-               -Dsystemd_system_unit_dir="$(systemd_get_systemunitdir)"
-               -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)"
-               )
-
-       if use icu; then
-               emesonargs+=( -Diconv=enabled )
-       else
-               emesonargs+=( -Diconv=disabled )
-       fi
-
-       meson_src_configure
-}
-
-src_install() {
-       meson_src_install
-
-       insinto /etc
-       newins doc/mpdconf.dist mpd.conf
-
-       insinto /etc/logrotate.d
-       newins "${FILESDIR}"/${PN}-0.21.1.logrotate ${PN}
-
-       newinitd "${FILESDIR}"/${PN}-0.21.4.init ${PN}
-
-       if use unicode; then
-               sed -i -e 's:^#filesystem_charset.*$:filesystem_charset 
"UTF-8":' \
-                       "${ED}"/etc/mpd.conf || die "sed failed"
-       fi
-
-       doman doc/mpd.1
-       doman doc/mpd.conf.5
-
-       keepdir /var/lib/mpd
-       keepdir /var/lib/mpd/music
-       keepdir /var/lib/mpd/playlists
-
-}
-
-pkg_postinst() {
-       xdg_icon_cache_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
-}

Reply via email to