From 0beef9e081ef44eaccb35022d1ea24265bde147d Mon Sep 17 00:00:00 2001 From: Joseph Benden Date: Wed, 11 Dec 2019 10:55:58 -0700 Subject: [PATCH] mpd: add cap_sys_nice to binary. Signed-off-by: Joseph Benden --- srcpkgs/mpd/INSTALL | 5 +++++ srcpkgs/mpd/template | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/mpd/INSTALL diff --git a/srcpkgs/mpd/INSTALL b/srcpkgs/mpd/INSTALL new file mode 100644 index 00000000000..64ae2d78211 --- /dev/null +++ b/srcpkgs/mpd/INSTALL @@ -0,0 +1,5 @@ +case "$ACTION" in +post) + setcap 'cap_sys_nice=eip' usr/bin/mpd + ;; +esac diff --git a/srcpkgs/mpd/template b/srcpkgs/mpd/template index 9488dab5217..3f751b1a019 100644 --- a/srcpkgs/mpd/template +++ b/srcpkgs/mpd/template @@ -1,7 +1,7 @@ # Template file for 'mpd' pkgname=mpd version=0.21.16 -revision=1 +revision=2 build_style=meson configure_args="-Dopus=enabled -Dmikmod=enabled -Dneighbor=true -Dsoundcloud=enabled -Dpipe=true -Dtwolame=enabled -Dbzip2=enabled @@ -27,6 +27,7 @@ makedepends="avahi-glib-libs-devel boost-devel faad2-devel ffmpeg-devel $(vopt_if libao 'libao-devel') $(vopt_if mpcdec 'libmpcdec-devel') $(vopt_if pulseaudio 'pulseaudio-devel') $(vopt_if sndio 'sndio-devel') $(vopt_if wavpack 'wavpack-devel') $(vopt_if openal 'libopenal-devel')" +depends="libcap-progs" short_desc="Flexible, powerful, server-side application for playing music" maintainer="Daniel Eyßer " license="GPL-2.0-or-later"