1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/audio/hydrogen/Makefile
Jason E. Hale 42ad3600de - Chase audio/portaudio2 removal and use audio/portaudio instead
- Bump PORTREVISION

PR:		200820
Submitted by:	<FreeBSD@ShaneWare.Biz> (maintainer)
2015-06-17 13:40:04 +00:00

67 lines
2.1 KiB
Makefile

# Created by: Jean-Yves Lefort <jylefort@brutele.be>
# $FreeBSD$
PORTNAME= hydrogen
PORTVERSION= 0.9.6.1
PORTREVISION= 1
CATEGORIES= audio
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
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
PORTAUDIO_CMAKE_OFF= -DWANT_PORTAUDIO:BOOL=OFF
PORTAUDIO_LIB_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio
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>