2006-12-04 16:51:58 +01:00
|
|
|
PORTNAME= audacious-plugins
|
2023-04-30 12:55:20 +02:00
|
|
|
PORTVERSION= 4.3.1
|
2023-12-23 18:35:45 +01:00
|
|
|
PORTREVISION= 4
|
2006-01-04 23:40:12 +01:00
|
|
|
CATEGORIES= multimedia audio
|
2012-05-06 20:12:11 +02:00
|
|
|
MASTER_SITES= http://distfiles.audacious-media-player.org/
|
2006-01-04 23:40:12 +01:00
|
|
|
|
2020-07-08 22:05:07 +02:00
|
|
|
MAINTAINER= madpilot@FreeBSD.org
|
2006-12-04 16:51:58 +01:00
|
|
|
COMMENT= Plugins needed for audacious
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://audacious-media-player.org/
|
2006-01-04 23:40:12 +01:00
|
|
|
|
2018-05-21 11:34:11 +02:00
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2014-03-25 17:28:09 +01:00
|
|
|
|
2016-09-22 14:46:36 +02:00
|
|
|
LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib \
|
2018-05-21 11:34:11 +02:00
|
|
|
libdbus-1.so:devel/dbus \
|
|
|
|
libfontconfig.so:x11-fonts/fontconfig \
|
2018-09-18 16:50:27 +02:00
|
|
|
libfreetype.so:print/freetype2 \
|
|
|
|
libmpg123.so:audio/mpg123
|
2020-07-08 22:05:07 +02:00
|
|
|
|
2023-03-09 10:37:17 +01:00
|
|
|
FLAVORS= qt5 qt6 gtk2 gtk3
|
2020-07-08 22:05:07 +02:00
|
|
|
FLAVOR?= ${FLAVORS:[1]}
|
2016-09-22 14:46:36 +02:00
|
|
|
|
2018-09-18 16:50:27 +02:00
|
|
|
USES= compiler:c++11-lib gettext-tools gmake gnome iconv \
|
2023-03-09 10:37:17 +01:00
|
|
|
localbase meson pkgconfig tar:bzip2 xorg
|
2020-07-08 22:05:07 +02:00
|
|
|
USE_GNOME= glib20 libxml2 gdkpixbuf2
|
2016-09-22 14:46:36 +02:00
|
|
|
USE_XORG= x11
|
2015-11-16 18:19:35 +01:00
|
|
|
|
2023-03-13 22:20:50 +01:00
|
|
|
CONFIGURE_ENV= LIBRARY_PATH="${LOCALBASE}/lib"
|
|
|
|
MAKE_ENV= LIBRARY_PATH="${LOCALBASE}/lib"
|
2023-04-30 12:55:20 +02:00
|
|
|
MESON_ARGS= -Dmms=false -Dcoreaudio=false
|
2023-03-13 22:20:50 +01:00
|
|
|
|
2023-03-09 10:37:17 +01:00
|
|
|
qt5_CONFLICTS_INSTALL= audacious-plugins-qt6 audacious-plugins-gtk2 audacious-plugins-gtk3
|
2020-07-08 22:05:07 +02:00
|
|
|
qt5_RUN_DEPENDS= audacious:multimedia/audacious@qt5
|
|
|
|
qt5_BUILD_DEPENDS= audacious:multimedia/audacious@qt5
|
|
|
|
|
2023-03-09 10:37:17 +01:00
|
|
|
qt6_PKGNAMESUFFIX= -qt6
|
|
|
|
qt6_CONFLICTS_INSTALL= audacious-plugins audacious-plugins-gtk2 audacious-plugins-gtk3
|
|
|
|
qt6_RUN_DEPENDS= audacious:multimedia/audacious@qt6
|
|
|
|
qt6_BUILD_DEPENDS= audacious:multimedia/audacious@qt6
|
|
|
|
|
2020-07-08 22:05:07 +02:00
|
|
|
gtk2_PKGNAMESUFFIX= -gtk2
|
2023-03-09 10:37:17 +01:00
|
|
|
gtk2_CONFLICTS_INSTALL= audacious-plugins audacious-plugins-qt6 audacious-plugins-gtk3
|
2022-06-11 15:33:44 +02:00
|
|
|
gtk2_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
|
2020-07-08 22:05:07 +02:00
|
|
|
gtk2_RUN_DEPENDS= audacious:multimedia/audacious@gtk2
|
|
|
|
gtk2_BUILD_DEPENDS= audacious:multimedia/audacious@gtk2
|
2018-09-18 16:50:27 +02:00
|
|
|
|
2023-03-09 10:37:17 +01:00
|
|
|
gtk3_PKGNAMESUFFIX= -gtk3
|
|
|
|
gtk3_CONFLICTS_INSTALL= audacious-plugins audacious-plugins-qt6 audacious-plugins-gtk2
|
|
|
|
gtk3_LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
|
|
|
|
gtk3_RUN_DEPENDS= audacious:multimedia/audacious@gtk3
|
|
|
|
gtk3_BUILD_DEPENDS= audacious:multimedia/audacious@gtk3
|
|
|
|
|
2020-07-08 22:05:07 +02:00
|
|
|
.if ${FLAVOR} == qt5
|
2023-03-09 10:37:17 +01:00
|
|
|
MESON_ARGS+= -Dqt=true -Dqt6=false -Dgtk=false -Dgtk3=false
|
2020-07-08 22:05:07 +02:00
|
|
|
USES+= qt:5
|
2022-06-11 15:33:44 +02:00
|
|
|
USE_QT= core gui multimedia network widgets x11extras
|
2023-03-09 10:37:17 +01:00
|
|
|
PLIST_SUB= QT="" QT5="" GTK="@comment "
|
|
|
|
.elif ${FLAVOR} == qt6
|
|
|
|
MESON_ARGS+= -Dqt=true -Dqt6=true -Dgtk=false -Dgtk3=false
|
|
|
|
USES+= qt:6
|
|
|
|
USE_QT= base multimedia
|
|
|
|
PLIST_SUB= QT="" QT5="@comment " GTK="@comment "
|
2020-07-08 22:05:07 +02:00
|
|
|
.elif ${FLAVOR} == gtk2
|
2023-03-09 10:37:17 +01:00
|
|
|
MESON_ARGS+= -Dqt=false -Dqt6=false -Dgtk=true -Dgtk3=false -Dhotkey=true
|
|
|
|
USE_GNOME+= cairo gtk20
|
|
|
|
PLIST_SUB= QT="@comment " QT6="@comment " GTK=""
|
|
|
|
.elif ${FLAVOR} == gtk3
|
|
|
|
MESON_ARGS+= -Dqt=false -Dqt6=false -Dgtk=true -Dgtk3=true -Dhotkey=true
|
|
|
|
USE_GNOME+= cairo gtk30
|
|
|
|
PLIST_SUB= QT="@comment " QT6="@comment " GTK=""
|
2020-07-08 22:05:07 +02:00
|
|
|
.endif
|
|
|
|
|
2023-04-30 12:55:20 +02:00
|
|
|
OPTIONS_DEFINE= AAC ADPLUG AMIDI BS2B CDDA CONSOLE CUE FFMPEG FLAC LAME LIRC \
|
2023-03-13 22:20:50 +01:00
|
|
|
MODPLUG MPG123 MPRIS NEON NLS NOTIFY OPENGL OPENMPT OPUS \
|
2023-04-30 12:55:20 +02:00
|
|
|
SAMPLERATE SCROBBLER SID SNDFILE SOXR SPEEDPITCH VORBIS \
|
|
|
|
WAVPACK
|
2018-09-18 16:50:27 +02:00
|
|
|
OPTIONS_MULTI= OUTPUT
|
2023-03-09 10:37:17 +01:00
|
|
|
OPTIONS_MULTI_OUTPUT= ALSA FILEWRITER JACK OSS PIPEWIRE PULSEAUDIO SDL SNDIO
|
2022-06-16 13:20:28 +02:00
|
|
|
OPTIONS_DEFAULT= AAC ADPLUG CDDA CUE FILEWRITER FFMPEG FLAC MPRIS \
|
2023-03-13 22:20:50 +01:00
|
|
|
MPG123 NEON NLS NOTIFY OPENMPT OPUS OSS PIPEWIRE PULSEAUDIO \
|
2023-03-09 10:37:17 +01:00
|
|
|
SCROBBLER SID VORBIS WAVPACK
|
|
|
|
OPTIONS_SUB= yes
|
2018-09-18 16:50:27 +02:00
|
|
|
|
2023-03-09 10:37:17 +01:00
|
|
|
.if ${FLAVOR} == gtk2 || ${FLAVOR} == gtk3
|
2022-06-11 15:33:44 +02:00
|
|
|
OPTIONS_DEFINE+= AOSD
|
2020-07-08 22:05:07 +02:00
|
|
|
OPTIONS_DEFAULT+= AOSD
|
|
|
|
.endif
|
|
|
|
|
2023-03-09 10:37:17 +01:00
|
|
|
ADPLUG_DESC= ADPLUG plugin
|
|
|
|
AMIDI_DESC= Amidi decoder
|
|
|
|
AOSD_DESC= Audacious OSD
|
|
|
|
BS2B_DESC= BS2B effect
|
2023-04-30 12:55:20 +02:00
|
|
|
CONSOLE_DESC= Game Console Music Emulation
|
2023-03-09 10:37:17 +01:00
|
|
|
FILEWRITER_DESC= File writer
|
|
|
|
MPRIS_DESC= NPRIS plugin
|
|
|
|
NEON_DESC= Neon plugin
|
|
|
|
OPENMPT_DESC= OpenMPT plugin
|
|
|
|
SCROBBLER_DESC= Scrobbler decoder
|
|
|
|
SID_DESC= Sound chip emulator of Commodore
|
|
|
|
SPEEDPITCH_DESC= Speed and Pitch plugin
|
2015-11-16 18:19:35 +01:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
AAC_LIB_DEPENDS= libfaad.so:audio/faad
|
2023-03-09 10:37:17 +01:00
|
|
|
AAC_MESON_TRUE= aac
|
2020-12-29 19:01:11 +01:00
|
|
|
ADPLUG_LIB_DEPENDS= libadplug.so:audio/libadplug \
|
|
|
|
libbinio.so:devel/libbinio
|
2023-03-09 10:37:17 +01:00
|
|
|
ADPLUG_MESON_TRUE= adplug
|
2020-12-29 19:01:11 +01:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
|
2023-03-09 10:37:17 +01:00
|
|
|
ALSA_MESON_TRUE= alsa
|
2016-04-01 16:16:16 +02:00
|
|
|
AMIDI_LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth
|
2023-03-09 10:37:17 +01:00
|
|
|
AMIDI_MESON_TRUE= amidiplug
|
2019-11-06 19:09:44 +01:00
|
|
|
AOSD_USES= xorg
|
2018-09-18 16:50:27 +02:00
|
|
|
AOSD_USE= gnome=pango xorg=xrender
|
2016-09-22 14:46:36 +02:00
|
|
|
AOSD_LIB_DEPENDS= libXcomposite.so:x11/libXcomposite
|
2023-03-09 10:37:17 +01:00
|
|
|
AOSD_MESON_TRUE= aosd
|
2016-04-01 16:16:16 +02:00
|
|
|
BS2B_LIB_DEPENDS= libbs2b.so:audio/libbs2b
|
2023-03-09 10:37:17 +01:00
|
|
|
BS2B_MESON_TRUE= bs2b
|
2016-04-01 16:16:16 +02:00
|
|
|
CDDA_LIB_DEPENDS= libcdio_cdda.so:sysutils/libcdio-paranoia \
|
2018-05-21 11:34:11 +02:00
|
|
|
libcddb.so:audio/libcddb \
|
|
|
|
libcdio.so:sysutils/libcdio
|
2023-03-09 10:37:17 +01:00
|
|
|
CDDA_MESON_TRUE= cdaudio
|
2023-04-30 12:55:20 +02:00
|
|
|
CONSOLE_MESON_TRUE= console
|
2016-04-01 16:16:16 +02:00
|
|
|
CUE_LIB_DEPENDS= libcue.so:textproc/libcue
|
2023-03-09 10:37:17 +01:00
|
|
|
CUE_MESON_TRUE= cue
|
|
|
|
FILEWRITER_MESON_TRUE= filewriter
|
2016-04-01 16:16:16 +02:00
|
|
|
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
|
2023-03-09 10:37:17 +01:00
|
|
|
FFMPEG_MESON_TRUE= ffaudio
|
2016-04-01 16:16:16 +02:00
|
|
|
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
|
2023-03-09 10:37:17 +01:00
|
|
|
FLAC_MESON_TRUE= flac
|
2016-04-01 16:16:16 +02:00
|
|
|
JACK_LIB_DEPENDS= libjack.so:audio/jack \
|
2018-05-21 11:34:11 +02:00
|
|
|
libsamplerate.so:audio/libsamplerate
|
2023-03-09 10:37:17 +01:00
|
|
|
JACK_MESON_TRUE= jack
|
2016-04-01 16:16:16 +02:00
|
|
|
LAME_LIB_DEPENDS= libmp3lame.so:audio/lame
|
|
|
|
LIRC_LIB_DEPENDS= liblirc_client.so:comms/lirc
|
2023-03-09 10:37:17 +01:00
|
|
|
LIRC_MESON_TRUE= lirc
|
2016-04-01 16:16:16 +02:00
|
|
|
MODPLUG_LIB_DEPENDS= libmodplug.so:audio/libmodplug
|
2023-03-09 10:37:17 +01:00
|
|
|
MODPLUG_MESON_TRUE= modplug
|
|
|
|
MPRIS_MESON_TRUE= mpris2
|
2016-04-01 16:16:16 +02:00
|
|
|
NEON_LIB_DEPENDS= libneon.so:www/neon
|
2023-03-09 10:37:17 +01:00
|
|
|
NEON_MESON_TRUE= neon
|
|
|
|
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123
|
|
|
|
MPG123_MESON_TRUE= mpg123
|
2018-05-21 11:34:11 +02:00
|
|
|
NLS_USES= gettext-runtime
|
2016-04-01 16:16:16 +02:00
|
|
|
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
|
2023-03-09 10:37:17 +01:00
|
|
|
NOTIFY_MESON_TRUE= notify
|
2022-06-11 15:33:44 +02:00
|
|
|
OPENGL_USES= gl
|
|
|
|
OPENGL_USE= gl=gl
|
|
|
|
.if ${FLAVOR} == qt5
|
|
|
|
OPENGL_USE+= qt=opengl
|
|
|
|
.endif
|
2023-03-09 10:37:17 +01:00
|
|
|
OPENGL_MESON_TRUE= gl-spectrum
|
2020-12-29 19:01:11 +01:00
|
|
|
OPENMPT_LIB_DEPENDS= libopenmpt.so:audio/libopenmpt
|
2023-03-09 10:37:17 +01:00
|
|
|
OPENMPT_MESON_TRUE= openmpt
|
|
|
|
OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile \
|
|
|
|
libopus.so:audio/opus
|
|
|
|
OPUS_MESON_TRUE= opus
|
|
|
|
OSS_MESON_TRUE= oss
|
|
|
|
PIPEWIRE_LIB_DEPENDS= libpipewire-0.3.so:multimedia/pipewire
|
|
|
|
PIPEWIRE_MESON_TRUE= pipewire
|
2016-04-01 16:16:16 +02:00
|
|
|
PULSEAUDIO_LIB_DEPENDS= libpulse-mainloop-glib.so:audio/pulseaudio
|
2023-03-09 10:37:17 +01:00
|
|
|
PULSEAUDIO_MESON_TRUE= pulse
|
2016-04-01 16:16:16 +02:00
|
|
|
SAMPLERATE_LIB_DEPENDS= libsamplerate.so:audio/libsamplerate
|
2023-03-09 10:37:17 +01:00
|
|
|
SAMPLERATE_MESON_TRUE= resample
|
2016-04-01 16:16:16 +02:00
|
|
|
SCROBBLER_LIB_DEPENDS= libcurl.so:ftp/curl
|
2023-03-09 10:37:17 +01:00
|
|
|
SCROBBLER_MESON_TRUE= scrobbler2
|
|
|
|
SDL_MESON_TRUE= sdlout
|
2019-11-14 13:39:42 +01:00
|
|
|
SDL_USES= sdl
|
2019-01-13 17:08:40 +01:00
|
|
|
SDL_USE= SDL=sdl2
|
2016-04-01 16:16:16 +02:00
|
|
|
SID_LIB_DEPENDS= libsidplayfp.so:audio/libsidplayfp
|
2023-03-09 10:37:17 +01:00
|
|
|
SID_MESON_TRUE= sid
|
2016-04-01 16:16:16 +02:00
|
|
|
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
|
2023-03-09 10:37:17 +01:00
|
|
|
SNDFILE_MESON_TRUE= sndfile
|
2018-09-18 08:40:32 +02:00
|
|
|
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
|
2023-03-09 10:37:17 +01:00
|
|
|
SNDIO_MESON_TRUE= sndio
|
2023-04-30 12:55:20 +02:00
|
|
|
SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr
|
|
|
|
SOXR_MESON_TRUE= soxr
|
2023-03-09 10:37:17 +01:00
|
|
|
SPEEDPITCH_MESON_TRUE= speedpitch
|
2015-11-16 18:19:35 +01:00
|
|
|
SPEEDPITCH_IMPLIES= SAMPLERATE
|
2016-09-22 14:46:36 +02:00
|
|
|
VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \
|
2018-05-21 11:34:11 +02:00
|
|
|
libogg.so:audio/libogg
|
2023-03-09 10:37:17 +01:00
|
|
|
VORBIS_MESON_TRUE= vorbis
|
2016-04-01 16:16:16 +02:00
|
|
|
WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack
|
2023-03-09 10:37:17 +01:00
|
|
|
WAVPACK_MESON_TRUE= wavpack
|
2006-01-07 00:47:05 +01:00
|
|
|
|
2023-03-09 10:37:17 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2018-09-18 16:50:27 +02:00
|
|
|
|
2023-03-09 10:37:17 +01:00
|
|
|
.if ${PORT_OPTIONS:MFILEWRITER}
|
|
|
|
.if ${PORT_OPTIONS:MFLAC}
|
|
|
|
MESON_ARGS+= -Dfilewriter-flac=true
|
|
|
|
.else
|
|
|
|
MESON_ARGS+= -Dfilewriter-flac=false
|
|
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MLAME}
|
|
|
|
MESON_ARGS+= -Dfilewriter-mp3=true
|
|
|
|
.else
|
|
|
|
MESON_ARGS+= -Dfilewriter-mp3=false
|
|
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MVORBIS}
|
|
|
|
MESON_ARGS+= -Dfilewriter-ogg=true
|
|
|
|
.else
|
|
|
|
MESON_ARGS+= -Dfilewriter-ogg=false
|
|
|
|
.endif
|
|
|
|
.else
|
|
|
|
MESON_ARGS+= -Dfilewriter-flac=false -Dfilewriter-mp3=false -Dfilewriter-ogg=false
|
|
|
|
.endif
|
2006-01-04 23:40:12 +01:00
|
|
|
|
2023-03-09 10:37:17 +01:00
|
|
|
post-patch-NLS-off:
|
|
|
|
@${REINPLACE_CMD} -e "/^subdir('po')/d" ${WRKSRC}/meson.build
|
2020-12-29 19:01:11 +01:00
|
|
|
|
2012-12-18 16:55:50 +01:00
|
|
|
.include <bsd.port.mk>
|