summaryrefslogtreecommitdiff
path: root/audio/qsynth
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-04-14 15:17:51 +0200
committerAdriaan de Groot <adridg@FreeBSD.org>2022-04-14 15:43:48 +0200
commit864a5d44f89426ef4070f6fcbb350e50eb3d5433 (patch)
tree32cdb0173050ea1daf8c04c5fbffb29f0f595f19 /audio/qsynth
parentnet/wifibox: Update to 0.8.2 (diff)
audio/qsynth: update to 0.9.7, latest upstream
This "Spring'22 Release" has one item in the release notes: - Main application icon is now presented in scalable format (SVG). Build switched to CMake. This update entirely thanks to yuri@. PR: 263270
Diffstat (limited to 'audio/qsynth')
-rw-r--r--audio/qsynth/Makefile24
-rw-r--r--audio/qsynth/distinfo6
-rw-r--r--audio/qsynth/pkg-plist10
3 files changed, 15 insertions, 25 deletions
diff --git a/audio/qsynth/Makefile b/audio/qsynth/Makefile
index 0bb2d9ad63fd..70fc4df9ec68 100644
--- a/audio/qsynth/Makefile
+++ b/audio/qsynth/Makefile
@@ -1,8 +1,7 @@
# Created by: lazyklimm <lazyklimm@gmail.com>
PORTNAME= qsynth
-PORTVERSION= 0.9.2
-PORTREVISION= 2
+PORTVERSION= 0.9.7
CATEGORIES= audio
MASTER_SITES= SF
@@ -10,24 +9,15 @@ MAINTAINER= adridg@FreeBSD.org
COMMENT= Qt fluidsynth front-end application
LICENSE= GPLv2+
-LICENSE_FILE= ${WRKSRC}/COPYING
+LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
-USES= compiler:c++11-lang gmake pkgconfig qt:5
+USES= cmake compiler:c++11-lang pkgconfig qt:5
USE_CXXSTD= c++11
USE_QT= core gui network widgets x11extras buildtools_build \
linguisttools_build qmake_build
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localedir=${DATADIR} \
- --with-fluidsynth=${LOCALBASE}
-CONFIGURE_ENV= ac_cv_path_ac_cv_qmake=${QMAKE} \
- ac_cv_path_ac_lrelease=${LRELEASE} \
- ac_cv_path_ac_lupdate=${LUPDATE} \
- ac_cv_path_ac_moc=${MOC} \
- ac_cv_path_ac_uic=${UIC}
-
# cf. PR 224488
LDFLAGS+= -Wl,--as-needed
@@ -38,11 +28,11 @@ GRADIENT_DESC= Gradient eye-candy
SYSTEM_TRAY_DESC= System-tray icon support
XUNIQUE_DESC= X11 unique/single instance
-GRADIENT_CONFIGURE_ENABLE= gradient
-SYSTEM_TRAY_CONFIGURE_ENABLE= system-tray
+GRADIENT_CMAKE_BOOL= gradient
+SYSTEM_TRAY_CMAKE_BOOL= CONFIG_SYSTEM_TRAY
XUNIQUE_USES= xorg
XUNIQUE_USE= XORG=x11
-XUNIQUE_CONFIGURE_ENABLE= xunique
+XUNIQUE_CMAKE_BOOL= CONFIG_XUNIQUE
post-patch:
@${REINPLACE_CMD} -e ' \
@@ -51,6 +41,6 @@ post-patch:
s|"/MidiDriver", "alsa_seq"|"/MidiDriver", "jack"|; \
s|m_settings.value("/SoundFontDir").toString();|m_settings.value("/SoundFontDir").toString().isEmpty() ? "${LOCALBASE}/share/sounds/sf2" : m_settings.value("/SoundFontDir").toString();|' \
${WRKSRC}/src/qsynthOptions.cpp \
- ${WRKSRC}/qsynth.1 ${WRKSRC}/qsynth.fr.1
+ ${WRKSRC}/src/man1/qsynth.1 ${WRKSRC}/src/man1/qsynth.fr.1
.include <bsd.port.mk>
diff --git a/audio/qsynth/distinfo b/audio/qsynth/distinfo
index d2b50fc6175a..a2f61e795912 100644
--- a/audio/qsynth/distinfo
+++ b/audio/qsynth/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1615837101
-SHA256 (qsynth-0.9.2.tar.gz) = ee9202178a6453c84d8016e61fd9a364e3dbbd306b4f3658baaa05be29927c3e
-SIZE (qsynth-0.9.2.tar.gz) = 394009
+TIMESTAMP = 1649911814
+SHA256 (qsynth-0.9.7.tar.gz) = 0e0d78c26cdd924c774359f306692a9a59f107ebab8b41aa6803b15479207030
+SIZE (qsynth-0.9.7.tar.gz) = 335564
diff --git a/audio/qsynth/pkg-plist b/audio/qsynth/pkg-plist
index 481d74951d96..988751ad6b5e 100644
--- a/audio/qsynth/pkg-plist
+++ b/audio/qsynth/pkg-plist
@@ -1,10 +1,10 @@
bin/qsynth
-man/man1/qsynth.1.gz
man/fr/man1/qsynth.1.gz
-share/applications/qsynth.desktop
-share/icons/hicolor/32x32/apps/qsynth.png
-share/icons/hicolor/scalable/apps/qsynth.svg
-share/metainfo/qsynth.appdata.xml
+man/man1/qsynth.1.gz
+share/applications/org.rncbc.qsynth.desktop
+share/icons/hicolor/32x32/apps/org.rncbc.qsynth.png
+share/icons/hicolor/scalable/apps/org.rncbc.qsynth.svg
+share/metainfo/org.rncbc.qsynth.metainfo.xml
%%DATADIR%%/translations/qsynth_cs.qm
%%DATADIR%%/translations/qsynth_de.qm
%%DATADIR%%/translations/qsynth_es.qm