summaryrefslogtreecommitdiffstats
path: root/media-libs
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/akode/akode-9999.ebuild17
-rw-r--r--media-libs/akode/metadata.xml11
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>