2013-02-03 21:10:37 +01:00
|
|
|
# Created by: Raphael Kubo da Costa <rakuco@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2013-03-26 15:47:40 +01:00
|
|
|
PORTNAME= kmix
|
|
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
|
|
CATEGORIES= audio kde
|
2014-02-18 15:23:03 +01:00
|
|
|
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
|
2013-03-27 12:55:25 +01:00
|
|
|
DIST_SUBDIR= KDE/${PORTVERSION}
|
2013-02-03 21:10:37 +01:00
|
|
|
|
2013-03-26 15:47:40 +01:00
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
|
|
COMMENT= Sound mixer for KDE
|
2013-02-03 21:10:37 +01:00
|
|
|
|
2013-03-26 15:47:40 +01:00
|
|
|
LICENSE= GPLv2
|
2013-02-03 21:10:37 +01:00
|
|
|
|
2014-04-03 11:49:10 +02:00
|
|
|
USES= cmake:outsource tar:xz
|
2013-03-26 15:47:40 +01:00
|
|
|
USE_KDE4= automoc4 kdehier kdelibs kdeprefix
|
2013-03-27 12:55:25 +01:00
|
|
|
USE_QT4= gui phonon xml \
|
2013-03-26 15:47:40 +01:00
|
|
|
moc_build qmake_build rcc_build uic_build
|
2013-02-03 21:10:37 +01:00
|
|
|
|
2013-03-26 15:47:40 +01:00
|
|
|
OPTIONS_DEFINE= ALSA PULSEAUDIO
|
2013-02-03 21:10:37 +01:00
|
|
|
|
2014-02-18 15:23:03 +01:00
|
|
|
ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib
|
|
|
|
ALSA_EXTRA_PATCHES= ${FILESDIR}/extrapatch-no_alsa
|
|
|
|
|
|
|
|
PULSEAUDIO_LIB_DEPENDS= libcanberra.so:${PORTSDIR}/audio/libcanberra \
|
|
|
|
libpulse.so:${PORTSDIR}/audio/pulseaudio
|
|
|
|
PULSEAUDIO_USE= GNOME=glib20
|
|
|
|
PULSEAUDIO_CMAKE_ON= -DWITH_Canberra:BOOL=ON \
|
|
|
|
-DWITH_PulseAudio:BOOL=ON
|
|
|
|
PULSEAUDIO_CMAKE_OFF= -DWITH_Canberra:BOOL=OFF \
|
|
|
|
-DWITH_PulseAudio:BOOL=OFF
|
2013-02-03 21:10:37 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|