summaryrefslogtreecommitdiffstats
path: root/audio/gstreamer-plugins-moodbar/Makefile
blob: 95fffaf3748833216860104f3e1b5112aa2d4645 (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
# Created by: Alexandr Bechikov <goo@t72.ru>
# $FreeBSD$

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

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

LIB_DEPENDS=	libfftw3f.so:math/fftw3-float \
		libfftw3.so:math/fftw3

CFLAGS:=	${CFLAGS} -O2
USE_GSTREAMER=	yes good
USES=		gmake libtool pkgconfig
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

OPTIONS_DEFINE=	MP3 OGG FLAC MP4 MUSEPACK WMA
OPTIONS_DEFAULT= MP3 OGG

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

MP3_USE=	GSTREAMER=mp3
OGG_USE=	GSTREAMER=vorbis,ogg
FLAC_USE=	GSTREAMER=flac
MP4_USE=	GSTREAMER=faad,bad
MUSEPACK_USE=	GSTREAMER=musepack
WMA_USE=	GSTREAMER=ffmpeg

.include <bsd.port.mk>
OpenPOWER on IntegriCloud