diff options
author | E. Liddell <[email protected]> | 2020-06-27 17:16:51 -0400 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-11-29 14:22:25 +0100 |
commit | 8aced284ba6d730993791293cbd667c1f3bc6ce5 (patch) | |
tree | 6747c0ae97ca506087e6bcd19aa2ee1282a428ca /media-libs/akode/akode-14.0.8.ebuild | |
parent | 58de8263fcaa4acba0df369a017c4a29cacfd99f (diff) | |
download | tde-packaging-gentoo-8aced284ba6d730993791293cbd667c1f3bc6ce5.tar.gz tde-packaging-gentoo-8aced284ba6d730993791293cbd667c1f3bc6ce5.zip |
Ebuilds for media-libs/akode, krec, kscd, libkcddb, tdemultimedia-doc, with corresponding updates to tdemultimedia-meta. Warning: krec and kscd needed some hacky workarounds to build and install.
Signed-off-by: E. Liddell <[email protected]>
Diffstat (limited to 'media-libs/akode/akode-14.0.8.ebuild')
-rw-r--r-- | media-libs/akode/akode-14.0.8.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/media-libs/akode/akode-14.0.8.ebuild b/media-libs/akode/akode-14.0.8.ebuild new file mode 100644 index 00000000..c351b44d --- /dev/null +++ b/media-libs/akode/akode-14.0.8.ebuild @@ -0,0 +1,56 @@ +# Copyright 2020 The Trinity Desktop Project +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +TRINITY_MODULE_TYPE="dependencies" +TRINITY_MODULE_NAME="akode" + +inherit trinity-base-2 + +DESCRIPTION="A simple framework to decode the most common audio formats." +KEYWORDS="~amd64 ~x86" +HOMEPAGE="http://www.trinitydesktop.org/" +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="0" + +IUSE="alsa pulseaudio oss jack +libsamplerate mpc mp3 sndfile vorbis flac speex" + +#flac, vorbis, and speex support are all ganged together under +#WITH_XIPH_DECODER, which will only build if ALL deps are there. +REQUIRED_USE="flac? ( vorbis speex ) + vorbis? ( flac speex ) + speex? ( vorbis flac )" + +DEPEND="media-libs/speex + alsa? ( media-libs/alsa-lib ) + jack? ( virtual/jack ) + pulseaudio? ( media-sound/pulseaudio ) + libsamplerate? ( media-libs/libsamplerate ) + mp3? ( media-libs/libmad ) + flac? ( media-libs/flac ) + mpc? ( dev-libs/mpc ) + vorbis? ( media-libs/libvorbis ) + sndfile? ( media-libs/libsndfile ) + speex? ( media-libs/speex )" +RDEPEND="${DEPEND}" + +# The FFMPEG plugin needs some porting, +# to work with recent FFMPEG. So it is disabled for now. + +src_configure() { + mycmakeargs=( + -DWITH_FFMPEG_DECODER=OFF + -DWITH_SUN_SINK=OFF + -DWITH_LIBLTDL=OFF + -DWITH_ALSA_SINK=$(usex alsa) + -DWITH_OSS_SINK=$(usex oss) + -DWITH_PULSE_SINK=$(usex pulseaudio) + -DWITH_JACK_SINK=$(usex jack) + -DWITH_MPEG_DECODER=$(usex mp3) + -DWITH_XIPH_DECODER=$(usex vorbis) + -DWITH_MPC_DECODER=$(usex mpc) + -DWITH_SRC_RESAMPLER=$(usex libsamplerate) + ) + + cmake-utils_src_configure +} |