summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/akode
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/dependencies/akode')
-rw-r--r--freebsd/dependencies/akode/Makefile127
-rw-r--r--freebsd/dependencies/akode/distinfo3
-rw-r--r--freebsd/dependencies/akode/pkg-descr3
-rw-r--r--freebsd/dependencies/akode/pkg-plist50
4 files changed, 183 insertions, 0 deletions
diff --git a/freebsd/dependencies/akode/Makefile b/freebsd/dependencies/akode/Makefile
new file mode 100644
index 000000000..f142a8e2a
--- /dev/null
+++ b/freebsd/dependencies/akode/Makefile
@@ -0,0 +1,127 @@
+# -*-mode: makefile-*-
+# Created by: slavek.banko@axis.cz
+# $FreeBSD$
+#
+# TDE port map: dependencies/akode
+
+PORTSDIR?=/usr/ports
+.include <${PORTSDIR}/Mk/bsd.trinity.mk>
+
+PORTNAME= akode
+COMMENT= akode plugin for aRts
+TDE_PREVERSION=
+MASTER_SITE_SUBDIR= a/${PORTNAME}
+PORTREVISION= 0
+CATEGORIES= audio
+DISTSRC= ${PORTNAME}-trinity-${TDE_VERSION}${TDE_PREVERSION}
+DIST_SUBDIR= TDE/dependencies
+PREFIX= ${LOCALBASE}
+
+
+OPTIONS_DEFINE= ALSA_SINK \
+ JACK_SINK \
+ OSS_SINK \
+ PULSE_SINK \
+ \
+ FFMPEG_DECODER \
+ MPC_DECODER \
+ MPEG_DECODER \
+ XIPH_DECODER \
+ \
+ SRC_RESAMPLER \
+
+OPTIONS_DEFAULT=ALSA_SINK \
+ JACK_SINK \
+ OSS_SINK \
+ PULSE_SINK \
+ \
+ FFMPEG_DECODER \
+ MPC_DECODER \
+ MPEG_DECODER \
+ XIPH_DECODER \
+ \
+ SRC_RESAMPLER \
+
+ALSA_SINK_DESC= Alsa output plugin
+JACK_SINK_DESC= Jack output plugin
+OSS_SINK_DESC= OSS output plugin
+PULSE_SINK_DESC= PulseAudio output plugin
+FFMPEG_DECODER_DESC= FFMPEG decoder plugin (broken)
+MPC_DECODER_DESC= Monkey's Audio decoder plugin
+MPEG_DECODER_DESC= MPEG audio decoder plugin (including mp3)
+XIPH_DECODER_DESC= FLAC/Speex/Vorbis decoder plugin
+SRC_RESAMPLER_DESC= Resampler processing plugin
+
+OPTIONS_SUB= yes
+
+.include <bsd.port.pre.mk>
+
+BUILD_DEPENDS += \
+ ${LOCALBASE}/share/cmake/Modules/TDEMacros.cmake:devel/tde-cmake \
+
+
+.if ${PORT_OPTIONS:MALSA_SINK}
+LIB_DEPENDS+= libasound.so:audio/alsa-lib
+CONFIGURE_ARGS+= -DWITH_ALSA_SINK="ON"
+.endif
+
+.if ${PORT_OPTIONS:MJACK_SINK}
+LIB_DEPENDS+= libjack.so:audio/jack
+CONFIGURE_ARGS+= -DWITH_JACK_SINK="ON"
+.endif
+
+.if ${PORT_OPTIONS:MOSS_SINK}
+CONFIGURE_ARGS+= -DWITH_OSS_SINK="ON"
+.endif
+
+.if ${PORT_OPTIONS:MPULSE_SINK}
+LIB_DEPENDS+= libpulse-simple.so:audio/pulseaudio
+CONFIGURE_ARGS+= -DWITH_PULSE_SINK="ON"
+.endif
+
+.if ${PORT_OPTIONS:MFFMPEG_DECODER}
+LIB_DEPENDS+= libavformat.so:multimedia/ffmpeg \
+ libavcodec.so:multimedia/ffmpeg
+CONFIGURE_ARGS+= -DWITH_FFMPEG_DECODER="ON"
+.endif
+
+.if ${PORT_OPTIONS:MMPC_DECODER}
+CONFIGURE_ARGS+= -DWITH_MPC_DECODER="ON"
+.endif
+
+.if ${PORT_OPTIONS:MMPEG_DECODER}
+LIB_DEPENDS+= libmad.so:audio/libmad
+CONFIGURE_ARGS+= -DWITH_MPEG_DECODER="ON"
+.endif
+
+.if ${PORT_OPTIONS:MSRC_RESAMPLER}
+LIB_DEPENDS+= libsamplerate.so:audio/libsamplerate
+CONFIGURE_ARGS+= -DWITH_SRC_RESAMPLER="ON"
+.endif
+
+.if ${PORT_OPTIONS:MXIPH_DECODER}
+LIB_DEPENDS+= libFLAC.so:audio/flac \
+ libspeex.so:audio/speex \
+ libvorbis.so:audio/libvorbis \
+ libvorbisfile.so:audio/libvorbis
+CONFIGURE_ARGS+= -DWITH_XIPH_DECODER="ON"
+.endif
+
+
+# Build
+post-patch: tde-pathfix
+
+do-configure: tde-cmake-prepare
+ ${TDE_CMAKE_CONFIGURE} \
+ -DCMAKE_INSTALL_PREFIX="${PREFIX}" \
+ -DPKGCONFIG_INSTALL_DIR="${PREFIX}/libdata/pkgconfig" \
+ \
+ -DWITH_GCC_VISIBILITY="ON" \
+ -DWITH_LIBLTDL="OFF" \
+ ${CONFIGURE_ARGS}
+
+do-build: tde-cmake-build
+
+do-install: tde-cmake-install
+
+.include <bsd.port.mk>
diff --git a/freebsd/dependencies/akode/distinfo b/freebsd/dependencies/akode/distinfo
new file mode 100644
index 000000000..b4e726cb5
--- /dev/null
+++ b/freebsd/dependencies/akode/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1681676070
+SHA256 (TDE/dependencies/akode_14.1.0.orig.tar.xz) = 13a3161848d1ddfc44e8ef5b242d7fc7ee1d8ee11781473d969214f812d29662
+SIZE (TDE/dependencies/akode_14.1.0.orig.tar.xz) = 75000
diff --git a/freebsd/dependencies/akode/pkg-descr b/freebsd/dependencies/akode/pkg-descr
new file mode 100644
index 000000000..2349f45c6
--- /dev/null
+++ b/freebsd/dependencies/akode/pkg-descr
@@ -0,0 +1,3 @@
+aKode is a simple audio-decoding frame-work that provides a uniform interface
+to decode the most common audio-formats. It also has a direct playback option
+for a number of audio-outputs.
diff --git a/freebsd/dependencies/akode/pkg-plist b/freebsd/dependencies/akode/pkg-plist
new file mode 100644
index 000000000..202e2d94d
--- /dev/null
+++ b/freebsd/dependencies/akode/pkg-plist
@@ -0,0 +1,50 @@
+bin/akode-config
+bin/akodeplay
+include/akode/akode_export.h
+include/akode/akodelib.h
+include/akode/audiobuffer.h
+include/akode/audioconfiguration.h
+include/akode/audioframe.h
+include/akode/auto_sink.h
+include/akode/buffered_decoder.h
+include/akode/bytebuffer.h
+include/akode/converter.h
+include/akode/crossfader.h
+include/akode/decoder.h
+include/akode/encoder.h
+include/akode/fast_resampler.h
+include/akode/file.h
+include/akode/framedecoder.h
+include/akode/localfile.h
+include/akode/magic.h
+include/akode/mmapfile.h
+include/akode/player.h
+include/akode/pluginhandler.h
+include/akode/resampler.h
+include/akode/sink.h
+include/akode/void_sink.h
+include/akode/volumefilter.h
+include/akode/wav_decoder.h
+lib/libakode.la
+lib/libakode.so
+lib/libakode.so.2
+lib/libakode.so.2.0.0
+%%ALSA_SINK%%lib/libakode_alsa_sink.la
+%%ALSA_SINK%%lib/libakode_alsa_sink.so
+%%FFMPEG_DECODER%%lib/libakode_ffmpeg_decoder.la
+%%FFMPEG_DECODER%%lib/libakode_ffmpeg_decoder.so
+%%JACK_SINK%%lib/libakode_jack_sink.la
+%%JACK_SINK%%lib/libakode_jack_sink.so
+%%PULSE_SINK%%lib/libakode_pulse_sink.la
+%%PULSE_SINK%%lib/libakode_pulse_sink.so
+%%MPC_DECODER%%lib/libakode_mpc_decoder.la
+%%MPC_DECODER%%lib/libakode_mpc_decoder.so
+%%MPEG_DECODER%%lib/libakode_mpeg_decoder.la
+%%MPEG_DECODER%%lib/libakode_mpeg_decoder.so
+%%OSS_SINK%%lib/libakode_oss_sink.la
+%%OSS_SINK%%lib/libakode_oss_sink.so
+%%SRC_RESAMPLER%%lib/libakode_src_resampler.la
+%%SRC_RESAMPLER%%lib/libakode_src_resampler.so
+%%XIPH_DECODER%%lib/libakode_xiph_decoder.la
+%%XIPH_DECODER%%lib/libakode_xiph_decoder.so
+libdata/pkgconfig/akode.pc