git: 685d62dc0030 - main - audio/mpz: update the port to version 1.0.19.

From: Alexey Dokuchaev <danfe_at_FreeBSD.org>
Date: Sat, 11 Dec 2021 14:59:28 UTC
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=685d62dc0030fca2790273e2ac964ff85c43a470

commit 685d62dc0030fca2790273e2ac964ff85c43a470
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-12-11 14:58:38 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2021-12-11 14:58:38 +0000

    audio/mpz: update the port to version 1.0.19.
    
    Not reported by:        portscout :(
---
 audio/mpz/Makefile                              |  2 +-
 audio/mpz/distinfo                              |  6 +++---
 audio/mpz/files/patch-app_app.pro               |  7 ++++---
 audio/mpz/files/patch-app_coverart_embedded.cpp | 25 +++++++++++++++++++++++++
 4 files changed, 33 insertions(+), 7 deletions(-)

diff --git a/audio/mpz/Makefile b/audio/mpz/Makefile
index 31210ceb431a..b91102d4cebc 100644
--- a/audio/mpz/Makefile
+++ b/audio/mpz/Makefile
@@ -1,7 +1,7 @@
 # Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
 
 PORTNAME=	mpz
-PORTVERSION=	1.0.18
+PORTVERSION=	1.0.19
 CATEGORIES=	audio
 
 MAINTAINER=	danfe@FreeBSD.org
diff --git a/audio/mpz/distinfo b/audio/mpz/distinfo
index 65318cf01aee..9e6b794ac9af 100644
--- a/audio/mpz/distinfo
+++ b/audio/mpz/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1638087173
-SHA256 (olegantonyan-mpz-1.0.18_GH0.tar.gz) = 61e45e7c321bcaf62ba65bb2cb2d0291525361923811f5dcf56d00d1033f867a
-SIZE (olegantonyan-mpz-1.0.18_GH0.tar.gz) = 2699813
+TIMESTAMP = 1638963522
+SHA256 (olegantonyan-mpz-1.0.19_GH0.tar.gz) = 2496d849d953eaae911a7bfb10006d7e31118df33666fe01a9fbb6fae1a5f697
+SIZE (olegantonyan-mpz-1.0.19_GH0.tar.gz) = 2700174
diff --git a/audio/mpz/files/patch-app_app.pro b/audio/mpz/files/patch-app_app.pro
index e3c1af4c8780..28b6191706ac 100644
--- a/audio/mpz/files/patch-app_app.pro
+++ b/audio/mpz/files/patch-app_app.pro
@@ -1,11 +1,12 @@
---- app/app.pro.orig	2021-08-24 08:46:31 UTC
+--- app/app.pro.orig	2021-12-08 11:38:42 UTC
 +++ app/app.pro
-@@ -154,15 +154,12 @@ FORMS += \
+@@ -171,16 +171,12 @@ contains(DEFINES, MPRIS_ENABLE) {
  
  # Libraries
  INCLUDEPATH += \
 -  ../libs/taglib/taglib-1.12/taglib \
 -  ../libs/taglib/taglib-1.12/taglib/toolkit \
+-  ../libs/taglib/taglib-1.12/taglib/mpeg/id3v2 \
 -  ../libs/yaml-cpp/yaml-cpp-0.7.0/include \
 +  ${LOCALBASE}/include/taglib \
    ../libs/qtwaitingspinner \
@@ -18,7 +19,7 @@
    -L../libs/qtwaitingspinner -lqtwaitingspinner \
    -L../libs/qhotkey -lqhotkey
  
-@@ -185,5 +182,5 @@ RESOURCES += \
+@@ -191,5 +187,5 @@ RESOURCES += \
    ../resources.qrc
  
  # make install
diff --git a/audio/mpz/files/patch-app_coverart_embedded.cpp b/audio/mpz/files/patch-app_coverart_embedded.cpp
new file mode 100644
index 000000000000..3c0a2a5b7f8f
--- /dev/null
+++ b/audio/mpz/files/patch-app_coverart_embedded.cpp
@@ -0,0 +1,25 @@
+--- app/coverart/embedded.cpp.orig	2021-12-08 11:38:42 UTC
++++ app/coverart/embedded.cpp
+@@ -1,14 +1,14 @@
+ #include "coverart/embedded.h"
+ 
+ #include "tag.h"
+-#include "mp4/mp4file.h"
+-#include "mpeg/id3v2/id3v2.h"
+-#include "mpeg/id3v2/id3v2frame.h"
+-#include "mpeg/id3v2/frames/attachedpictureframe.h"
+-#include "mpeg/id3v2/id3v2tag.h"
+-#include "mpeg/mpegfile.h"
+-#include "flac/flacfile.h"
+-#include"flac/flacpicture.h"
++#include "mp4file.h"
++#include "id3v2.h"
++#include "id3v2frame.h"
++#include "attachedpictureframe.h"
++#include "id3v2tag.h"
++#include "mpegfile.h"
++#include "flacfile.h"
++#include "flacpicture.h"
+ #include "fileref.h"
+ #include "tag.h"
+ #include "tpropertymap.h"