git: ac0878d59889 - main - audio/mpz: Update to 2.0.10 and switch to qt6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Jun 2026 16:04:34 UTC
The branch main has been updated by mce:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ac0878d59889d165e3468bf3f3e024f60e0ecde1
commit ac0878d59889d165e3468bf3f3e024f60e0ecde1
Author: Kousuke Kannagi <mce@FreeBSD.org>
AuthorDate: 2026-06-07 07:57:55 +0000
Commit: Kousuke Kannagi <mce@FreeBSD.org>
CommitDate: 2026-06-14 16:03:05 +0000
audio/mpz: Update to 2.0.10 and switch to qt6
https://raw.githubusercontent.com/olegantonyan/mpz/refs/tags/2.0.10/CHANGELOG.md
PR: 295717
Approved by: danfe (maintainer timeout > 2 weeks)
Approved by: osa (mentor)
---
audio/mpz/Makefile | 19 +++++++-------
audio/mpz/distinfo | 6 ++---
audio/mpz/files/patch-CMakeLists.txt | 11 +++++++++
audio/mpz/files/patch-app_app.pro | 11 ---------
audio/mpz/files/patch-mpz.pro | 48 ------------------------------------
5 files changed, 23 insertions(+), 72 deletions(-)
diff --git a/audio/mpz/Makefile b/audio/mpz/Makefile
index 7378ab3b5d51..410ec6969e8d 100644
--- a/audio/mpz/Makefile
+++ b/audio/mpz/Makefile
@@ -1,5 +1,5 @@
PORTNAME= mpz
-PORTVERSION= 1.0.26
+DISTVERSION= 2.0.10
CATEGORIES= audio
MAINTAINER= danfe@FreeBSD.org
@@ -8,20 +8,19 @@ WWW= https://mpz-player.org/
LICENSE= GPLv3+
-LIB_DEPENDS= libtag.so:audio/taglib \
+LIB_DEPENDS= libmpdclient.so:audio/libmpdclient \
+ libtag.so:audio/taglib \
libyaml-cpp.so:devel/yaml-cpp
+USES= cmake compiler:c++17-lang desktop-file-utils gl gstreamer qt:6 \
+ xorg
USE_GITHUB= yes
GH_ACCOUNT= olegantonyan
-
-USES= compiler:c++11-lang desktop-file-utils gstreamer qmake qt:5
+USE_GL= opengl
USE_GSTREAMER= flac libav mpg123 ogg opus vorbis
-USE_QT= buildtools:build concurrent core dbus gui multimedia \
- network widgets x11extras
-
-QMAKE_ARGS= DEFINES+=USE_SYSTEM_TAGLIB DEFINES+=USE_SYSTEM_YAMLCPP
+USE_QT= base multimedia tools:build
+USE_XORG= ice sm x11 xext xorgproto
-post-extract:
- @${RM} -r ${WRKSRC}/libs/taglib ${WRKSRC}/libs/yaml-cpp
+CMAKE_ON= USE_SYSTEM_LIBMPDCLIENT USE_SYSTEM_TAGLIB USE_SYSTEM_YAMLCPP
.include <bsd.port.mk>
diff --git a/audio/mpz/distinfo b/audio/mpz/distinfo
index 7a18a4f4653a..b890be96687b 100644
--- a/audio/mpz/distinfo
+++ b/audio/mpz/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1733075553
-SHA256 (olegantonyan-mpz-1.0.26_GH0.tar.gz) = cee6ef67b31c5633a0211cf81b1ca3415cb9fb3a8c248b5040fa5e77b1dc3447
-SIZE (olegantonyan-mpz-1.0.26_GH0.tar.gz) = 2721738
+TIMESTAMP = 1780811638
+SHA256 (olegantonyan-mpz-2.0.10_GH0.tar.gz) = 08e629f34965854287a10619ba444f5debead2ec629538eefa894d75f18003c4
+SIZE (olegantonyan-mpz-2.0.10_GH0.tar.gz) = 3727566
diff --git a/audio/mpz/files/patch-CMakeLists.txt b/audio/mpz/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..f8eae3fedcd2
--- /dev/null
+++ b/audio/mpz/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2026-05-19 14:50:19 UTC
++++ CMakeLists.txt
+@@ -352,7 +352,7 @@ endif()
+ # demangled function names from STRIPPED release binaries (no DWARF shipped).
+ # Skipped on Windows: PE has no .dynsym equivalent for executables, so the
+ # same trick can't work there without shipping DWARF or PDBs.
+-if(UNIX AND NOT APPLE)
++if(LINUX AND NOT APPLE)
+ set(CPPTRACE_DIR 3rdparty/cpptrace-1.0.4)
+ set(CPPTRACE_BUILD_TESTING OFF CACHE BOOL "" FORCE)
+ set(CPPTRACE_GET_SYMBOLS_WITH_LIBDL ON CACHE BOOL "" FORCE)
diff --git a/audio/mpz/files/patch-app_app.pro b/audio/mpz/files/patch-app_app.pro
deleted file mode 100644
index 134401c52986..000000000000
--- a/audio/mpz/files/patch-app_app.pro
+++ /dev/null
@@ -1,11 +0,0 @@
---- app/app.pro.orig 2022-05-28 06:35:00 UTC
-+++ app/app.pro
-@@ -205,7 +205,7 @@ RESOURCES += \
- ../resources.qrc
-
- # make install
--target.path = /usr/bin/
-+target.path = $$PREFIX/bin/
- INSTALLS += target
-
- TRANSLATIONS += \
diff --git a/audio/mpz/files/patch-mpz.pro b/audio/mpz/files/patch-mpz.pro
deleted file mode 100644
index 4bd016476340..000000000000
--- a/audio/mpz/files/patch-mpz.pro
+++ /dev/null
@@ -1,48 +0,0 @@
---- mpz.pro.orig 2022-05-28 06:35:00 UTC
-+++ mpz.pro
-@@ -13,32 +13,32 @@ SUBDIRS += app
- SUBDIRS += app
-
- # make install
--desktop.path = /usr/share/applications/
-+desktop.path = $$PREFIX/share/applications/
- desktop.files += mpz.desktop
-
--icon512.path = /usr/share/icons/hicolor/512x512/apps/
-+icon512.path = $$PREFIX/share/icons/hicolor/512x512/apps/
- icon512.files += app/resources/icons/512x512/mpz.png
--icon256.path = /usr/share/icons/hicolor/256x256/apps/
-+icon256.path = $$PREFIX/share/icons/hicolor/256x256/apps/
- icon256.files += app/resources/icons/256x256/mpz.png
--icon192.path = /usr/share/icons/hicolor/192x192/apps/
-+icon192.path = $$PREFIX/share/icons/hicolor/192x192/apps/
- icon192.files += app/resources/icons/192x192/mpz.png
--icon128.path = /usr/share/icons/hicolor/128x128/apps/
-+icon128.path = $$PREFIX/share/icons/hicolor/128x128/apps/
- icon128.files += app/resources/icons/128x128/mpz.png
--icon96.path = /usr/share/icons/hicolor/96x96/apps/
-+icon96.path = $$PREFIX/share/icons/hicolor/96x96/apps/
- icon96.files += app/resources/icons/96x96/mpz.png
--icon72.path = /usr/share/icons/hicolor/72x72/apps/
-+icon72.path = $$PREFIX/share/icons/hicolor/72x72/apps/
- icon72.files += app/resources/icons/72x72/mpz.png
--icon64.path = /usr/share/icons/hicolor/64x64/apps/
-+icon64.path = $$PREFIX/share/icons/hicolor/64x64/apps/
- icon64.files += app/resources/icons/64x64/mpz.png
--icon48.path = /usr/share/icons/hicolor/48x48/apps/
-+icon48.path = $$PREFIX/share/icons/hicolor/48x48/apps/
- icon48.files += app/resources/icons/48x48/mpz.png
--icon32.path = /usr/share/icons/hicolor/32x32/apps/
-+icon32.path = $$PREFIX/share/icons/hicolor/32x32/apps/
- icon32.files += app/resources/icons/32x32/mpz.png
--icon24.path = /usr/share/icons/hicolor/24x24/apps/
-+icon24.path = $$PREFIX/share/icons/hicolor/24x24/apps/
- icon24.files += app/resources/icons/24x24/mpz.png
--icon22.path = /usr/share/icons/hicolor/22x22/apps/
-+icon22.path = $$PREFIX/share/icons/hicolor/22x22/apps/
- icon22.files += app/resources/icons/22x22/mpz.png
--icon16.path = /usr/share/icons/hicolor/16x16/apps/
-+icon16.path = $$PREFIX/share/icons/hicolor/16x16/apps/
- icon16.files += app/resources/icons/16x16/mpz.png
-
- INSTALLS += desktop icon512 icon256 icon192 icon128 icon96 icon72 icon64 icon48 icon32 icon24 icon22 icon16