-
Notifications
You must be signed in to change notification settings - Fork 56
/
kf5-kio.rb
36 lines (31 loc) · 1.17 KB
/
kf5-kio.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
require "formula"
class Kf5Kio < Formula
url "http://download.kde.org/stable/frameworks/5.1.0/kio-5.1.0.tar.xz"
sha1 "b94ad502e91b9123268566c8d7fc859acc2b3ca0"
homepage "http://www.kde.org/"
head 'git://anongit.kde.org/kio.git'
depends_on "cmake" => :build
depends_on "haraldf/kf5/kf5-extra-cmake-modules" => :build
depends_on "qt5" => "with-d-bus"
depends_on "haraldf/kf5/kf5-kdbusaddons"
depends_on "haraldf/kf5/kf5-kdoctools"
depends_on "haraldf/kf5/kf5-kitemviews"
depends_on "haraldf/kf5/kf5-kservice"
depends_on "haraldf/kf5/kf5-kconfigwidgets"
depends_on "haraldf/kf5/kf5-solid"
depends_on "haraldf/kf5/kf5-kiconthemes"
depends_on "haraldf/kf5/kf5-kcompletion"
depends_on "haraldf/kf5/kf5-kjobwidgets"
depends_on "haraldf/kf5/kf5-knotifications"
depends_on "haraldf/kf5/kf5-kbookmarks"
depends_on "haraldf/kf5/kf5-kwallet"
def install
args = std_cmake_args
args << "-DCMAKE_CXX_FLAGS='-D_DARWIN_C_SOURCE'"
args << "-DCMAKE_C_FLAGS='-D_DARWIN_C_SOURCE'"
args << "-DCMAKE_REQUIRED_DEFINITIONS='-D_DARWIN_C_SOURCE'"
system "cmake", ".", *args
system "make", "install"
prefix.install "install_manifest.txt"
end
end