aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2019-12-04 20:10:18 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2019-12-04 20:10:18 +0000
commit2966f96b75638555ec5035212f72233192768570 (patch)
tree067ae9025ee0cde05bfaf7f9cea59b0149bec620 /audio
parentb062c4a7ecf7be790f9e609e3e38b12e913e8721 (diff)
downloadports-2966f96b75638555ec5035212f72233192768570.tar.gz
ports-2966f96b75638555ec5035212f72233192768570.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/siren/Makefile44
-rw-r--r--audio/siren/pkg-plist12
2 files changed, 36 insertions, 20 deletions
diff --git a/audio/siren/Makefile b/audio/siren/Makefile
index b3a355c7d653..aa70835bfc5f 100644
--- a/audio/siren/Makefile
+++ b/audio/siren/Makefile
@@ -3,7 +3,7 @@
PORTNAME= siren
PORTVERSION= 0.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://www.kariliq.nl/${PORTNAME}/dist/
@@ -13,24 +13,17 @@ COMMENT= Text-based audio player
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENCE
-LIB_DEPENDS= libFLAC.so:audio/flac \
- libid3tag.so:audio/libid3tag \
- libmad.so:audio/libmad \
- libvorbis.so:audio/libvorbis \
- libwavpack.so:audio/wavpack \
- libopusfile.so:audio/opusfile
-
BROKEN_mips= fails to configure: cannot find program /nxb-bin/usr/bin/cc
BROKEN_mips64= fails to configure: cannot find program /nxb-bin/usr/bin/cc
-USES= ncurses pkgconfig
+USES= localbase:ldflags ncurses pkgconfig
HAS_CONFIGURE= yes
USE_CSTD= c99
-OPTIONS_DEFINE= FFMPEG MPG123
+OPTIONS_DEFINE= FAAD FFMPEG FLAC MAD MPG123 OPUS SNDFILE VORBIS WAVPACK
OPTIONS_MULTI= SOUND
OPTIONS_MULTI_SOUND= OSS PULSEAUDIO SNDIO
-OPTIONS_DEFAULT= OSS
+OPTIONS_DEFAULT= FFMPEG OSS
OSS_CONFIGURE_ON= oss=yes
OSS_CONFIGURE_OFF= oss=no
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
@@ -40,20 +33,41 @@ SNDIO_CONFIGURE_ON= sndio=yes
SNDIO_CONFIGURE_OFF= sndio=no
SNDIO_LIB_DEPENDS= libsndio.so:audio/sndio
SNDIO_USES= localbase:ldflags
+FAAD_CONFIGURE_ON= aac=yes
+FAAD_CONFIGURE_OFF= aac=no
+FAAD_LIB_DEPENDS= libfaad.so:audio/faad \
+ libmp4v2.so:multimedia/mp4v2
FFMPEG_CONFIGURE_ON= ffmpeg=yes
FFMPEG_CONFIGURE_OFF= ffmpeg=no
FFMPEG_LIB_DEPENDS= libavformat.so:multimedia/ffmpeg
+FLAC_CONFIGURE_ON= flac=yes
+FLAC_CONFIGURE_OFF= flac=no
+FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
+MAD_CONFIGURE_ON= mad=yes
+MAD_CONFIGURE_OFF= mad=no
+MAD_LIB_DEPENDS= libmad.so:audio/libmad \
+ libid3tag.so:audio/libid3tag
MPG123_CONFIGURE_ON= mpg123=yes
MPG123_CONFIGURE_OFF= mpg123=no
MPG123_LIB_DEPENDS= libmpg123.so:audio/mpg123
+OPUS_CONFIGURE_ON= opus=yes
+OPUS_CONFIGURE_OFF= opus=no
+OPUS_LIB_DEPENDS= libopusfile.so:audio/opusfile
+SNDFILE_CONFIGURE_ON= sndfile=yes
+SNDFILE_CONFIGURE_OFF= sndfile=no
+SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
+VORBIS_CONFIGURE_ON= vorbis=yes
+VORBIS_CONFIGURE_OFF= vorbis=no
+VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis
+WAVPACK_CONFIGURE_ON= wavpack=yes
+WAVPACK_CONFIGURE_OFF= wavpack=no
+WAVPACK_LIB_DEPENDS= libwavpack.so:audio/wavpack
OPTIONS_SUB= yes
-CONFIGURE_ARGS= sndfile=no \
- alsa=no \
+CONFIGURE_ARGS= alsa=no \
ao=no \
sun=no \
- portaudio=no \
- aac=no
+ portaudio=no
post-patch:
@${REINPLACE_CMD} -e 's|-lcurses|-lncurses|' ${WRKSRC}/configure
diff --git a/audio/siren/pkg-plist b/audio/siren/pkg-plist
index 7e81ca32b4a1..a273ed5ce3f7 100644
--- a/audio/siren/pkg-plist
+++ b/audio/siren/pkg-plist
@@ -1,12 +1,14 @@
bin/siren
-lib/siren/ip/flac.so
-lib/siren/ip/mad.so
-lib/siren/ip/opus.so
-lib/siren/ip/vorbis.so
-lib/siren/ip/wavpack.so
+%%FAAD%%lib/siren/ip/aac.so
%%FFMPEG%%lib/siren/ip/ffmpeg.so
+%%FLAC%%lib/siren/ip/flac.so
+%%MAD%%lib/siren/ip/mad.so
%%MPG123%%lib/siren/ip/mpg123.so
+%%OPUS%%lib/siren/ip/opus.so
%%OSS%%lib/siren/op/oss.so
%%PULSEAUDIO%%lib/siren/op/pulse.so
+%%SNDFILE%%lib/siren/ip/sndfile.so
%%SNDIO%%lib/siren/op/sndio.so
+%%VORBIS%%lib/siren/ip/vorbis.so
+%%WAVPACK%%lib/siren/ip/wavpack.so
man/man1/siren.1.gz