freebsd-ports/audio/kmix/Makefile
Max Brazhnikov 24482eebf1 KDE/FreeBSD team presents KDE SC 4.10.1 ports!
- kdegames4 port has been split.
- kdeutils4-printer-applet and system-config-printer-kde have been
  replaced by print/kde4-print-manager.
- Recover misc/kde4-l10n-mr from attic.
- New USE_KDE4 components: kactivities, libkdegames, nepomuk-core,
  and nepomuk-widgets.
- Provide sharedmime component with magic: ports don't need to
  run update-mime-database themselves now.
- Switch some ports to out-of-source build.
- Update port comments.
- Adjust dependence on Qt4 components.
- x11/kde4 installs modern kdepim4 now.
- Remove redundant aspell and hspell from kdelibs4, both
  can be enabled in textproc/enchant if needed.
- Remove stale bits from bsd.kde4.mk

The area51 repository features commits by Schaich Alonso and myself.

Contributors:
- Tobias Berner
2013-03-27 11:55:25 +00:00

46 lines
1 KiB
Makefile

# Created by: Raphael Kubo da Costa <rakuco@FreeBSD.org>
# $FreeBSD$
PORTNAME= kmix
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= audio kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Sound mixer for KDE
LICENSE= GPLv2
CONFLICTS_INSTALL= kdemultimedia-4.[1-8].*
USES= cmake:outsource
USE_KDE4= automoc4 kdehier kdelibs kdeprefix
USE_QT4= gui phonon xml \
moc_build qmake_build rcc_build uic_build
USE_XZ= yes
MAKE_JOBS_SAFE= yes
OPTIONS_DEFINE= ALSA PULSEAUDIO
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MALSA}
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib
.else
EXTRA_PATCHES+= ${FILESDIR}/extrapatch-no_alsa
.endif
.if ${PORT_OPTIONS:MPULSEAUDIO}
CMAKE_ARGS+= -DWITH_Canberra:BOOL=ON \
-DWITH_PulseAudio:BOOL=ON
LIB_DEPENDS+= canberra.0:${PORTSDIR}/audio/libcanberra \
pulse.0:${PORTSDIR}/audio/pulseaudio
USE_GNOME= glib20
.else
CMAKE_ARGS+= -DWITH_Canberra:BOOL=OFF \
-DWITH_PulseAudio:BOOL=OFF
.endif
.include <bsd.port.mk>