On Ubuntu20.04, exec go build in example dir failed:
go build
# pkg-config --cflags -- ayatana-appindicator3-0.1 gtk+-3.0 appindicator3-0.1
Package appindicator3-0.1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `appindicator3-0.1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'appindicator3-0.1' found
pkg-config: exit status 1
The PR fixed this issue. And I tested on Ubuntu18.04 which was worked.
Thanks for this! It looks like I also messed up the legacy +build tags as well, so I'll commit something in a bit that incorporates this change along with the build tags fix.
On Ubuntu20.04, exec
go build
in example dir failed:The PR fixed this issue. And I tested on Ubuntu18.04 which was worked.