1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 120204 2014-05-19 15:26:03Z nicos@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup kde4 1.1 |
---|
6 | |
---|
7 | name kde4-workspace |
---|
8 | version 4.14.1 |
---|
9 | revision 1 |
---|
10 | set plasmaversion 4.11.12 |
---|
11 | categories kde kde4 |
---|
12 | maintainers rjvbertin@gmail.com |
---|
13 | license GPL-2+ LGPL-2.1+ |
---|
14 | description KDE Workspace |
---|
15 | long_description Brings certain aspects of Linux/X11 KDE workspaces ("Plasma") to OS X, \ |
---|
16 | notably the System Settings application and the Oxygen style.\ |
---|
17 | KDE ${version} has Plasma ${plasmaversion} |
---|
18 | platforms darwin |
---|
19 | homepage http://www.kde.org/workspaces/ |
---|
20 | master_sites kde:stable/${version}/src/ |
---|
21 | use_xz yes |
---|
22 | distname kde-workspace-${plasmaversion} |
---|
23 | |
---|
24 | checksums rmd160 e5f4ed10a6791b9a6cea37ec13d8a1141fd9707b \ |
---|
25 | sha256 09d8ae1ac1b704fc919bdedfec47c6561033dca125b0096cb9ed398445fa942f |
---|
26 | |
---|
27 | #Fully removing X11 only function to prevent automoc to include it |
---|
28 | patchfiles patch-CmakeLists-for-OSX.patch \ |
---|
29 | libs-CmakeLists-deactivate-taskmanager.patch \ |
---|
30 | patch-KControl-CmakeLists.patch \ |
---|
31 | krdb-noX11onOSX.patch |
---|
32 | |
---|
33 | depends_build-append port:boost \ |
---|
34 | port:freetype \ |
---|
35 | port:libusb |
---|
36 | |
---|
37 | depends_lib-append port:kdelibs4 \ |
---|
38 | port:kdepimlibs4 \ |
---|
39 | port:kactivities \ |
---|
40 | port:nepomuk-core \ |
---|
41 | port:libqalculate \ |
---|
42 | port:phonon \ |
---|
43 | port:qjson \ |
---|
44 | port:qimageblitz |
---|
45 | |
---|
46 | configure.args-append -DBUILD_webkit:BOOL=ON |
---|
47 | |
---|
48 | variant nostrip description {Prevent stripping of binaries} {} |
---|
49 | |
---|
50 | if { [variant_isset nostrip] } { |
---|
51 | configure.args-delete -DCMAKE_BUILD_TYPE=Release |
---|
52 | configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo |
---|
53 | } |
---|
54 | |
---|
55 | livecheck.url http://kde.mirrors.hoobly.com/stable/ |
---|
56 | livecheck.regex (\\d+(\\.\\d+)+) |
---|