diff options
author | pawel <pawel@FreeBSD.org> | 2015-08-01 15:46:22 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2015-08-01 15:46:22 +0800 |
commit | 73c13c7726e3210537841e0d6797b311b9c2aaee (patch) | |
tree | 767110cff8584316e9d386904f6c41170f0bf594 /multimedia/quodlibet | |
parent | 111d4e3be9c8cc1a1f2fee5e7381f52dd15fa613 (diff) | |
download | freebsd-ports-gnome-73c13c7726e3210537841e0d6797b311b9c2aaee.tar.gz freebsd-ports-gnome-73c13c7726e3210537841e0d6797b311b9c2aaee.tar.zst freebsd-ports-gnome-73c13c7726e3210537841e0d6797b311b9c2aaee.zip |
- Remove EXTENSIONS option it depended on USE_GNOME=pygnomeestras
funcionality removed in r372768
- Make depends path independent
- Use option helpers for better clarity
PR: 201328
Submitted by: myslef
Approved by: maintainer timeout
Diffstat (limited to 'multimedia/quodlibet')
-rw-r--r-- | multimedia/quodlibet/Makefile | 91 |
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> |