Package Details: deadbeef-plugin-vu-meter-git r22.8bca8ad-1

Git Clone URL: https://aur.archlinux.org/deadbeef-plugin-vu-meter-git.git (read-only, click to copy)
Package Base: deadbeef-plugin-vu-meter-git
Description: VU Meter Plugin for the DeaDBeeF audio player
Upstream URL: https://github.com/jwty/ddb_vu_meter
Keywords: deadbeef plugin
Licenses: GPL-2.0-or-later
Submitter: maz-1
Maintainer: jwty
Last Packager: jwty
Votes: 3
Popularity: 0.000000
First Submitted: 2015-11-08 13:39 (UTC)
Last Updated: 2026-01-20 20:33 (UTC)

Latest Comments

1 2 Next › Last »

jwty commented on 2026-01-20 20:44 (UTC) (edited on 2026-01-21 17:41 (UTC) by jwty)

I forked the plugin and merged pull requests #2, #4, and #10 from original repository. I did it that way since I couldn't get them to work as patch files. This package thus now pulls source from new repository. I've also recreated the original Arch patch file and moved it to AUR repository in case it randomly disappears from GH.

The most significant update is stereo support and the new retro VU meter graphic from pull request #4. Also, the plugin now defaults to displaying bars like upstream instead of retro VU meter, right click the meter and select "Configure" to change it.

Edit to add: I've also merged pull request #6, adding horizontal bar orientation.

jwty commented on 2026-01-12 13:17 (UTC)

@dreieck Again, thank you for looking out. I haven't build this package in quite some time now and didn't notice that it doesn't build. I've added your changes to the PKGBUILD and set license to GPL 2.0 or later, according to Makefile header.

I'll take a closer look at pull requests later today when I have more free time.

dreieck commented on 2026-01-12 12:55 (UTC)

Suggestion: Check https://github.com/cboxdoerfer/ddb_vu_meter/pulls for patches worth to integrate (just add .patch to the individual pull request's URL to get a downloadable applyable patch file).

Regards!

dreieck commented on 2026-01-12 12:50 (UTC)

Please move the patching step:

patch -p1 vumeter.c < "$srcdir/arch_vu_meter_patch"

from the build() function into the prepare() function, as it is "common sense" with PKGBUILDs.

Regards and thanks for the package!

dreieck commented on 2026-01-12 12:49 (UTC) (edited on 2026-01-12 12:50 (UTC) by dreieck)

Fails to build with GCC 14 and GCC 15:

[...]
/usr/include/glib-2.0/glib/gmacros.h:931:17: error: ‘return’ with a value, in function returning void [-Wreturn-mismatch]
[...]
vumeter.c:1151:39: error: passing argument 2 of ‘deadbeef->vis_waveform_listen’ from incompatible pointer type [-Wincompatible-pointer-types]
[...]

See also ↗ this upstream issue.

Workaround: Add -Wno-error=return-mismatch -Wno-error=incompatible-pointer-types to CFLAGS.
↗ Patch to PKGBUILD:

--- PKGBUILD.orig   2026-01-12 13:40:47.119855674 +0100
+++ PKGBUILD    2026-01-12 13:47:42.139849508 +0100
@@ -27,6 +27,16 @@
 build() {
    cd $_gitname
+   
+   local _SILENCEWARNINGS _CFLAGSADDITIONS _warning
+   _SILENCEWARNINGS=(return-mismatch incompatible-pointer-types)
+   _CFLAGSADDITIONS=''
+   for _warning in "${_SILENCEWARNINGS[@]}"; do
+     _CFLAGSADDITIONS+=" -Wno-${_warning} -Wno-error=${_warning}"
+   done
+   CFLAGS+="${_CFLAGSADDITIONS}"
+   export CFLAGS
+   
    patch -p1 vumeter.c < "$srcdir/arch_vu_meter_patch"
-   make
+   make -j1
 }

Regards!

dreieck commented on 2026-01-12 12:43 (UTC)

The license identifier needs to be made SPDX compliant: license=('GPL2') must be changed to license=('GPL-2.0-or-later') or license=('GPL-2.0-only'), whichever is applicable.

Regards and thanks for maintaining!

dreieck commented on 2023-10-02 11:13 (UTC)

Weird that when I adopted this package $startdir version of this line worked still, and the plugin was building successfully. I wonder what changed since then.

I set $SRCDEST in /etc/makepkg.conf.

jwty commented on 2023-09-25 14:17 (UTC)

@dreieck Thank you for notifying me of this – I have included your fix in PKGBUILD.

Weird that when I adopted this package $startdir version of this line worked still, and the plugin was building successfully. I wonder what changed since then.

dreieck commented on 2023-09-22 19:51 (UTC)

Build fails for me with

/tmp/makepkg/yay/deadbeef-plugin-vu-meter-git/PKGBUILD: line 29: /tmp/makepkg/yay/deadbeef-plugin-vu-meter-git/arch_vu_meter_patch: No such file or directory

Investigating your PKGBUILD, it turns out that you use $startdir which you must not do (it fails when someone has set $SRCDEST).

A fix is:

Replace

patch -p1 vumeter.c < $startdir/arch_vu_meter_patch

by

patch -p1 vumeter.c < "$srcdir/arch_vu_meter_patch"

(also note the quotes. Also the other lines containing variables should be quoted, because it is not guaranteed that there are no spaces within $srcdir or $pkgdir.)

Thanks for maintaining!

kajlao commented on 2021-06-25 15:57 (UTC)

Thanks!