AFAIK, shared-mime-info is inherently architecture independent, and the only thing holding back distributors packaging it as such is the pkgconfig file location and some unnecessary variables in it. Suggested fix attached.
Created attachment 8523 [details] [review] Make pkgconfig stuff arch independent
Oops. When saying things about arch independence, I was thinking about gnome-mime-info (update-mime-database is clearly arch dependent). Anyway, even though it has less benefits in this case, I think the patch could still be considered.
Makes complete sense, as the pkgconfig file doesn't mention any non-portable data. 2007-02-02 Bastien Nocera <hadess@hadess.net> * Makefile.am: * shared-mime-info.pc.in: Patch from Ville Skyttä <ville.skytta@iki.fi> to move the shared-mime-info pkgconfig file to $(datadir), as it doesn't contain any arch-specific data (Closes: #9789)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.