Package Details: tinyalsa-git 2.0.0+68.r605.20241128.e43025b-2

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: 2026-06-28 11:25 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

seawright commented on 2026-07-01 14:42 (UTC) (edited on 2026-07-01 23:07 (UTC) by seawright)

@dreieck, I would be happy to take over maintainership but two questions.

  1. Do you have any contact with the tinyalsa project other than via github?

  2. As you are an AUR maintainer of various packages have you had any problems with upstream versus AUR patches either from the projects themselves or from AUR maintainers?

Regards!

dreieck commented on 2026-06-30 21:39 (UTC)

@seawright,

Ah, you mean another issue.

I am actually not using tinyalsa, do you want to take over maintainership?

Regards!

seawright commented on 2026-06-30 17:36 (UTC)

@dreieck, Please read my last comment again. I am referring to a segmentation fault with tinyplay if the soundfile does not exist.

I realise it is an upstream problem but I raised an issue over two years ago which has been ignored. I can email you with my suggested fix if you would be willing to consider it.

Regards!

dreieck commented on 2026-06-30 13:49 (UTC)

@seawright,

ahem, I have workearounded the PKGBUILD.

seawright commented on 2026-06-30 11:24 (UTC) (edited on 2026-06-30 11:26 (UTC) by seawright)

@dreieck, I doubt that your upstream issue report will be actioned. I raised an issue Tinyplay Segfault #252 in February 2024 which is yet to be acknowledged.

I realise that it should be dealt with upstream but due to projects lack of interest would you be willing to apply the patch for this issue in PKGBUILD?

Regards!

dreieck commented on 2026-06-28 11:25 (UTC)

@seawright, thanks for reporting.

Workedaround. And created ↗ upstream issue report.

Regards!

seawright commented on 2026-06-23 14:59 (UTC) (edited on 2026-06-27 18:48 (UTC) by seawright)

Package does not build using makepkg -sirc

==> Starting build()...
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

but does build after adding -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to cmake options in PKGBUILD

--- PKGBUILD.bak 2026-06-23 15:41:23.627290049 +0100
+++ PKGBUILD    2026-06-23 15:54:21.739940040 +0100
@@ -41,7 +41,8 @@
     -DCMAKE_INSTALL_PREFIX='/usr' \
     -DTINYALSA_BUILD_EXAMPLES=ON \
     -DTINYALSA_BUILD_UTILS=ON \
-    -DTINYALSA_USES_PLUGINS=ON
+    -DTINYALSA_USES_PLUGINS=ON \
+    -DCMAKE_POLICY_VERSION_MINIMUM=3.5
   cmake --build "${srcdir}/build"
 }

Suggest amending PKGBUILD as per above diff.

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!