summaryrefslogtreecommitdiff
path: root/audio/kmix/Makefile
blob: 45917ed88f18958e383ab81b38c9c8179e3cc744 (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
PORTNAME=	kmix
DISTVERSION=	${KDE_APPLICATIONS_VERSION}
CATEGORIES=	audio kde kde-applications

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

LICENSE=	GPLv2

LIB_DEPENDS=	libasound.so:audio/alsa-lib

USES=		cmake compiler:c++11-lang gettext kde:5 qt:5 tar:xz
USE_KDE=	auth codecs config configwidgets coreaddons dbusaddons ecm \
		emoticons globalaccel i18n iconthemes init itemmodels \
		itemviews kcmutils kdelibs4support notifications package \
		plasma-framework service solid widgetsaddons windowsystem xmlgui
USE_QT=		core dbus gui widgets xml \
		buildtools_build qmake_build

# we want the KF5 version of kmix
CMAKE_ARGS=	-DKMIX_KF5_BUILD:BOOL=TRUE

OPTIONS_DEFINE=	PULSEAUDIO DOCS
# TODO: readd ALSA option
#
# ALSA_LIB_DEPENDS=	libasound.so:audio/alsa-lib
# ALSA_EXTRA_PATCHES_OFF=	${FILESDIR}/extrapatch-no_alsa

PULSEAUDIO_LIB_DEPENDS=	libcanberra.so:audio/libcanberra \
			libpulse.so:audio/pulseaudio
PULSEAUDIO_USES=	gnome
PULSEAUDIO_USE=		GNOME=glib20
PULSEAUDIO_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_Canberra \
				CMAKE_DISABLE_FIND_PACKAGE_PulseAudio

.include <bsd.port.mk>