From 3e6b95222ab4ee71b69a570f49e1e887b166a83e Mon Sep 17 00:00:00 2001
From: ormorph <roma251078@mail.ru>
Date: Sat, 22 Apr 2023 11:30:51 +0300
Subject: Adding version 14.1.0

Signed-off-by: ormorph <roma251078@mail.ru>
---
 media-libs/akode/Manifest                        |  1 +
 media-libs/akode/akode-14.1.0.ebuild             | 52 ++++++++++++++++++++++++
 media-libs/libart_lgpl/Manifest                  |  1 +
 media-libs/libart_lgpl/libart_lgpl-14.1.0.ebuild | 35 ++++++++++++++++
 4 files changed, 89 insertions(+)
 create mode 100644 media-libs/akode/akode-14.1.0.ebuild
 create mode 100644 media-libs/libart_lgpl/libart_lgpl-14.1.0.ebuild

(limited to 'media-libs')

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
+}
diff --git a/media-libs/libart_lgpl/Manifest b/media-libs/libart_lgpl/Manifest
index 59b7903e..893c41cc 100644
--- a/media-libs/libart_lgpl/Manifest
+++ b/media-libs/libart_lgpl/Manifest
@@ -1 +1,2 @@
 DIST libart-lgpl-trinity-14.0.13.tar.xz 94180 BLAKE2B 9a37637086e66e0947982c993e4936bcf9ad919e073591298d523e4cc46854fe90fc9a6e3d797ae36e892f384229d8c84c4001a2f5cdbff2dda1ae964f3d1f04 SHA512 9dd3b76d74a685545b99a15de335d46dde99cd4aa6c7a34dfbc08f68b0dc636f5000fe3d47c479e27f130615d45effd6a085131d35db76bdcb883aaa419f4767
+DIST libart-lgpl-trinity-14.1.0.tar.xz 94208 BLAKE2B e2f78c31fe18b6bf4ff8a5799ae2fa53cacbe54b08ab16c27d5d842e7b624827b3e864b5261696a847b6f2a9d3f124626373de71eb447bd76a8ddeef7611bad3 SHA512 2d9c304a753fcff06464ed7bcc4750a10746bc8296fe03d30d4d2d9bc5d2da2eab59b4689a9a6adb17510d1ee59c5d761ea7b0d82a83a6c4b816698495a0692c
diff --git a/media-libs/libart_lgpl/libart_lgpl-14.1.0.ebuild b/media-libs/libart_lgpl/libart_lgpl-14.1.0.ebuild
new file mode 100644
index 00000000..acef3d40
--- /dev/null
+++ b/media-libs/libart_lgpl/libart_lgpl-14.1.0.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
+}
-- 
cgit v1.2.1