void-packages/srcpkgs/avahi-discover
maxice8 78b5d29cdf avahi-discover: fix cross-compilation issues.
The situation: on the 0.7 bump python-gobject was introduced as a
dependency because avahi-discover and avahi-discover-standalone bianaries aren't built without it

What went wrong: armv* arches don't have python-gobject and can't
cross-compile it so the package building just fails (funny enough it
"succeeds" sometimes, exiting 0 and not creating the package) and packages aren't made, leading to a chain
reaction where other packages like gvfs and cups-filters also fail

The fix: wrap the python-gobject dependency, avahi-discover and
avahi-discover-standalone on opt_if gir, add $(vopt_enable gir
pygobject) so the package won't try to find python-gobject

Side-effects: cross-compiled arches won't have avahi-discover and
avahi-discover-standalone binaries available to them, the avahi-discover
pacakge becomes kinda useless by itself, native compilation
arches remain unaffected
2017-10-16 14:22:58 +02:00
..
template avahi-discover: fix cross-compilation issues. 2017-10-16 14:22:58 +02:00
update