diff options
author | Chris <xchrisx@uber.space> | 2020-04-30 16:26:06 +0200 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2020-05-02 12:42:28 +0000 |
commit | ffde2042a0595a8bd6e421c94ed74284eba05c82 (patch) | |
tree | 5f1791448e4b4d87673747324e5e34b7fc4e97bf /media-libs/akode/akode-9999.ebuild | |
parent | d877f9249e915ae9b13282628e8670a8cb684a96 (diff) | |
download | tde-packaging-gentoo-ffde2042a0595a8bd6e421c94ed74284eba05c82.tar.gz tde-packaging-gentoo-ffde2042a0595a8bd6e421c94ed74284eba05c82.zip |
Live ebuilds: Add `Akode` ebuild + Akode support for `Amarok`.
Signed-off-by: Chris <xchrisx@uber.space>
Diffstat (limited to 'media-libs/akode/akode-9999.ebuild')
-rw-r--r-- | media-libs/akode/akode-9999.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/akode/akode-9999.ebuild b/media-libs/akode/akode-9999.ebuild new file mode 100644 index 00000000..91df157f --- /dev/null +++ b/media-libs/akode/akode-9999.ebuild @@ -0,0 +1,48 @@ +# 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." +HOMEPAGE="http://www.trinitydesktop.org/" +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="0" + +IUSE="alsa pulseaudio oss jack +libsamplerate mpc mp3 sndfile vorbis flac speex" + +DEPEND="alsa? ( media-libs/alsa-lib ) + jack? ( virtual/jack ) + pulseaudio? ( media-sound/pulseaudio ) + libsamplerate? ( media-libs/libsamplerate ) + mp3? ( media-libs/libmad ) + speex? ( media-libs/speex ) + flac? ( media-libs/flac ) + mpc? ( dev-libs/mpc ) + vorbis? ( media-libs/libvorbis ) + sndfile? ( media-libs/libsndfile )" +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 +} |