View | Details | Raw Unified | Return to bug 171967
Collapse All | Expand All

(-)audio/qsynth/Makefile (-8 / +23 lines)
Lines 2-9 Link Here
2
# $FreeBSD: ports/audio/qsynth/Makefile,v 1.14 2012/09/23 22:20:55 tabthorpe Exp $
2
# $FreeBSD: ports/audio/qsynth/Makefile,v 1.14 2012/09/23 22:20:55 tabthorpe Exp $
3
3
4
PORTNAME=	qsynth
4
PORTNAME=	qsynth
5
PORTVERSION=	0.3.4
5
PORTVERSION=	0.3.6
6
PORTREVISION=	3
7
CATEGORIES=	audio
6
CATEGORIES=	audio
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}
9
8
Lines 12-26 Link Here
12
11
13
LIB_DEPENDS=	fluidsynth:${PORTSDIR}/audio/fluidsynth
12
LIB_DEPENDS=	fluidsynth:${PORTSDIR}/audio/fluidsynth
14
13
15
GNU_CONFIGURE=	yes
16
USE_GMAKE=	yes
17
USE_QT4=	gui qmake_build moc_build uic_build rcc_build linguist_build
14
USE_QT4=	gui qmake_build moc_build uic_build rcc_build linguist_build
18
CFLAGS+=	-I${QT_INCDIR} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}
15
QT_NONSTANDARD=	yes
19
LDFLAGS+=	-L${QT_LIBDIR}
16
USE_GMAKE=	yes
20
CONFIGURE_ARGS+=ac_cv_path_ac_moc=${MOC} ac_cv_path_ac_uic=${UIC} \
17
GNU_CONFIGURE=	yes
18
CONFIGURE_ARGS=	ac_cv_path_ac_moc=${MOC} \
19
		ac_cv_path_ac_uic=${UIC} \
21
		ac_cv_path_ac_qmake=${QMAKE} \
20
		ac_cv_path_ac_qmake=${QMAKE} \
22
		ac_cv_path_ac_lupdate=${LOCALBASE}/bin/lupdate-qt4 \
21
		ac_cv_path_ac_lupdate=${LOCALBASE}/bin/lupdate-qt4 \
23
		ac_cv_path_ac_lrelease=${LOCALBASE}/bin/lrelease-qt4
22
		ac_cv_path_ac_lrelease=${LOCALBASE}/bin/lrelease-qt4
24
MAKE_JOBS_UNSAFE=	yes
23
INSTALLS_ICONS=	yes
24
MAKE_JOBS_UNSAFE=yes
25
26
CPPFLAGS+=	-I${QT_INCDIR} ${PTHREAD_CFLAGS}
27
LDFLAGS+=	-L${QT_LIBDIR} ${PTHREAD_LIBS}
28
29
post-patch:
30
	@${REINPLACE_CMD} -e \
31
		's|@make |@$$(MAKE) | ; \
32
		 /man1/s|^|#|' ${WRKSRC}/Makefile.in
33
34
post-configure:
35
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o qsynth.mak \
36
		${QMAKEFLAGS})
37
38
post-install:
39
	@${STRIP_CMD} ${PREFIX}/bin/qsynth
