2012-12-17 20:24:44 +01:00
|
|
|
# Created by: Michael Nottebrock <lofi@FreeBSD.org>
|
2005-03-20 19:17:55 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= akode
|
2008-03-13 18:40:59 +01:00
|
|
|
PORTVERSION= 2.0.2
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 2
|
2006-01-08 20:32:36 +01:00
|
|
|
PORTEPOCH= 1
|
2005-03-20 19:17:55 +01:00
|
|
|
CATEGORIES= audio kde
|
2011-07-13 23:13:52 +02:00
|
|
|
MASTER_SITES= http://www.kde-apps.org/CONTENT/content-files/ \
|
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= laszlof
|
2009-10-24 18:40:22 +02:00
|
|
|
DISTNAME= 30375-${PORTNAME}-${PORTVERSION}
|
2005-03-20 19:17:55 +01:00
|
|
|
|
2011-07-13 23:13:52 +02:00
|
|
|
MAINTAINER= swhetzel@gmail.com
|
2005-03-20 19:17:55 +01:00
|
|
|
COMMENT= Default KDE audio backend
|
2012-12-17 20:24:44 +01:00
|
|
|
|
2011-07-13 23:13:52 +02:00
|
|
|
LICENSE= LGPL20
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2011-06-10 07:47:58 +02:00
|
|
|
|
2005-03-20 19:17:55 +01:00
|
|
|
CONFLICTS= kdemultimedia-3.[1-3]*
|
|
|
|
|
2012-12-17 20:24:44 +01:00
|
|
|
OPTIONS_DEFINE= FFMPEG JACK MPC MPEG OSS RESAMPLER XIPH
|
|
|
|
OPTIONS_DEFAULT= MPC MPEG OSS RESAMPLER XIP
|
|
|
|
|
|
|
|
MPC_DESC= Monkey's Audio decoder plugin
|
|
|
|
RESAMPLER_DESC= Resampler processing plugin
|
|
|
|
XIPH_DESC= FLAC/Speex/Vorbis decoder plugin
|
2005-03-20 19:17:55 +01:00
|
|
|
|
2013-09-20 16:36:35 +02:00
|
|
|
NO_STAGE= yes
|
2013-08-31 01:01:05 +02:00
|
|
|
USES= gmake
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libltdl libtool
|
2006-09-17 21:59:22 +02:00
|
|
|
USE_BZIP2= yes
|
2012-10-10 00:06:38 +02:00
|
|
|
USE_GCC= any
|
2006-09-17 21:59:22 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2007-03-13 20:13:51 +01:00
|
|
|
USE_LDCONFIG= yes
|
2006-01-08 20:32:36 +01:00
|
|
|
|
2008-08-29 13:55:02 +02:00
|
|
|
CONFIGURE_ARGS+=--program-transform-name= \
|
2006-01-08 20:32:36 +01:00
|
|
|
--with-extra-libs=${LOCALBASE}/lib \
|
|
|
|
--with-extra-includes=${LOCALBASE}/include
|
2005-03-20 19:17:55 +01:00
|
|
|
|
2012-12-17 20:24:44 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2005-03-20 19:17:55 +01:00
|
|
|
|
2012-12-17 20:24:44 +01:00
|
|
|
.if ${PORT_OPTIONS:MFFMPEG}
|
2009-10-24 18:40:22 +02:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_ffmpeg_decoder.so:${PORTSDIR}/audio/akode-plugins-ffmpeg
|
2008-03-13 18:40:59 +01:00
|
|
|
.endif
|
|
|
|
|
2012-12-17 20:24:44 +01:00
|
|
|
.if ${PORT_OPTIONS:MJACK}
|
2005-03-20 19:17:55 +01:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_jack_sink.so:${PORTSDIR}/audio/akode-plugins-jack
|
|
|
|
.endif
|
|
|
|
|
2012-12-17 20:24:44 +01:00
|
|
|
.if ${PORT_OPTIONS:MMPC}
|
2006-01-08 20:32:36 +01:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_mpc_decoder.so:${PORTSDIR}/audio/akode-plugins-mpc
|
2005-03-20 19:17:55 +01:00
|
|
|
.endif
|
|
|
|
|
2012-12-17 20:24:44 +01:00
|
|
|
.if ${PORT_OPTIONS:MMPEG}
|
2005-03-20 19:17:55 +01:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_mpeg_decoder.so:${PORTSDIR}/audio/akode-plugins-mpeg
|
|
|
|
.endif
|
|
|
|
|
2012-12-17 20:24:44 +01:00
|
|
|
.if ${PORT_OPTIONS:MOSS}
|
2005-03-20 19:17:55 +01:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_oss_sink.so:${PORTSDIR}/audio/akode-plugins-oss
|
|
|
|
.endif
|
|
|
|
|
2012-12-17 20:24:44 +01:00
|
|
|
.if ${PORT_OPTIONS:MRESAMPLER}
|
2005-03-20 19:17:55 +01:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_src_resampler.so:${PORTSDIR}/audio/akode-plugins-resampler
|
|
|
|
.endif
|
|
|
|
|
2012-12-17 20:24:44 +01:00
|
|
|
.if ${PORT_OPTIONS:MXIPH}
|
2005-03-20 19:17:55 +01:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/libakode_xiph_decoder.so:${PORTSDIR}/audio/akode-plugins-xiph
|
|
|
|
.endif
|
|
|
|
|
2006-01-08 20:32:36 +01:00
|
|
|
post-patch:
|
2006-09-17 21:59:22 +02:00
|
|
|
@${SETENV} TZ=UTC \
|
|
|
|
${TOUCH} -t 200607222217.01 ${WRKSRC}/akode/lib/akode_export.h.in
|
2006-01-08 20:32:36 +01:00
|
|
|
${REINPLACE_CMD} -e 's|akodeplay_LDFLAGS =.*|akodeplay_LDFLAGS = \
|
|
|
|
$$(all_libraries) ${PTHREAD_LIBS}|g' \
|
|
|
|
${WRKSRC}/akode/akodeplay/Makefile.in
|
|
|
|
|
2012-12-17 20:24:44 +01:00
|
|
|
.include <bsd.port.mk>
|