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 <firstname.lastname@example.org>
* shared-mime-info.pc.in: Patch from Ville Skyttä <email@example.com>
to move the shared-mime-info pkgconfig file to $(datadir), as it doesn't
contain any arch-specific data (Closes: #9789)