commit:     c5556fb0775aa5e7e1ca2c49cffdb1a0a88ee9e2
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 25 01:19:34 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Nov 28 19:54:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5556fb0

net-misc/spice-gtk: migrate to hwdata

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .../spice-gtk/{spice-gtk-0.39-r1.ebuild => spice-gtk-0.39-r2.ebuild}  | 4 ++--
 net-misc/spice-gtk/spice-gtk-9999.ebuild                              | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/spice-gtk/spice-gtk-0.39-r1.ebuild 
b/net-misc/spice-gtk/spice-gtk-0.39-r2.ebuild
similarity index 97%
rename from net-misc/spice-gtk/spice-gtk-0.39-r1.ebuild
rename to net-misc/spice-gtk/spice-gtk-0.39-r2.ebuild
index 08fdbf6d9fa4..97058d427523 100644
--- a/net-misc/spice-gtk/spice-gtk-0.39-r1.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-0.39-r2.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
        sasl? ( dev-libs/cyrus-sasl )
        smartcard? ( app-emulation/qemu[smartcard] )
        usbredir? (
-               sys-apps/hwids
+               sys-apps/hwdata
                >=sys-apps/usbredir-0.4.2
                virtual/libusb:1
                policykit? (
@@ -111,7 +111,7 @@ src_configure() {
        if use usbredir; then
                emesonargs+=(
                        -Dusb-acl-helper-dir=/usr/libexec
-                       -Dusb-ids-path=/usr/share/misc/usb.ids
+                       -Dusb-ids-path="${EPREFIX}/usr/share/hwdata/usb.ids"
                )
        fi
 

diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild 
b/net-misc/spice-gtk/spice-gtk-9999.ebuild
index e200949754a6..59fac8bcb9c5 100644
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild
@@ -43,7 +43,7 @@ RDEPEND="
        sasl? ( dev-libs/cyrus-sasl )
        smartcard? ( app-emulation/qemu[smartcard] )
        usbredir? (
-               sys-apps/hwids
+               sys-apps/hwdata
                >=sys-apps/usbredir-0.4.2
                virtual/libusb:1
                policykit? (
@@ -110,7 +110,7 @@ src_configure() {
 
        if use usbredir; then
                emesonargs+=( -D "usb-acl-helper-dir=/usr/libexec" )
-               emesonargs+=( -D "usb-ids-path=/usr/share/misc/usb.ids" )
+               emesonargs+=( -D 
"usb-ids-path=${EPREFIX}/usr/share/hwdata/usb.ids" )
        fi
 
        meson_src_configure

Reply via email to