diff --git a/audio/polyphone/Makefile b/audio/polyphone/Makefile index a22c4f9a019b..81b371336f99 100644 --- a/audio/polyphone/Makefile +++ b/audio/polyphone/Makefile @@ -1,42 +1,39 @@ PORTNAME= polyphone -DISTVERSION= 2.3.0 -PORTREVISION= 6 +DISTVERSION= 2.4.0 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org COMMENT= Graphical user interface for editing soundfont (sf2 and sfz) files WWW= https://www.polyphone-soundfonts.com/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/../LICENSE.txt LIB_DEPENDS= libFLAC.so:audio/flac \ libjack.so:audio/jack \ libogg.so:audio/libogg \ libportaudio.so:audio/portaudio \ - libQCustomPlot-qt5.so:graphics/qcustomplot@qt5 \ librtmidi.so:audio/rtmidi \ libstk.so:audio/stk \ libvorbisfile.so:audio/libvorbis USES= compiler:c++11-lang desktop-file-utils dos2unix gl gnome pkgconfig qmake:outsource qt:5 shared-mime-info ssl xorg DOS2UNIX_FILES= polyphone.pro \ - editor/graphics/graphiquefourier.cpp \ editor/tree/treeitemdelegate.cpp USE_GL= gl -USE_QT= core concurrent gui network printsupport svg widgets buildtools:build linguisttools:build qmake:build +USE_QT= core concurrent gui network printsupport svg testlib widgets buildtools:build linguisttools:build qmake:build USE_GNOME= glib20 USE_CXXSTD= c++11 USE_GITHUB= yes GH_ACCOUNT= davy7125 CXXFLAGS+= -D__UNIX_JACK__ LIBS+= -lssl -lcrypto WRKSRC_SUBDIR= sources post-extract: # unbundle @${RM} -r ${WRKSRC}/lib/_option_qcustomplot ${WRKSRC}/lib/_option_rtmidi ${WRKSRC}/lib/_option_stk .include diff --git a/audio/polyphone/distinfo b/audio/polyphone/distinfo index e3f1cb416c05..90d049c987b6 100644 --- a/audio/polyphone/distinfo +++ b/audio/polyphone/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1647278407 -SHA256 (davy7125-polyphone-2.3.0_GH0.tar.gz) = ecf401f2a083bb5396032953bb3d051e39aa4483063da9546852219ad532605a -SIZE (davy7125-polyphone-2.3.0_GH0.tar.gz) = 1946254 +TIMESTAMP = 1726712531 +SHA256 (davy7125-polyphone-2.4.0_GH0.tar.gz) = 5742f50980d0181a2889f46ab38e932aacd35965b4b0ab31d01f29721ddd39ef +SIZE (davy7125-polyphone-2.4.0_GH0.tar.gz) = 1942986 diff --git a/audio/polyphone/files/patch-editor_graphics_graphiquefourier.cpp b/audio/polyphone/files/patch-editor_graphics_graphiquefourier.cpp deleted file mode 100644 index 7c5c27a0d526..000000000000 --- a/audio/polyphone/files/patch-editor_graphics_graphiquefourier.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- editor/graphics/graphiquefourier.cpp.orig 2020-05-21 08:02:47 UTC -+++ editor/graphics/graphiquefourier.cpp -@@ -30,6 +30,7 @@ - #include - #include - #include -+#include - - GraphiqueFourier::GraphiqueFourier(QWidget * parent) : QCustomPlot(parent), - _fixedTickerX(new QCPAxisTickerFixed()), diff --git a/audio/polyphone/files/patch-polyphone.pro b/audio/polyphone/files/patch-polyphone.pro index 36425cd57abe..882d801513b8 100644 --- a/audio/polyphone/files/patch-polyphone.pro +++ b/audio/polyphone/files/patch-polyphone.pro @@ -1,26 +1,20 @@ ---- polyphone.pro.orig 2020-11-29 08:46:04 UTC +--- polyphone.pro.orig 2024-09-19 02:24:17 UTC +++ polyphone.pro -@@ -67,11 +67,11 @@ unix:!macx { - QMAKE_CXXFLAGS += -std=c++11 - DEFINES += __LINUX_ALSASEQ__ __UNIX_JACK__ +@@ -82,13 +82,13 @@ unix:!macx { + lib/_option_rtaudio/rtaudio/include/iasiothiscallresolver.cpp + } + unix:!macx { +- DEFINES += __LINUX_ALSASEQ__ __UNIX_JACK__ __LINUX_ALSA__ #__LINUX_PULSE__ ++ DEFINES += __UNIX_JACK__ #__LINUX_PULSE__ CONFIG += link_pkgconfig -- PKGCONFIG += alsa jack portaudio-2.0 zlib ogg flac vorbis vorbisfile vorbisenc glib-2.0 -+ PKGCONFIG += jack portaudio-2.0 zlib ogg flac vorbis vorbisfile vorbisenc glib-2.0 +- PKGCONFIG += alsa jack zlib ogg flac vorbis vorbisfile vorbisenc glib-2.0 ++ PKGCONFIG += jack zlib ogg flac vorbis vorbisfile vorbisenc glib-2.0 contains(DEFINES, USE_WOLFSSL) { - PKGCONFIG += wolfssl + #PKGCONFIG += wolfssl } else { - PKGCONFIG += openssl + #PKGCONFIG += openssl } isEmpty(PREFIX) { PREFIX = /usr/local -@@ -158,7 +158,7 @@ contains(DEFINES, USE_LOCAL_QCUSTOMPLOT) { - HEADERS += lib/_option_qcustomplot/qcustomplot.h - SOURCES += lib/_option_qcustomplot/qcustomplot.cpp - } else { -- LIBS += -lqcustomplot -+ LIBS += -lQCustomPlot-qt5 - } - - # Location of sfArk diff --git a/audio/polyphone/pkg-plist b/audio/polyphone/pkg-plist index f76a1aea0110..1ce60b9c2f83 100644 --- a/audio/polyphone/pkg-plist +++ b/audio/polyphone/pkg-plist @@ -1,10 +1,8 @@ bin/polyphone -share/applications/com.polyphone_soundfonts.polyphone.desktop +share/applications/io.polyphone.polyphone.desktop share/icons/hicolor/512x512/apps/polyphone.png -share/icons/hicolor/scalable/apps/polyphone.svg -share/icons/hicolor/scalable/mimetypes/audio-x-soundfont.svg share/man/fr/man1/polyphone.1.gz share/man/man1/polyphone.1.gz share/man/ru/man1/polyphone.1.gz -share/metainfo/com.polyphone_soundfonts.polyphone.metainfo.xml +share/metainfo/io.polyphone.polyphone.metainfo.xml share/mime/packages/polyphone.xml