3147bb6c6b
It has been a while both does not depend anymore on esound, before this change esound dependency was wrongly added to plenty of packages which actually does not depend on it. While here: - audio/glame: remove esound support - games/monkeybubble: add an explicit dependency on esound - sysutils/gnome-schedule: add en explicit dependency on pkg-config - comms/kb: add missing dependency on pkgconfig - x11-toolkits/libgnomeui: * update to 2.4.5 * use USES=localbase
56 lines
2 KiB
Makefile
56 lines
2 KiB
Makefile
# Created by: kipz <somicide@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= decibel-audio-player
|
|
PORTVERSION= 1.08
|
|
PORTREVISION= 6
|
|
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
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BROKEN_armv6= fails to package: Unable to access file locale/ar/LC_MESSAGES/decibel-audio-player.mo:No such file or directory
|
|
BROKEN_armv7= fails to package: Unable to access file locale/ar/LC_MESSAGES/decibel-audio-player.mo:No such file or directory
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0.80:devel/py-dbus@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}mutagen>=1.11:audio/py-mutagen@${PY_FLAVOR}
|
|
|
|
USES= gmake gettext desktop-file-utils python:2.7
|
|
USE_GNOME= pygnome2 pygtk2
|
|
USE_GSTREAMER= python good bad
|
|
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:audio/cd-discid \
|
|
${PYTHON_PKGNAMEPREFIX}cddb>=1.4:audio/py-cddb@${PY_FLAVOR} \
|
|
gstreamer-plugins-cdio>=0.10.16:sysutils/gstreamer-plugins-cdio
|
|
EXTRAS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}notify>=0.1.1:devel/py-notify@${PY_FLAVOR}
|
|
FLAC_USE= GSTREAMER=flac
|
|
MP3_USE= GSTREAMER=mp3
|
|
MPEG4IP_LIB_DEPENDS= libmp4v2.so:multimedia/mp4v2
|
|
MPEG4IP_USE= GSTREAMER=faad
|
|
OGG_USE= GSTREAMER=ogg
|
|
SPEEX_USE= GSTREAMER=speex
|
|
VORBIS_USE= GSTREAMER=vorbis
|
|
WAVPACK_LIB_DEPENDS= libwavpack.so: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>
|