25
40
26
.include <bsd.port.mk>
41
.include <bsd.port.mk>
(-)audio/qsynth/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (qsynth-0.3.4.tar.gz) = 87542acdd2d238d60d1fd26a61157fcdd34c1ce667543f564f31fd027ced8b07
1
SHA256 (qsynth-0.3.6.tar.gz) = b5968da98661bac5c9fcc93d3a15851594dfbf3bb7d01ace15fbe8779d53fb3c
2
SIZE (qsynth-0.3.4.tar.gz) = 190655
2
SIZE (qsynth-0.3.6.tar.gz) = 223774
(-)audio/qsynth/files/patch-src-qsynthOptions.cpp (-9 / +9 lines)
Lines 1-6 Link Here
1
--- src/qsynthOptions.cpp.orig	2009-08-27 18:35:48.000000000 +0200
1
--- src/qsynthOptions.cpp.orig	2011-03-30 20:53:04.000000000 +0900
2
+++ src/qsynthOptions.cpp	2009-08-27 18:36:39.000000000 +0200
2
+++ src/qsynthOptions.cpp	2012-09-25 21:29:15.000000000 +0900
3
@@ -155,11 +155,11 @@ void qsynthOptions::print_usage ( const 
3
@@ -172,11 +172,11 @@
4
 	out << "  -n, --no-midi-in" + sEot +
4
 	out << "  -n, --no-midi-in" + sEot +
5
 		QObject::tr("Don't create a midi driver to read MIDI input events [default = yes]") + sEol;
5
 		QObject::tr("Don't create a midi driver to read MIDI input events [default = yes]") + sEol;
6
 	out << "  -m, --midi-driver=[label]" + sEot +
6
 	out << "  -m, --midi-driver=[label]" + sEot +
Lines 14-25 Link Here
14
 	out << "  -j, --connect-jack-outputs" + sEot +
14
 	out << "  -j, --connect-jack-outputs" + sEot +
15
 		QObject::tr("Attempt to connect the jack outputs to the physical ports") + sEol;
15
 		QObject::tr("Attempt to connect the jack outputs to the physical ports") + sEol;
16
 	out << "  -L, --audio-channels=[num]" + sEot +
16
 	out << "  -L, --audio-channels=[num]" + sEot +
17
@@ -459,7 +459,7 @@ void qsynthOptions::loadSetup ( qsynthSe
17
@@ -477,7 +477,7 @@
18
     pSetup->iAudioBufSize    = m_settings.value("/AudioBufSize", 512).toInt();
18
 	pSetup->iAudioBufSize    = m_settings.value("/AudioBufSize", 512).toInt();
19
     pSetup->iAudioBufCount   = m_settings.value("/AudioBufCount", 8).toInt();
19
 	pSetup->iAudioBufCount   = m_settings.value("/AudioBufCount", 8).toInt();
20
 #else
20
 #else
21
-	pSetup->sMidiDriver      = m_settings.value("/MidiDriver", "alsa_seq").toString();
21
-	pSetup->sMidiDriver      = m_settings.value("/MidiDriver", "alsa_seq").toString();
22
+	pSetup->sMidiDriver      = m_settings.value("/MidiDriver", "jack").toString();
22
+	pSetup->sMidiDriver      = m_settings.value("/MidiDriver", "jack").toString();
23
     pSetup->sAudioDriver     = m_settings.value("/AudioDriver", "jack").toString();
23
 	pSetup->sAudioDriver     = m_settings.value("/AudioDriver", "jack").toString();
24
     pSetup->iAudioBufSize    = m_settings.value("/AudioBufSize", 64).toInt();
24
 	pSetup->iAudioBufSize    = m_settings.value("/AudioBufSize", 64).toInt();
25
     pSetup->iAudioBufCount   = m_settings.value("/AudioBufCount", 2).toInt();
25
 	pSetup->iAudioBufCount   = m_settings.value("/AudioBufCount", 2).toInt();
(-)audio/qsynth/pkg-plist (-1 / +2 lines)
Lines 1-7 Link Here
1
bin/qsynth
1
bin/qsynth
2
share/pixmaps/qsynth.png
3
share/applications/qsynth.desktop
2
share/applications/qsynth.desktop
3
share/locale/qsynth_cs.qm
4
share/locale/qsynth_de.qm
4
share/locale/qsynth_de.qm
5
share/locale/qsynth_es.qm
5
share/locale/qsynth_es.qm
6
share/locale/qsynth_ru.qm
6
share/locale/qsynth_ru.qm
7
share/icons/hicolor/32x32/apps/qsynth.png
7
@dirrmtry share/applications
8
@dirrmtry share/applications

Return to bug 171967