Ticket #49109: attica.diff

File attica.diff, 1.5 KB (added by RJVB (René Bertin), 8 years ago)

port:attica : make it build with Qt5 installed and active

  • Portfile

    old new  
    22# $Id: Portfile 140960 2015-10-06 20:13:45Z michaelld@macports.org $
    33
    44PortSystem          1.0
    5 PortGroup           kde4  1.1
     5PortGroup       kde4 1.1
    66
    77name                attica
    88version             0.4.2
    9 revision            1
     9revision            2
    1010categories          kde kde4
    1111maintainers         nicos
    1212license             LGPL-2.1
     
    2020checksums           rmd160  fae94a0a9b9064b3e25a00a759e2ef450bffe7d8 \
    2121                    sha256  3b9c53770862c0b21b7af7ea15951c35831126022bb8d052760d9cf8bd7ee4f8
    2222
    23 platform darwin 8 {
    24     configure.ldflags-append    -lz -lssl -lcrypto
     23depends_lib-delete \
     24                    port:phonon
     25
     26# install the headerfiles where they won't clash with those from kf5-attica
     27patchfiles-append \
     28                    patch-includedir.diff
     29post-patch {
     30    reinplace -W ${worksrcpath} "s|@IPREFIX@|/${kde4.include_prefix}|g" \
     31                    lib/CMakeLists.txt lib/cmake/libattica.pc.cmake
    2532}
    2633
     34configure.args-append \
     35                    -DQT4_BUILD:BOOL=On
     36
    2737post-destroot {
    2838    ln -s libattica.0.4.dylib ${destroot}${prefix}/lib/libattica.0.dylib
    2939}
    3040
     41platform darwin 8 {
     42    configure.ldflags-append    -lz -lssl -lcrypto
     43}
     44
    3145livecheck.url       http://kde.mirrors.hoobly.com/stable/${name}
    3246livecheck.regex     attica-(\\d+\\.\\d+\\.\\d+)