aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-04-26 14:36:46 +0800
committermiwi <miwi@FreeBSD.org>2013-04-26 14:36:46 +0800
commita57dae52a58631ec2c75112b10014a8def031d1e (patch)
treeadb9a1cf1a3fe01f854aa694b235d967278aaa9c /audio
parent6116cb49937c7050209d07d0d4bcd455fea1c19c (diff)
downloadfreebsd-ports-gnome-a57dae52a58631ec2c75112b10014a8def031d1e.tar.gz
freebsd-ports-gnome-a57dae52a58631ec2c75112b10014a8def031d1e.tar.zst
freebsd-ports-gnome-a57dae52a58631ec2c75112b10014a8def031d1e.zip
- Update to 0.3.7
PR: 178028 Submitted by: Ports Fury
Diffstat (limited to 'audio')
-rw-r--r--audio/qsynth/Makefile32
-rw-r--r--audio/qsynth/distinfo4
-rw-r--r--audio/qsynth/files/patch-Makefile.in18
-rw-r--r--audio/qsynth/pkg-plist10
4 files changed, 48 insertions, 16 deletions
diff --git a/audio/qsynth/Makefile b/audio/qsynth/Makefile
index 8f00e864dbe4..35a2f596c3f8 100644
--- a/audio/qsynth/Makefile
+++ b/audio/qsynth/Makefile
@@ -2,34 +2,46 @@
# $FreeBSD$
PORTNAME= qsynth
-PORTVERSION= 0.3.6
+PORTVERSION= 0.3.7
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt fluidsynth front-end application
+LICENSE= GPLv2 # (or later)
+
LIB_DEPENDS= fluidsynth:${PORTSDIR}/audio/fluidsynth
-USE_QT4= gui qmake_build moc_build uic_build rcc_build linguist_build
+OPTIONS_DEFINE= GRADIENT SYSTEM_TRAY
+OPTIONS_DEFAULT= GRADIENT SYSTEM_TRAY
+GRADIENT_DESC= Gradient eye-candy
+SYSTEM_TRAY_DESC= System-tray icon
+
+USE_QT4= gui linguist_build moc_build qmake_build rcc_build uic_build
QT_NONSTANDARD= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= ac_cv_path_ac_moc=${MOC} \
+CONFIGURE_ENV= ac_cv_path_ac_moc=${MOC} \
ac_cv_path_ac_uic=${UIC} \
ac_cv_path_ac_qmake=${QMAKE} \
ac_cv_path_ac_lupdate=${LOCALBASE}/bin/lupdate-qt4 \
ac_cv_path_ac_lrelease=${LOCALBASE}/bin/lrelease-qt4
+CONFIGURE_ARGS= --localedir=${DATADIR} \
+ --with-qt=${QT_PREFIX} \
+ --with-fluidsynth=${LOCALBASE}
INSTALLS_ICONS= yes
-MAKE_JOBS_UNSAFE=yes
+MAKE_JOBS_SAFE= yes
+
+.include <bsd.port.options.mk>
-CPPFLAGS+= -I${QT_INCDIR} ${PTHREAD_CFLAGS}
-LDFLAGS+= -L${QT_LIBDIR} ${PTHREAD_LIBS}
+.if empty(PORT_OPTIONS:MGRADIENT)
+CONFIGURE_ARGS+=--disable-gradient
+.endif
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|@make |@$$(MAKE) | ; \
- /man1/s|^|#|' ${WRKSRC}/Makefile.in
+.if empty(PORT_OPTIONS:MSYSTEM_TRAY)
+CONFIGURE_ARGS+=--disable-system-tray
+.endif
post-configure:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o qsynth.mak \
diff --git a/audio/qsynth/distinfo b/audio/qsynth/distinfo
index be839ace096d..6d6ed391ceef 100644
--- a/audio/qsynth/distinfo
+++ b/audio/qsynth/distinfo
@@ -1,2 +1,2 @@
-SHA256 (qsynth-0.3.6.tar.gz) = b5968da98661bac5c9fcc93d3a15851594dfbf3bb7d01ace15fbe8779d53fb3c
-SIZE (qsynth-0.3.6.tar.gz) = 223774
+SHA256 (qsynth-0.3.7.tar.gz) = 5f6c40179285a2be54ecbed4956525d8c2a3e16c6343024e558e22920c5147fe
+SIZE (qsynth-0.3.7.tar.gz) = 243979
diff --git a/audio/qsynth/files/patch-Makefile.in b/audio/qsynth/files/patch-Makefile.in
new file mode 100644
index 000000000000..16dfadab3c13
--- /dev/null
+++ b/audio/qsynth/files/patch-Makefile.in
@@ -0,0 +1,18 @@
+--- Makefile.in.orig 2013-02-20 01:37:32.082725000 +0900
++++ Makefile.in 2013-04-19 19:57:44.000000000 +0900
+@@ -60,6 +60,7 @@
+ src/qsynthSetupForm.ui
+
+ translations_sources = \
++ src/translations/qsynth_cs.ts \
+ src/translations/qsynth_de.ts \
+ src/translations/qsynth_es.ts \
+ src/translations/qsynth_fr.ts \
+@@ -68,6 +69,7 @@
+ translations_targets = \
+ src/translations/qsynth_cs.qm \
+ src/translations/qsynth_de.qm \
++ src/translations/qsynth_es.qm \
+ src/translations/qsynth_fr.qm \
+ src/translations/qsynth_ru.qm
+
diff --git a/audio/qsynth/pkg-plist b/audio/qsynth/pkg-plist
index 4bbc0afcbd84..b4c17de403af 100644
--- a/audio/qsynth/pkg-plist
+++ b/audio/qsynth/pkg-plist
@@ -1,8 +1,10 @@
bin/qsynth
share/applications/qsynth.desktop
-share/locale/qsynth_cs.qm
-share/locale/qsynth_de.qm
-share/locale/qsynth_es.qm
-share/locale/qsynth_ru.qm
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
+@dirrm %%DATADIR%%
@dirrmtry share/applications