source: trunk/dports/multimedia/mkvtoolnix/Portfile @ 113329

Last change on this file since 113329 was 113329, checked in by mojca@…, 6 years ago

revbump the wxWidgets dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 KB
RevLine 
[50132]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
[20335]2# $Id: Portfile 113329 2013-11-13 16:53:30Z mojca@macports.org $
[4244]3
[50132]4PortSystem          1.0
[93897]5PortGroup           muniversal 1.0
[110263]6PortGroup           wxWidgets 1.0
[40012]7
[50132]8name                mkvtoolnix
[109683]9version             6.3.0
[113329]10revision            2
[50132]11categories          multimedia
[88126]12maintainers         nomaintainer
[84487]13license             GPL-2+ LGPL-2.1+
14
[50132]15description         Matroska media files manipulation tools.
16long_description    mkvtoolnix will evolve to a set of tools to create, \
17                    alter and inspect Matroska files under Linux and other \
18                    Unices, just what the OGMtools do for the OGM format.
19homepage            http://www.bunkus.org/videotools/mkvtoolnix/
20platforms           darwin
[80442]21master_sites        ${homepage}sources/ \
22                    http://svn.mandriva.com/svn/packages/cooker/mkvtoolnix/releases/${version}/1/SOURCES/
[109683]23use_xz              yes
[61104]24
[109683]25checksums           rmd160  7147271b54cf7ccb1ea9683428f6d9ccd47ae3fb \
26                    sha256  bc05f07d92190d018e901091a07ed5139f4eec833203af04672e4d3a0c619ba1
[61104]27
[110263]28wxWidgets.use       wxWidgets-3.0
29
[109764]30depends_build       port:pkgconfig \
31                    port:libebml \
32                    port:libmatroska
[94091]33
[50132]34depends_lib         port:boost \
[71927]35                    port:bzip2 \
[94091]36                    port:curl \
[50132]37                    port:expat \
[71927]38                    port:file \
39                    port:flac \
40                    port:gettext \
[50132]41                    port:libogg \
42                    port:libvorbis \
[76914]43                    port:lzo2 \
[50132]44                    port:pcre \
[98409]45                    port:ruby \
[50132]46                    port:zlib
[61104]47
[110028]48patch.pre_args      -p1
49patchfiles          patch-clang_errors.diff
50# Remove when version > 6.3.0 is released
51patchfiles-append   patch-df750c2.diff
[109683]52
[98409]53
[109796]54platform darwin {
[110028]55    if {${os.major} < 13} {
56        # TODO: Need to link against static versions of boost and icu for this to work right
57        #       See: https://trac.macports.org/ticket/40231
58
59        # configure complains about gcc < 4.6 and clang
60        compiler.whitelist macports-gcc-4.7 macports-gcc-4.8 macports-gcc-4.9
[109693]61    }
62}
63
[71927]64build.cmd           ./drake
65build.target        default
[76914]66build.args          -j${build.jobs}
[71927]67
[50132]68configure.args      --mandir=${prefix}/share/man \
[71927]69                    --with-boost=${prefix} \
[50132]70                    --with-extra-libs=${prefix}/lib \
71                    --with-extra-includes=${prefix}/include \
72                    --disable-gui \
73                    --disable-wxwidgets
[61104]74
[50132]75variant wxwidgets description {Build with the wxWidgets GUI} {
[110263]76    # TODO: make the GUI application respond by creating an app bundle
77    #       and using http://wiki.wxwidgets.org/WxMac-specific_topics#My_app_can.27t_be_brought_to_the_front.21
78    #
79    # see:  https://trac.macports.org/ticket/17366
80    depends_lib-append port:${wxWidgets.port}
[71930]81
[50132]82    configure.args-delete \
[109888]83        --disable-gui \
[50132]84        --disable-wxwidgets
85    configure.args-append \
86        --enable-gui \
[110263]87        --enable-wxwidgets \
88        --with-wx-config=${wxWidgets.wxconfig}
[40012]89}
Note: See TracBrowser for help on using the repository browser.