summaryrefslogtreecommitdiffstats
path: root/sysutils/k3b-kde4/Makefile
blob: d7060cedab9e860bf4ed2e75b5160b9400f75953 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# 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 pkgconfig shared-mime-info tar:xz
CMAKE_ARGS=	-DK3B_BUILD_K3BSETUP:BOOL=OFF \
		-DK3B_ENABLE_MUSICBRAINZ:BOOL=OFF
USE_KDE4=	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>
OpenPOWER on IntegriCloud