Lines 1-8
Link Here
|
1 |
# Created by: lazyklimm <lazyklimm@gmail.com> |
1 |
# Created by: lazyklimm <lazyklimm@gmail.com> |
2 |
|
2 |
|
3 |
PORTNAME= qsynth |
3 |
PORTNAME= qsynth |
4 |
PORTVERSION= 0.9.2 |
4 |
PORTVERSION= 0.9.7 |
5 |
PORTREVISION= 2 |
|
|
6 |
CATEGORIES= audio |
5 |
CATEGORIES= audio |
7 |
MASTER_SITES= SF |
6 |
MASTER_SITES= SF |
8 |
|
7 |
|
Lines 10-33
MAINTAINER= adridg@FreeBSD.org
Link Here
|
10 |
COMMENT= Qt fluidsynth front-end application |
9 |
COMMENT= Qt fluidsynth front-end application |
11 |
|
10 |
|
12 |
LICENSE= GPLv2+ |
11 |
LICENSE= GPLv2+ |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
13 |
|
15 |
LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth |
14 |
LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth |
16 |
|
15 |
|
17 |
USES= compiler:c++11-lang gmake pkgconfig qt:5 |
16 |
USES= cmake compiler:c++11-lang pkgconfig qt:5 |
18 |
USE_CXXSTD= c++11 |
17 |
USE_CXXSTD= c++11 |
19 |
USE_QT= core gui network widgets x11extras buildtools_build \ |
18 |
USE_QT= core gui network widgets x11extras buildtools_build \ |
20 |
linguisttools_build qmake_build |
19 |
linguisttools_build qmake_build |
21 |
|
20 |
|
22 |
GNU_CONFIGURE= yes |
|
|
23 |
CONFIGURE_ARGS= --localedir=${DATADIR} \ |
24 |
--with-fluidsynth=${LOCALBASE} |
25 |
CONFIGURE_ENV= ac_cv_path_ac_cv_qmake=${QMAKE} \ |
26 |
ac_cv_path_ac_lrelease=${LRELEASE} \ |
27 |
ac_cv_path_ac_lupdate=${LUPDATE} \ |
28 |
ac_cv_path_ac_moc=${MOC} \ |
29 |
ac_cv_path_ac_uic=${UIC} |
30 |
|
31 |
# cf. PR 224488 |
21 |
# cf. PR 224488 |
32 |
LDFLAGS+= -Wl,--as-needed |
22 |
LDFLAGS+= -Wl,--as-needed |
33 |
|
23 |
|
Lines 38-48
GRADIENT_DESC= Gradient eye-candy
Link Here
|
38 |
SYSTEM_TRAY_DESC= System-tray icon support |
28 |
SYSTEM_TRAY_DESC= System-tray icon support |
39 |
XUNIQUE_DESC= X11 unique/single instance |
29 |
XUNIQUE_DESC= X11 unique/single instance |
40 |
|
30 |
|
41 |
GRADIENT_CONFIGURE_ENABLE= gradient |
31 |
GRADIENT_CMAKE_BOOL= gradient |
42 |
SYSTEM_TRAY_CONFIGURE_ENABLE= system-tray |
32 |
SYSTEM_TRAY_CMAKE_BOOL= CONFIG_SYSTEM_TRAY |
43 |
XUNIQUE_USES= xorg |
33 |
XUNIQUE_USES= xorg |
44 |
XUNIQUE_USE= XORG=x11 |
34 |
XUNIQUE_USE= XORG=x11 |
45 |
XUNIQUE_CONFIGURE_ENABLE= xunique |
35 |
XUNIQUE_CMAKE_BOOL= CONFIG_XUNIQUE |
46 |
|
36 |
|
47 |
post-patch: |
37 |
post-patch: |
48 |
@${REINPLACE_CMD} -e ' \ |
38 |
@${REINPLACE_CMD} -e ' \ |
Lines 51-56
post-patch:
Link Here
|
51 |
s|"/MidiDriver", "alsa_seq"|"/MidiDriver", "jack"|; \ |
41 |
s|"/MidiDriver", "alsa_seq"|"/MidiDriver", "jack"|; \ |
52 |
s|m_settings.value("/SoundFontDir").toString();|m_settings.value("/SoundFontDir").toString().isEmpty() ? "${LOCALBASE}/share/sounds/sf2" : m_settings.value("/SoundFontDir").toString();|' \ |
42 |
s|m_settings.value("/SoundFontDir").toString();|m_settings.value("/SoundFontDir").toString().isEmpty() ? "${LOCALBASE}/share/sounds/sf2" : m_settings.value("/SoundFontDir").toString();|' \ |
53 |
${WRKSRC}/src/qsynthOptions.cpp \ |
43 |
${WRKSRC}/src/qsynthOptions.cpp \ |
54 |
${WRKSRC}/qsynth.1 ${WRKSRC}/qsynth.fr.1 |
44 |
${WRKSRC}/src/man1/qsynth.1 ${WRKSRC}/src/man1/qsynth.fr.1 |
55 |
|
45 |
|
56 |
.include <bsd.port.mk> |
46 |
.include <bsd.port.mk> |