diff options
author | Olivier Duchateau <olivierd@FreeBSD.org> | 2015-11-16 17:19:35 +0000 |
---|---|---|
committer | Olivier Duchateau <olivierd@FreeBSD.org> | 2015-11-16 17:19:35 +0000 |
commit | c522ac27cab48ec5a49acd6ebebba28361602c34 (patch) | |
tree | d95cbc820daa006c7aadbd47a8d944b4b4d08ab6 /multimedia/audacious-plugins/Makefile | |
parent | 3370c7411f64b7ed21edec757a743b43e683b6cf (diff) | |
download | ports-c522ac27cab48ec5a49acd6ebebba28361602c34.tar.gz ports-c522ac27cab48ec5a49acd6ebebba28361602c34.zip |
Notes
Diffstat (limited to 'multimedia/audacious-plugins/Makefile')
-rw-r--r-- | multimedia/audacious-plugins/Makefile | 429 |
1 files changed, 99 insertions, 330 deletions
diff --git a/multimedia/audacious-plugins/Makefile b/multimedia/audacious-plugins/Makefile index 72828ca52921..e64fc0c5e30e 100644 --- a/multimedia/audacious-plugins/Makefile +++ b/multimedia/audacious-plugins/Makefile @@ -2,12 +2,11 @@ # $FreeBSD$ PORTNAME= audacious-plugins -PORTVERSION= 3.6.2 -PORTREVISION= 1 +PORTVERSION= 3.7 CATEGORIES= multimedia audio MASTER_SITES= http://distfiles.audacious-media-player.org/ -MAINTAINER= oliver@FreeBSD.org +MAINTAINER= olivierd@FreeBSD.org COMMENT= Plugins needed for audacious LICENSE= GPLv3 @@ -15,346 +14,116 @@ LICENSE= GPLv3 BUILD_DEPENDS= audacious:${PORTSDIR}/multimedia/audacious GNU_CONFIGURE= yes -USES= gmake pkgconfig tar:bzip2 compiler:c++11-lib +USES= compiler:c++11-lib gettext-tools gmake pkgconfig tar:bzip2 USE_LDCONFIG= yes LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include -USE_GNOME= glib20 +USE_GNOME= glib20 libxml2 + +CONFIGURE_ARGS+=--disable-console --disable-sndio --disable-soxr + +OPTIONS_MULTI= TOOLKITS +OPTIONS_MULTI_TOOLKITS= GTK2 QT5 +OPTIONS_DEFINE= AAC ALSA AMIDI AOSD AOSDXCOMP BS2B CDDA CUE DBUS FFMPEG \ + FLAC JACK LAME LIRC MP3 MMS MODPLUG MPRIS NEON NLS NOTIFY \ + OPENGL OSS PULSEAUDIO SAMPLERATE SCROBBLER SDL SID SNDFILE \ + SPEEDPITCH VORBIS WAVPACK +OPTIONS_DEFAULT= AAC AOSD AOSDXCOMP CDDA DBUS FFMPEG FLAC GTK2 MP3 \ + MMS NEON NLS NOTIFY OSS SCROBBLER VORBIS WAVPACK + +AAC_LIB_DEPENDS= libfaad.so:${PORTSDIR}/audio/faad +AAC_CONFIGURE_OFF= --disable-aac +ALSA_LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib +ALSA_CONFIGURE_OFF= --disable-alsa +AMIDI_LIB_DEPENDS= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth +AMIDI_CONFIGURE_OFF= --disable-amidiplug +AOSD_USE= gnome=pango +AOSD_CONFIGURE_ENABLE= aosd +AOSD_IMPLIES= GTK2 +AOSDXCOMP_LIB_DEPENDS= libXcomposite.so:${PORTSDIR}/x11/libXcomposite +AOSDXCOMP_CONFIGURE_ENABLE= aosd-xcomp +AOSDXCOMP_IMPLIES= AOSD +BS2B_LIB_DEPENDS= libbs2b.so:${PORTSDIR}/audio/libbs2b +BS2B_CONFIGURE_OFF= --disable-bs2b +CDDA_LIB_DEPENDS= libcdio_cdda.so:${PORTSDIR}/sysutils/libcdio-paranoia \ + libcddb.so:${PORTSDIR}/audio/libcddb +CDDA_CONFIGURE_OFF= --disable-cdaudio +CUE_LIB_DEPENDS= libcue.so:${PORTSDIR}/textproc/libcue +CUE_CONFIGURE_OFF= --disable-cue +DBUS_LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib +DBUS_CONFIGURE_ENABLE= gnomeshortcuts +FFMPEG_LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg +FFMPEG_CONFIGURE_WITH= ffmpeg=ffmpeg +FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac +FLAC_CONFIGURE_ON= --enable-flacng --enable-filewriter_flac +FLAC_CONFIGURE_OFF= --disable-flacng --disable-filewriter_flac +GTK2_USE= gnome=gtk20 +GTK2_CONFIGURE_ON= --enable-gtk --enable-filewriter --enable-hotkey +GTK2_CONFIGURE_OFF= --disable-gtk --disable-filewriter --disable-hotkey +GTK2_IMPLIES= DBUS +JACK_LIB_DEPENDS= libjack.so:${PORTSDIR}/audio/jack \ + libsamplerate.so:${PORTSDIR}/audio/libsamplerate +JACK_CONFIGURE_OFF= --disable-jack +LAME_LIB_DEPENDS= libmp3lame.so:${PORTSDIR}/audio/lame +LAME_CONFIGURE_OFF= --disable-filewriter_mp3 +LIRC_LIB_DEPENDS= liblirc_client.so:${PORTSDIR}/comms/lirc +LIRC_CONFIGURE_OFF= --disable-lirc +MP3_LIB_DEPENDS= libmpg123.so:${PORTSDIR}/audio/mpg123 +MP3_CONFIGURE_OFF= --disable-mp3 +MMS_LIB_DEPENDS= libmms.so:${PORTSDIR}/net/libmms +MMS_CONFIGURE_OFF= --disable-mms +MODPLUG_LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug +MODPLUG_CONFIGURE_OFF= --disable-modplug +MPRIS_CONFIGURE_ENABLE= mpris2 +MPRIS_IMPLIES= DBUS +NEON_LIB_DEPENDS= libneon.so:${PORTSDIR}/www/neon +NEON_CONFIGURE_OFF= --disable-neon +NLS_USES= gettext-runtime +NLS_CONFIGURE_OFF= --disable-nls +NLS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-Makefile +NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify +NOTIFY_CONFIGURE_ENABLE= notify +NOTIFY_IMPLIES= GTK2 +OPENGL_USE= xorg=x11 gl=gl +OPENGL_CONFIGURE_ENABLE= glspectrum +OPENGL_IMPLIES= GTK2 +OSS_CONFIGURE_ENABLE= oss4 +PULSEAUDIO_LIB_DEPENDS= libpulse-mainloop-glib.so:${PORTSDIR}/audio/pulseaudio +PULSEAUDIO_CONFIGURE_OFF= --disable-pulse +PULSEAUDIO_IMPLIES= DBUS +QT5_USE= qt5=multimedia,opengl +QT5_CONFIGURE_ENABLE= qt +QT5_CONFIGURE_OFF= --disable-qtaudio +SAMPLERATE_LIB_DEPENDS= libsamplerate.so:${PORTSDIR}/audio/libsamplerate +SAMPLERATE_CONFIGURE_OFF= --disable-resample +SCROBBLER_LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl +SCROBBLER_CONFIGURE_OFF= --disable-scrobbler2 +SCROBBLER_IMPLIES= GTK2 +SDL_LIB_DEPENDS= libSDL2.so:${PORTSDIR}/devel/sdl20 +SDL_CONFIGURE_ON= --enable-sdlout --with-libsdl=2 +SDL_CONFIGURE_OFF= --disable-sdlout +SID_LIB_DEPENDS= libsidplayfp.so:${PORTSDIR}/audio/libsidplayfp +SID_CONFIGURE_OFF= --disable-sid +SNDFILE_LIB_DEPENDS= libsndfile.so:${PORTSDIR}/audio/libsndfile +SNDFILE_CONFIGURE_OFF= --disable-sndfile +SPEEDPITCH_CONFIGURE_OFF= --disable-speedpitch +SPEEDPITCH_IMPLIES= SAMPLERATE +VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis +VORBIS_CONFIGURE_ENABLE= vorbis +WAVPACK_LIB_DEPENDS= libwavpack.so:${PORTSDIR}/audio/wavpack +WAVPACK_CONFIGURE_OFF= --disable-wavpack +OPTIONS_SUB= yes -OPTIONS_DEFINE= DBUS OSS4 SDLOUT ALSA CUE MP3 STATUSICON AOSD AOSDXCOMP \ - ADPLUG VORBIS FLAC WAVPACK AAC SNDFILE MODPLUG JACK \ - CDAUDIO SCROBBLER MMS NLS RESAMPLE AMIDI GLSPECTRUM \ - NOTIFY BS2B FFAUDIO PULSE NEON SPEEDPITCH LIRC MP3FILEWRITER \ - SID MPRIS -OPTIONS_DEFAULT=DBUS CUE MP3 STATUSICON AOSD AOSDXCOMP AAC CDAUDIO \ - SCROBBLER NEON NLS OSS4 FFAUDIO - -ADPLUG_DESC= ADPLUG decoder AMIDI_DESC= Amidi decoder AOSD_DESC= Audacious OSD AOSDXCOMP_DESC= Audacious OSD X Composite BS2B_DESC= BS2B effect -CDAUDIO_DESC= CD audio input -FFAUDIO_DESC= FFAudio decoder -GLSPECTRUM_DESC=OpenGL Spectrum Analyzer -OSS4_DESC= Open Sound System 4 -PULSE_DESC= PulseAudio support -RESAMPLE_DESC= Resample effect SCROBBLER_DESC= Scrobbler decoder -SDLOUT_DESC= SDL Output -SID_DESC= SID decoder -STATUSICON_DESC=X11 Status icon +SID_DESC= Sound chip emulator of Commodore NEON_DESC= Neon plugin SPEEDPITCH_DESC=Speed and Pitch plugin -LIRC_DESC= LIRC plugin -MP3FILEWRITER= Filewriter plugin for MP3 MPRIS_DESC= NPRIS plugin -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MSDLOUT} -PLIST_SUB+= SDL="" -USE_SDL= sdl -CONFIGURE_ARGS+=--enable-sdlout -.else -PLIST_SUB+= SDL="@comment " -CONFIGURE_ARGS+=--disable-sdlout -.endif - -.if ${PORT_OPTIONS:MNOTIFY} || exists(${LOCALBASE}/lib/libnotify.so) -LIB_DEPENDS+= libnotify.so:${PORTSDIR}/devel/libnotify -CONFIGURE_ARGS+=--enable-notify -PLIST_SUB+= NOTIFY="" -.else -PLIST_SUB+= NOTIFY="@comment " -CONFIGURE_ARGS+=--disable-notify -.endif - -.if ${PORT_OPTIONS:MGLSPECTRUM} -USE_GL= gl -CONFIGURE_ARGS+=--enable-glspectrum -PLIST_SUB+= GLSPECTRUM="" -.else -CONFIGURE_ARGS+=--disable-glspectrum -PLIST_SUB+= GLSPECTRUM="@comment " -.endif - -.if ${PORT_OPTIONS:MDBUS} -LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib -CONFIGURE_ARGS+=--enable-gnomeshortcuts -PLIST_SUB+= DBUS="" -.else -CONFIGURE_ARGS+=--disable-gnomeshortcuts -PLIST_SUB+= DBUS="@comment " -.endif - -.if ${PORT_OPTIONS:MCUE} -LIB_DEPENDS+= libcue.so:${PORTSDIR}/textproc/libcue -CONFIGURE_ARGS+=--enable-cue -PLIST_SUB+= CUEPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-cue -PLIST_SUB+= CUEPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MMP3} -LIB_DEPENDS+= libmpg123.so:${PORTSDIR}/audio/mpg123 -CONFIGURE_ARGS+=--enable-mp3 --enable-filewriter_mp3 -PLIST_SUB+= MP3PLUGIN="" -.if ${PORT_OPTIONS:MMP3FILEWRITER} -LIB_DEPENDS+= libmp3lame.so:${PORTSDIR}/audio/lame -CONFIGURE_ARGS+=--enable-filewriter_mp3 -.else -CONFIGURE_ARGS+=--disable-filewriter_mp3 -.endif -.else -CONFIGURE_ARGS+=--disable-mp3 --disable-filewriter_mp3 -PLIST_SUB+= MP3PLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MSTATUSICON} -USE_GNOME+= gtk30 -CONFIGURE_ARGS+=--enable-statusicon -PLIST_SUB+= STATUSICONPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-statusicon -PLIST_SUB+= STATUSICONPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MAOSD} -USE_GNOME+= pango -CONFIGURE_ARGS+=--enable-aosd -PLIST_SUB+= AOSDPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-aosd -PLIST_SUB+= AOSDPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MAOSDXCOMP} -LIB_DEPENDS+= libXcomposite.so:${PORTSDIR}/x11/libXcomposite -CONFIGURE_ARGS+=--enable-aosd-xcomp -PLIST_SUB+= AOSDXCOMPPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-aosd-xcomp -PLIST_SUB+= AOSDXCOMPPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MADPLUG} -LIB_DEPENDS+= libbinio.so:${PORTSDIR}/devel/libbinio -CONFIGURE_ARGS+=--enable-adplug -PLIST_SUB+= ADPLUGPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-adplug -PLIST_SUB+= ADPLUGPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MVORBIS} -LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis -CONFIGURE_ARGS+=--enable-vorbis -PLIST_SUB+= VORBISPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-vorbis -PLIST_SUB+= VORBISPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MFLAC} -LIB_DEPENDS+= libFLAC.so:${PORTSDIR}/audio/flac -CONFIGURE_ARGS+=--enable-flacng --enable-filewriter_flac -PLIST_SUB+= FLACPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-flacng --disable-filewriter_flac -PLIST_SUB+= FLACPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MFFAUDIO} -LIB_DEPENDS+= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg -CONFIGURE_ARGS+=--with-ffmpeg=ffmpeg -PLIST_SUB+= FFAUDIOPLUGIN="" -.else -CONFIGURE_ARGS+=--with-ffmpeg=none -PLIST_SUB+= FFAUDIOPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MWAVPACK} -LIB_DEPENDS+= libwavpack.so:${PORTSDIR}/audio/wavpack -CONFIGURE_ARGS+=--enable-wavpack -PLIST_SUB+= WAVPACKPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-wavpack -PLIST_SUB+= WAVPACKPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MAAC} -CONFIGURE_ARGS+=--enable-aac -PLIST_SUB+= AACPLUGIN="" -LIB_DEPENDS+= libfaad.so:${PORTSDIR}/audio/faad -.else -CONFIGURE_ARGS+=--disable-aac -PLIST_SUB+= AACPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MSNDFILE} -LIB_DEPENDS+= libsndfile.so:${PORTSDIR}/audio/libsndfile -CONFIGURE_ARGS+=--enable-sndfile -PLIST_SUB+= SNDFILEPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-sndfile -PLIST_SUB+= SNDFILEPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MMODPLUG} -LIB_DEPENDS+= libmodplug.so:${PORTSDIR}/audio/libmodplug -PLIST_SUB+= MODPLUG="" -CONFIGURE_ARGS+=--enable-modplug -.else -PLIST_SUB+= MODPLUG="@comment " -CONFIGURE_ARGS+=--disable-modplug -.endif - -.if ${PORT_OPTIONS:MJACK} -LIB_DEPENDS+= libjack.so:${PORTSDIR}/audio/jack \ - libsamplerate.so:${PORTSDIR}/audio/libsamplerate -CONFIGURE_ARGS+=--enable-jack -PLIST_SUB+= JACKPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-jack -PLIST_SUB+= JACKPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MSCROBBLER} -LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl -PLIST_SUB+= SCROBBLERPLUGIN="" -CONFIGURE_ARGS+=--enable-scrobbler2 -.else -PLIST_SUB+= SCROBBLERPLUGIN="@comment " -CONFIGURE_ARGS+=--disable-scrobbler2 -.endif - -.if ${PORT_OPTIONS:MOSS4} -PLIST_SUB+= OSS4PLUGIN="" -CONFIGURE_ARGS+=--enable-oss4 -.else -PLIST_SUB+= OSS4PLUGIN="@comment " -CONFIGURE_ARGS+=--disable-oss4 -.endif - -.if ${PORT_OPTIONS:MSID} -LIB_DEPENDS+= libsidplayfp.so:${PORTSDIR}/audio/libsidplayfp -PLIST_SUB+= SIDPLUGIN="" -CONFIGURE_ARGS+=--enable-sid -.else -PLIST_SUB+= SIDPLUGIN="@comment " -CONFIGURE_ARGS+=--disable-sid -.endif - -.if ${PORT_OPTIONS:MCDAUDIO} -LIB_DEPENDS+= libcdio_cdda.so:${PORTSDIR}/sysutils/libcdio-paranoia \ - libcddb.so:${PORTSDIR}/audio/libcddb -CONFIGURE_ARGS+=--enable-cdaudio -PLIST_SUB+= CDAUDIOPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-cdaudio -PLIST_SUB+= CDAUDIOPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MNEON} -LIB_DEPENDS+= libneon.so:${PORTSDIR}/www/neon -CONFIGURE_ARGS+=--enable-neon -PLIST_SUB+= NEONPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-neon -PLIST_SUB+= NEONPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MMMS} -LIB_DEPENDS+= libmms.so:${PORTSDIR}/net/libmms -CONFIGURE_ARGS+=--enable-mms -PLIST_SUB+= MMSPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-mms -PLIST_SUB+= MMSPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MRESAMPLE} -LIB_DEPENDS+= libsamplerate.so:${PORTSDIR}/audio/libsamplerate -CONFIGURE_ARGS+=--enable-resample -PLIST_SUB+= RESAMPLEPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-resample -PLIST_SUB+= RESAMPLEPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MSPEEDPITCH} -LIB_DEPENDS+= libsamplerate.so:${PORTSDIR}/audio/libsamplerate -CONFIGURE_ARGS+=--enable-speedpitch -PLIST_SUB+= SPEEDPITCHPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-speedpitch -PLIST_SUB+= SPEEDPITCHPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MALSA} -LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib -CONFIGURE_ARGS+=--enable-alsa -PLIST_SUB+= ALSAPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-alsa -PLIST_SUB+= ALSAPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MAMIDI} -LIB_DEPENDS+= libfluidsynth.so:${PORTSDIR}/audio/fluidsynth -CONFIGURE_ARGS+=--enable-amidiplug -PLIST_SUB+= AMIDIPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-amidiplug -PLIST_SUB+= AMIDIPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MBS2B} -LIB_DEPENDS+= libbs2b.so:${PORTSDIR}/audio/libbs2b -CONFIGURE_ARGS+=--enable-bs2b -PLIST_SUB+= BS2BPLUGIN="" -.else -CONFIGURE_ARGS+=--disable-bs2b -PLIST_SUB+= BS2BPLUGIN="@comment " -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -CONFIGURE_ARGS+=--enable-nls -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+=--disable-nls -PLIST_SUB+= NLS="@comment " -.endif - -.if ${PORT_OPTIONS:MPULSE} -LIB_DEPENDS+= libpulse.so:${PORTSDIR}/audio/pulseaudio -CONFIGURE_ARGS+=--enable-pulse -PLIST_SUB+= PULSE="" -.else -CONFIGURE_ARGS+=--disable-pulse -PLIST_SUB+= PULSE="@comment " -.endif - -.if ${PORT_OPTIONS:MLIRC} -LIB_DEPENDS+= liblirc_client.so:${PORTSDIR}/comms/lirc -CONFIGURE_ARGS+=--enable-lirc -PLIST_SUB+= LIRC="" -.else -CONFIGURE_ARGS+=--disable-lirc -PLIST_SUB+= LIRC="@comment " -.endif - -.if ${PORT_OPTIONS:MMPRIS} -CONFIGURE_ARGS+=--enable-mpris2 -PLIST_SUB+= MPRIS="" -.else -CONFIGURE_ARGS+=--disable-mpris2 -PLIST_SUB+= MPRIS="@comment " -.endif - post-install: @${FIND} ${STAGEDIR}${PREFIX}/lib/audacious/ -name "*.so" \ -exec ${STRIP_CMD} {} \; |