homebrew-core/Formula/kde-phonon.rb

25 lines
574 B
Ruby
Raw Normal View History

2010-03-18 15:44:05 +00:00
require 'formula'
class KdePhonon <Formula
2010-03-18 15:44:05 +00:00
url 'ftp://ftp.kde.org/pub/kde/stable/phonon/4.4.0/phonon-4.4.0.tgz'
homepage 'http://phonon.kde.org/'
md5 '80544b876cf0e0af05f2303b3f534351'
depends_on 'cmake'
depends_on 'qt'
depends_on 'automoc4'
def keg_only?
"This package is already supplied by Qt and is only needed by KDE packages."
end
2010-03-18 15:44:05 +00:00
def patches
"http://gitorious.org/phonon/phonon/commit/9556b819b089da67290691f53ce7c1550ed23705.patch"
end
def install
system "cmake . #{std_cmake_parameters}"
system "make install"
end
end