aboutsummaryrefslogtreecommitdiff
path: root/network/spice-gtk
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-02-18 17:03:43 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:59:58 -0500
commit667eb57ce8ce383eb75f3d6c6ac8933b4b861d19 (patch)
tree4d36efe406867b89e0a30f33a2a8989ce76a58ba /network/spice-gtk
parent76e7b1f50f62cc073edbeca31edb29156ae3abaa (diff)
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 6561b22050f6d..bc3554fe27714 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}