# -*- 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 # $Id$ PortSystem 1.0 PortGroup muniversal 1.0 PortGroup qt4 1.0 name mlt epoch 3 version 6.0.0 revision 1 categories multimedia maintainers dennedy.org:dan license GPL-2+ description Open source multimedia framework - core libraries long_description MLT is an open source multimedia framework, designed and developed for \ television broadcasting. It provides a toolkit for broadcasters, video \ editors, media players, transcoders, web streamers and many more types of \ applications. The functionality of the system is provided via an assortment \ of ready to use tools, xml authoring components, and an extendible plug-in \ based API. \ \ This package contains the files necessary for running applications that use \ the MLT multimedia framework. homepage http://www.mltframework.org/ master_sites sourceforge:project/mlt/mlt platforms darwin checksums rmd160 e9b03671545aa5349541495bc226328f639178cf \ sha256 317874cfc7fc528dddbb3a7a32fd46372aae22bdc4527be1cfb55c93fa66e3bd depends_build-append port:git \ port:doxygen depends_lib-append port:atk \ port:frei0r-plugins \ path:lib/libavcodec.dylib:ffmpeg \ port:libsamplerate \ port:libsdl \ port:libsdl_image \ port:libvorbis \ port:sox \ port:libxml2 \ port:libexif configure.args --enable-gpl \ --qt-libdir=${qt_frameworks_dir} \ --qt-includedir=${qt_includes_dir}/Qt \ --disable-jackrack \ --disable-mmx \ --disable-gtk2 \ --disable-swfdec platform darwin 10 { if {${build_arch} eq "x86_64"} { configure.args-delete --disable-mmx } } configure.cflags-append "-I${prefix}/include" configure.cflags-append "-I${qt_includes_dir}" configure.ldflags-delete "-L${prefix}/lib" build.args-append CC="${configure.cc}" CXX="${configure.cxx}" CPP="${configure.cpp}" if {[variant_isset universal]} { foreach arch ${configure.universal_archs} { lappend merger_build_env(${arch}) {*}"CFLAGS='${configure.cflags} -arch ${arch}'" lappend merger_build_env(${arch}) {*}"CXXFLAGS='${configure.cxxflags} -arch ${arch}'" lappend merger_build_env(${arch}) {*}"LDFLAGS='${configure.ldflags} -L${worksrcpath}-${arch}/src/framework -L${prefix}/lib -arch ${arch}'" } } else { build.env-append CFLAGS="${configure.cflags} [get_canonical_archflags cc]" build.env-append CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" build.env-append LDFLAGS="${configure.ldflags} -L${worksrcpath}/src/framework -L${prefix}/lib [get_canonical_archflags ld]" } variant gtk2 description {include the gtk2 module (for additional image and text producers)} { configure.args-delete --disable-gtk2 depends_lib-append port:gtk2 } livecheck.type regex livecheck.url http://sourceforge.net/projects/${name}/files/ livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}