aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormadpilot <madpilot@FreeBSD.org>2015-05-27 06:33:59 +0800
committermadpilot <madpilot@FreeBSD.org>2015-05-27 06:33:59 +0800
commitdda5105d6b372df259df9837b51c119cbca885c1 (patch)
treeef902e3da951d7787848dbc6ed6c79373c91fcd2 /audio
parent5a0dfa9614a1f3e87ccfed4080e2325a2f6e685f (diff)
downloadfreebsd-ports-gnome-dda5105d6b372df259df9837b51c119cbca885c1.tar.gz
freebsd-ports-gnome-dda5105d6b372df259df9837b51c119cbca885c1.tar.zst
freebsd-ports-gnome-dda5105d6b372df259df9837b51c119cbca885c1.zip
- Update to 0.3.9
- Add option to compile against Qt5 PR: 199219 Submitted by: tkato432 atyahoo.com
Diffstat (limited to 'audio')
-rw-r--r--audio/qsynth/Makefile30
-rw-r--r--audio/qsynth/distinfo4
-rw-r--r--audio/qsynth/pkg-plist14
3 files changed, 30 insertions, 18 deletions
diff --git a/audio/qsynth/Makefile b/audio/qsynth/Makefile
index 56d7983b9098..36b6d2f0f30e 100644
--- a/audio/qsynth/Makefile
+++ b/audio/qsynth/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= qsynth
-PORTVERSION= 0.3.8
+PORTVERSION= 0.3.9
CATEGORIES= audio
MASTER_SITES= SF
@@ -13,15 +13,7 @@ LICENSE= GPLv2 # (or later)
LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth
-OPTIONS_DEFINE= GRADIENT SYSTEM_TRAY
-OPTIONS_DEFAULT= GRADIENT SYSTEM_TRAY
-GRADIENT_DESC= Gradient eye-candy
-GRADIENT_CONFIGURE_ENABLE= gradient
-SYSTEM_TRAY_DESC= System-tray icon
-SYSTEM_TRAY_CONFIGURE_ENABLE= system-tray
-
USES= gmake
-USE_QT4= gui linguisttools_build moc_build qmake_build rcc_build uic_build
QT_NONSTANDARD= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_ac_moc=${MOC} \
@@ -30,10 +22,28 @@ CONFIGURE_ENV= ac_cv_path_ac_moc=${MOC} \
ac_cv_path_ac_lupdate=${LUPDATE} \
ac_cv_path_ac_lrelease=${LRELEASE}
CONFIGURE_ARGS= --localedir=${DATADIR} \
- --with-qt=${QT_PREFIX} \
--with-fluidsynth=${LOCALBASE}
INSTALLS_ICONS= yes
+OPTIONS_DEFINE= GRADIENT SYSTEM_TRAY
+OPTIONS_SINGLE= TOOLKIT
+OPTIONS_SINGLE_TOOLKIT= QT4 QT5
+OPTIONS_DEFAULT= GRADIENT QT4 SYSTEM_TRAY
+
+GRADIENT_DESC= Gradient eye-candy
+GRADIENT_CONFIGURE_ENABLE= gradient
+QT4_USE= qt4=corelib,gui \
+ qt4=linguisttools_build \
+ qt4=moc_build,qmake_build,rcc_build,uic_build
+QT4_CONFIGURE_ENABLE= qt4
+QT5_USE= qt5=core,gui,widgets \
+ qt5=buildtools_build,linguisttools_build,qmake_build
+QT5_CXXFLAGS= -fPIC
+QT5_CONFIGURE_ENABLE= qt5
+SYSTEM_TRAY_DESC= System-tray icon
+SYSTEM_TRAY_CONFIGURE_ENABLE= system-tray
+TOOLKIT_DESC= Qt toolkit
+
post-configure:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o qsynth.mak \
${QMAKE_ARGS})
diff --git a/audio/qsynth/distinfo b/audio/qsynth/distinfo
index dbf093db9e37..c6520f7b52a1 100644
--- a/audio/qsynth/distinfo
+++ b/audio/qsynth/distinfo
@@ -1,2 +1,2 @@
-SHA256 (qsynth-0.3.8.tar.gz) = 3c372b820915e9d385d9e6b5f0abe26dc83ace080765de01a0a28f845930b872
-SIZE (qsynth-0.3.8.tar.gz) = 254448
+SHA256 (qsynth-0.3.9.tar.gz) = eb2050d0f7a8011b9ac20f82fec88faf2237a2475dfefc424cb4944399b17e22
+SIZE (qsynth-0.3.9.tar.gz) = 255130
diff --git a/audio/qsynth/pkg-plist b/audio/qsynth/pkg-plist
index c3a9fd904ea3..d8d41081355c 100644
--- a/audio/qsynth/pkg-plist
+++ b/audio/qsynth/pkg-plist
@@ -1,9 +1,11 @@
bin/qsynth
+man/man1/qsynth.1.gz
+share/appdata/qsynth.appdata.xml
share/applications/qsynth.desktop
share/icons/hicolor/32x32/apps/qsynth.png
-%%DATADIR%%/qsynth_cs.qm
-%%DATADIR%%/qsynth_de.qm
-%%DATADIR%%/qsynth_es.qm
-%%DATADIR%%/qsynth_fr.qm
-%%DATADIR%%/qsynth_ru.qm
-%%DATADIR%%/qsynth_sr.qm
+%%DATADIR%%/translations/qsynth_cs.qm
+%%DATADIR%%/translations/qsynth_de.qm
+%%DATADIR%%/translations/qsynth_es.qm
+%%DATADIR%%/translations/qsynth_fr.qm
+%%DATADIR%%/translations/qsynth_ru.qm
+%%DATADIR%%/translations/qsynth_sr.qm