From cf54e9c6e8f096409c7b3d9343cedd40d47fae0f Mon Sep 17 00:00:00 2001 From: ormorph Date: Wed, 3 Nov 2021 19:03:22 +0300 Subject: Added ffmpeg support for akode Signed-off-by: ormorph --- media-libs/akode/akode-9999.ebuild | 17 +++++++++-------- media-libs/akode/metadata.xml | 11 +++++++---- 2 files changed, 16 insertions(+), 12 deletions(-) (limited to 'media-libs/akode') diff --git a/media-libs/akode/akode-9999.ebuild b/media-libs/akode/akode-9999.ebuild index 0bd2f9bb..1bdc3452 100644 --- a/media-libs/akode/akode-9999.ebuild +++ b/media-libs/akode/akode-9999.ebuild @@ -1,5 +1,5 @@ # Copyright 1999-2020 Gentoo Authors -# Copyright 2020 The Trinity Desktop Project +# Copyright 2020-2021 The Trinity Desktop Project # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -13,28 +13,29 @@ HOMEPAGE="https://trinitydesktop.org/" LICENSE="|| ( GPL-2 GPL-3 )" SLOT="0" -IUSE="alsa flac jack +libsamplerate mp3 mpc oss pulseaudio sndfile speex vorbis" +if [[ ${PV} != *9999* ]] ; then + KEYWORDS="~amd64 ~x86" +fi +IUSE="alsa flac ffmpeg jack +libsamplerate mp3 mpc oss pulseaudio sndfile vorbis" DEPEND=" alsa? ( media-libs/alsa-lib ) flac? ( media-libs/flac ) + ffmpeg? ( media-video/ffmpeg ) jack? ( virtual/jack ) libsamplerate? ( media-libs/libsamplerate ) mp3? ( media-libs/libmad ) mpc? ( dev-libs/mpc ) pulseaudio? ( media-sound/pulseaudio ) sndfile? ( media-libs/libsndfile ) - speex? ( media-libs/speex ) - vorbis? ( media-libs/libvorbis ) + vorbis? ( media-libs/libvorbis + media-libs/speex ) " RDEPEND="${DEPEND}" -# The FFMPEG plugin needs some porting, -# to work with recent FFMPEG. So it is disabled for now. - src_configure() { local mycmakeargs=( - -DWITH_FFMPEG_DECODER=OFF + -DWITH_FFMPEG_DECODER=$(usex ffmpeg) -DWITH_SUN_SINK=OFF -DWITH_LIBLTDL=OFF -DWITH_ALSA_SINK=$(usex alsa) diff --git a/media-libs/akode/metadata.xml b/media-libs/akode/metadata.xml index c5685173..53375ad3 100644 --- a/media-libs/akode/metadata.xml +++ b/media-libs/akode/metadata.xml @@ -1,8 +1,11 @@ - - - Add support for multiprecision complex arithmetic through dev-libs/mpc - + + team-gentoo@trinitydesktop.org + Trinity Gentoo ebuilds project + + + Add support for multiprecision complex arithmetic through dev-libs/mpc + -- cgit v1.2.1