Ticket #56414: mlt-Portfile-6.6.0.diff

File mlt-Portfile-6.6.0.diff, 3.4 KB (added by ddennedy (Dan Dennedy), 6 years ago)
  • multimedia/mlt/Portfile

    old new  
    55
    66name                mlt
    77epoch               3
    8 version             6.4.1
    9 revision            2
     8version             6.6.0
     9revision            0
    1010categories          multimedia
    11 maintainers         dennedy.org:dan {gmail.com:rjvbertin @RJVB} openmaintainer
     11maintainers         {dennedy.org:dan @ddennedy} {gmail.com:rjvbertin @RJVB} openmaintainer
    1212license             GPL-2+
    1313
    1414description         Open source multimedia framework - core libraries
     
    2222                    This package contains the files necessary for running applications that use \
    2323                    the MLT multimedia framework.
    2424homepage            http://www.mltframework.org/
    25 master_sites        sourceforge:project/mlt/mlt
     25master_sites        https://github.com/mltframework/mlt/releases/download/v${version}/ \
     26                    sourceforge:project/mlt/mlt
    2627platforms           darwin
    2728
    28 checksums           rmd160  647cdad41974b93c5745a358e1129f2ed5f6e577 \
    29                     sha256  d3a992f3e67463e68630cb0b455d408a2a12f4da7a19e46807fa08a79f09b2b6
     29checksums           rmd160  cea1f633ee63f95e736ddf1af623d1c3a2325cd8 \
     30                    sha256  28cbc5974f72ef228d624a58809c7c8055372f5f62f5882dc055099d444b2cdd
    3031
    3132subport ${name}-qt5 {
    3233    description     ${description} - Qt5 version
     
    7172                    port:frei0r-plugins \
    7273                    path:lib/libavcodec.dylib:ffmpeg \
    7374                    port:libsamplerate \
    74                     port:libsdl \
    75                     port:libsdl_image \
     75                    port:libsdl2 \
    7676                    port:libvorbis \
    7777                    port:sox \
    7878                    port:libxml2 \
     
    8787    }
    8888}
    8989
    90 # cherrypicked commit from the next release that fixes a crash-on-exit issue
    91 # in recent Kkdenlive versions.
    92 patchfiles-append   patch-commit-a3188e3.diff
    93 
    9490# NB: qt-includedir can and should be set to ${qt_includes_dir},
    9591# not ${qt_includes_dir}/Qt !!
    9692configure.args-append \
     
    10197                    --disable-mmx \
    10298                    --disable-gtk2 \
    10399                    --disable-swfdec \
    104                     --disable-opencv
     100                    --disable-opencv \
     101                    --disable-sdl
    105102
    106103platform darwin 10 {
    107104    if {${build_arch} eq "x86_64"} {
     
    157154}
    158155
    159156# Allow building without SDL support, useful when used in dependents that themselves
    160 # depend on SDL2, to avoid (warnings about) runtime conflicts. It can be hoped that
    161 # one day MLT will support SDL2 too.
     157# depend on SDL 1.2, to avoid (warnings about) runtime conflicts.
    162158variant disable_sdl description {disable SDL support to avoid SDL vs. SDL2 conflicts} {
    163     patchfiles-append       patch-no-sdl.diff
    164     configure.args-append   --disable-sdl
     159    configure.args-append   --disable-sdl2
    165160    configure.cppflags-append \
    166161                            -DMELT_NOSDL
    167     depends_lib-delete \
    168                             port:libsdl \
    169                             port:libsdl_image
     162    depends_lib-delete      port:libsdl2
    170163}
    171164
    172165livecheck.type      regex
    173 livecheck.url       http://sourceforge.net/projects/${name}/files/
     166livecheck.url       https://github.com/mltframework/mlt/releases/latest
    174167livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}