7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
22 lines
557 B
Ruby
22 lines
557 B
Ruby
require 'formula'
|
|
|
|
class KdePhonon <Formula
|
|
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'
|
|
|
|
keg_only "This package is already supplied by Qt and is only needed by KDE packages."
|
|
|
|
def patches
|
|
"http://gitorious.org/phonon/phonon/commit/9556b819b089da67290691f53ce7c1550ed23705.patch"
|
|
end
|
|
|
|
def install
|
|
system "cmake . #{std_cmake_parameters}"
|
|
system "make install"
|
|
end
|
|
end
|