Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 23:51:30 +0000 (UTC)
From:      Armin Pirkovitsch <sperber@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308039 - in head/audio/qsynth: . files
Message-ID:  <201211302351.qAUNpU1Q079335@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sperber
Date: Fri Nov 30 23:51:30 2012
New Revision: 308039
URL: http://svnweb.freebsd.org/changeset/ports/308039

Log:
  - Update to version 0.3.6
  
  PR:           ports/171967
  Submitted by: KATO Tsuguru <tkato432 _at_ yahoo.com>
  Approved by:  beat (mentor)
  Feature safe: yes

Modified:
  head/audio/qsynth/Makefile
  head/audio/qsynth/distinfo
  head/audio/qsynth/files/patch-src-qsynthOptions.cpp
  head/audio/qsynth/pkg-plist

Modified: head/audio/qsynth/Makefile
==============================================================================
--- head/audio/qsynth/Makefile	Fri Nov 30 23:51:24 2012	(r308038)
+++ head/audio/qsynth/Makefile	Fri Nov 30 23:51:30 2012	(r308039)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	qsynth
-PORTVERSION=	0.3.4
-PORTREVISION=	3
+PORTVERSION=	0.3.6
 CATEGORIES=	audio
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION}
 
@@ -12,15 +11,31 @@ COMMENT=	Qt fluidsynth front-end applica
 
 LIB_DEPENDS=	fluidsynth:${PORTSDIR}/audio/fluidsynth
 
-GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 USE_QT4=	gui qmake_build moc_build uic_build rcc_build linguist_build
-CFLAGS+=	-I${QT_INCDIR} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS}
-LDFLAGS+=	-L${QT_LIBDIR}
-CONFIGURE_ARGS+=ac_cv_path_ac_moc=${MOC} ac_cv_path_ac_uic=${UIC} \
+QT_NONSTANDARD=	yes
+USE_GMAKE=	yes
+GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	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
-MAKE_JOBS_UNSAFE=	yes
+INSTALLS_ICONS=	yes
+MAKE_JOBS_UNSAFE=yes
+
+CPPFLAGS+=	-I${QT_INCDIR} ${PTHREAD_CFLAGS}
+LDFLAGS+=	-L${QT_LIBDIR} ${PTHREAD_LIBS}
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|@make |@$$(MAKE) | ; \
+		 /man1/s|^|#|' ${WRKSRC}/Makefile.in
+
+post-configure:
+	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o qsynth.mak \
+		${QMAKEFLAGS})
+
+post-install:
+	@${STRIP_CMD} ${PREFIX}/bin/qsynth
 
 .include <bsd.port.mk>

Modified: head/audio/qsynth/distinfo
==============================================================================
--- head/audio/qsynth/distinfo	Fri Nov 30 23:51:24 2012	(r308038)
+++ head/audio/qsynth/distinfo	Fri Nov 30 23:51:30 2012	(r308039)
@@ -1,2 +1,2 @@
-SHA256 (qsynth-0.3.4.tar.gz) = 87542acdd2d238d60d1fd26a61157fcdd34c1ce667543f564f31fd027ced8b07
-SIZE (qsynth-0.3.4.tar.gz) = 190655
+SHA256 (qsynth-0.3.6.tar.gz) = b5968da98661bac5c9fcc93d3a15851594dfbf3bb7d01ace15fbe8779d53fb3c
+SIZE (qsynth-0.3.6.tar.gz) = 223774

Modified: head/audio/qsynth/files/patch-src-qsynthOptions.cpp
==============================================================================
--- head/audio/qsynth/files/patch-src-qsynthOptions.cpp	Fri Nov 30 23:51:24 2012	(r308038)
+++ head/audio/qsynth/files/patch-src-qsynthOptions.cpp	Fri Nov 30 23:51:30 2012	(r308039)
@@ -1,6 +1,6 @@
---- src/qsynthOptions.cpp.orig	2009-08-27 18:35:48.000000000 +0200
-+++ src/qsynthOptions.cpp	2009-08-27 18:36:39.000000000 +0200
-@@ -155,11 +155,11 @@ void qsynthOptions::print_usage ( const 
+--- src/qsynthOptions.cpp.orig	2011-03-30 20:53:04.000000000 +0900
++++ src/qsynthOptions.cpp	2012-09-25 21:29:15.000000000 +0900
+@@ -172,11 +172,11 @@
  	out << "  -n, --no-midi-in" + sEot +
  		QObject::tr("Don't create a midi driver to read MIDI input events [default = yes]") + sEol;
  	out << "  -m, --midi-driver=[label]" + sEot +
@@ -14,12 +14,12 @@
  	out << "  -j, --connect-jack-outputs" + sEot +
  		QObject::tr("Attempt to connect the jack outputs to the physical ports") + sEol;
  	out << "  -L, --audio-channels=[num]" + sEot +
-@@ -459,7 +459,7 @@ void qsynthOptions::loadSetup ( qsynthSe
-     pSetup->iAudioBufSize    = m_settings.value("/AudioBufSize", 512).toInt();
-     pSetup->iAudioBufCount   = m_settings.value("/AudioBufCount", 8).toInt();
+@@ -477,7 +477,7 @@
+ 	pSetup->iAudioBufSize    = m_settings.value("/AudioBufSize", 512).toInt();
+ 	pSetup->iAudioBufCount   = m_settings.value("/AudioBufCount", 8).toInt();
  #else
 -	pSetup->sMidiDriver      = m_settings.value("/MidiDriver", "alsa_seq").toString();
 +	pSetup->sMidiDriver      = m_settings.value("/MidiDriver", "jack").toString();
-     pSetup->sAudioDriver     = m_settings.value("/AudioDriver", "jack").toString();
-     pSetup->iAudioBufSize    = m_settings.value("/AudioBufSize", 64).toInt();
-     pSetup->iAudioBufCount   = m_settings.value("/AudioBufCount", 2).toInt();
+ 	pSetup->sAudioDriver     = m_settings.value("/AudioDriver", "jack").toString();
+ 	pSetup->iAudioBufSize    = m_settings.value("/AudioBufSize", 64).toInt();
+ 	pSetup->iAudioBufCount   = m_settings.value("/AudioBufCount", 2).toInt();

Modified: head/audio/qsynth/pkg-plist
==============================================================================
--- head/audio/qsynth/pkg-plist	Fri Nov 30 23:51:24 2012	(r308038)
+++ head/audio/qsynth/pkg-plist	Fri Nov 30 23:51:30 2012	(r308039)
@@ -1,7 +1,8 @@
 bin/qsynth
-share/pixmaps/qsynth.png
 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
 @dirrmtry share/applications



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211302351.qAUNpU1Q079335>