summaryrefslogtreecommitdiffstats
path: root/media-libs
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/akode/akode-9999.ebuild23
-rw-r--r--media-libs/akode/metadata.xml3
2 files changed, 16 insertions, 10 deletions
diff --git a/media-libs/akode/akode-9999.ebuild b/media-libs/akode/akode-9999.ebuild
index e88bd2bb..0bd2f9bb 100644
--- a/media-libs/akode/akode-9999.ebuild
+++ b/media-libs/akode/akode-9999.ebuild
@@ -1,36 +1,39 @@
+# Copyright 1999-2020 Gentoo Authors
# 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."
+DESCRIPTION="Simple framework to decode the most common audio formats"
HOMEPAGE="https://trinitydesktop.org/"
+
LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
+IUSE="alsa flac jack +libsamplerate mp3 mpc oss pulseaudio sndfile speex vorbis"
-IUSE="alsa pulseaudio oss jack +libsamplerate mpc mp3 sndfile vorbis flac speex"
-
-DEPEND="alsa? ( media-libs/alsa-lib )
+DEPEND="
+ alsa? ( media-libs/alsa-lib )
+ flac? ( media-libs/flac )
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 )
+ pulseaudio? ( media-sound/pulseaudio )
+ sndfile? ( media-libs/libsndfile )
+ speex? ( media-libs/speex )
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=(
+ local mycmakeargs=(
-DWITH_FFMPEG_DECODER=OFF
-DWITH_SUN_SINK=OFF
-DWITH_LIBLTDL=OFF
diff --git a/media-libs/akode/metadata.xml b/media-libs/akode/metadata.xml
index 7a38bb90..c5685173 100644
--- a/media-libs/akode/metadata.xml
+++ b/media-libs/akode/metadata.xml
@@ -2,4 +2,7 @@
<!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>
</pkgmetadata>