freebsd-ports/audio/kmix/Makefile

38 lines
1.1 KiB
Makefile

# $FreeBSD$
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_USE= GNOME=glib20
PULSEAUDIO_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Canberra \
CMAKE_DISABLE_FIND_PACKAGE_PulseAudio
.include <bsd.port.mk>