Ticket #50294: mlt.diff
File mlt.diff, 3.6 KB (added by RJVB (René Bertin), 9 years ago) |
---|
-
multimedia/mlt/Portfile
old new 3 3 4 4 PortSystem 1.0 5 5 PortGroup muniversal 1.0 6 PortGroup qt4 1.07 6 8 7 name mlt 9 8 epoch 3 10 version 0.9.6 11 revision 2 9 version 0.9.8 12 10 categories multimedia 13 11 maintainers dennedy.org:dan 14 12 license GPL-2+ … … 27 25 master_sites sourceforge:project/mlt/mlt 28 26 platforms darwin 29 27 30 checksums rmd160 c678a40b0fa362043d2a867152702cd8375d7bc7 \ 31 sha256 ab999992828a03dadbf62f6a131aada776cfd7afe63a94d994877fdba31a3000 28 checksums rmd160 e08e7c29fd4525a9454acfb76e21efb8fe890143 \ 29 sha256 7fa57d818dfd1a85e76a4c746a1deb71501232706eb89400c976bcf48f9cb966 30 31 subport qt5-${name} { 32 description ${description} - Qt5 version 33 long_description \ 34 ${long_description} It is built against the Qt5 libraries. 35 } 36 37 if {${subport} eq "${name}"} { 38 conflicts qt5-${name} 39 PortGroup qt4 1.0 40 } else { 41 conflicts ${name} 42 PortGroup qt5 1.0 43 } 32 44 33 45 depends_build-append port:git \ 34 46 port:doxygen … … 44 56 port:libxml2 \ 45 57 port:libexif 46 58 47 configure.args --enable-gpl \ 59 # NB: qt-includedir can and should be set to ${qt_includes_dir}, 60 # not ${qt_includes_dir}/Qt !! 61 configure.args-append \ 62 --enable-gpl \ 48 63 --qt-libdir=${qt_frameworks_dir} \ 49 --qt-includedir=${qt_includes_dir} /Qt\64 --qt-includedir=${qt_includes_dir} \ 50 65 --disable-jackrack \ 51 66 --disable-mmx \ 52 67 --disable-gtk2 \ … … 62 77 configure.cflags-append "-I${qt_includes_dir}" 63 78 configure.ldflags-delete "-L${prefix}/lib" 64 79 80 post-patch { 81 reinplace -W ${worksrcpath}/src "s|__DARWIN__|__APPLE__|g" \ 82 framework/mlt_factory.c \ 83 framework/mlt_properties.c \ 84 framework/mlt_property.c \ 85 framework/mlt_property.h \ 86 melt/melt.c \ 87 mlt++/MltProperties.cpp \ 88 mlt++/MltProperties.h \ 89 modules/decklink/common.cpp \ 90 modules/decklink/common.h \ 91 modules/frei0r/factory.c \ 92 modules/jackrack/plugin.c \ 93 modules/jackrack/plugin_mgr.c \ 94 modules/opengl/factory.c \ 95 modules/opengl/filter_glsl_manager.cpp \ 96 modules/plusgpl/utils.c \ 97 modules/plusgpl/utils.h \ 98 modules/sdl/consumer_sdl.c \ 99 modules/sdl/consumer_sdl_audio.c \ 100 modules/sdl/consumer_sdl_osx.h \ 101 modules/sdl/consumer_sdl_still.c \ 102 modules/videostab/stab/estimate.c \ 103 tests/test_filter/test_filter.cpp \ 104 tests/test_properties/test_properties.cpp 105 } 106 65 107 build.args-append CC="${configure.cc}" CXX="${configure.cxx}" CPP="${configure.cpp}" 66 108 67 109 if {[variant_isset universal]} {