vcrhonek / hwdata

hwdata contains various hardware identification and configuration data, such as the pci.ids and usb.ids databases.
Other
87 stars 19 forks source link

Ship a pkg-config file #12

Closed emersion closed 2 years ago

emersion commented 2 years ago

This would allow users of the library to easily check the dep and its version, and get the proper pkgdatadir.

vcrhonek commented 2 years ago

I'm fine with including the .pc file and #14 looks good to me. But I wonder what is your particular use case for it?

I mean... I wouldn't call hwdata a library, you don't compile anything against it and one usually doesn't really care about its version, just wants to have the latest data. I don't see it much benefit here.

emersion commented 2 years ago

Some more metadata may only be included from a specific version, for instance.

And it's still useful to be able to find the proper directory to search the hwdata files in.