diff --git a/audio/qsynth/Portfile b/audio/qsynth/Portfile
index 9f6a250a..f224beff 100644
--- a/audio/qsynth/Portfile
+++ b/audio/qsynth/Portfile
@@ -5,11 +5,10 @@ PortGroup           qt5 1.0
 PortGroup           cmake 1.1
 
 name                qsynth
-version             0.5.7
-revision            2
+version             1.0.2
 maintainers         {gmail.com:rjvbertin @RJVB} {mojca @mojca} openmaintainer
 categories          audio
-platforms           {darwin > 9}
+platforms           {darwin > 9} linux
 license             GPL-2+
 conflicts           qsynth-qt4
 
@@ -21,15 +20,14 @@ long_description    Qsynth is a fluidsynth GUI front-end application, written in
 homepage            https://qsynth.sourceforge.io
 master_sites        sourceforge:project/${name}/${name}/${version}
 
-checksums           rmd160  feeebed368c7224d3c980db9efb0c30e9ab3ff75 \
-                    sha256  86eef57606423f4a369d130c3e222d7f847ba1c57d2e7eefb4c0c8a7102735a2 \
-                    size    315715
+checksums           rmd160  8111406a8c911ae49f55c30779619efc6d44c465 \
+                    sha256  48730f999300942f4be4401e71a64d074a569ead2179e0fc6dc6e129e23e60ea \
+                    size    337605
 
 qt5.depends_build_component \
                     qttools
 
-depends_lib-append \
-                    port:fluidsynth
+depends_lib-append  port:fluidsynth
 
 variant gm description {Use the MIDI instrument patches from port:fluid-soundfont} {
     depends_run-append \
@@ -41,7 +39,7 @@ variant gu description {Use the MIDI instrument patches from port:generaluser-so
 }
 default_variants    +gu
 
-patchfiles-append   patch-src-CMakeLists.txt.diff
+patchfiles-append   patch-support-older-qt5.diff
 
 configure.args-append \
                     -DBUNDLE_INSTALL_DIR=${qt_apps_dir}
@@ -53,6 +51,8 @@ if {${os.platform} eq "darwin"} {
         }
     }
 } else {
+    depends_lib-append \
+                    port:pipewire
     cmake.install_rpath-prepend \
                     ${qt_libs_dir} \
                     ${prefix}/lib/${build_arch}-linux-gnu
diff --git a/audio/qsynth/files/patch-src-CMakeLists.txt.diff b/audio/qsynth/files/patch-src-CMakeLists.txt.diff
index c1185dcb..46fba03c 100644
--- a/audio/qsynth/files/patch-src-CMakeLists.txt.diff
+++ b/audio/qsynth/files/patch-src-CMakeLists.txt.diff
@@ -1,37 +1,17 @@
---- src/CMakeLists.txt
+diff --git src/orig.CMakeLists.txt src/CMakeLists.txt
+index c774daa..3a84ceb 100644
+--- src/orig.CMakeLists.txt
 +++ src/CMakeLists.txt
-@@ -106,7 +106,16 @@ if (WIN32)
+@@ -183,9 +183,10 @@ if (CONFIG_PIPEWIRE)
  endif ()
  
- if (APPLE)
--  set_target_properties ( qsynth PROPERTIES MACOSX_BUNDLE true )
-+  set_target_properties ( qsynth PROPERTIES
-+    MACOSX_BUNDLE true
-+    MACOSX_BUNDLE_GUI_IDENTIFIER "org.rncbc.qsynth"
-+    MACOSX_BUNDLE_BUNDLE_NAME "Qsynth"
-+    MACOSX_BUNDLE_DISPLAY_NAME "Qsynth"
-+    MACOSX_BUNDLE_INFO_STRING "Qsynth, a FluidSynth Qt GUI Interface"
-+    MACOSX_BUNDLE_LONG_VERSION_STRING "Qsynth ${VERSION}"
-+    MACOSX_BUNDLE_SHORT_VERSION_STRING "${VERSION}"
-+    MACOSX_BUNDLE_BUNDLE_VERSION "${VERSION}"
-+    MACOSX_BUNDLE_COPYRIGHT "Copyright (C) 2003-2016, rncbc aka Rui Nuno Capela. All rights reserved.")
- endif ()
- 
- target_link_libraries ( qsynth
-@@ -129,12 +138,13 @@ set ( TRANSLATIONS
- qt5_add_translation ( QM_FILES ${TRANSLATIONS} )
- add_custom_target( translations ALL DEPENDS ${QM_FILES} )
  
 -if (UNIX AND NOT APPLE)
 +if (UNIX)
-   install ( TARGETS qsynth
--     RUNTIME DESTINATION bin )
-+     RUNTIME DESTINATION bin
-+     BUNDLE DESTINATION ${BUNDLE_INSTALL_DIR} )
-   install ( FILES ${QM_FILES}
-      DESTINATION share/qsynth/translations )
--  install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/qsynth.desktop
-+  install ( FILES ${CMAKE_CURRENT_SOURCE_DIR}/qsynth.desktop
-      DESTINATION share/applications )
-   install ( FILES images/qsynth.png
-      DESTINATION share/pixmaps )
+   install (TARGETS ${PROJECT_NAME} RUNTIME
+-    DESTINATION ${CMAKE_INSTALL_BINDIR})
++    DESTINATION ${CMAKE_INSTALL_BINDIR}
++    BUNDLE DESTINATION ${BUNDLE_INSTALL_DIR})
+   install (FILES ${QM_FILES}
+     DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/translations)
+   install (FILES images/${PROJECT_NAME}.png
diff --git a/audio/qsynth/files/patch-support-older-qt5.diff b/audio/qsynth/files/patch-support-older-qt5.diff
new file mode 100644
index 00000000..b0546aef
--- /dev/null
+++ b/audio/qsynth/files/patch-support-older-qt5.diff
@@ -0,0 +1,26 @@
+diff --git src/orig.qsynthSetupForm.cpp src/qsynthSetupForm.cpp
+index 9fb77c7..28d2758 100644
+--- src/orig.qsynthSetupForm.cpp
++++ src/qsynthSetupForm.cpp
+@@ -1172,8 +1172,10 @@ qsynthSettingsItemEditor::qsynthSettingsItemEditor (
+ 		m_u.pSpinBox->setMinimum(iRangeMin);
+ 		m_u.pSpinBox->setMaximum(iRangeMax);
+ 		m_u.pSpinBox->setAccelerated(true);
++#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
+ 		m_u.pSpinBox->setStepType(
+ 			QAbstractSpinBox::AdaptiveDecimalStepType);
++#endif
+ 		QObject::connect(m_u.pSpinBox,
+ 			SIGNAL(valueChanged(int)),
+ 			SLOT(committed())
+@@ -1193,8 +1195,10 @@ qsynthSettingsItemEditor::qsynthSettingsItemEditor (
+ 		m_u.pDoubleSpinBox->setMinimum(fRangeMin);
+ 		m_u.pDoubleSpinBox->setMaximum(fRangeMax);
+ 		m_u.pDoubleSpinBox->setAccelerated(true);
++#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
+ 		m_u.pDoubleSpinBox->setStepType(
+ 			QAbstractSpinBox::AdaptiveDecimalStepType);
++#endif
+ 		QObject::connect(m_u.pDoubleSpinBox,
+ 			SIGNAL(valueChanged(double)),
+ 			SLOT(committed())
