summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Heiko Becker <heirecka@exherbo.org> 2020-04-25 09:56:29 +0200
committerAvatar Heiko Becker <heirecka@exherbo.org> 2020-04-29 22:41:54 +0200
commit11ad1c670e864a950d49bdab6367c929d1da8c1e (patch)
treef8cdfa4b82ae0841f71dfc082db4f87371b0d20a
parentf8882e27c7b6f57bb2e0c9c35476da11cec567f2 (diff)
downloadmedia-11ad1c670e864a950d49bdab6367c929d1da8c1e.tar.gz
media-11ad1c670e864a950d49bdab6367c929d1da8c1e.tar.xz
mpd: Version bump to 0.21.23
-rw-r--r--packages/media-sound/mpd/mpd-0.21.23.exheres-0 (renamed from packages/media-sound/mpd/mpd-0.21.22.exheres-0)0
-rw-r--r--packages/media-sound/mpd/mpd.exlib18
2 files changed, 18 insertions, 0 deletions
diff --git a/packages/media-sound/mpd/mpd-0.21.22.exheres-0 b/packages/media-sound/mpd/mpd-0.21.23.exheres-0
index 28d993f1..28d993f1 100644
--- a/packages/media-sound/mpd/mpd-0.21.22.exheres-0
+++ b/packages/media-sound/mpd/mpd-0.21.23.exheres-0
diff --git a/packages/media-sound/mpd/mpd.exlib b/packages/media-sound/mpd/mpd.exlib
index 8758ef63..07e88421 100644
--- a/packages/media-sound/mpd/mpd.exlib
+++ b/packages/media-sound/mpd/mpd.exlib
@@ -8,6 +8,8 @@
require meson systemd-service
+export_exlib_phases src_prepare src_install
+
SUMMARY="A flexible, powerful, server-side application for playing music"
DESCRIPTION="
Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music.
@@ -245,3 +247,19 @@ MESON_SRC_CONFIGURE_TESTS=(
'-Dtest=true -Dtest=false'
)
+mpd_src_prepare() {
+ meson_src_prepare
+
+ # https://github.com/MusicPlayerDaemon/MPD/issues/844
+ edo sed -e "/^test('test_mixramp'/,+11d" -i test/meson.build
+}
+
+mpd_src_install() {
+ meson_src_install
+
+ # Don't install docs a second time into an undesired dir, emagicdocs
+ # already installs them.
+ edo rm "${IMAGE}"/usr/share/doc/${PN}/{AUTHORS,COPYING,NEWS,README.md}
+ edo rmdir "${IMAGE}"/usr/share/doc/${PN}
+}
+