Package Details: ffmpeg-normalize 1.34.0-1

Git Clone URL: https://aur.archlinux.org/ffmpeg-normalize.git (read-only, click to copy)
Package Base: ffmpeg-normalize
Description: Normalize loudness of audio and video files using FFmpeg
Upstream URL: https://github.com/slhck/ffmpeg-normalize
Keywords: audio ffmpeg normalization
Licenses: MIT
Submitter: nicoulaj
Maintainer: willemw
Last Packager: willemw
Votes: 9
Popularity: 0.83
First Submitted: 2019-04-13 20:49 (UTC)
Last Updated: 2025-10-21 12:42 (UTC)

Latest Comments

1 2 3 4 Next › Last »

willemw commented on 2025-10-12 06:31 (UTC)

@npreining: Thanks again.

npreining commented on 2025-10-11 22:00 (UTC)

@willemw it is still broken in 1.33.1-3 You are missing this

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,13 +22,13 @@ sha512sums=('ee83d9ab48cf2a2e4e16e1fb1b9442e9a4b247fb4535de75c03ca823422d24d1a08
 build() {
   cd $pkgname-$pkgver
   #python -m build --no-isolation --wheel
-  uv --no-cache --offline build --no-build-isolation --out-dir=dist --wheel .
+  uv --no-cache --offline --no-managed-python build --no-build-isolation --out-dir=dist --wheel .
 }

 check() {
   cd $pkgname-$pkgver
   uv venv --no-managed-python --system-site-packages
-  uv --no-cache --offline pip install --link-mode=copy --no-deps dist/*.whl
+  uv --no-cache --offline --no-managed-python pip install --link-mode=copy --no-deps dist/*.whl
   PATH=".venv/bin:$PATH" ./.venv/bin/python -m pytest tests
 }

Otherwise it still uses the uv in .local if there is one.

willemw commented on 2025-09-03 09:57 (UTC)

@npreining: Thanks. Will add it.

It would be nice if there are some official packaging guidelines around using "uv".

npreining commented on 2025-09-03 09:41 (UTC) (edited on 2025-09-03 09:43 (UTC) by npreining)

The package fails to build if uv has already some managed python packages installed.

You must call

uv venv --system-site-packages --no-managed-python

to ensure that the system provided python is used, otherwise the one in .local/share/uv/python/ is used.

Adding this --no-managed-python ensures that the system python is used for creating the venv, and then the tests run through.

brainmue commented on 2025-09-02 19:52 (UTC)

I can't confirm that at the moment. It worked for me with version 0.8.13-1. But I didn't have anything from ux installed beforehand. Neither the Python package nor the normal ux, and that was the whole problem for me. Now that it's there, it works with pamac and also with makepkg.

willemw commented on 2025-09-02 19:20 (UTC)

I can confirm. Does not build with the older "uv" 0.8.13-1. Does build with "uv" 0.8.14-1.

willemw commented on 2025-09-02 18:57 (UTC)

Also successfully built the package with pamac-cli. Although pamac-cli skipped running check(), which it should.

I think uv_build is built into "uv". Maybe with "uv" version 0.8.14 the package will build in Manjaro.

I have corrected the prepare() mentioned below, but I probably won't add it to the PKGBUILD file.

brainmue commented on 2025-09-02 16:46 (UTC)

@willemw

I tested a few things again and revisited my initial idea, because Python itself does not recognise uv_build on my system either.

$ python
Python 3.13.7 (main, Aug 15 2025, 12:34:02) [GCC 15.2.1 20250813] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import uv_build as backend
Traceback (most recent call last):
  File "<python-input-0>", line 1, in <module>
    import uv_build as backend
ModuleNotFoundError: No module named 'uv_build'

After that, I have now actually entered the dependency python-uv-build in your current PKGBUILD.

And after that, the build worked without any problems.

So I would suggest that, if you have no objections, you add the dependency.

brainmue commented on 2025-09-02 16:28 (UTC)

@willemw

Thanks for trying so quickly and for your help The prepare led to a new error, but that doesn't matter because I also deleted my build directory and still get the same error.

==> Beginne prepare()...
Warnung: Fehler beim Löschen von ./: Das Argument ist ungültig
Lösche ./.all-contributorsrc
Lösche ./.editorconfig
Lösche ./.git-blame-ignore-revs
Lösche ./.gitchangelog.rc
Lösche ./.gitchangelog.tpl
Lösche ./.github
Lösche ./.gitignore
Lösche ./.pre-commit-config.yaml
Lösche ./CHANGELOG.md
Lösche ./CLAUDE.md
Lösche ./DEVELOPERS.md
Lösche ./Dockerfile
Lösche ./LICENSE.md
Lösche ./README.md
Lösche ./completions
Lösche ./docs-api
Lösche ./docs
Lösche ./mkdocs.yml
Lösche ./pyproject.toml
Lösche ./pytest.ini
Lösche ./src
Lösche ./tests
Lösche ./uv.lock
==> FEHLER: Ein Fehler geschah in prepare().
    Breche ab...

Perhaps importantly, I am using Manjaro, but updated to Sunday's version. I am also installing the package with pamac.

willemw commented on 2025-09-02 05:37 (UTC) (edited on 2025-09-02 17:57 (UTC) by willemw)

@brainmue, @asm0dey:

I cannot reproduce the errors. Tried it in a clean chroot build environment and on a fresh install. ffmppeg-normalize migrated to "uv", a newer Python package manager.

If you can, as a test, add this to the PKGBUILD file and then build again:

EDIT

prepare() {
  rm -rf $pkgname-$pkgver/dist                  
}

Otherwise, try to update the system and delete the build cache files (~/.cache/yay/ffmpeg-normalize or /var/tmp/pamac-build-weiller/ffmpeg-normalize).