mpd: add cap_sys_nice to binary.

Signed-off-by: Joseph Benden <joe@benden.us>
This commit is contained in:
Joseph Benden 2019-12-11 10:55:58 -07:00 committed by Juan RP
parent e81da8b2eb
commit 0beef9e081
2 changed files with 7 additions and 1 deletions

5
srcpkgs/mpd/INSTALL Normal file
View File

@ -0,0 +1,5 @@
case "$ACTION" in
post)
setcap 'cap_sys_nice=eip' usr/bin/mpd
;;
esac

View File

@ -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 <daniel.eysser@gmail.com>"
license="GPL-2.0-or-later"