source: trunk/dports/kde/kde4-runtime/Portfile @ 144197

Last change on this file since 144197 was 144197, checked in by ryandesign@…, 3 years ago

webp: update to 0.5.0 and revbump ports that link with libwebp

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.5 KB
Line 
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 144197 2016-01-04 17:14:39Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4   1.1
6
7fetch.type          git
8git.url             git://anongit.kde.org/kde-runtime
9git.branch          e08a9f70
10
11name                kde4-runtime
12version             4.14.4.20150225
13revision            3
14categories          kde kde4
15maintainers         nicos
16license             GPL-2+ LGPL-2.1+
17description         Shared data needed by KDE4 programs
18long_description    Provides data which is required by KDE4 applications. \
19                    e.g. icons and mimetype data.
20platforms           darwin
21homepage            http://www.kde.org
22master_sites        kde:stable/${version}/src/
23use_xz              yes
24
25default_variants    +samba
26
27#Binaries do not link directly to openssl, nor use the ssl backend of kdelibs4,
28#nor links to libkimap or libmailtransport from kdepimlibs4
29license_noconflict  openssl
30
31patchfiles          patch-support-for-lldb.diff \
32                    patch-make-kioexec-agent.diff \
33                    patch-phonon-cmakelists.diff
34
35#Blacklist gcc42 and llvm-gcc-42 (does not build with gcc, ticket #37574)
36compiler.blacklist  gcc-4.2 apple-gcc-4.2 llvm-gcc-4.2 macports-llvm-gcc-4.2
37
38depends_lib-append  port:kdelibs4 \
39                    port:kdepimlibs4 \
40                    port:kactivities \
41                    port:nepomuk-core \
42                    port:libssh \
43                    port:qimageblitz \
44                    port:oxygen-icons \
45                    port:hicolor-icon-theme \
46                    port:exiv2 \
47                    port:jpeg \
48                    port:openslp \
49                    port:redland \
50                    port:raptor2 \
51                    port:webp \
52                    port:bison \
53                    port:shared-mime-info \
54                    port:gpgme port:attica \
55                    port:libgcrypt port:openexr \
56                    port:xz port:zlib \
57                    port:qca \
58                    port:perl5
59
60depends_run-append  port:virtuoso
61
62#Virtuoso builds only on 64bit, but it is only a runtime dependency,
63#automatically deactivated if not available (ticket #41773)
64depends_skip_archcheck  virtuoso
65
66configure.args-append   -DXINE_INCLUDE_DIR=\"\" \
67                        -DXINE_LIBRARY=\"\" \
68                        -DWITH_ALSA=OFF \
69                        -DWITH_QZeitgeist=OFF \
70                        -DWITH_QNtrack=OFF \
71                        -DKDEBASE_DISABLE_MULTIMEDIA=OFF \
72                        -DKDERUNTIME_BUILD_NEPOMUK=ON
73
74variant xine description "Enable xine support" {
75# Unsupported. Don't report bugs, unless it comes with a patch :-)
76    depends_lib-append      port:xine-lib
77    configure.args-delete   -DXINE_INCLUDE_DIR=\"\" \
78                            -DXINE_LIBRARY=\"\"
79}
80if {[variant_isset xine]} {
81    # xine-lib is not universal
82    universal_variant no
83}
84
85variant samba description "Activate use of samba" {
86    depends_lib-append  port:samba3
87}
88if {![variant_isset samba]} {
89    configure.args-append   -DWITH_Samba=OFF
90} else {
91    configure.args-append   -DWITH_Samba=ON
92}
93
94configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo
95
96post-destroot {
97# Remove this file as it conflicts with hicolor-icon-theme
98    file delete ${destroot}${prefix}/share/icons/hicolor/index.theme
99# Remove this file as it conflicts with kdelibs4
100    file delete ${destroot}${prefix}/include/nepomuk/resourcewatcher.h
101}
102
103livecheck.type       none
Note: See TracBrowser for help on using the repository browser.