From: jbenden <jbenden@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mpd: update to 0.22.1.
Date: Thu, 22 Oct 2020 19:05:48 +0200 [thread overview]
Message-ID: <20201022170548.hnp9LBtGmKhdIUZlg3qqopKNAx10fAC_55lU2Z3kEOc@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25271@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
There is an updated pull request by jbenden against master on the void-packages repository
https://github.com/jbenden/void-packages mpd-0.22
https://github.com/void-linux/void-packages/pull/25271
mpd: update to 0.22.1.
mpd update to 0.22; and addition to `common/shlibs` for `liburing`.
Tested locally and seems OK.
Signed-off-by: Joseph Benden <joe@benden.us>
A patch file from https://github.com/void-linux/void-packages/pull/25271.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mpd-0.22-25271.patch --]
[-- Type: text/x-diff, Size: 4837 bytes --]
From bb8b5334db4b5b251005741620468337231978c1 Mon Sep 17 00:00:00 2001
From: Joseph Benden <joe@benden.us>
Date: Fri, 2 Oct 2020 01:02:30 -0700
Subject: [PATCH] mpd: update to 0.22.1.
Signed-off-by: Joseph Benden <joe@benden.us>
---
common/shlibs | 1 +
srcpkgs/mpd/INSTALL | 2 +-
srcpkgs/mpd/files/mpd/run | 3 ++-
srcpkgs/mpd/template | 23 +++++++++++------------
4 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/common/shlibs b/common/shlibs
index d21589f14a5..d252b19f5d8 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3992,3 +3992,4 @@ libJudy.so.1 judy-1.0.5_1
libsignal-protocol-c.so.2 libsignal-protocol-c-2.3.3_2
libSeExpr2Editor.so.3 seexpr-krita-3.4.4.0_1
libSeExpr2.so.3 seexpr-krita-3.4.4.0_1
+liburing.so.1 liburing-0.7_1
diff --git a/srcpkgs/mpd/INSTALL b/srcpkgs/mpd/INSTALL
index 64ae2d78211..9b6b817e4b5 100644
--- a/srcpkgs/mpd/INSTALL
+++ b/srcpkgs/mpd/INSTALL
@@ -1,5 +1,5 @@
case "$ACTION" in
post)
- setcap 'cap_sys_nice=eip' usr/bin/mpd
+ setcap 'cap_sys_nice,cap_ipc_lock=eip' usr/bin/mpd
;;
esac
diff --git a/srcpkgs/mpd/files/mpd/run b/srcpkgs/mpd/files/mpd/run
index bde3c869b60..bb7832c9e23 100755
--- a/srcpkgs/mpd/files/mpd/run
+++ b/srcpkgs/mpd/files/mpd/run
@@ -1,3 +1,4 @@
#!/bin/sh
+[ -r conf ] && . ./conf
install -d -m 0755 -o mpd -g mpd /run/mpd
-exec mpd --no-daemon
+exec mpd --no-daemon ${OPTS:-}
diff --git a/srcpkgs/mpd/template b/srcpkgs/mpd/template
index 12fec41677f..8e3de99fec6 100644
--- a/srcpkgs/mpd/template
+++ b/srcpkgs/mpd/template
@@ -1,6 +1,6 @@
# Template file for 'mpd'
pkgname=mpd
-version=0.21.26
+version=0.22.1
revision=1
build_style=meson
configure_args="-Dopus=enabled -Dmikmod=enabled -Dneighbor=true
@@ -8,20 +8,22 @@ configure_args="-Dopus=enabled -Dmikmod=enabled -Dneighbor=true
-Dzzip=enabled -Dsmbclient=disabled -Dsystemd=disabled -Dqobuz=disabled
-Dchromaprint=disabled -Dsoxr=enabled -Dadplug=disabled
-Dfluidsynth=disabled -Dgme=disabled -Dwildmidi=disabled -Dsidplay=disabled
- -Dshine=disabled -Ddocumentation=true -Daudiofile=enabled -Dtremor=disabled
- -Dsolaris_output=disabled
+ -Dshine=disabled -Ddocumentation=enabled -Daudiofile=enabled -Dtremor=disabled
+ -Dsolaris_output=disabled -Dhtml_manual=false -Dmanpages=true
-Djack=$(vopt_if jack enabled disabled) -Dlame=$(vopt_if lame enabled disabled)
-Dao=$(vopt_if libao enabled disabled) -Dmpcdec=$(vopt_if mpcdec enabled disabled)
-Dsndio=$(vopt_if sndio enabled disabled) -Dpulse=$(vopt_if pulseaudio enabled disabled)
-Dwavpack=$(vopt_if wavpack enabled disabled) -Dcdio_paranoia=$(vopt_if cdio enabled disabled)
- -Dopenal=$(vopt_if openal enabled disabled) -Dshout=$(vopt_if shoutcast enabled disabled)"
+ -Dopenal=$(vopt_if openal enabled disabled) -Dshout=$(vopt_if shoutcast enabled disabled)
+ -Dio_uring=$(vopt_if io_uring enabled disabled)"
conf_files="/etc/mpd.conf"
-hostmakedepends="pkg-config"
+hostmakedepends="pkg-config python3-Sphinx"
makedepends="avahi-glib-libs-devel boost-devel faad2-devel ffmpeg-devel
libcurl-devel libid3tag-devel libmad-devel libmikmod-devel libmms-devel
libmodplug-devel libmpdclient-devel libnfs-devel libsamplerate-devel
libsoup-devel libupnp1.8-devel mpg123-devel opus-devel yajl-devel
zziplib-devel libsoxr-devel audiofile-devel twolame-devel
+ $(vopt_if io_uring 'liburing-devel')
$(vopt_if cdio 'libcdio-paranoia-devel') $(vopt_if shoutcast 'libshout-devel')
$(vopt_if jack 'jack-devel') $(vopt_if lame 'lame-devel')
$(vopt_if libao 'libao-devel') $(vopt_if mpcdec 'libmpcdec-devel')
@@ -35,8 +37,9 @@ license="GPL-2.0-or-later"
homepage="https://www.musicpd.org/"
changelog="https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v${version}/NEWS"
distfiles="https://www.musicpd.org/download/mpd/${version%.*}/mpd-${version}.tar.xz"
-checksum=f9e68221c7a6829ec02f281eb313b2f24182020f5eb65ab22b337e6169ea4eea
+checksum=408464093d09c73ceecafc201defcbaba2193cb30ad0aaf1241459a410fecaf3
LDFLAGS+=" -Wl,-z,stack-size=1048576"
+patch_args="-Np1"
system_accounts="mpd"
mpd_homedir="/var/lib/mpd"
@@ -47,20 +50,16 @@ make_dirs="
/var/lib/mpd/playlists 0755 mpd mpd"
# Package build options
-build_options="jack lame mpcdec pulseaudio libao wavpack sndio cdio openal shoutcast"
+build_options="jack lame mpcdec pulseaudio libao wavpack sndio cdio openal shoutcast io_uring"
desc_option_cdio="Enable libcdio_paranoia input plugin"
desc_option_openal="Enable OpenAL output plugin"
+desc_option_io_uring="Enable support for using liburing"
build_options_default="jack pulseaudio libao sndio cdio shoutcast"
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -Dtest=true"
fi
-pre_configure() {
- # We only want manpages
- sed -n -e '1p' -i doc/meson.build
-}
-
post_install() {
vconf doc/mpdconf.example mpd.conf
vsconf doc/mpdconf.example
next prev parent reply other threads:[~2020-10-22 17:05 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-02 8:09 [PR PATCH] mpd: update to 0.22 jbenden
2020-10-02 12:36 ` ericonr
2020-10-02 12:37 ` ericonr
2020-10-02 12:50 ` sgn
2020-10-02 12:51 ` sgn
2020-10-02 17:09 ` ericonr
2020-10-02 19:26 ` daniel-eys
2020-10-02 19:33 ` jbenden
2020-10-02 19:39 ` daniel-eys
2020-10-02 19:57 ` [PR PATCH] [Updated] " jbenden
2020-10-02 20:01 ` jbenden
2020-10-03 1:47 ` sgn
2020-10-03 23:29 ` [PR PATCH] [Updated] " jbenden
2020-10-04 20:39 ` jbenden
2020-10-06 22:40 ` jbenden
2020-10-13 12:15 ` kartikynwa
2020-10-13 12:18 ` kartikynwa
2020-10-19 13:46 ` SolitudeSF
2020-10-19 18:22 ` [PR PATCH] [Updated] " jbenden
2020-10-22 9:31 ` kartikynwa
2020-10-22 17:05 ` jbenden [this message]
2020-10-24 15:01 ` [PR PATCH] [Merged]: mpd: update to 0.22.1 leahneukirchen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201022170548.hnp9LBtGmKhdIUZlg3qqopKNAx10fAC_55lU2Z3kEOc@z \
--to=jbenden@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).