summaryrefslogtreecommitdiff
path: root/audio/gstreamer-plugins-moodbar/Makefile
blob: 35b7987db817a532f4d6250c5fba3382cb29acb6 (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
# New ports collection makefile for:	gstreamer-plugins-moodbar
# Date created:			Sat Mar 24 17:20:02 YEKT 2007
# Whom:				Alexandr Bechikov <goo@t72.ru>
#
# $FreeBSD$
#

PORTNAME=	gstreamer-plugins-moodbar
PORTVERSION=	0.1.2
PORTREVISION=	4
CATEGORIES=	audio
MASTER_SITES=	http://pwsp.net/~qbob/ \
		http://redundancy.redundancy.org/mirror/
DISTNAME=	moodbar-0.1.2

MAINTAINER=	lx@FreeBSD.org
COMMENT=	Shows the "moods" of audio tracks in Amarok

LIB_DEPENDS=	fftw3f:${PORTSDIR}/math/fftw3-float \
		fftw3:${PORTSDIR}/math/fftw3

CFLAGS:=	${CFLAGS} -O2
USE_GSTREAMER=	yes good
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool
USE_LDCONFIG=	yes

OPTIONS=	MP3 "mp3 files support" on \
		OGG "ogg files support" on \
		FLAC "flac files support" off \
		MP4 "mp4 files support" off \
		MUSEPACK "musepack files support" off \
		WMA "wma files support" off

CONFIGURE_ARGS+=	--with-plugindir=${PREFIX}/lib/gstreamer-${GST_VERSION}
PLIST_SUB+=	VERSION="${GST_VERSION}"

.include <bsd.port.pre.mk>

.if defined(WITH_MP3)
USE_GSTREAMER+=	mp3
.endif

.if defined(WITH_OGG)
USE_GSTREAMER+=	vorbis ogg
.endif

.if defined(WITH_FLAC)
USE_GSTREAMER+=	flac
.endif

.if defined(WITH_MP4)
USE_GSTREAMER+=	faad bad
.endif

.if defined(WITH_MUSEPACK)
USE_GSTREAMER+=	musepack
.endif

.if defined(WITH_WMA)
USE_GSTREAMER+=	ffmpeg
.endif

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>