From 6f40d3063efda94c044bee9508ef97bd119b1acf Mon Sep 17 00:00:00 2001 From: YOSHIOKA Takuma Date: Wed, 19 Nov 2025 08:05:00 +0900 Subject: [PATCH] media-sound/loudgain: restore 0.6.8_p20240128-r2 0.6.8-r* (without unreleased changes and unmerged pull requests) lacks documentation updates and ID3v2.3 support (through TagLib 1.12), and 0.6.8_p20240128 still comes from the same upstream repository. So I believe the removal of 0.6.8_p20240128-r2 is an accident, and restores it for users who requires such unreleased upstream features or who don't want to install --- media-sound/loudgain/Manifest | 1 + .../loudgain-0.6.8_p20240128-r2.ebuild | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 media-sound/loudgain/loudgain-0.6.8_p20240128-r2.ebuild diff --git a/media-sound/loudgain/Manifest b/media-sound/loudgain/Manifest index 91a312e002..a7d7aed66d 100644 --- a/media-sound/loudgain/Manifest +++ b/media-sound/loudgain/Manifest @@ -1 +1,2 @@ DIST loudgain-0.6.8.tar.gz 27351854 BLAKE2B 2f4cc5bb6d00a8b5a94183ca04041610ad629a7f869f4a474672316be4c8bb1bd6b1793cd1862f4c3e5b0e977b97d26047ec84792d67b1b4368bd21535c957fe SHA512 e41bb6ee3dd85728b8b59b84a1371a88a439a30166db628fae70abe5c20cf9b6c450ee5b1aaa61c971de124cd9be9dbacac4b50f232f64c076d45aafc79ed94c +DIST loudgain-079f82c613ea1e3597ad5e2cad077829fd75d2c9.tar.gz 26959123 BLAKE2B 51bb771bc39ff94ddc57422c2069dd2c509af914db4272be8f722cd9ab24245375432afb5ac2b591de4899f7657350a9b736abecee9507ba6340ce189d377370 SHA512 bc0565450faf18569b6c865269c68331cf80fa33f274adedf89744321739c838e315320ec57bf2d6f71d23593ddbec368104df6f8f3932067fa50da5f4023715 diff --git a/media-sound/loudgain/loudgain-0.6.8_p20240128-r2.ebuild b/media-sound/loudgain/loudgain-0.6.8_p20240128-r2.ebuild new file mode 100644 index 0000000000..e656094820 --- /dev/null +++ b/media-sound/loudgain/loudgain-0.6.8_p20240128-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +MY_COMMIT="079f82c613ea1e3597ad5e2cad077829fd75d2c9" +MY_P="${PN}-${MY_COMMIT}" + +DESCRIPTION="Versatile ReplayGain 2.0 loudness normalizer" +HOMEPAGE="https://github.com/Moonbase59/loudgain" +SRC_URI="https://github.com/Moonbase59/${PN}/archive/${MY_COMMIT}.tar.gz -> ${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +#REQUIRED_USE="" + +COMMON_DEPEND=" + media-video/ffmpeg:= + media-libs/libebur128 + media-libs/taglib +" +RDEPEND="${COMMON_DEPEND}" +DEPEND="${COMMON_DEPEND}" + +PATCHES=( + "${FILESDIR}/loudgain-0.6.8-github-pr34-manpage.patch" + "${FILESDIR}/loudgain-0.6.8-github-pr50-ffmpeg6.patch" + "${FILESDIR}/loudgain-0.6.8-github-pr53-print-taglib-version.patch" + "${FILESDIR}/loudgain-0.6.8-github-pr65-ffmpeg6-gcc14.patch" + "${FILESDIR}/loudgain-0.6.8-github-pr66-ffmpeg7.patch" + "${FILESDIR}/loudgain-0.6.8-respect-build-flags.patch" +) + +src_install() { + cmake_src_install + dodoc README.md +}