diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-07 10:13:33 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-07 10:13:33 +0800 |
commit | c896b2c2e112e3010163dcf253f494f778478fac (patch) | |
tree | 42c905a23686ded4bbf068f46da72b9da05c4cae /multimedia | |
parent | e896318330b70e30e9a4168e290a4f79c6d4bda7 (diff) | |
download | freebsd-ports-gnome-c896b2c2e112e3010163dcf253f494f778478fac.tar.gz freebsd-ports-gnome-c896b2c2e112e3010163dcf253f494f778478fac.tar.zst freebsd-ports-gnome-c896b2c2e112e3010163dcf253f494f778478fac.zip |
[PATCH] multimedia/quodlibet: FLAC Format support
- FLAC [1] Format support
- [1] http://flac.sourcefor
PR: ports/91388
Submitted by: Byung-Hee HWANG <bh@izb.knu.ac.kr>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/quodlibet/Makefile | 40 |
1 files changed, 30 insertions, 10 deletions
diff --git a/multimedia/quodlibet/Makefile b/multimedia/quodlibet/Makefile index 1f29d1349433..ae5274745d40 100644 --- a/multimedia/quodlibet/Makefile +++ b/multimedia/quodlibet/Makefile @@ -7,29 +7,50 @@ PORTNAME= quodlibet PORTVERSION= 0.16 +PORTREVISION= 1 CATEGORIES= multimedia audio python MASTER_SITES= http://www.sacredchao.net/~piman/software/ MAINTAINER= changbom.yoon@gmail.com COMMENT= A GTK+-based audio player written in Python -BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer \ - ${PYTHON_SITELIBDIR}/ogg/_ogg.so:${PORTSDIR}/audio/py-ogg \ - ${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis \ - ${PYTHON_SITELIBDIR}/madmodule.so:${PORTSDIR}/audio/py-mad -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer \ - ${PYTHON_SITELIBDIR}/ogg/_ogg.so:${PORTSDIR}/audio/py-ogg \ - ${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis \ - ${PYTHON_SITELIBDIR}/madmodule.so:${PORTSDIR}/audio/py-mad +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer USE_PYTHON= 2.3+ USE_GNOME= pygtk2 USE_GMAKE= yes USE_X_PREFIX= yes -USE_GSTREAMER= ogg vorbis mad +USE_GSTREAMER= yes MAN1= exfalso.1 quodlibet.1 +# Supported formats: ogg vorbis mad flac +QUODLIBET_FORMATS?= ogg vorbis mad flac +.for format in ${QUODLIBET_FORMATS} +WANT_QUODLIBET_${format:U}= yes +.endfor + +.if defined(WANT_QUODLIBET_OGG) +BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/ogg/_ogg.so:${PORTSDIR}/audio/py-ogg +USE_GSTREAMER+= ogg +.endif + +.if defined(WANT_QUODLIBET_VORBIS) +BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis +USE_GSTREAMER+= vorbis +.endif + +.if defined(WANT_QUODLIBET_MAD) +BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/madmodule.so:${PORTSDIR}/audio/py-mad +USE_GSTREAMER+= mad +.endif + +.if defined(WANT_QUODLIBET_FLAC) +BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/flac/__init__.py:${PORTSDIR}/audio/py-flac +USE_GSTREAMER+= flac +.endif + .if defined(PACKAGE_BUILDING) BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \ ${X11BASE}/lib/X11/fonts/misc/8x13O.pcf.gz:${X_FONTS_MISC_PORT} @@ -37,7 +58,6 @@ BUILD_DEPENDS+= Xvfb:${X_VFBSERVER_PORT} \ .if defined(WITH_EXTENSIONS) BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/egg/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome-extras -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/gtk-2.0/egg/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome-extras PLIST_SUB+= EXTENSIONS:="" .else PLIST_SUB+= EXTENSIONS:="@comment " |