1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/audio/hydrogen/Makefile
Thomas Zander f57f8ce185 - Update to upstream version 0.9.6.1
- Simplify OPTIONS handling
- Add OPTIONS for LADSPA, PULSEAUDIO and RDF
- Update pkg-plist (@dirrm)

PR:		193234
Submitted by:	FreeBSD@ShaneWare.Biz (maintainer)
2014-10-03 11:32:06 +00:00

71 lines
2.2 KiB
Makefile

# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= hydrogen
PORTVERSION= 0.9.6.1
CATEGORIES= audio
MASTER_SITES= GH
MAINTAINER= FreeBSD@ShaneWare.Biz
COMMENT= Advanced drum machine
LICENSE= GPLv2
LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile
CONFLICTS= hydrogen-devel-0.*
USE_GITHUB= yes
GH_ACCOUNT= hydrogen-music
GH_PROJECT= hydrogen
GH_TAGNAME= 0.9.6.1
GH_COMMIT= 71ec7c5
USE_QT4= corelib gui qmake_build linguist_build moc_build network \
qt3support rcc_build sql uic_build xml
USES= cmake:outsource desktop-file-utils pkgconfig
CMAKE_ARGS+= -DTHREADS_HAVE_PTHREAD_ARG:BOOL=ON -DWANT_DEBUG:BOOL=OFF \
-DLIBSNDFILE_INCLUDE_DIR:STRING=${LOCALBASE}/include \
-DWANT_OSS:BOOL=ON
USE_LDCONFIG= yes
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= ALSA JACK LADSPA LASH PORTAUDIO PULSEAUDIO RDF
OPTIONS_DEFAULT= JACK LADSPA RDF
ALSA_CMAKE_ON= -DWANT_ALSA:BOOL=ON
ALSA_CMAKE_OFF= -DWANT_ALSA:BOOL=OFF
ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib
ALSA_RUN_DEPENDS= alsa-plugins>=0:${PORTSDIR}/audio/alsa-plugins
JACK_CMAKE_ON= -DWANT_JACK:BOOL=ON -DWANT_JACKSESSION:BOOL=ON
JACK_CMAKE_OFF= -DWANT_JACK:BOOL=OFF -DWANT_JACKSESSION:BOOL=OFF
JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack
LADSPA_CMAKE_ON= -DWANT_LADSPA:BOOL=ON \
-DLADSPA_LIBRARIES:STRING=${LOCALBASE}/lib/ladspa
LADSPA_CMAKE_OFF= -DWANT_LADSPA:BOOL=OFF
LADSPA_BUILD_DEPENDS= ladspa>=0:${PORTSDIR}/audio/ladspa
LADSPA_RUN_DEPENDS= analyseplugin:${PORTSDIR}/audio/ladspa
LASH_CMAKE_ON= -DWANT_LASH:BOOL=ON
LASH_CMAKE_OFF= -DWANT_LASH:BOOL=OFF
LASH_LIB_DEPENDS= liblash.so:${PORTSDIR}/audio/lash
PORTAUDIO_CMAKE_ON= -DWANT_PORTAUDIO:BOOL=ON \
-DPORTAUDIO_LIBRARIES:STRING=${LOCALBASE}/lib/portaudio2/libportaudio.so
PORTAUDIO_CMAKE_OFF= -DWANT_PORTAUDIO:BOOL=OFF
PORTAUDIO_LIB_DEPENDS= libportaudio.so.2:${PORTSDIR}/audio/portaudio2
PULSEAUDIO_CMAKE_ON= -DWANT_PULSEAUDIO:BOOL=ON
PULSEAUDIO_CMAKE_OFF= -DWANT_PULSEAUDIO:BOOL=OFF
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
RDF_DESC= RDF File support
RDF_CMAKE_ON= -DWANT_LRDF:BOOL=ON \
-DLRDF_INCLUDE_DIR:STRING=${LOCALBASE}/include/raptor2
RDF_CMAKE_OFF= -DWANT_LRDF:BOOL=OFF
RDF_LIB_DEPENDS= liblrdf.so:${PORTSDIR}/textproc/liblrdf
.include <bsd.port.mk>