summaryrefslogtreecommitdiffstats
path: root/network/spice-gtk
diff options
context:
space:
mode:
author Matteo Bernardini2021-02-18 17:03:43 +0100
committer Robby Workman2021-04-18 06:59:58 +0200
commit667eb57ce8ce383eb75f3d6c6ac8933b4b861d19 (patch)
tree4d36efe406867b89e0a30f33a2a8989ce76a58ba /network/spice-gtk
parent76e7b1f50f62cc073edbeca31edb29156ae3abaa (diff)
downloadslackbuilds-667eb57ce8ce383eb75f3d6c6ac8933b4b861d19.tar.gz
network/spice-gtk: Fix usb redirection.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/spice-gtk')
-rw-r--r--network/spice-gtk/spice-gtk.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/network/spice-gtk/spice-gtk.SlackBuild b/network/spice-gtk/spice-gtk.SlackBuild
index 6561b22050..bc3554fe27 100644
--- a/network/spice-gtk/spice-gtk.SlackBuild
+++ b/network/spice-gtk/spice-gtk.SlackBuild
@@ -120,6 +120,8 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+echo "/sbin/setcap CAP_FOWNER=+ep usr/libexec/spice-client-glib-usb-acl-helper" \
+ >> $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}