Package Details: tinyalsa-git 2.0.0+54.r591.20230918.f78ed25-1

Git Clone URL: https://aur.archlinux.org/tinyalsa-git.git (read-only, click to copy)
Package Base: tinyalsa-git
Description: A small library to interface with ALSA in the Linux kernel.
Upstream URL: https://github.com/tinyalsa/tinyalsa
Licenses: custom
Conflicts: tinyalsa
Provides: tinyalsa
Submitter: E5ten
Maintainer: dreieck
Last Packager: dreieck
Votes: 0
Popularity: 0.000000
First Submitted: 2020-06-06 21:56 (UTC)
Last Updated: 2023-10-31 19:19 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2023-01-28 12:08 (UTC)

Adopted the package, fixed issues.

dreieck commented on 2022-10-15 17:28 (UTC) (edited on 2023-01-28 11:58 (UTC) by dreieck)

Here is a patch about what needs to be changed to the PKGBUILD:

--- PKGBUILD.orig   2022-10-15 19:27:10.479040079 +0200
+++ PKGBUILD    2022-10-15 19:26:45.249040868 +0200
@@ -18,3 +18,3 @@
 pkgver() {
-    git -C "${srcdir}/${_pkgname}" describe --tags | sed 's/-/.r/;s/-/./g'
+    git -C "${srcdir}/${_pkgname}" describe --tags | sed 's/-/.r/;s/-/./g' | sed 's|^[vV]||'
 }
@@ -22,2 +22,4 @@
 build() {
+    CFLAGS+=' -Wno-error=sign-compare'
+    export CFLAGS
     cmake -S "${srcdir}/${_pkgname}" -B "${srcdir}/build" \

dreieck commented on 2022-10-15 17:24 (UTC)

Fails to build with utils/tinywavinfo.c:188:31: error: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Werror=sign-compare]:

[ 95%] Building C object CMakeFiles/tinywavinfo.dir/utils/tinywavinfo.c.o
/[...]/utils/tinywavinfo.c: In function ‘analyse_sample’:
/[...]/utils/tinywavinfo.c:188:31: error: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Werror=sign-compare]
  188 |                 for (i = 0; i < num_read / bytes_per_sample; i += channels) {
      |                               ^
compilation terminated due to -Wfatal-errors.
cc1: all warnings being treated as errors

Adding to the build() function

    CFLAGS+=' -Wno-error=sign-compare -Wno-fatal-errors'
    export CFLAGS

does mitigate this issue for me.

Thanks for maintaining!

dreieck commented on 2022-09-26 12:55 (UTC)

According to the VCS packaging guidelines, you should strip away the leading v in the $pkgver.

Thanks for maintaining!