Ticket #51411: mlt.2.diff

File mlt.2.diff, 1.9 KB (added by RJVB (René Bertin), 7 years ago)

update to 6.4.1, mlt-qt5 subport

  • multimedia/mlt/Portfile

    old new  
    11# -*- 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$
    32
    43PortSystem          1.0
    54PortGroup           muniversal 1.0
    6 PortGroup           qt4 1.0
    75
    86name                mlt
    97epoch               3
    10 version             6.0.0
    11 revision            1
     8version             6.4.1
    129categories          multimedia
    1310maintainers         dennedy.org:dan
    1411license             GPL-2+
     
    2724master_sites        sourceforge:project/mlt/mlt
    2825platforms           darwin
    2926
    30 checksums           rmd160 e9b03671545aa5349541495bc226328f639178cf \
    31                     sha256 317874cfc7fc528dddbb3a7a32fd46372aae22bdc4527be1cfb55c93fa66e3bd
     27checksums           rmd160  647cdad41974b93c5745a358e1129f2ed5f6e577 \
     28                    sha256  d3a992f3e67463e68630cb0b455d408a2a12f4da7a19e46807fa08a79f09b2b6
     29
     30subport ${name}-qt5 {
     31    description     ${description} - Qt5 version
     32    long_description \
     33                    ${long_description} Built against Qt5.
     34}
     35
     36if {${subport} eq "${name}"} {
     37    conflicts       ${name}-qt5
     38    PortGroup       qt4 1.0
     39} else {
     40    conflicts       ${name}
     41    PortGroup       qt5 1.0
     42}
    3243
    3344depends_build-append port:git \
    3445                    port:doxygen
     
    4455                    port:libxml2 \
    4556                    port:libexif
    4657
    47 configure.args      --enable-gpl \
     58configure.args-append \
     59                    --enable-gpl \
    4860                    --qt-libdir=${qt_frameworks_dir} \
    49                     --qt-includedir=${qt_includes_dir}/Qt \
     61                    --qt-includedir=${qt_includes_dir} \
    5062                    --disable-jackrack \
    5163                    --disable-mmx \
    5264                    --disable-gtk2 \