source: trunk/dports/kde/ffmpegthumbs/Portfile

Last change on this file was 148826, checked in by devans@…, 14 months ago

ffmpegthumbs: make +ffmpeg3 the default, increment revision to rebuild with ffmpeg 3.0.2 (#50694).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 148826 2016-05-19 16:40:31Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           kde4   1.1
6
7name                ffmpegthumbs
8version             4.14.3
9revision            2
10categories          kde kde4
11maintainers         nicos openmaintainer
12license             GPL-2+
13description         Ffmpeg-based thumbnail creator for video files.
14long_description    ${description}
15homepage            http://www.kde.org
16platforms           darwin
17master_sites        kde:stable/${version}/src/
18use_xz              yes
19checksums           rmd160  299c0d6af4e1133e0d9d2e5675abe9410f403dea \
20                    sha256  79f0856b370787ec598a161174e659d7c59bfc53e10601209a181168b50052f1
21
22#Binaries do not link to openssl, nor use the ssl backend of kdelibs4
23license_noconflict  openssl
24
25depends_lib-append  port:kdelibs4 \
26                    path:lib/libavcodec.dylib:ffmpeg
27
28#The support for ffmpeg3 is kept is a variant, as it implies some
29#regressions (no deinterlace).
30#See https://git.reviewboard.kde.org/r/126992/ for an attempt to port the code,
31#but it is based on later git code, and for Qt5.
32variant ffmpeg3 description "Update code to comply with functions of ffmpeg > 2.8" {
33    patchfiles-append   patch-deprecated.diff \
34                        patch-nodeinterlace.diff
35}
36
37default_variants    +ffmpeg3
38
39pre-activate {
40    #Deactivate hack for when kdemultimedia4 port has been fragmented into small ports
41    if {[file exists ${prefix}/lib/kde4/ffmpegthumbs.so] 
42        && ![catch {set vers [lindex [registry_active kdemultimedia4] 0]}] 
43        && [vercmp [lindex $vers 1] 4.9.3] < 0} {
44            registry_deactivate_composite kdemultimedia4 "" [list ports_nodepcheck 1] 
45    } 
46}
47
48
49livecheck.url       http://kde.mirrors.hoobly.com/stable
50livecheck.regex     (\\d+(\\.\\d+)+)
Note: See TracBrowser for help on using the repository browser.