1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/sysutils/k3b-kde4/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

99 lines
3.4 KiB
Makefile

# Created by: Heiner Eichmann <h.eichmann@gmx.de>
# $FreeBSD$
PORTNAME= k3b
PORTVERSION= 2.0.3
PORTREVISION= 1
CATEGORIES= sysutils multimedia kde
MASTER_SITES= KDE/stable/${PORTNAME}
DISTFILES= ${DISTNAME}a${EXTRACT_SUFX}
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE CD/DVD writing suite
LIB_DEPENDS= libcdda_paranoia.so:audio/cdparanoia \
libsamplerate.so:audio/libsamplerate
RUN_DEPENDS= cdrecord:sysutils/cdrtools
BUILD_DEPENDS= cdrecord:sysutils/cdrtools
USES= cmake gettext kde:4 pkgconfig shared-mime-info tar:xz
CMAKE_ARGS= -DK3B_BUILD_K3BSETUP:BOOL=OFF \
-DK3B_ENABLE_MUSICBRAINZ:BOOL=OFF
USE_KDE= automoc4 kdelibs libkcddb
USE_QT4= gui phonon qt3support webkit \
qmake_build moc_build rcc_build uic_build
USE_LDCONFIG= yes
OPTIONS_DEFINE= CDRDAO DVDPLUSRW EMOVIX VCDIMAGER FFMPEG FLAC MAD \
MUSEPACK SNDFILE VORBIS_DEC LAME SOX VORBIS_ENC \
LIBDVDREAD NORMALIZE TAGLIB TRANSCODE
OPTIONS_DEFAULT=CDRDAO DVDPLUSRW FFMPEG FLAC MAD MUSEPACK SNDFILE \
VORBIS_DEC VORBIS_ENC LIBDVDREAD TAGLIB
NO_OPTIONS_SORT=yes
OPTIONS_SUB= yes # FFMPEG FLAC MAD MUSEPACK SNDFILE VORBIS_ENC VORBIS_DEC LIBDVDREAD TAGLIB
CDRDAO_DESC= Burning: cdrdao
CDRDAO_RUN_DEPENDS= cdrdao:sysutils/cdrdao
DVDPLUSRW_DESC= Burning: DVD+RW tools (DVD+/-R(W))
DVDPLUSRW_RUN_DEPENDS= dvd+rw-format:sysutils/dvd+rw-tools
EMOVIX_DESC= Burning: eMovix (bootable video CDs)
EMOVIX_RUN_DEPENDS= mkmovixiso:multimedia/emovix
VCDIMAGER_DESC= Burning: VCDImager (video CDs)
VCDIMAGER_RUN_DEPENDS= vcdxrip:multimedia/vcdimager
FFMPEG_DESC= Decoder: various (multimedia/ffmpeg)
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
FFMPEG_CMAKE_OFF= -DK3B_BUILD_FFMPEG_DECODER_PLUGIN:BOOL=OFF
FLAC_DESC= Decoder: FLAC (audio/flac)
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
FLAC_CMAKE_OFF= -DK3B_BUILD_FLAC_DECODER_PLUGIN:BOOL=OFF
MAD_DESC= Decoder: MP3 (audio/libmad)
MAD_LIB_DEPENDS= libmad.so:audio/libmad
MAD_CMAKE_OFF= -DK3B_BUILD_MAD_DECODER_PLUGIN:BOOL=OFF
MUSEPACK_DESC= Decoder: Musepack (audio/musepack)
MUSEPACK_LIB_DEPENDS= libmpcdec.so:audio/musepack
MUSEPACK_CMAKE_ON= -DMUSE_INCLUDE_DIR:STRING="${LOCALBASE}/include"
MUSEPACK_CMAKE_OFF= -DK3B_BUILD_MUSE_DECODER_PLUGIN:BOOL=OFF
SNDFILE_DESC= Decoder: various (audio/libsndfile)
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
SNDFILE_CMAKE_ARGS= -DK3B_BUILD_SNDFILE_DECODER_PLUGIN:BOOL=OFF
VORBIS_DEC_DESC= Decoder: Ogg Vorbis
VORBIS_DEC_LIB_DEPENDS= libogg.so:audio/libogg
VORBIS_DEC_CMAKE_OFF= -DK3B_BUILD_OGGVORBIS_DECODER_PLUGIN:BOOL=OFF
LAME_DESC= Encoder: MP3 (audio/lame)
LAME_LIB_DEPENDS= libmp3lame.so:audio/lame
LAME_CMAKE_OFF= -DK3B_BUILD_LAME_ENCODER_PLUGIN:BOOL=OFF
SOX_DESC= Encoder: various (audio/sox)
SOX_RUN_DEPENDS= sox:audio/sox
SOX_CMAKE_OFF= -DK3B_BUILD_SOX_ENCODER_PLUGIN:BOOL=OFF
VORBIS_ENC_DESC= Encoder: Ogg Vorbis
VORBIS_ENC_LIB_DEPENDS= libogg.so:audio/libogg
VORBIS_ENC_CMAKE_OFF= -DK3B_BUILD_OGGVORBIS_ENCODER_PLUGIN:BOOL=OFF
LIBDVDREAD_DESC= Misc: libdvdread (video DVD ripping)
LIBDVDREAD_LIB_DEPENDS= libdvdread.so:multimedia/libdvdread
LIBDVDREAD_CMAKE_OFF= -DK3B_ENABLE_DVD_RIPPING:BOOL=OFF
NORMALIZE_DESC= Misc: normalize (adjust audio to a std. level)
NORMALIZE_RUN_DEPENDS= normalize:audio/normalize
TAGLIB_DESC= Misc: TagLib (reading/writing audio metadata)
TAGLIB_LIB_DEPENDS= libtag.so:audio/taglib
TAGLIB_CMAKE_OFF= -DK3B_ENABLE_TAGLIB:BOOL=OFF
TRANSCODE_DESC= Misc: Transcode (DVD ripping)
TRANSCODE_RUN_DEPENDS= transcode:multimedia/transcode
.include <bsd.port.mk>