[136337] trunk/dports/multimedia/mkvtoolnix
ryandesign at macports.org
ryandesign at macports.org
Thu May 14 23:15:59 PDT 2015
Revision: 136337
https://trac.macports.org/changeset/136337
Author: ryandesign at macports.org
Date: 2015-05-14 23:15:59 -0700 (Thu, 14 May 2015)
Log Message:
-----------
mkvtoolnix: update to 7.9.0; use fs-traverse to fix ruby path instead of a large patchfile; remove other patches integrated upstream
Modified Paths:
--------------
trunk/dports/multimedia/mkvtoolnix/Portfile
Removed Paths:
-------------
trunk/dports/multimedia/mkvtoolnix/files/
Modified: trunk/dports/multimedia/mkvtoolnix/Portfile
===================================================================
--- trunk/dports/multimedia/mkvtoolnix/Portfile 2015-05-15 06:06:13 UTC (rev 136336)
+++ trunk/dports/multimedia/mkvtoolnix/Portfile 2015-05-15 06:15:59 UTC (rev 136337)
@@ -8,8 +8,7 @@
PortGroup muniversal 1.0
PortGroup wxWidgets 1.0
-github.setup mbunkus mkvtoolnix 7.8.0 release-
-revision 1
+github.setup mbunkus mkvtoolnix 7.9.0 release-
categories multimedia
maintainers ryandesign openmaintainer
license GPL-2+ LGPL-2.1+
@@ -23,8 +22,8 @@
master_sites ${homepage}sources/
use_xz yes
-checksums rmd160 d4b0846ca28487b9112d0e35332808af300c5434 \
- sha256 4ea13a75db2170944e95e180aaab97e3f0d42c04d88a0d4baadacd554248fe54
+checksums rmd160 56e00bc4b66e4b67f7b558af614ff2aa13e14685 \
+ sha256 39788fa57d9cebd6ea3be9db58dbf8a10fd7c96ad8fa4f79bdf4dadca77bba4a
wxWidgets.use wxWidgets-3.0
@@ -51,11 +50,15 @@
depends_run port:ruby${version_ruby_mp}
-# patch-clang_errors.diff: https://trac.macports.org/ticket/40231
-patchfiles patch-ruby.diff \
- patch-boost-1.58.diff \
- patch-src-mkvtoolnix-gui-job_widget-mux_job.cpp.diff \
- patch-clang_errors.diff
+post-patch {
+ fs-traverse f ${worksrcpath} {
+ set t [file tail ${f}]
+ set e [file extension ${f}]
+ if {${t} eq "Rakefile" || ${t} eq "drake" || ${e} eq ".rb"} {
+ reinplace -E "s|^#!/usr/bin/(env )?ruby|#!${prefix}/bin/ruby${version_ruby}|g" ${f}
+ }
+ }
+}
set cxx_stdlibflags {}
if {[string match *clang* ${configure.cxx}]} {
@@ -74,6 +77,7 @@
--with-extra-libs=${prefix}/lib \
--with-extra-includes=${prefix}/include \
--disable-gui \
+ --disable-qt \
--disable-wxwidgets
configure.ldflags-append ${cxx_stdlibflags}
@@ -84,7 +88,7 @@
app.create yes
app.name Mkvtoolnix
app.executable mmg
- app.icon ${worksrcpath}/share/icons/256x256/mkvmergeGUI.png
+ app.icon ${worksrcpath}/share/icons/256x256/mkvtoolnix-gui.png
depends_lib-append \
port:${wxWidgets.port}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150514/ffe02464/attachment.html>
More information about the macports-changes
mailing list