diff options
author | 2022-06-13 23:15:31 +0100 | |
---|---|---|
committer | 2022-06-13 23:25:16 +0100 | |
commit | 3a7fde3ec6d33dc8ba8c1a7b472b2435869055d9 (patch) | |
tree | 15a8e970299318cd18cbccc9b049c75a1779deae /net-misc | |
parent | sci-libs/trilinos: add USE=all_modules flag, ebuild maintenance (diff) | |
download | gentoo-3a7fde3ec6d33dc8ba8c1a7b472b2435869055d9.tar.gz gentoo-3a7fde3ec6d33dc8ba8c1a7b472b2435869055d9.tar.bz2 gentoo-3a7fde3ec6d33dc8ba8c1a7b472b2435869055d9.zip |
net-misc/spice-gtk: fix usbredir conditional deux
Closes: https://bugs.gentoo.org/851657
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/spice-gtk/spice-gtk-0.40.ebuild | 5 | ||||
-rw-r--r-- | net-misc/spice-gtk/spice-gtk-9999.ebuild | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/net-misc/spice-gtk/spice-gtk-0.40.ebuild b/net-misc/spice-gtk/spice-gtk-0.40.ebuild index fc8e35b738b0..357e2deefa6d 100644 --- a/net-misc/spice-gtk/spice-gtk-0.40.ebuild +++ b/net-misc/spice-gtk/spice-gtk-0.40.ebuild @@ -125,8 +125,8 @@ src_configure() { src_install() { meson_src_install - if use usbredir; then - # bug #775554 + if use usbredir && use policykit; then + # bug #775554 (and bug #851657) fowners root:root /usr/libexec/spice-client-glib-usb-acl-helper fperms 4755 /usr/libexec/spice-client-glib-usb-acl-helper fi @@ -137,5 +137,6 @@ src_install() { pkg_postinst() { xdg_pkg_postinst + optfeature "Sound support (via pulseaudio)" media-plugins/gst-plugins-pulse } diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild b/net-misc/spice-gtk/spice-gtk-9999.ebuild index bfa932d1e132..357e2deefa6d 100644 --- a/net-misc/spice-gtk/spice-gtk-9999.ebuild +++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild @@ -94,7 +94,7 @@ python_check_deps() { src_prepare() { default - use vala && vala_src_prepare + use vala && vala_setup } src_configure() { @@ -125,8 +125,8 @@ src_configure() { src_install() { meson_src_install - if use usbredir; then - # bug #775554 + if use usbredir && use policykit; then + # bug #775554 (and bug #851657) fowners root:root /usr/libexec/spice-client-glib-usb-acl-helper fperms 4755 /usr/libexec/spice-client-glib-usb-acl-helper fi @@ -137,5 +137,6 @@ src_install() { pkg_postinst() { xdg_pkg_postinst + optfeature "Sound support (via pulseaudio)" media-plugins/gst-plugins-pulse } |