Skip to content

Commit

Permalink
Add KDELibs 4.4.0 formula.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Feb 25, 2010
1 parent 8b2db99 commit 869e3a9
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions Library/Formula/kdelibs.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
require 'formula'

class Kdelibs <Formula
url 'ftp://ftp.kde.org/pub/kde/stable/4.4.0/src/kdelibs-4.4.0.tar.bz2'
homepage 'http://www.kde.org/'
md5 '957bca85de744a9ddd316fd85e882b40'

depends_on 'cmake'
depends_on 'qt'
depends_on 'automoc4'
depends_on 'pcre'
depends_on 'jpeg'
depends_on 'giflib'
depends_on 'strigi'
depends_on 'soprano'
depends_on 'shared-desktop-ontologies'
depends_on 'gettext'

depends_on 'libpng' unless File.exist? "/usr/X11R6/lib"

def install
gettext = Formula.factory 'gettext'
FileUtils.mkdir('build')
FileUtils.cd('build')
system "cmake .. #{std_cmake_parameters} -DCMAKE_PREFIX_PATH=#{gettext.prefix}"
system "make install"
end

def patches
{ :p4 => "http://websvn.kde.org/branches/KDE/4.4/kdelibs/plasma/private/applethandle_p.h?r1=1095725&r2=1095724&pathrev=1095725&view=patch" }
end
end

0 comments on commit 869e3a9

Please sign in to comment.