diff options
author | 2022-06-13 13:31:25 +0100 | |
---|---|---|
committer | 2022-06-13 13:31:29 +0100 | |
commit | 39adfa4bf560f621765840bb484e29fd03eab350 (patch) | |
tree | 41925f81b4ef1b9553ead23bec4f34ccc2fc4bd4 /net-misc/spice-gtk | |
parent | dev-db/mysql: keyword 8.0.27 for ~riscv (diff) | |
download | gentoo-39adfa4bf560f621765840bb484e29fd03eab350.tar.gz gentoo-39adfa4bf560f621765840bb484e29fd03eab350.tar.bz2 gentoo-39adfa4bf560f621765840bb484e29fd03eab350.zip |
net-misc/spice-gtk: conditionalise fowners for usbredir
Closes: https://bugs.gentoo.org/851657
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/spice-gtk')
-rw-r--r-- | net-misc/spice-gtk/spice-gtk-0.40.ebuild | 8 | ||||
-rw-r--r-- | net-misc/spice-gtk/spice-gtk-9999.ebuild | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/net-misc/spice-gtk/spice-gtk-0.40.ebuild b/net-misc/spice-gtk/spice-gtk-0.40.ebuild index 612d9476b1d0..fc8e35b738b0 100644 --- a/net-misc/spice-gtk/spice-gtk-0.40.ebuild +++ b/net-misc/spice-gtk/spice-gtk-0.40.ebuild @@ -125,9 +125,11 @@ src_configure() { src_install() { meson_src_install - # bug #775554 - fowners root:root /usr/libexec/spice-client-glib-usb-acl-helper - fperms 4755 /usr/libexec/spice-client-glib-usb-acl-helper + if use usbredir; then + # bug #775554 + fowners root:root /usr/libexec/spice-client-glib-usb-acl-helper + fperms 4755 /usr/libexec/spice-client-glib-usb-acl-helper + fi make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;" readme.gentoo_create_doc diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild index 7e642d9ecb49..bfa932d1e132 100644 --- a/net-misc/spice-gtk/spice-gtk-9999.ebuild +++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild @@ -125,9 +125,11 @@ src_configure() { src_install() { meson_src_install - # bug #775554 - fowners root:root /usr/libexec/spice-client-glib-usb-acl-helper - fperms 4755 /usr/libexec/spice-client-glib-usb-acl-helper + if use usbredir; then + # bug #775554 + fowners root:root /usr/libexec/spice-client-glib-usb-acl-helper + fperms 4755 /usr/libexec/spice-client-glib-usb-acl-helper + fi make_desktop_entry spicy Spicy "utilities-terminal" "Network;RemoteAccess;" readme.gentoo_create_doc |