A new USES has been added to depend on ImageMagick. USES=magick adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}. If a specific version is required, use for example USES=magick:6 resp. USES=magick:7 If only a build, run or test is required, use for example USES=magick:build resp. USES=magick:6,build,test If a dependency on the nox11 flavor is required, use for example USES=magick:nox11 resp. USES=magick:7,nox11,run,test See magick.mk for more details on the available flags. The tree has been completely converted to make use of this. Approved by: bapt Differential Revision: https://reviews.freebsd.org/D32754
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
PORTNAME= kwave
|
|
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
|
|
CATEGORIES= audio kde kde-applications
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Sound editor for KDE
|
|
|
|
LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \
|
|
libFLAC.so:audio/flac \
|
|
libfftw3.so:math/fftw3 \
|
|
libid3.so:audio/id3lib \
|
|
libmad.so:audio/libmad \
|
|
libogg.so:audio/libogg \
|
|
libopus.so:audio/opus \
|
|
libsamplerate.so:audio/libsamplerate \
|
|
libvorbisenc.so:audio/libvorbis
|
|
|
|
USES= cmake compiler:c++11-lang desktop-file-utils gettext kde:5 \
|
|
localbase:ldflags magick:6,build pkgconfig qt:5 tar:xz
|
|
USE_KDE= archive auth bookmarks codecs completion config configwidgets \
|
|
coreaddons crash dbusaddons i18n iconthemes itemviews \
|
|
jobwidgets kio service solid sonnet textwidgets widgetsaddons \
|
|
windowsystem xmlgui \
|
|
ecm_build
|
|
USE_QT= concurrent core dbus gui multimedia network widgets xml \
|
|
buildtools_build qmake_build
|
|
|
|
OPTIONS_GROUP= AUDIOPLUGIN
|
|
OPTIONS_GROUP_AUDIOPLUGIN= ALSA PULSEAUDIO
|
|
ALSA_CMAKE_BOOL= WITH_ALSA
|
|
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
|
|
PULSEAUDIO_CMAKE_BOOL= WITH_PULSEAUDIO
|
|
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.mk>
|