Ticket #37087: kdelibs4-mobile-variant.patch

File kdelibs4-mobile-variant.patch, 1.1 KB (added by yue.liu@…, 12 years ago)
  • dports/kde/kdelibs4/Portfile

    diff --git a/dports/kde/kdelibs4/Portfile b/dports/kde/kdelibs4/Portfile
    index 1d9504b..b9c9136 100644
    a b variant no_root description {Run the kde cache agent as MacPorts install user.} 
    136136    destroot.violate_mtree  yes
    137137}
    138138
     139variant mobile description {KDE framework Mobile profile.} {
     140    patchfiles-append \
     141        no-kparts-genericfactory.patch \
     142        nepomuk_install_deprecated.patch \
     143        nepomuk-no-duplicatetags.patch \
     144        kparts-linkinterface-nepomuk.patch \
     145        kdewebkit_mobile_fix.patch \
     146        include_solid.patch \
     147        plasma-active-patches.patch
     148
     149    depends_lib-delete \
     150        port:cyrus-sasl2 port:kerberos5 \
     151        port:tiff port:jasper port:openexr \
     152        port:expat port:libart_lgpl \
     153        port:libidn port:libiconv \
     154        port:soprano
     155
     156    configure.args-delete    -DWITH_SOPRANO=ON
     157    configure.args-append    -DKDE_PLATFORM_PROFILE=Mobile -DWITH_SOPRANO=OFF -DHAVE_NEPOMUK=OFF
     158}
     159
    139160livecheck.url       http://kde.mirrors.hoobly.com/stable/latest/src/
    140161livecheck.regex     kdelibs-(\\d+\\.\\d+\\.\\d+)