Skip to content

Commit

Permalink
multimedia/mpc-qt: update to 18.08
Browse files Browse the repository at this point in the history
- Build with modern Clang to avoid playback crash on FreeBSD 10.4:

    $ mpc-qt /path/to/foo.mkv
    [...]
    Thread 1 received signal SIGSEGV, Segmentation fault.
    0x0000000800da8721 in mpv_render_context_render (ctx=0x81580ac40, params=0x7fffffff3f30)
	at ../video/out/vo_libmpv.c:405
    405         if (GET_MPV_RENDER_PARAM(params, MPV_RENDER_PARAM_BLOCK_FOR_TARGET_TIME,
    (gdb) backtrace full
    #0  0x0000000800da8721 in mpv_render_context_render (ctx=0x81580ac40, params=0x7fffffff3f30)
	at ../video/out/vo_libmpv.c:405
	    do_render = 1
	    frame = 0x8263046a0
	    wait_present_count = 2
	    dummy = {pts = 0, duration = 0, vsync_interval = 0, vsync_offset = 0, ideal_frame_duration = 0,
	      num_vsyncs = 0, redraw = false, repeat = false, still = false, display_synced = false,
	      can_drop = false, current = 0x0, num_frames = 0, frames = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
		0x0, 0x0}, frame_id = 0}
	    err = 0
    #1  0x00000000004c2d81 in MpvGlWidget::paintGL (this=0x8159eb860) at mpvwidget.cpp:870
	    fbo = {fbo = 12, w = 1798, h = 2012, internal_format = 0}
	    params = {{type = MPV_RENDER_PARAM_OPENGL_FBO, data = 0x7fffffff3f50}, {type = MPV_RENDER_PARAM_FLIP_Y,
		data = 0x7fffffff3f63}}
	    yes = true
    #2  0x000000080140e3b6 in QOpenGLWidgetPrivate::invokeUserPaint (this=0x815909080)
	at kernel/qopenglwidget.cpp:878
	    q = 0x8159eb860
	    ctx = 0x81596ec30
	    f = 0x815819d58
    #3  0x000000080140e47f in QOpenGLWidgetPrivate::render (this=0x815909080) at kernel/qopenglwidget.cpp:899
	    q = 0x8159eb860
    [...]

Changes:	https://github.com/cmdrkotori/mpc-qt/releases/tag/v18.08
Changes:	https://github.com/cmdrkotori/mpc-qt/compare/v18.03...v18.08
  • Loading branch information
jbeich committed Aug 4, 2018
1 parent 406753d commit d24ef55
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
7 changes: 3 additions & 4 deletions multimedia/mpc-qt/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,22 @@

PORTNAME= mpc-qt
DISTVERSIONPREFIX= v
DISTVERSION= 18.03
PORTREVISION= 1
DISTVERSION= 18.08
CATEGORIES= multimedia audio

MAINTAINER= jbeich@FreeBSD.org
COMMENT= Qt 5 clone of Media Player Classic based on libmpv

LICENSE= GPLv2

BUILD_DEPENDS= mpv>=0.28:multimedia/mpv
BUILD_DEPENDS= mpv>=0.29:multimedia/mpv
LIB_DEPENDS= libmpv.so:multimedia/mpv

USE_GITHUB= yes
GH_ACCOUNT= cmdrkotori
GH_TUPLE= Argon-:mpv-stats:1.1-28-gf42aa68:mpv_stats/external/mpv-stats

USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake qt:5
USES= compiler:c++14-lang desktop-file-utils pkgconfig qmake qt:5
USE_QT= qmake_build buildtools_build linguisttools_build \
core dbus gui network svg_run widgets x11extras
USE_GL= gl
Expand Down
6 changes: 3 additions & 3 deletions multimedia/mpc-qt/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TIMESTAMP = 1520750189
SHA256 (cmdrkotori-mpc-qt-v18.03_GH0.tar.gz) = ae381ec5472daceb4c3907280cc5b423d7304428093ecc45789640d577e97c1d
SIZE (cmdrkotori-mpc-qt-v18.03_GH0.tar.gz) = 188533
TIMESTAMP = 1533383379
SHA256 (cmdrkotori-mpc-qt-v18.08_GH0.tar.gz) = c58fd90926773c9da8bdfc1a8e4dba0b95cbc58cee6db9981e8de94fd9534406
SIZE (cmdrkotori-mpc-qt-v18.08_GH0.tar.gz) = 219242
SHA256 (Argon--mpv-stats-1.1-28-gf42aa68_GH0.tar.gz) = ef5651ec085a16276960a74c6da809b804dd0213b1676787f6bd125f076237e2
SIZE (Argon--mpv-stats-1.1-28-gf42aa68_GH0.tar.gz) = 15168
2 changes: 1 addition & 1 deletion multimedia/mpc-qt/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ bin/mpc-qt
share/applications/mpc-qt.desktop
%%PORTDOCS%%%%DOCSDIR%%/ipc.md
share/icons/hicolor/scalable/apps/mpc-qt.svg
%%DATADIR%%/scripts/stats.lua
%%DATADIR%%/translations/mpc-qt_es.qm
%%DATADIR%%/translations/mpc-qt_it.qm
%%DATADIR%%/translations/mpc-qt_ru.qm

0 comments on commit d24ef55

Please sign in to comment.