require 'formula' class KdePhonon :build depends_on 'automoc4' => :build depends_on 'qt' keg_only "This package is already supplied by Qt and is only needed by KDE packages." def patches # Add missing QUuid include; committed upstream. "http://gitorious.org/phonon/phonon/commit/8e96bbfb1ab4b1c75e4c417549fcc0d3ae9e2183.patch" end def install system "cmake . #{std_cmake_parameters}" system "make install" end end