# -*- 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 ffmpegthumbs version 4.14.3 revision 2 categories kde kde4 maintainers nicos openmaintainer license GPL-2+ description Ffmpeg-based thumbnail creator for video files. long_description ${description} homepage http://www.kde.org platforms darwin master_sites kde:stable/${version}/src/ use_xz yes checksums rmd160 299c0d6af4e1133e0d9d2e5675abe9410f403dea \ sha256 79f0856b370787ec598a161174e659d7c59bfc53e10601209a181168b50052f1 #Binaries do not link to openssl, nor use the ssl backend of kdelibs4 license_noconflict openssl depends_lib-append port:kdelibs4 \ path:lib/libavcodec.dylib:ffmpeg #The support for ffmpeg3 is kept is a variant, as it implies some #regressions (no deinterlace). #See https://git.reviewboard.kde.org/r/126992/ for an attempt to port the code, #but it is based on later git code, and for Qt5. variant ffmpeg3 description "Update code to comply with functions of ffmpeg > 2.8" { patchfiles-append patch-deprecated.diff \ patch-nodeinterlace.diff } default_variants +ffmpeg3 pre-activate { #Deactivate hack for when kdemultimedia4 port has been fragmented into small ports if {[file exists ${prefix}/lib/kde4/ffmpegthumbs.so] && ![catch {set vers [lindex [registry_active kdemultimedia4] 0]}] && [vercmp [lindex $vers 1] 4.9.3] < 0} { registry_deactivate_composite kdemultimedia4 "" [list ports_nodepcheck 1] } } livecheck.url http://kde.mirrors.hoobly.com/stable livecheck.regex (\\d+(\\.\\d+)+)