mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
1d16d53e19
A lot of KDE Ports share MASTERSITES, LICENSE and so one, as they are released as a bundle upstream, however, there was not really a clean way to share this information. Using these new categories, we can simplify the Makefiles for the diverse KDE ports. At the moment we support the virtual category * kde-kde4 In the future, this will be extended to * kde-frameworks * kde-plasma * kde-applications PR: 213406 Differential Revision: https://reviews.freebsd.org/D7645 Exp-run by : antoine Reviewed by: mat, rakuco Approved by: portmgr (mat), rakuco (mentor)
32 lines
788 B
Makefile
32 lines
788 B
Makefile
# Created by: Raphael Kubo da Costa <rakuco@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kmix
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
CATEGORIES= audio kde kde-kde4
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Sound mixer for KDE
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= cmake:outsource kde:4 tar:xz
|
|
USE_KDE= automoc4 kdelibs
|
|
USE_QT4= gui phonon xml \
|
|
moc_build qmake_build rcc_build uic_build
|
|
|
|
OPTIONS_DEFINE= ALSA PULSEAUDIO
|
|
|
|
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_ON= -DWITH_Canberra:BOOL=ON \
|
|
-DWITH_PulseAudio:BOOL=ON
|
|
PULSEAUDIO_CMAKE_OFF= -DWITH_Canberra:BOOL=OFF \
|
|
-DWITH_PulseAudio:BOOL=OFF
|
|
|
|
.include <bsd.port.mk>
|