Ticket #50972: Portfile-mkvtoolnix.diff
File Portfile-mkvtoolnix.diff, 3.2 KB (added by johnrosshunt, 8 years ago) |
---|
-
Portfile
old new 1 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 2 3 3 PortSystem 1.0 4 PortGroup app 1.05 4 PortGroup cxx11 1.0 6 5 PortGroup github 1.0 7 6 PortGroup muniversal 1.0 8 PortGroup wxWidgets 1.09 7 10 github.setup mbunkus mkvtoolnix 7.9.0release-8 github.setup mbunkus mkvtoolnix 9.7.1 release- 11 9 categories multimedia 12 10 maintainers ryandesign openmaintainer 13 11 license GPL-2+ LGPL-2.1+ … … 18 16 Unices, just what the OGMtools do for the OGM format. 19 17 homepage http://www.bunkus.org/videotools/mkvtoolnix/ 20 18 platforms darwin 21 master_sites ${homepage}sources/19 master_sites https://mkvtoolnix.download/sources/ 22 20 use_xz yes 23 21 24 checksums rmd160 56e00bc4b66e4b67f7b558af614ff2aa13e14685 \ 25 sha256 39788fa57d9cebd6ea3be9db58dbf8a10fd7c96ad8fa4f79bdf4dadca77bba4a 26 27 wxWidgets.use wxWidgets-3.0 22 checksums rmd160 d77acbf1fbfb6e7bba27e9d39a94432c98337882 \ 23 sha256 b2b8821e2d74df0f765c97f93ddd1dbfb062f3c22b969cfa04d1bb5cb638a88e 28 24 29 25 set version_ruby 2.1 30 26 set version_ruby_mp [join [split $version_ruby "."] ""] … … 45 41 port:libvorbis \ 46 42 port:lzo2 \ 47 43 port:pcre \ 48 port:zlib 44 port:zlib \ 45 port:pugixml 49 46 50 47 depends_run port:ruby${version_ruby_mp} 51 48 … … 75 72 --with-boost=${prefix} \ 76 73 --with-extra-libs=${prefix}/lib \ 77 74 --with-extra-includes=${prefix}/include \ 78 --disable-gui \ 79 --disable-qt \ 80 --disable-wxwidgets 75 --disable-qt 81 76 82 77 configure.ldflags-append ${cxx_stdlibflags} 83 78 84 app.create no 85 86 variant wxwidgets description {Build with the wxWidgets GUI} { 87 app.create yes88 app.name M kvtoolnix89 app.executable mmg79 variant qt5 description {Build with the qt5 GUI} { 80 PortGroup app 1.0 81 PortGroup qt5 1.0 82 83 app.name MKVToolNix 84 app.executable ${worksrcpath}/src/mkvtoolnix-gui/mkvtoolnix-gui 90 85 app.icon ${worksrcpath}/share/icons/256x256/mkvtoolnix-gui.png 86 app.create yes 91 87 92 depends_lib-append \ 93 port:${wxWidgets.port} 94 configure.args-delete \ 95 --disable-gui \ 96 --disable-wxwidgets 88 depends_build-append port:makeicns 89 depends_lib-append port:qt5 90 configure.args-delete --disable-qt 97 91 configure.args-append \ 98 --enable-gui \ 99 --enable-wxwidgets \ 100 --with-wx-config=${wxWidgets.wxconfig} 92 --enable-qt \ 93 --with-moc=${qt_dir}/bin/moc \ 94 --with-uic=${qt_dir}/bin/uic \ 95 --with-rcc=${qt_dir}/bin/rcc 101 96 } 102 97 103 default_variants +wxwidgets 98 variant doc description {Build documentation} { 99 depends_lib-append port:po4a port:pandoc 100 } 104 101 105 102 livecheck.type regex 106 103 livecheck.url ${homepage}sources/