spice-gtk: use hwdata instead of usbids

spice-gtk seems to be the last recipe in meta-openembedded that uses
usbids instead of hwdata.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk 2024-04-22 15:00:00 +02:00 committed by Khem Raj
parent 76964620a7
commit 3e27517f7e
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -40,7 +40,7 @@ DEPENDS = " \
"
DEPENDS:append:libc-musl = " libucontext"
RDEPENDS:${PN} = "python3-pyparsing python3-six usbids"
RDEPENDS:${PN} = "python3-pyparsing python3-six hwdata"
inherit meson pkgconfig vala gobject-introspection features_check gtk-doc
@ -60,7 +60,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d
PACKAGECONFIG[vapi] = "-Dvapi=enabled,-Dvapi=disabled"
PACKAGECONFIG[smartcard] = "-Dsmartcard=enabled,-Dsmartcard=disabled,libcacard"
EXTRA_OEMESON = "-Dpie=true -Dusb-ids-path=${datadir}/usb.ids "
EXTRA_OEMESON = "-Dpie=true -Dusb-ids-path=${datadir}/hwdata/usb.ids "
EXTRA_OEMESON:append:libc-musl = " -Dcoroutine=libucontext"
LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}"