aboutsummaryrefslogtreecommitdiffstats
path: root/audio/audex/Makefile
blob: 5b1aab8929c7933c6eef00d284f21e3ada8723b9 (plain) (blame)
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
# $FreeBSD$

PORTNAME=   audex
DISTVERSION=    0.77b1
CATEGORIES= audio kde
MASTER_SITES=   http://kde.maniatek.com/${PORTNAME}/files/

MAINTAINER= jhale@FreeBSD.org
COMMENT=    KDE4 audio CD ripping utility

LICENSE=    GPLv3

LIB_DEPENDS=    cdda_paranoia:${PORTSDIR}/audio/cdparanoia

USE_XZ=     yes
USES=       cmake
USE_KDE4=   automoc4 kdeprefix kdelibs libkcddb libkcompactdisc
USE_QT4=    gui dbus network svg xml \
        qmake_build moc_build rcc_build uic_build

OPTIONS_DEFINE=     NLS EYED3 FAAC FLAC LAME VORBIS
OPTIONS_DEFAULT=    FLAC VORBIS
NO_OPTIONS_SORT=    yes

EYED3_DESC=     Unicode MP3 tag support via audio/py-eyed3

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=      gettext
PLIST_SUB+= NLS=""
.else
CMAKE_ARGS+=    -DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
PLIST_SUB+= NLS="@comment "
.endif

.if ${PORT_OPTIONS:MEYED3}
RUN_DEPENDS+=   eyeD3:${PORTSDIR}/audio/py-eyed3
.endif

.if ${PORT_OPTIONS:MFAAC}
RUN_DEPENDS+=   faac:${PORTSDIR}/audio/faac
.endif

.if ${PORT_OPTIONS:MFLAC}
RUN_DEPENDS+=   flac:${PORTSDIR}/audio/flac
.endif

.if ${PORT_OPTIONS:MLAME}
RUN_DEPENDS+=   lame:${PORTSDIR}/audio/lame
.endif

.if ${PORT_OPTIONS:MVORBIS}
RUN_DEPENDS+=   oggenc:${PORTSDIR}/audio/vorbis-tools
.endif

.include <bsd.port.mk>