--- setup.py.orig 2016-01-01 22:16:41 UTC +++ setup.py @@ -64,8 +64,8 @@ options = dict( long_description=open("README.rst").read() ) -if sys.platform.startswith('linux'): - # Install desktop file. Required for mpris on Ubuntu +if sys.platform.startswith(('freebsd', 'linux')): + # Install desktop file. Required for mpris on FreeBSD and Ubuntu options['data_files'].append(('share/applications/', ['mps-youtube.desktop'])) if os.name == "nt":