- Bump PORTREVISION for dependency change
- Fix portaudio2 dependency due to recent commit - Support STAGEDIR and add OPTIONS_SUB Approved by: pawel / wg (mentors, implicit)
This commit is contained in:
parent
96e924e3e0
commit
530485b495
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331657
1 changed files with 17 additions and 30 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= fmit
|
||||
PORTVERSION= 0.99.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://download.gna.org/fmit/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
|
||||
|
@ -15,11 +15,7 @@ LICENSE= GPLv2
|
|||
|
||||
LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3
|
||||
|
||||
OPTIONS_DEFINE= OSS ALSA PORTAUDIO JACK
|
||||
OPTIONS_DEFAULT= OSS JACK
|
||||
|
||||
USE_BZIP2= yes
|
||||
NO_STAGE= yes
|
||||
USE_XORG= xmu
|
||||
USE_QT4= corelib gui opengl \
|
||||
linguist_build moc_build qmake_build rcc_build uic_build
|
||||
|
@ -27,34 +23,25 @@ USE_GL= glut
|
|||
USES= cmake
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
OPTIONS_DEFINE= ALSA JACK OSS PORTAUDIO
|
||||
OPTIONS_DEFAULT= JACK OSS
|
||||
|
||||
.if ${PORT_OPTIONS:MOSS}
|
||||
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_OSS:BOOL=true
|
||||
.else
|
||||
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_OSS:BOOL=false
|
||||
.endif
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
.if ${PORT_OPTIONS:MALSA}
|
||||
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib
|
||||
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_ALSA:BOOL=true
|
||||
.else
|
||||
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_ALSA:BOOL=false
|
||||
.endif
|
||||
ALSA_LIB_DEPENDS= libasound.so.2:${PORTSDIR}/audio/alsa-lib
|
||||
ALSA_CMAKE_ON= -DSOUNDSYSTEM_USE_ALSA:BOOL=true
|
||||
ALSA_CMAKE_OFF= -DSOUNDSYSTEM_USE_ALSA:BOOL=false
|
||||
|
||||
.if ${PORT_OPTIONS:MPORTAUDIO}
|
||||
BUILD_DEPENDS+= portaudio>=19:${PORTSDIR}/audio/portaudio2
|
||||
RUN_DEPENDS+= portaudio>=19:${PORTSDIR}/audio/portaudio2
|
||||
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_PORTAUDIO:BOOL=true
|
||||
.else
|
||||
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_PORTAUDIO:BOOL=false
|
||||
.endif
|
||||
OSS_CMAKE_ON= -DSOUNDSYSTEM_USE_OSS:BOOL=true
|
||||
OSS_CMAKE_OFF= -DSOUNDSYSTEM_USE_OSS:BOOL=false
|
||||
|
||||
.if ${PORT_OPTIONS:MJACK}
|
||||
LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
|
||||
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_JACK:BOOL=true
|
||||
.else
|
||||
CMAKE_ARGS+= -DSOUNDSYSTEM_USE_JACK:BOOL=false
|
||||
.endif
|
||||
JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack
|
||||
JACK_CMAKE_ON= -DSOUNDSYSTEM_USE_JACK:BOOL=true
|
||||
JACK_CMAKE_OFF= -DSOUNDSYSTEM_USE_JACK:BOOL=false
|
||||
|
||||
PORTAUDIO_BUILD_DEPENDS= portaudio2>=0:${PORTSDIR}/audio/portaudio2
|
||||
PORTAUDIO_RUN_DEPENDS= portaudio2>=0:${PORTSDIR}/audio/portaudio2
|
||||
PORTAUDIO_CMAKE_ON= -DSOUNDSYSTEM_USE_PORTAUDIO:BOOL=true
|
||||
PORTAUDIO_CMAKE_OFF= -DSOUNDSYSTEM_USE_PORTAUDIO:BOOL=false
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue