Homebrew formula for xdg-app.
WARNING: Hackish in its current state.
In order to use it, you first need to install basic deps (additionally to
standard Linuxbrew deps).
On Debian-based systems it would be sudo apt-get install python-dev libudev-dev
.
After that you need to run the following:
brew install libxml2 libxslt
brew tap doomhammer/xdg
brew install xdg-app
Since some of official formulae have errors it would be best to work
around them by running brew install --debug xdg-app
and answering
2 (ignore) when there are problems (namely tests in libgcrypt and gpgme)
You may need to manually run chmod +s $(which xdg-app-helper)
to give
appropriate permissions to the helper binary
To test follow Official instructions