freebsd-ports/audio/decibel-audio-player/Makefile
Tijl Coosemans 60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00

54 lines
1.7 KiB
Makefile

# Created by: kipz <somicide@gmail.com>
# $FreeBSD$
PORTNAME= decibel-audio-player
PORTVERSION= 1.08
PORTREVISION= 4
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
USES= python
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*-pillow>0:${PORTSDIR}/graphics/py-pillow \
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>