summaryrefslogtreecommitdiffstats
path: root/media-libs/akode
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/akode')
-rw-r--r--media-libs/akode/Manifest1
-rw-r--r--media-libs/akode/akode-14.0.13.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/akode/Manifest b/media-libs/akode/Manifest
index ef021237..ef9d84e5 100644
--- a/media-libs/akode/Manifest
+++ b/media-libs/akode/Manifest
@@ -1 +1,2 @@
DIST akode-trinity-14.0.12.tar.xz 74704 BLAKE2B 66e2ab4614dc30c41e3b5207c1dd78a5a03e04c00eb904f3d4bca1ac3850e745362f38f141f840e956dcfd8824308107558aa95f7ccc3fa1770e2c5b403541f1 SHA512 acf5851f9a756504f8de385f730e0190301d7980a2ce8c60b99045ec96ed34f366e1f25a3ffb1bf30b6029036254c3931ca2ac0a6859c27f2c92fa802bd481c5
+DIST akode-trinity-14.0.13.tar.xz 75000 BLAKE2B f9c95a3cae33fb580607fde5d0e4fab403aa163595cba80b684a61fe59f60e0242db33a08feab33a4ec077e356face323bb19168fd7a8fde3c71f12df00c0fb1 SHA512 d6d6b109742eef19ec4f2bf2c9fa3e66fa64d167f670e2aadd81f6d17ac136bea29fa5e15242a5a2a1313564319a6ce75b3aab57c2085d91ffdb6c0bad589bdc
diff --git a/media-libs/akode/akode-14.0.13.ebuild b/media-libs/akode/akode-14.0.13.ebuild
new file mode 100644
index 00000000..238345c7
--- /dev/null
+++ b/media-libs/akode/akode-14.0.13.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 The Trinity Desktop Project
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+TRINITY_MODULE_TYPE="dependencies"
+TRINITY_MODULE_NAME="akode"
+inherit trinity-base-2
+
+DESCRIPTION="Simple framework to decode the most common audio formats"
+HOMEPAGE="https://trinitydesktop.org/"
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="0"
+if [[ ${PV} != *9999* ]] ; then
+ KEYWORDS="~amd64 ~arm64 ~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 )
+ vorbis? ( media-libs/libvorbis
+ media-libs/speex )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DWITH_FFMPEG_DECODER=$(usex ffmpeg)
+ -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_src_configure
+}