Ticket #46155: qtcurve-diff-20141207.diff

File qtcurve-diff-20141207.diff, 2.3 KB (added by RJVB (René Bertin), 10 years ago)
  • /opt/local/site-ports/kde/QtCurve/

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
    2 # $Id: Portfile 126006 2014-10-01 21:17:50Z mk@macports.org $
     2# $Id: Portfile Thu Jun  5 12:10:38 UTC 2014 rjvbertin@gmail.com $
    33# kde/libkgapi/Portfile
    44
    55PortSystem          1.0
     
    77
    88fetch.type          git
    99git.url             git://anongit.kde.org/qtcurve.git
    10 git.branch          660f859556471f13834ef4fb095816639aa85014
     10#git.branch          660f8595
     11git.branch          13e147fb
    1112
    1213name                QtCurve
    1314version             1.8.18
     
    3334                    port:kdelibs4 \
    3435                    port:qt4-mac
    3536
    36 configure.args-append   -DQTC_QT4_STYLE_SUPPORT:BOOL=OFF -DENABLE_QT5:BOOL=OFF \
    37                         -DQTC_QT4_ENABLE_KWIN:BOOL=OFF
     37configure.args-append   -DQTC_QT4_STYLE_SUPPORT:BOOL=OFF -DENABLE_QT4:BOOL=ON -DENABLE_QT5:BOOL=OFF \
     38                        -DQTC_QT4_ENABLE_KWIN:BOOL=OFF -DQTC_ENABLE_PO:BOOL=ON \
     39                        -DQTC_QT5_ENABLE_KDE:BOOL=OFF -DQTC_ENABLE_X11:BOOL=OFF
    3840
    3941variant x11 description {build x11 support} {}
    4042if { [variant_isset x11] } {
    4143        depends_lib-append port:xorg-libX11
     44        configure.args-delete -DQTC_ENABLE_X11:BOOL=OFF
    4245        configure.args-append -DQTC_ENABLE_X11:BOOL=ON
    43 } else {
    44         configure.args-append -DQTC_ENABLE_X11:BOOL=OFF
    4546}
    4647
    4748variant gtk2 description {build the gtk2 plugin} {}
    4849if { [variant_isset gtk2] } {
    4950        depends_lib-append port:gtk2
    50         configure.args-append -DENABLE_GTK2:BOOL=ON
     51        configure.args-delete -DQTC_ENABLE_X11:BOOL=OFF
     52        configure.args-append -DENABLE_GTK2:BOOL=ON -DQTC_ENABLE_X11:BOOL=ON
    5153} else {
    5254        configure.args-append -DENABLE_GTK2:BOOL=OFF
    5355}
     
    5961        configure.args-delete -DENABLE_QT5:BOOL=OFF
    6062}
    6163
     64variant kf5 description {build for KDE 5 Frameworks too} {}
     65if { [variant_isset kf5] } {
     66        depends_lib-append port:qt5-kde
     67        # default for ENABLE_QT5=on:
     68        configure.args-delete -DENABLE_QT5:BOOL=OFF -DQTC_QT5_ENABLE_KDE:BOOL=OFF
     69}
     70
    6271variant devel description {Prevent stripping of binaries} {}
    6372if { [variant_isset devel] } {
    6473        configure.args-delete -DCMAKE_BUILD_TYPE=Release