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.1.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/akode/Manifest b/media-libs/akode/Manifest index 6b6c1837..62ea8eca 100644 --- a/media-libs/akode/Manifest +++ b/media-libs/akode/Manifest @@ -1 +1,2 @@ DIST akode-trinity-14.1.0.tar.xz 75000 BLAKE2B 992ac19f4b5093be2d52dae1c3a74fd31809faa70dfce3c027ba514aa70dcc14e33323e9a420b1500b2a9662cac34811c233117af26b313a143fd30c547419d0 SHA512 24b349e93e2d3a60611b0950087e7b4c0ddaee4f4a5fd37715808d37a62d7f1148f391033ad4f08d76bd35229ee5be131b7be7d20bfdab44b3ecc1b95d587e67 +DIST akode-trinity-14.1.1.tar.xz 74924 BLAKE2B d579e8e2f3f6c9781b60eed6eb34c2438502fc65a9197060db26ca50adde30598991d7dc1da3a0d1e88c9c00909f029182924dd23fc690f9ab7f9e48b441a95d SHA512 0d2fd58d79867a7ce0704c4558281c479b8087055920d305ada90dbb2791c20348a111e6cafa5359a18788149da5c36e9c0a5420439779479d170731c92c2dca diff --git a/media-libs/akode/akode-14.1.1.ebuild b/media-libs/akode/akode-14.1.1.ebuild new file mode 100644 index 00000000..a2143fe9 --- /dev/null +++ b/media-libs/akode/akode-14.1.1.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 +} |