lastfm / lastfm-desktop

The official Last.fm desktop application suite
http://www.last.fm
GNU General Public License v3.0
465 stars 95 forks source link

Failed to download resource "kde-phonon" #58

Closed ghost closed 8 years ago

ghost commented 8 years ago

After running brew install phonon-vlc I'm getting this error:

curl: (6) Could not resolve host: ftp.kde.org
Error: Failed to download resource "kde-phonon"
Download failed: ftp://ftp.kde.org/pub/kde/stable/phonon/4.6.0/src/phonon-4.6.0.tar.xz  

Does anyone know of a work around?

Thanks.

joeyinbox commented 8 years ago

The download url has changed to: http://download.kde.org/stable/phonon/4.6.0/src/phonon-4.6.0.tar.xz

Type the following command: brew edit kde-phonon

This will open the corresponding formula in your text editor. Replace the content by this one for example: https://github.com/adymo/homebrew-kde/blob/master/kde-phonon.rb

Save and retry the command: brew install qt kde-phonon

You should now be able to continue with the rest. Cheers

ghost commented 8 years ago

Great! That worked however, it looks like you have to replace the original checksum with the sha-256 version which is found on the actual downloads page under file information:

SHA-256 Hash: 2915e7a37c92a0a8237b9e6d2ef67ba8b005ee3529d03991cd3d137f039ba3c4  

After replacing the URL and checksum its works fine.