diff options
Diffstat (limited to 'media-libs/akode')
-rw-r--r-- | media-libs/akode/Manifest | 1 | ||||
-rw-r--r-- | media-libs/akode/akode-14.1.0.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/akode/Manifest b/media-libs/akode/Manifest index 98e8046a..a03b8a11 100644 --- a/media-libs/akode/Manifest +++ b/media-libs/akode/Manifest @@ -1 +1,2 @@ DIST akode-trinity-14.0.13.tar.xz 75000 BLAKE2B f9c95a3cae33fb580607fde5d0e4fab403aa163595cba80b684a61fe59f60e0242db33a08feab33a4ec077e356face323bb19168fd7a8fde3c71f12df00c0fb1 SHA512 d6d6b109742eef19ec4f2bf2c9fa3e66fa64d167f670e2aadd81f6d17ac136bea29fa5e15242a5a2a1313564319a6ce75b3aab57c2085d91ffdb6c0bad589bdc +DIST akode-trinity-14.1.0.tar.xz 75000 BLAKE2B 992ac19f4b5093be2d52dae1c3a74fd31809faa70dfce3c027ba514aa70dcc14e33323e9a420b1500b2a9662cac34811c233117af26b313a143fd30c547419d0 SHA512 24b349e93e2d3a60611b0950087e7b4c0ddaee4f4a5fd37715808d37a62d7f1148f391033ad4f08d76bd35229ee5be131b7be7d20bfdab44b3ecc1b95d587e67 diff --git a/media-libs/akode/akode-14.1.0.ebuild b/media-libs/akode/akode-14.1.0.ebuild new file mode 100644 index 00000000..a2143fe9 --- /dev/null +++ b/media-libs/akode/akode-14.1.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Copyright 2020-2023 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 +} |