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)
This commit is contained in:
+9
-10
@@ -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
|
||||
USE_QT= base multimedia tools:build
|
||||
USE_XORG= ice sm x11 xext xorgproto
|
||||
|
||||
QMAKE_ARGS= DEFINES+=USE_SYSTEM_TAGLIB DEFINES+=USE_SYSTEM_YAMLCPP
|
||||
|
||||
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>
|
||||
|
||||
+3
-3
@@ -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
|
||||
|
||||
@@ -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)
|
||||
@@ -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 += \
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user