homebrew-core/Formula/kde-phonon.rb

24 lines
634 B
Ruby
Raw Normal View History

2010-03-18 15:44:05 +00:00
require 'formula'
class KdePhonon <Formula
url 'ftp://ftp.kde.org/pub/kde/stable/phonon/4.4.2/phonon-4.4.2.tar.bz2'
2010-03-18 15:44:05 +00:00
homepage 'http://phonon.kde.org/'
md5 'd9eab28383783261254f1cef3b92a3fa'
2010-03-18 15:44:05 +00:00
depends_on 'cmake' => :build
depends_on 'automoc4' => :build
2010-03-18 15:44:05 +00:00
depends_on 'qt'
keg_only "This package is already supplied by Qt and is only needed by KDE packages."
2010-03-18 15:44:05 +00:00
def patches
# Add missing QUuid include; committed upstream.
"http://gitorious.org/phonon/phonon/commit/8e96bbfb1ab4b1c75e4c417549fcc0d3ae9e2183.patch"
2010-03-18 15:44:05 +00:00
end
2010-03-18 15:44:05 +00:00
def install
system "cmake . #{std_cmake_parameters}"
system "make install"
end
end