UPDATE: multimedia/mkvtoolnix

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

UPDATE: multimedia/mkvtoolnix

Rafael Sadowski
Simple update to the latest stable version.

I took the patch-src_mkvtoolnix-gui_util_sleep_inhibitor_cpp patch from
FreeBSD to resolve linking issues.

Best regards,

Rafael Sadowski

Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/mkvtoolnix/Makefile,v
retrieving revision 1.82
diff -u -p -u -p -r1.82 Makefile
--- Makefile 5 Nov 2018 06:18:16 -0000 1.82
+++ Makefile 7 Dec 2018 07:51:34 -0000
@@ -2,7 +2,7 @@
 
 COMMENT= create, alter and inspect Matroska files
 
-DISTNAME= mkvtoolnix-28.2.0
+DISTNAME= mkvtoolnix-29.0.0
 
 CATEGORIES= multimedia x11
 
@@ -67,7 +67,8 @@ FLAVOR?=
 CONFIGURE_ARGS+= --disable-gui
 .else
 MODULES+= x11/qt5
-WANTLIB+= Qt5Concurrent Qt5Core Qt5Gui Qt5Network Qt5Widgets Qt5Multimedia
+WANTLIB += Qt5Concurrent Qt5Core Qt5DBus Qt5Gui Qt5Multimedia
+WANTLIB += Qt5Network Qt5Widgets
 LIB_DEPENDS += x11/qt5/qtmultimedia
 RUN_DEPENDS+= devel/desktop-file-utils \
  misc/shared-mime-info \
Index: distinfo
===================================================================
RCS file: /cvs/ports/multimedia/mkvtoolnix/distinfo,v
retrieving revision 1.43
diff -u -p -u -p -r1.43 distinfo
--- distinfo 5 Nov 2018 06:18:16 -0000 1.43
+++ distinfo 7 Dec 2018 07:51:34 -0000
@@ -1,2 +1,2 @@
-SHA256 (mkvtoolnix-28.2.0.tar.xz) = qlSzl5DmGbLP3v3Qg8c1UDg06wXGZc2F+bWoODvMWEM=
-SIZE (mkvtoolnix-28.2.0.tar.xz) = 6546844
+SHA256 (mkvtoolnix-29.0.0.tar.xz) = VOtfiP48nHtd93+AsN/Kx2lcGagib4ulK+itFboJddM=
+SIZE (mkvtoolnix-29.0.0.tar.xz) = 7051380
Index: patches/patch-ac_qt5_m4
===================================================================
RCS file: /cvs/ports/multimedia/mkvtoolnix/patches/patch-ac_qt5_m4,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 patch-ac_qt5_m4
--- patches/patch-ac_qt5_m4 18 Aug 2018 06:47:58 -0000 1.6
+++ patches/patch-ac_qt5_m4 7 Dec 2018 07:51:34 -0000
@@ -30,7 +30,7 @@ Index: ac/qt5.m4
      if test $ok = 0; then
        AC_MSG_RESULT(no: not found by pkg-config)
      fi
-@@ -297,7 +295,7 @@ EOF
+@@ -302,7 +300,7 @@ EOF
      unset problem
    fi
 
Index: patches/patch-src_mkvtoolnix-gui_util_sleep_inhibitor_cpp
===================================================================
RCS file: patches/patch-src_mkvtoolnix-gui_util_sleep_inhibitor_cpp
diff -N patches/patch-src_mkvtoolnix-gui_util_sleep_inhibitor_cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_mkvtoolnix-gui_util_sleep_inhibitor_cpp 7 Dec 2018 07:51:34 -0000
@@ -0,0 +1,23 @@
+$OpenBSD$
+
+Index: src/mkvtoolnix-gui/util/sleep_inhibitor.cpp
+--- src/mkvtoolnix-gui/util/sleep_inhibitor.cpp.orig
++++ src/mkvtoolnix-gui/util/sleep_inhibitor.cpp
+@@ -6,7 +6,7 @@
+ # include "mkvtoolnix-gui/util/sleep_inhibitor/windows.h"
+ #elif defined(SYS_APPLE)
+ # include "mkvtoolnix-gui/util/sleep_inhibitor/macos.h"
+-#elif defined(HAVE_QTDBUS)
++#elif defined(SYS_LINUX)
+ # include "mkvtoolnix-gui/util/sleep_inhibitor/linux_logind.h"
+ #endif
+
+@@ -66,7 +66,7 @@ BasicSleepInhibitor::create() {
+   inhibitor->addInhibitor(std::make_shared<WindowsSleepInhibitor>());
+ #elif defined(SYS_APPLE)
+   inhibitor->addInhibitor(std::make_shared<MacOSSleepInhibitor>());
+-#elif defined(HAVE_QTDBUS)
++#elif defined(SYS_LINUX)
+   inhibitor->addInhibitor(std::make_shared<LogindSleepInhibitor>());
+ #endif
+