summaryrefslogtreecommitdiff
path: root/audio/kwave/Makefile
blob: 63aeb74fa84c53cb541dab6e2ed0adf384c26b79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
PORTNAME=	kwave
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
CATEGORIES=	audio kde kde-applications

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Sound editor for KDE

BUILD_DEPENDS=	convert:graphics/ImageMagick6
LIB_DEPENDS=	libaudiofile.so:audio/libaudiofile \
		libFLAC.so:audio/flac \
		libfftw3.so:math/fftw3 \
		libid3.so:audio/id3lib \
		libmad.so:audio/libmad \
		libogg.so:audio/libogg \
		libopus.so:audio/opus \
		libsamplerate.so:audio/libsamplerate \
		libvorbisenc.so:audio/libvorbis

USES=		cmake compiler:c++11-lang desktop-file-utils gettext kde:5 \
		localbase:ldflags pkgconfig qt:5 tar:xz
USE_KDE=	archive auth bookmarks codecs completion config configwidgets \
		coreaddons crash dbusaddons ecm i18n iconthemes itemviews \
		jobwidgets kio service solid sonnet textwidgets widgetsaddons \
		xmlgui
USE_QT=		concurrent core dbus gui multimedia network widgets xml \
		buildtools_build qmake_build

OPTIONS_GROUP=			AUDIOPLUGIN
OPTIONS_GROUP_AUDIOPLUGIN=	ALSA PULSEAUDIO
ALSA_CMAKE_BOOL=		WITH_ALSA
ALSA_LIB_DEPENDS=		libasound.so:audio/alsa-lib
PULSEAUDIO_CMAKE_BOOL=		WITH_PULSEAUDIO
PULSEAUDIO_LIB_DEPENDS=		libpulse.so:audio/pulseaudio

OPTIONS_DEFINE=	DOCS

.include <bsd.port.mk>