getlantern / systray

a cross platfrom Go library to place an icon and menu in the notification area
Apache License 2.0
3.28k stars 451 forks source link

Fix +build lines, remove extraneous pkg-config directive #228

Closed Crosse closed 2 years ago

Crosse commented 2 years ago

This commit should make systray build on Ubuntu 20.04 and (hopefully) Debian 11 again. I fumbled the legacy "+build" tag syntax, apparently, and forgot to remove a pkg-config directive that unconditionally required libappindicator3 to be installed.

I've tested this in the following configurations:

In addition, for each of the above, I tested that the build succeeded if only one of the two libraries (appindicator3 or libayatana-appindicator3) was installed.

Note to future self: it'd probably be a good idea to enable GitHub Actions for this repo.

Crosse commented 2 years ago

@nange, can you try this out and see if it fixes your issue?

nange commented 2 years ago

@Crosse It works for me.