diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/akode/Manifest | 1 | ||||
-rw-r--r-- | media-libs/akode/akode-14.1.1.ebuild | 52 | ||||
-rw-r--r-- | media-libs/libart_lgpl/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libart_lgpl/libart_lgpl-14.1.1.ebuild | 35 |
4 files changed, 89 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 +} diff --git a/media-libs/libart_lgpl/Manifest b/media-libs/libart_lgpl/Manifest index ecd016f1..db434201 100644 --- a/media-libs/libart_lgpl/Manifest +++ b/media-libs/libart_lgpl/Manifest @@ -1 +1,2 @@ DIST libart-lgpl-trinity-14.1.0.tar.xz 94208 BLAKE2B e2f78c31fe18b6bf4ff8a5799ae2fa53cacbe54b08ab16c27d5d842e7b624827b3e864b5261696a847b6f2a9d3f124626373de71eb447bd76a8ddeef7611bad3 SHA512 2d9c304a753fcff06464ed7bcc4750a10746bc8296fe03d30d4d2d9bc5d2da2eab59b4689a9a6adb17510d1ee59c5d761ea7b0d82a83a6c4b816698495a0692c +DIST libart-lgpl-trinity-14.1.1.tar.xz 94176 BLAKE2B e71b18565048dc0d41ab9370a10e15bc50a17a87fcf6a12d6a4a78faaca80bad2e9e394c763287fa6b37b5a0692894b6e7e08c4276d608441d1ce183dabb7b7c SHA512 0780fa1fc62e2de0b62c5049dc9498752ac8ece748372dc279f43a47a3a9e5c874df112630513c29667bb6bc593d6d089117bbb09877f51d90caceeb97168a7b diff --git a/media-libs/libart_lgpl/libart_lgpl-14.1.1.ebuild b/media-libs/libart_lgpl/libart_lgpl-14.1.1.ebuild new file mode 100644 index 00000000..acef3d40 --- /dev/null +++ b/media-libs/libart_lgpl/libart_lgpl-14.1.1.ebuild @@ -0,0 +1,35 @@ +# 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="libart-lgpl" +inherit trinity-base-2 multilib-minimal + +DESCRIPTION="LGPL version of libart maintained by TDE" +HOMEPAGE="https://trinitydesktop.org/" + +LICENSE="LGPL-2.1" +SLOT="0" +if [[ ${PV} != *9999* ]] ; then + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +src_prepare() { + sed '/ART_SIZEOF_LONG/d' -i src/art_config.h.cmake || die + cmake_src_prepare +} + +multilib_src_configure() { + cmake_src_configure +} + +multilib_src_compile() { + cmake_src_compile +} + +multilib_src_install() { + cmake_src_install +} |