2014-04-17 05:54:08 +02:00
|
|
|
# Created by: Sean Bruno <sbruno@freebsd.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= idjc
|
2016-05-04 16:06:23 +02:00
|
|
|
PORTVERSION= 0.8.16
|
2016-12-15 14:19:39 +01:00
|
|
|
PORTREVISION= 3
|
2014-04-17 05:54:08 +02:00
|
|
|
CATEGORIES= audio python
|
|
|
|
MASTER_SITES= SF/idjc/idjc/0.8
|
|
|
|
|
|
|
|
MAINTAINER= sbruno@FreeBSD.org
|
|
|
|
COMMENT= Shoutcast/Icecast DJ Console
|
|
|
|
|
|
|
|
LICENSE= LGPL20
|
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
|
|
|
|
libavutil.so:multimedia/ffmpeg \
|
|
|
|
libjack.so:audio/jack \
|
|
|
|
libtwolame.so:audio/twolame \
|
|
|
|
libspeex.so:audio/speex \
|
|
|
|
libsndfile.so:audio/libsndfile \
|
|
|
|
libmpg123.so:audio/mpg123 \
|
|
|
|
libFLAC.so:audio/flac \
|
|
|
|
libmp3lame.so:audio/lame \
|
|
|
|
libvorbis.so:audio/libvorbis \
|
2016-12-15 14:19:39 +01:00
|
|
|
libsamplerate.so:audio/libsamplerate \
|
2016-04-01 15:29:15 +02:00
|
|
|
libshout-idjc.so:audio/shout-idjc
|
|
|
|
RUN_DEPENDS= oggenc:audio/vorbis-tools \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}mutagen>=0:audio/py-mutagen \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}dbus>=0.8:devel/py-dbus
|
2014-04-17 05:54:08 +02:00
|
|
|
|
2015-08-02 20:15:51 +02:00
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
2016-05-23 22:35:01 +02:00
|
|
|
OPTIONS_SUB= YES
|
2014-07-16 01:11:12 +02:00
|
|
|
|
2014-04-25 02:42:58 +02:00
|
|
|
USES= compiler:nestedfct desktop-file-utils gettext gmake \
|
2014-10-19 09:33:09 +02:00
|
|
|
libtool pathfix pkgconfig python:2.7
|
2015-08-02 20:15:51 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_OFF= --disable-nls
|
2014-04-17 05:54:08 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2014-04-25 02:42:58 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-10-19 09:33:09 +02:00
|
|
|
USE_PYTHON= pythonprefix
|
2014-04-17 05:54:08 +02:00
|
|
|
USE_GNOME= glib20 pygtk2
|
|
|
|
|
2015-12-13 17:07:27 +01:00
|
|
|
BROKEN_powerpc64= Does not build
|
|
|
|
|
2014-04-17 05:54:08 +02:00
|
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
|
|
|
|
2014-04-25 02:42:58 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
|
2016-11-22 23:03:29 +01:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} 's,PYTHON=python,PYTHON=${PYTHON_CMD},' ${WRKSRC}/py-compile
|
|
|
|
|
2014-04-17 05:54:08 +02:00
|
|
|
pre-install:
|
|
|
|
${REINPLACE_CMD} 's|libvorbis.so.0|libvorbis.so|' \
|
|
|
|
${WRKSRC}/python/format.py
|
2016-10-25 21:09:14 +02:00
|
|
|
${REINPLACE_CMD} 's|#! /usr/local/bin/python2.72.7|#\!${PYTHON_CMD}|' \
|
2014-04-17 05:54:08 +02:00
|
|
|
${WRKSRC}/idjc
|
|
|
|
|
2014-04-25 02:42:58 +02:00
|
|
|
.include <bsd.port.mk>
|