# -*- 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           kde4 1.1

name                kdenlive
version             0.9.4
categories          multimedia
maintainers         dennedy.org:dan
license             GPL-2+

description         A non-linear video editing suite.
long_description    Kdenlive is a non-linear video editing suite, \
                    which supports DV, HDV and much more formats. \
                    Kdenlive relies on the MLT video engine and \
                    FFmpeg for video formats, thus offering a comprehensive solution.

homepage            http://www.kdenlive.org/
use_bzip2           yes 
master_sites        http://download.kde.org/stable/${name}/${version}/src/
platforms           darwin

checksums           sha1    a91a6c02a5847d3e21f2713b1fba3db413ccaf62 \
                    rmd160  cb381f72146dbf5cd7657aa86b091df7578812d7

depends_lib-append  port:mlt \
                    port:kdelibs4 \
                    port:kde4-runtime

depends_run-append  port:cdrtools \
                    port:dvdauthor

# mlt is not universal
universal_variant   no

patchfiles          patch-src-stringMap.diff

configure.args-append -DNO_JOGSHUTTLE=1

build.env-append    -DNO_JOGSHUTTLE=1

platform darwin {
    patchfiles-append patch-BUNDLE_INSTALL_DIR.diff
}