diff options
author | rodrigo <rodrigo@FreeBSD.org> | 2017-08-12 20:35:33 +0000 |
---|---|---|
committer | rodrigo <rodrigo@FreeBSD.org> | 2017-08-12 20:35:33 +0000 |
commit | 91da339057190ce31e28f5914283c594c6222b93 (patch) | |
tree | 03d735c635c1c8b933a8172bcf03aa0d62d1e7c6 | |
parent | 8c85b5f7f04ef95e7d997d19cf060637d005e3b6 (diff) | |
download | FreeBSD-ports-91da339057190ce31e28f5914283c594c6222b93.zip FreeBSD-ports-91da339057190ce31e28f5914283c594c6222b93.tar.gz |
Fixed dependencies and add PORTAUDIO option
Bump PORTREVISION
PR: 220961
Submitted by: Yuri Victorovich <yuri@rawbw.com>
-rw-r--r-- | audio/lmms/Makefile | 16 | ||||
-rw-r--r-- | audio/lmms/distinfo | 1 |
2 files changed, 15 insertions, 2 deletions
diff --git a/audio/lmms/Makefile b/audio/lmms/Makefile index e0b21b6..ecb1ede 100644 --- a/audio/lmms/Makefile +++ b/audio/lmms/Makefile @@ -4,6 +4,7 @@ PORTNAME= lmms PORTVERSION= 1.1.3 DISTVERSIONPREFIX= v +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= audio @@ -18,6 +19,7 @@ LIB_DEPENDS= libFLAC.so:audio/flac \ libsamplerate.so:audio/libsamplerate \ libsndfile.so:audio/libsndfile \ libvorbis.so:audio/libvorbis \ + libogg.so:audio/libogg \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libsamplerate.so:audio/libsamplerate \ @@ -27,10 +29,11 @@ RUN_DEPENDS= ${LOCALBASE}/share/ladspa/rdf/caps.rdf:audio/caps-plugins \ ${LOCALBASE}/share/ladspa/rdf/swh-plugins.rdf:audio/swhplugins \ ${LOCALBASE}/share/ladspa/rdf/tap-plugins.rdf:audio/tap-plugins -OPTIONS_DEFINE= JACK PULSEAUDIO SDL +OPTIONS_DEFINE= OSS JACK PULSEAUDIO PORTAUDIO SDL +OPTIONS_DEFAULT=OSS USE_LDCONFIG= yes -USE_XORG= xft +USE_XORG= x11 xext xft ice sm USE_QT4= corelib gui xml moc_build uic_build rcc_build \ qmake_build USE_GITHUB= yes @@ -54,6 +57,9 @@ JACK_CMAKE_OFF= -DWANT_JACK:BOOL=OFF PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CMAKE_OFF= -DWANT_PULSEAUDIO:BOOL=OFF +PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio +PORTAUDIO_CMAKE_OFF= -DWANT_PORTAUDIO:BOOL=OFF + SDL_USE= SDL=sdl SDL_CMAKE_OFF= -DWANT_SDL:BOOL=OFF @@ -77,6 +83,12 @@ post-patch: @${REINPLACE_CMD} -e 's/lib64/lib/' \ ${WRKSRC}/cmake/modules/DetectMachine.cmake +post-patch-OSS-off: + @${REINPLACE_CMD} \ + -e 's|SET(LMMS_HAVE_OSS TRUE)|SET(LMMS_HAVE_OSS FALSE)|; \ + s|SET(STATUS_OSS "OK")|SET(STATUS_OSS "<disabled>")|' \ + ${WRKSRC}/CMakeLists.txt + post-install: @${LN} -sf ${DATADIR}/themes/default/icon.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/lmms.png diff --git a/audio/lmms/distinfo b/audio/lmms/distinfo index f00c6ce..2192467 100644 --- a/audio/lmms/distinfo +++ b/audio/lmms/distinfo @@ -1,2 +1,3 @@ +TIMESTAMP = 1500880879 SHA256 (LMMS-lmms-v1.1.3_GH0.tar.gz) = 59338e7b90e02fe18db73114aefe479c0e6d1e0e366185d71ea5c1a1e0f9e6bc SIZE (LMMS-lmms-v1.1.3_GH0.tar.gz) = 16843533 |