From 3f466d5003710e94bf1a29e88da446ea19f51332 Mon Sep 17 00:00:00 2001 From: Kim Burgestrand Date: Thu, 1 Sep 2011 07:56:00 +0200 Subject: [PATCH] Upgrade libspotify to 9.1.32 Closes Homebrew/homebrew#7355. Signed-off-by: Max Howell --- Formula/libspotify.rb | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Formula/libspotify.rb b/Formula/libspotify.rb index 2b56c3e227..ff47cf75d2 100644 --- a/Formula/libspotify.rb +++ b/Formula/libspotify.rb @@ -1,22 +1,23 @@ require 'formula' class Libspotify < Formula - url "http://developer.spotify.com/download/libspotify/libspotify-0.0.8-Darwin.zip" - version '0.0.8' + url "http://developer.spotify.com/download/libspotify/libspotify-9.1.32-Darwin-universal.tar.gz" + version '9.1.32' homepage 'http://developer.spotify.com/en/libspotify/overview/' - md5 'a59b824d36e689b7162d067d6e2497a7' + md5 '6a98f3198430f426cf7cd1c3ed90c553' def install - prefix.install 'share' - (include+'libspotify').install "libspotify.framework/Versions/0.0.8/Headers/api.h" - lib.install "libspotify.framework/Versions/0.0.8/libspotify" => "libspotify.0.0.8.dylib" + (include+'libspotify').install "libspotify.framework/Versions/9/Headers/api.h" + lib.install "libspotify.framework/Versions/9/libspotify" => "libspotify.9.1.32.dylib" doc.install Dir['doc/*'] + man3.install Dir['man/man3/man3spotify/*'] cd lib - ln_s "libspotify.0.0.8.dylib", "libspotify.dylib" + ln_s "libspotify.9.1.32.dylib", "libspotify.dylib" + ln_s "libspotify.9.1.32.dylib", "libspotify.9.dylib" system "install_name_tool", "-id", - "#{HOMEBREW_PREFIX}/lib/libspotify.0.0.8.dylib", + "#{HOMEBREW_PREFIX}/lib/libspotify.9.1.32.dylib", "libspotify.dylib" (lib+'pkgconfig/libspotify.pc').write pc_content