freebsd-ports/audio/soundkonverter/Makefile
Tobias C. Berner 0f583d8700 Replace Mk/bsd.kde4.mk by Mk/Uses/kde.mk in preparation for KDE Frameworks and
Plasma5 ports

At the moment KDE ports use bsd.kde4.mk to handle their dependencies. When
working on the ports for KDE Frameworks and Plasma5 it seemed to be more
reasonable to create a new kde.mk instead of adding an bsd.kde5.mk.

The kde.mk in this review is a stripped down version of the one we are using in
the KDE Test repositories plasma5 branch [1] to only contain the parts relevant
to the current KDE4 ports in the portstree [2].

Changes to the KDE Ports needed by this:

Replace USE_KDE4 by USE_KDE [3]
Add USES=kde:4 [4]
[1] http://src.mouf.net/area51/view/branches/plasma5/KDE/Mk/Uses/kde.mk
[2] The version in the plasma5 branch also handles frameworks/plasma5 and
    handles MASTER_SITES via a KDE_DIST variable similar to bsd.qt.mk for Qt
    Ports -- I chose to leave this out for now, as the diff is already large
    enough.
[3] I chose USE_KDE instead of USE_KDE4, USE_KDE5, USE_KDEX as the version we
    want is already specified as argument to kde:<arg>
[4] For KDE Frameworks and Plasma5 ports this would be kde:5

PR:             210667
Approved by:    portmgr, mat (mentor), rakuco (mentor)
Reviewed by:    mat, rakuco
Differential Revision:   https://reviews.freebsd.org/D6961
2016-08-24 08:20:31 +00:00

117 lines
3.1 KiB
Makefile

# Created by: David Naylor <naylor.b.david@gmail.com>
# $FreeBSD$
PORTNAME= soundkonverter
PORTVERSION= 2.2.2
PORTREVISION= 1
DISTVERSIONPREFIX= v
CATEGORIES= audio kde
MAINTAINER= dbn@FreeBSD.org
COMMENT= Frontend to various audio converters (transcoder)
LICENSE= GPLv2
LIB_DEPENDS= libtag.so:audio/taglib \
libcdda_paranoia.so:audio/cdparanoia \
libphonon.so:multimedia/phonon
GH_ACCOUNT= HessiJames
USES= cmake compiler:c++11-lang kde:4
USE_GITHUB= yes
USE_QT4= corelib dbus gui network moc_build qmake_build rcc_build svg uic_build xml
USE_KDE= automoc4 kdelibs libkcddb
WRKSRC_SUBDIR= src
OPTIONS_DEFAULT= VORBIS FLAC NORMALIZE VORBISGAIN CDPARANOIA
OPTIONS_DEFINE= NLS
OPTIONS_GROUP= RIPPER
OPTIONS_MULTI= CODEC FILTER REPLAYGAIN
OPTIONS_GROUP_RIPPER= CDRKIT CDPARANOIA
OPTIONS_MULTI_CODEC= AFTEN FAAC FFMPEG FLAC FLAKE FLUIDSYNTH LAME MAC \
MPLAYER MUSEPACK NEROAAC OPUSTOOLS SHORTEN SPEEX \
TIMIDITY TTA TWOLAME VORBIS WAVPACK LIBAV
OPTIONS_MULTI_FILTER= NORMALIZE SOX
OPTIONS_MULTI_REPLAYGAIN= AACGAIN FLAC MP3GAIN NORMALIZE \
VORBISGAIN WAVPACK
OPTIONS_SUB= yes
CODEC_DESC= Audio codec formats
FILTER_DESC= Audio filter tools
REPLAYGAIN_DESC= Replaygain tools for codecs
RIPPER_DESC= CD ripping tools
AFTEN_DESC= ATSC A/52 audio encoder
AFTEN_RUN_DEPENDS= aften:audio/aften
AACGAIN_DESC= AAC audio replaygain
AACGAIN_RUN_DEPENDS= aacgain:audio/aacgain
CDPARANOIA_DESC= CD ripping support (cdparanoia - implicit)
CDRKIT_DESC= CD ripping support (cdrkit)
CDRKIT_RUN_DEPENDS= icedax:sysutils/cdrkit
FAAC_RUN_DEPENDS= faac:audio/faac \
faad:audio/faad
FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg
FLAC_RUN_DEPENDS= flac:audio/flac
FLAKE_DESC= FLAC audio codec
FLAKE_RUN_DEPENDS= flake:audio/flake
FLUIDSYNTH_DESC= SoundFont 2 audio codec
FLUIDSYNTH_RUN_DEPENDS= fluidsynth:audio/fluidsynth
LAME_RUN_DEPENDS= lame:audio/lame
LIBAV_DESC= LibAV support (WMA, AIFF, AC3, APE...)
LIBAV_RUN_DEPENDS= avconv:multimedia/libav
MAC_DESC= Monkey's Audio lossless codec
MAC_RUN_DEPENDS= mac:audio/mac
MP3GAIN_DESC= MP3 audio replaygain
MP3GAIN_RUN_DEPENDS= mp3gain:audio/mp3gain
MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer
MUSEPACK_RUN_DEPENDS= mpcenc:audio/musepack
NEROAAC_DESC= Nero AAC MPEG-3 and 3GPP audio codec
NEROAAC_RUN_DEPENDS= neroAacEnc:audio/linux-neroaaccodec
NORMALIZE_DESC= MP3/Ogg Vorbis audio filter and replaygain
NORMALIZE_RUN_DEPENDS= normalize:audio/normalize
OPUSTOOLS_DESC= Opus audio codec
OPUSTOOLS_RUN_DEPENDS= opusenc:audio/opus-tools
SHORTEN_DESC= Shorten (lossless) audio codec
SHORTEN_RUN_DEPENDS= shorten:audio/shorten
SOX_DESC= Universal sound sample translator
SOX_RUN_DEPENDS= sox:audio/sox
SPEEX_RUN_DEPENDS= speexenc:audio/speex
TIMIDITY_DESC= MIDI audio decoder
TIMIDITY_RUN_DEPENDS= timidity:audio/timidity
TTA_RUN_DEPENDS= ttaenc:audio/tta
TWOLAME_RUN_DEPENDS= twolame:audio/twolame
VORBISGAIN_DESC= Ogg Vorbis audio replaygain
VORBISGAIN_RUN_DEPENDS= vorbisgain:audio/vorbisgain
VORBIS_RUN_DEPENDS= oggenc:audio/vorbis-tools
WAVPACK_RUN_DEPENDS= wavpack:audio/wavpack
NLS_USES= gettext
NLS_CMAKE_OFF= -DBUILD_po=FALSE
.include <bsd.port.mk>