diff options
author | ormorph <roma251078@mail.ru> | 2021-11-03 19:03:22 +0300 |
---|---|---|
committer | TDE Gitea <gitea@mirror.git.trinitydesktop.org> | 2021-11-03 23:53:20 +0000 |
commit | cf54e9c6e8f096409c7b3d9343cedd40d47fae0f (patch) | |
tree | 98f7f6a7da47be106e0fca895a2b1cc9f6b81e10 /media-libs/akode | |
parent | 526a655d007e57fea221a7074d70b686848ac8f6 (diff) | |
download | tde-packaging-gentoo-cf54e9c6e8f096409c7b3d9343cedd40d47fae0f.tar.gz tde-packaging-gentoo-cf54e9c6e8f096409c7b3d9343cedd40d47fae0f.zip |
Added ffmpeg support for akode
Signed-off-by: ormorph <roma251078@mail.ru>
Diffstat (limited to 'media-libs/akode')
-rw-r--r-- | media-libs/akode/akode-9999.ebuild | 17 | ||||
-rw-r--r-- | media-libs/akode/metadata.xml | 11 |
2 files changed, 16 insertions, 12 deletions
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 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> - <use> - <flag name="mpc">Add support for multiprecision complex arithmetic through <pkg>dev-libs/mpc</pkg></flag> - </use> + <maintainer type="project"> + <email>team-gentoo@trinitydesktop.org</email> + <name>Trinity Gentoo ebuilds project</name> + </maintainer> + <use> + <flag name="mpc">Add support for multiprecision complex arithmetic through <pkg>dev-libs/mpc</pkg></flag> + </use> </pkgmetadata> |