Bug 259551

Summary: multimedia/smplayer and multimedia/smtube: Update to 21.10.0
Product: Ports & Packages Reporter: Vladimir Druzenko <vvd>
Component: Individual Port(s)Assignee: Tobias C. Berner <tcberner>
Status: Closed FIXED    
Severity: Affects Only Me CC: tcberner
Priority: --- Flags: vvd: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/smplayer-dev/smplayer/releases
Attachments:
Description Flags
smplayer update to 21.10.0
vvd: maintainer-approval+
smtube update to 21.10.0
vvd: maintainer-approval+
smtube update to 21.10.0 v2
vvd: maintainer-approval+
smtube update to 21.10.0 v3
vvd: maintainer-approval+
smplayer update to 21.10.0 v2 vvd: maintainer-approval+

Description Vladimir Druzenko freebsd_committer freebsd_triage 2021-10-30 14:23:18 UTC
Created attachment 229143 [details]
smplayer update to 21.10.0

Tested on 12.2-p10 amd64: check-plist/build/install/run.

smplayer:

Version 21.10.0 Latest
[21.10] - 2021-10-29
    The support for YouTube has been improved by using yt-dlp. Fixes buffering and playback of age-restricted videos.
    Possibility to use yt-dlp instead of youtube-dl.
    Option to use the AV1 codec with YouTube videos.
    Improve support for FreeBSD.
    Auto-rotate videos that have been recorded in vertical mode or upside down.
    Some bug fixes.

Linux
    Ignore KDE's "single click". It causes unexpected behaviour.

Windows
    It's easier to update the YouTube code.
    The installer is digitally signed.
    SMPlayer is now also available in the Windows Store.

Mac OS
    Fix playback with mplayer when screenshots are enabled.

Removed
    Support for the obsolete mplayer2.

Version 21.8.0
[21.8]
    A version for Mac OS is now available.
    Better automatic resizing of the main window, trying to prevent
    black borders.
    Fix loading YouTube playlists.
    Add an option to rotate the video by 180 degrees.
    Playlist: try to prevent a one second delay when using play prev/next.
    Add some predefined speeds (0.25x, 0.5x, 1.25x, 1.5x, 1.75x).
    Fix audio CD playback with mpv.
    Fix audio channels.

Windows
    The installation of YouTube support is now optional.
    Using Qt 5.15.2.

Linux
    Disable power saving on Wayland during playback.
    Remove KDE from the categories in the *.desktop files.
    SMPlayer is now also available as appimage, flatpak and snap.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2021-10-30 14:24:13 UTC
Created attachment 229144 [details]
smtube update to 21.10.0

https://github.com/smplayer-dev/smtube/releases/tag/v21.10.0
Version 21.10.0 Latest
[21.10] - 2021-10-25
    Possibility to use yt-dlp instead of youtube-dl.
    yt-dlp is used now by default.
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2021-10-30 14:49:16 UTC
Created attachment 229145 [details]
smtube update to 21.10.0 v2
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2021-10-30 15:34:38 UTC
Fails to build for me:
prefgeneral.cpp:328:21: error: use of undeclared identifier 'PLAYER_COMBO_MPLAYER_PATH'
        if (player_path == PLAYER_COMBO_MPLAYER_PATH || player_path == PLAYER_COMBO_MPV_PATH || !QFile::exists(player_path)) {
                           ^
prefgeneral.cpp:328:65: error: use of undeclared identifier 'PLAYER_COMBO_MPV_PATH'
        if (player_path == PLAYER_COMBO_MPLAYER_PATH || player_path == PLAYER_COMBO_MPV_PATH || !QFile::exists(player_path)) {
                                                                       ^
2 errors generated.
gmake[2]: *** [Makefile:21709: .obj/prefgeneral.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/wrkdirs/usr/ports/multimedia/smplayer/work/smplayer-21.10.0/src'
gmake[1]: *** [Makefile:28: src/smplayer] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/multimedia/smplayer/work/smplayer-21.10.0'
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2021-10-30 15:42:31 UTC
Created attachment 229147 [details]
smtube update to 21.10.0 v3
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2021-10-30 16:20:57 UTC
Created attachment 229149 [details]
smplayer update to 21.10.0 v2


https://github.com/smplayer-dev/smplayer/issues/260
Comment 6 commit-hook freebsd_committer freebsd_triage 2021-10-30 16:52:09 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6e691118fccc3295ea32165fe0d5dd86e26a8483

commit 6e691118fccc3295ea32165fe0d5dd86e26a8483
Author:     VVD <vvd@unislabs.com>
AuthorDate: 2021-10-30 16:47:38 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-10-30 16:48:32 +0000

    multimedia/smplayer: update to 21.10.0

    Version 21.10.0 Latest
    [21.10] - 2021-10-29
        The support for YouTube has been improved by using yt-dlp. Fixes buffering and playback of age-restricted videos.
        Possibility to use yt-dlp instead of youtube-dl.
        Option to use the AV1 codec with YouTube videos.
        Improve support for FreeBSD.
        Auto-rotate videos that have been recorded in vertical mode or upside down.
        Some bug fixes.

    Linux
        Ignore KDE's "single click". It causes unexpected behaviour.

    Windows
        It's easier to update the YouTube code.
        The installer is digitally signed.
        SMPlayer is now also available in the Windows Store.

    Mac OS
        Fix playback with mplayer when screenshots are enabled.

    Removed
        Support for the obsolete mplayer2.

    Version 21.8.0
    [21.8]
        A version for Mac OS is now available.
        Better automatic resizing of the main window, trying to prevent
        black borders.
        Fix loading YouTube playlists.
        Add an option to rotate the video by 180 degrees.
        Playlist: try to prevent a one second delay when using play prev/next.
        Add some predefined speeds (0.25x, 0.5x, 1.25x, 1.5x, 1.75x).
        Fix audio CD playback with mpv.
        Fix audio channels.

    Windows
        The installation of YouTube support is now optional.
        Using Qt 5.15.2.

    Linux
        Disable power saving on Wayland during playback.
        Remove KDE from the categories in the *.desktop files.
        SMPlayer is now also available as appimage, flatpak and snap.

    PR:             259551

 multimedia/smplayer/Makefile                           | 13 ++++++++-----
 multimedia/smplayer/distinfo                           |  6 +++---
 multimedia/smplayer/files/patch-Makefile               |  6 +++---
 .../smplayer/files/patch-src_prefgeneral.cpp (new)     | 18 ++++++++++++++++++
 multimedia/smplayer/pkg-plist                          |  1 +
 5 files changed, 33 insertions(+), 11 deletions(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2021-10-30 16:52:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8792eb0d4048f1bda60a97c019fb0fcbd3b0cd51

commit 8792eb0d4048f1bda60a97c019fb0fcbd3b0cd51
Author:     VVD <vvd@unislabs.com>
AuthorDate: 2021-10-30 16:49:04 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-10-30 16:49:44 +0000

    multimedia/smtube:  update to 21.10.0

    [21.10] - 2021-10-25
        Possibility to use yt-dlp instead of youtube-dl.
        yt-dlp is used now by default.

    PR:             259551

 multimedia/smtube/Makefile | 2 +-
 multimedia/smtube/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2021-11-13 19:32:58 UTC
Thanks.