Package Details: loudgain v0.6.8-8

Git Clone URL: https://aur.archlinux.org/loudgain.git (read-only, click to copy)
Package Base: loudgain
Description: A loudness normalizer that scans music files and calculates loudness-normalized gain and loudness peak values according to the EBU R128 standard, and can optionally write ReplayGain-compatible metadata.
Upstream URL: https://github.com/Moonbase59/loudgain
Keywords: loudgain replaygain
Licenses: BSD 2-Clause "Simplified" License
Conflicts: taglib
Provides: loudgain, rgbpm
Submitter: blubbblubb
Maintainer: sasha
Last Packager: sasha
Votes: 8
Popularity: 0.000799
First Submitted: 2019-07-31 01:12 (UTC)
Last Updated: 2024-07-13 21:58 (UTC)

Latest Comments

1 2 3 4 Next › Last »

madjoe commented on 2024-07-14 00:24 (UTC)

@sasha my ffmpeg -version says 6.1.1 and my Manjaro is up to date. Building another ffmpeg on top of an existing one regardless its version seems just wrong.

sasha commented on 2024-07-14 00:06 (UTC)

@madjoe well i can't rly predict or account for what will happen with outdated packages.

madjoe commented on 2024-07-13 22:31 (UTC)

@sasha: This approach conflicts with my existing ffmpeg 2:6.1.1-7. I can't just remove it, due to multiple requirements from other apps.

sasha commented on 2024-07-13 22:01 (UTC)

I made it build with ffmpeg6.1 for now so at least it will build and you know.. work. Maybe someone will fix it for ffmpeg 7 someday idk.

blubbblubb commented on 2024-06-27 09:42 (UTC) (edited on 2024-06-27 09:43 (UTC) by blubbblubb)

seeing as the upstream packages hasn't been maintained for quite a few years and as i haven't used loudgain myself for a long time i've just disowned the package.

If anyone wants to take over, please do so. For anyone else looking for an alternative maybe check out rsgain: https://aur.archlinux.org/packages/rsgain

cucu9 commented on 2024-06-25 05:16 (UTC)

seems like it's breaking again after the recent big ffmpeg update.

blubbblubb commented on 2024-06-12 13:20 (UTC)

@gabor_zoka thanks, just added the patch

gabor_zoka commented on 2024-06-07 20:38 (UTC) (edited on 2024-06-07 20:43 (UTC) by gabor_zoka)

Hello @blubbblubb,

After a update on 2024-06-02 I needed the following patch to compile. Could you consider integrating it into PKGBUILD?

Cheers,

Gabor

    diff --git a/PKGBUILD b/PKGBUILD
    index f69774f..a1f01fb 100755
    --- a/PKGBUILD
    +++ b/PKGBUILD
    @@ -3,7 +3,7 @@
     pkgname=loudgain
     pkgver=v0.6.8
     _pkgver=0.6.8
    -pkgrel=6
    +pkgrel=7
     pkgdesc="A loudness normalizer that scans music files and calculates loudness-normalized gain and loudness peak values according to the EBU R128 standard, and can optionally write ReplayGain-compatible metadata."
     url="https://github.com/Moonbase59/loudgain"
     arch=('i686' 'x86_64')
    @@ -15,17 +15,20 @@ provides=('loudgain' 'rgbpm')
     source=("loudgain-${_pkgver}.tar.gz::https://github.com/Moonbase59/loudgain/archive/${pkgver}.tar.gz"
             "fix_ffmpeg5.patch"
             "fix_mp4-asf.patch"
    -        "taglib1.patch")
    +        "taglib1.patch"
    +        "loudgain-0.6.8.patch")
     sha256sums=('1137c193ad941b366e87c5d84ccc95a7aa8571affc060db0bd1cf72c489aeaee'
                 '73c1cc5d416e2b5b73a4deac1ef2b563d289976c296c24b39c1e8d740333d2ff'
                 '5c23a8cbee1e919f7dfe36c16652d8dfdd7e44dae0aa5dfd453fad4ba8c2a0b9'
    -            'cfd687554d132f2de6be159a91c91fa31e2e1d3cb5c34987416055871f061f79')
    +            'cfd687554d132f2de6be159a91c91fa31e2e1d3cb5c34987416055871f061f79'
    +            'bf026ad4dcff0c0b9d13d4ddf0782d08e188bc5848d3b2da2d827c380541ee21')

     prepare() {
       cd "${srcdir}/${pkgname}-${_pkgver}"
       patch --forward --strip=1 --input="${srcdir}/fix_ffmpeg5.patch"
       patch --forward --strip=1 --input="${srcdir}/fix_mp4-asf.patch"
       patch --forward --strip=1 --input="${srcdir}/taglib1.patch"
    +  patch --forward --strip=1 --input="${srcdir}/loudgain-0.6.8.patch"
     }

     build() {
    diff --git a/loudgain-0.6.8.patch b/loudgain-0.6.8.patch
    new file mode 100644
    index 0000000..ed53ffc
    --- /dev/null
    +++ b/loudgain-0.6.8.patch
    @@ -0,0 +1,12 @@
    +diff -Naur loudgain-0.6.8/src/scan.c loudgain-0.6.8-fixed/src/scan.c
    +--- loudgain-0.6.8/src/scan.c  2019-09-06 16:31:19.000000000 +0100
    ++++ loudgain-0.6.8-fixed/src/scan.c    2024-06-07 20:16:49.679016992 +0100
    +@@ -115,7 +115,7 @@
    + 
    +   AVFormatContext *container = NULL;
    + 
    +-  AVCodec *codec;
    ++  const AVCodec *codec;
    +   AVCodecContext *ctx;
    + 
    +   AVFrame *frame;

blubbblubb commented on 2024-03-08 07:50 (UTC)

@morganmay I'm still not sure why it fails on your system. I just tried it on another clean install and it works fine for me and seems to work for everyone else.

Did you try installing it in a fresh environment, maybe a fresh installation inside a vm?