1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00
freebsd-ports/audio/decibel-audio-player/Makefile
Dmitry Marakasov 6763f2ce33 - Switch multimedia/mp4v2 to USES=libtool, drop .la files
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2014-07-25 20:09:16 +00:00

55 lines
1.7 KiB
Makefile

# Created by: kipz <somicide@gmail.com>
# $FreeBSD$
PORTNAME= decibel-audio-player
PORTVERSION= 1.08
PORTREVISION= 2
CATEGORIES= audio multimedia gnome python
MASTER_SITES= http://decibel.silent-blade.org/uploads/Main/
MAINTAINER= somicide@gmail.com
COMMENT= Fast GTK+ audio player with an clean and user friendly interface
RUN_DEPENDS= py*-dbus>=0.80:${PORTSDIR}/devel/py-dbus \
py*-mutagen>=1.11:${PORTSDIR}/audio/py-mutagen
LICENSE= GPLv2
USE_PYTHON= yes
USE_GNOME= pygnome2 pygtk2
USE_GSTREAMER= python good bad
USES= gmake gettext desktop-file-utils
NO_BUILD= yes
#Audio gstreamer plugins
OPTIONS_DEFINE= AUDIOCD FLAC MP3 MPEG4IP OGG VORBIS SPEEX WAVPACK EXTRAS
OPTIONS_DEFAULT= AUDIOCD FLAC MP3 MPEG4IP OGG VORBIS WAVPACK EXTRAS
AUDIOCD_DESC= AudioCD support
MPEG4IP_DESC= AAC/MP4P support
#
##A few extra requirements if we want to use some nifty plugins in decibel
EXTRAS_DESC= Extra dependencies for plugins
AUDIOCD_RUN_DEPENDS= cd-discid>=0.9:${PORTSDIR}/audio/cd-discid \
py*-cddb>=1.4:${PORTSDIR}/audio/py-cddb \
gstreamer-plugins-cdio>=0.10.16:${PORTSDIR}/sysutils/gstreamer-plugins-cdio
EXTRAS_RUN_DEPENDS= py*-imaging>=1.1.6:${PORTSDIR}/graphics/py-imaging \
py*-notify>=0.1.1:${PORTSDIR}/devel/py-notify
FLAC_USE= GSTREAMER=flac
MP3_USE= GSTREAMER=mp3
MPEG4IP_LIB_DEPENDS= libmp4v2.so:${PORTSDIR}/multimedia/mp4v2
MPEG4IP_USE= GSTREAMER=faad
OGG_USE= GSTREAMER=ogg
SPEEX_USE= GSTREAMER=speex
VORBIS_USE= GSTREAMER=vorbis
WAVPACK_LIB_DEPENDS= libwavpack.so:${PORTSDIR}/audio/wavpack
WAVPACK_USE= GSTREAMER=wavpack
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|prefix|${PREFIX}|g' \
${WRKSRC}/start.sh ${WRKSRC}/start-remote.sh
.include <bsd.port.mk>