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

Last change on this file was 153563, checked in by nicos@…, 12 months ago

kde4-runtime, kdepim4, kget: fix compilation after change in kdepimlibs4 in r153162 (ticket #52481)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.7 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 153563 2016-10-04 14:06:21Z 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            6
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                    patch-gpgme.diff
35
36#Blacklist gcc42 and llvm-gcc-42 (does not build with gcc, ticket #37574)
37compiler.blacklist  gcc-4.2 apple-gcc-4.2 llvm-gcc-4.2 macports-llvm-gcc-4.2
38
39depends_lib-append  port:kdelibs4 \
40                    port:kdepimlibs4 \
41                    port:kactivities \
42                    port:nepomuk-core \
43                    port:libssh \
44                    port:qimageblitz \
45                    port:oxygen-icons \
46                    port:hicolor-icon-theme \
47                    port:exiv2 \
48                    port:jpeg \
49                    port:openslp \
50                    port:redland \
51                    port:raptor2 \
52                    port:webp \
53                    port:bison \
54                    port:shared-mime-info \
55                    port:gpgme port:attica \
56                    port:libgcrypt port:openexr \
57                    port:xz port:zlib \
58                    port:qca \
59                    port:perl5
60
61depends_run-append  port:virtuoso
62
63#Virtuoso builds only on 64bit, but it is only a runtime dependency,
64#automatically deactivated if not available (ticket #41773)
65depends_skip_archcheck  virtuoso
66
67configure.args-append   -DXINE_INCLUDE_DIR=\"\" \
68                        -DXINE_LIBRARY=\"\" \
69                        -DWITH_ALSA=OFF \
70                        -DWITH_QZeitgeist=OFF \
71                        -DWITH_QNtrack=OFF \
72                        -DKDEBASE_DISABLE_MULTIMEDIA=OFF \
73                        -DKDERUNTIME_BUILD_NEPOMUK=ON
74
75pre-configure {
76    reinplace "s|%PREFIX%|${prefix}|g" \
77        ${worksrcpath}/kwalletd/CMakeLists.txt
78}
79
80variant xine description "Enable xine support" {
81# Unsupported. Don't report bugs, unless it comes with a patch :-)
82    depends_lib-append      port:xine-lib
83    configure.args-delete   -DXINE_INCLUDE_DIR=\"\" \
84                            -DXINE_LIBRARY=\"\"
85}
86if {[variant_isset xine]} {
87    # xine-lib is not universal
88    universal_variant no
89}
90
91variant samba description "Activate use of samba" {
92    depends_lib-append  port:samba3
93}
94if {![variant_isset samba]} {
95    configure.args-append   -DWITH_Samba=OFF
96} else {
97    configure.args-append   -DWITH_Samba=ON
98}
99
100configure.args-append -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo -DCMAKE_STRIP:FILEPATH=/bin/echo
101
102post-destroot {
103# Remove this file as it conflicts with hicolor-icon-theme
104    file delete ${destroot}${prefix}/share/icons/hicolor/index.theme
105# Remove this file as it conflicts with kdelibs4
106    file delete ${destroot}${prefix}/include/nepomuk/resourcewatcher.h
107}
108
109livecheck.type       none
Note: See TracBrowser for help on using the repository browser.