aboutsummaryrefslogtreecommitdiff
path: root/multimedia/quodlibet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/quodlibet/Makefile')
-rw-r--r--multimedia/quodlibet/Makefile91
1 files changed, 29 insertions, 62 deletions
diff --git a/multimedia/quodlibet/Makefile b/multimedia/quodlibet/Makefile
index 73acb6174e8d..039d9e4fcdd0 100644
--- a/multimedia/quodlibet/Makefile
+++ b/multimedia/quodlibet/Makefile
@@ -12,8 +12,8 @@ COMMENT= GTK+-based audio player written in Python
LICENSE= GPLv2
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:${PORTSDIR}/audio/py-mutagen
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>0:${PORTSDIR}/audio/py-mutagen
USE_PYTHON= distutils autoplist
USE_GNOME= pygtk2
@@ -24,69 +24,36 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-pydistutils
USE_GSTREAMER= gconf good python
-OPTIONS_DEFINE= FLAC MP3 AAC MUSEPACK OGG SPC SPEEX VORBIS WAVPACK DBUS REMOTE EXTENSIONS
-
-OPTIONS_DEFAULT= FLAC MP3 AAC MUSEPACK OGG SPC SPEEX VORBIS WAVPACK DBUS REMOTE
+OPTIONS_DEFINE= FLAC MP3 AAC MUSEPACK OGG SPEEX VORBIS WAVPACK DBUS REMOTE
+OPTIONS_DEFINE_i386= SPC
+OPTIONS_DEFAULT= FLAC MP3 AAC MUSEPACK OGG SPEEX VORBIS WAVPACK DBUS REMOTE
+OPTIONS_DEFAULT_i386= SPC
SPC_DESC= SPC (SNES ROM audio) support on i386
SPEEX_DESC= OGG/Speex audio support
REMOTE_DESC= Enable remote playback
-EXTENSIONS_DESC= Enable extensions
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MOGG}
-USE_GSTREAMER+= ogg
-.endif
-
-.if ${PORT_OPTIONS:MVORBIS}
-USE_GSTREAMER+= vorbis
-.endif
-
-.if ${PORT_OPTIONS:MSPC} && ${ARCH} == i386
-USE_GSTREAMER+= spc
-.endif
-
-.if ${PORT_OPTIONS:MSPEEX}
-USE_GSTREAMER+= speex
-.endif
-
-.if ${PORT_OPTIONS:MMP3}
-USE_GSTREAMER+= mp3
-.endif
-
-.if ${PORT_OPTIONS:MFLAC}
-USE_GSTREAMER+= flac
-.endif
-
-.if ${PORT_OPTIONS:MMUSEPACK}
-LIB_DEPENDS+= libmpcdec.so:${PORTSDIR}/audio/musepack
-USE_GSTREAMER+= musepack
-.endif
-
-.if ${PORT_OPTIONS:MWAVPACK}
-LIB_DEPENDS+= libwavpack.so:${PORTSDIR}/audio/wavpack
-USE_GSTREAMER+= wavpack
-.endif
-
-.if ${PORT_OPTIONS:MAAC}
-LIB_DEPENDS+= libmp4v2.so:${PORTSDIR}/multimedia/mp4v2
-USE_GSTREAMER+= faad
-.endif
-
-.if ${PORT_OPTIONS:MDBUS}
-BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
-.endif
-
-.if ${PORT_OPTIONS:MREMOTE}
-BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/feedparser.py:${PORTSDIR}/textproc/py-feedparser
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/feedparser.py:${PORTSDIR}/textproc/py-feedparser
-USE_GSTREAMER+= gnomevfs
-.endif
-
-.if ${PORT_OPTIONS:MEXTENSIONS}
-USE_GNOME+= pygnomeextras
-.endif
+
+OGG_USE= GSTREAMER=ogg
+VORBIS_USE= GSTREAMER=vorbis
+SPC_USE= GSTREAMER=spc
+SPEEX_USE= GSTREAMER=speex
+MP3_USE= GSTREAMER=mp3
+FLAC_USE= GSTREAMER=flac
+
+MUSEPACK_LIB_DEPENDS= libmpcdec.so:${PORTSDIR}/audio/musepack
+MUSEPACK_USE= GSTREAMER=musepack
+
+WAVPACK_LIB_DEPENDS= libwavpack.so:${PORTSDIR}/audio/wavpack
+WAVPACK_USE= GSTREAMER=wavpack
+
+AAC_LIB_DEPENDS= libmp4v2.so:${PORTSDIR}/multimedia/mp4v2
+AAC_USE= GSTREAMER=faad
+
+DBUS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:${PORTSDIR}/devel/py-dbus
+DBUS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>0:${PORTSDIR}/devel/py-dbus
+
+REMOTE_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>0:${PORTSDIR}/textproc/py-feedparser
+REMOTE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>0:${PORTSDIR}/textproc/py-feedparser
+REMOTE_USE= GSTREAMER=gnomevfs
.include <bsd.port.mk>