- Update to 0.3.7

PR:		178028
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2013-04-26 06:36:46 +00:00
parent 1b1d1eaf04
commit 49ef961f39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316573
4 changed files with 48 additions and 16 deletions

View file

@ -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
CPPFLAGS+= -I${QT_INCDIR} ${PTHREAD_CFLAGS}
LDFLAGS+= -L${QT_LIBDIR} ${PTHREAD_LIBS}
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|@make |@$$(MAKE) | ; \
/man1/s|^|#|' ${WRKSRC}/Makefile.in
.if empty(PORT_OPTIONS:MGRADIENT)
CONFIGURE_ARGS+=--disable-gradient
.endif
.if empty(PORT_OPTIONS:MSYSTEM_TRAY)
CONFIGURE_ARGS+=--disable-system-tray
.endif
post-configure:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} -o qsynth.mak \

View file

@ -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

View file

@ -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

View file

@ -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