forked from stephanemagnenat/homebrew-kf5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kf5-khtml.rb
46 lines (38 loc) · 1.26 KB
/
kf5-khtml.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
require "formula"
class Kf5Khtml < Formula
url "http://download.kde.org/stable/frameworks/5.16/portingAids/khtml-5.16.0.tar.xz"
sha1 "7e84b4dbe914e5869754577229282d9c6f7783b0"
homepage "http://www.kde.org/"
head 'git://anongit.kde.org/khtml.git'
depends_on "cmake" => :build
depends_on "haraldf/kf5/kf5-extra-cmake-modules" => :build
depends_on "haraldf/kf5/kf5-kdoctools" => :build
depends_on "qt5" => "with-d-bus"
depends_on "jpeg"
depends_on "giflib"
depends_on "haraldf/kf5/kf5-karchive"
depends_on "haraldf/kf5/kf5-kcodecs"
depends_on "haraldf/kf5/kf5-kglobalaccel"
depends_on "haraldf/kf5/kf5-kiconthemes"
depends_on "haraldf/kf5/kf5-ki18n"
depends_on "haraldf/kf5/kf5-kio"
depends_on "haraldf/kf5/kf5-kjs"
depends_on "haraldf/kf5/kf5-knotifications"
depends_on "haraldf/kf5/kf5-kparts"
depends_on "haraldf/kf5/kf5-ktextwidgets"
depends_on "haraldf/kf5/kf5-kwallet"
depends_on "haraldf/kf5/kf5-kwidgetsaddons"
depends_on "haraldf/kf5/kf5-sonnet"
depends_on "haraldf/kf5/kf5-kxmlgui"
def patches
DATA
end
def install
args = std_cmake_args
args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"
system "cmake", ".", *args
system "make", "install"
prefix.install "install_manifest.txt"
end
end
__END__