2012-10-09 02:27:23 +02:00
|
|
|
# Created by: Alexandr Bechikov <goo@t72.ru>
|
2007-04-09 23:15:05 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gstreamer-plugins-moodbar
|
|
|
|
PORTVERSION= 0.1.2
|
2011-10-17 12:08:33 +02:00
|
|
|
PORTREVISION= 5
|
2007-04-09 23:15:05 +02:00
|
|
|
CATEGORIES= audio
|
2007-04-10 04:06:24 +02:00
|
|
|
MASTER_SITES= http://pwsp.net/~qbob/ \
|
2007-04-10 03:38:28 +02:00
|
|
|
http://redundancy.redundancy.org/mirror/
|
2007-04-09 23:15:05 +02:00
|
|
|
DISTNAME= moodbar-0.1.2
|
|
|
|
|
2007-04-10 03:38:28 +02:00
|
|
|
MAINTAINER= lx@FreeBSD.org
|
2007-04-09 23:15:05 +02:00
|
|
|
COMMENT= Shows the "moods" of audio tracks in Amarok
|
|
|
|
|
2013-12-11 15:35:36 +01:00
|
|
|
LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float \
|
|
|
|
libfftw3.so:${PORTSDIR}/math/fftw3
|
2007-04-20 09:58:56 +02:00
|
|
|
|
2007-07-05 14:21:06 +02:00
|
|
|
CFLAGS:= ${CFLAGS} -O2
|
2007-04-09 23:15:05 +02:00
|
|
|
USE_GSTREAMER= yes good
|
2013-09-20 16:36:35 +02:00
|
|
|
NO_STAGE= yes
|
2013-09-06 14:12:00 +02:00
|
|
|
USES= gmake pkgconfig
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2007-04-09 23:15:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2012-10-09 02:27:23 +02:00
|
|
|
OPTIONS_DEFINE= MP3 OGG FLAC MP4 MUSEPACK WMA
|
|
|
|
OPTIONS_DEFAULT= MP3 OGG
|
2007-04-09 23:15:05 +02:00
|
|
|
|
2007-04-21 22:16:48 +02:00
|
|
|
CONFIGURE_ARGS+= --with-plugindir=${PREFIX}/lib/gstreamer-${GST_VERSION}
|
2007-04-09 23:15:05 +02:00
|
|
|
PLIST_SUB+= VERSION="${GST_VERSION}"
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-10-09 02:27:23 +02:00
|
|
|
.if ${PORT_OPTIONS:MMP3}
|
2007-06-07 16:04:25 +02:00
|
|
|
USE_GSTREAMER+= mp3
|
2007-04-09 23:15:05 +02:00
|
|
|
.endif
|
|
|
|
|
2012-10-09 02:27:23 +02:00
|
|
|
.if ${PORT_OPTIONS:MOGG}
|
2007-04-09 23:15:05 +02:00
|
|
|
USE_GSTREAMER+= vorbis ogg
|
|
|
|
.endif
|
|
|
|
|
2012-10-09 02:27:23 +02:00
|
|
|
.if ${PORT_OPTIONS:MFLAC}
|
2007-04-09 23:15:05 +02:00
|
|
|
USE_GSTREAMER+= flac
|
|
|
|
.endif
|
|
|
|
|
2012-10-09 02:27:23 +02:00
|
|
|
.if ${PORT_OPTIONS:MMP4}
|
2007-04-09 23:15:05 +02:00
|
|
|
USE_GSTREAMER+= faad bad
|
|
|
|
.endif
|
|
|
|
|
2012-10-09 02:27:23 +02:00
|
|
|
.if ${PORT_OPTIONS:MMUSEPACK}
|
2007-04-09 23:15:05 +02:00
|
|
|
USE_GSTREAMER+= musepack
|
|
|
|
.endif
|
|
|
|
|
2012-10-09 02:27:23 +02:00
|
|
|
.if ${PORT_OPTIONS:MWMA}
|
2007-04-09 23:15:05 +02:00
|
|
|
USE_GSTREAMER+= ffmpeg
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|