Package Details: todds 0.4.1-5

Git Clone URL: https://aur.archlinux.org/todds.git (read-only, click to copy)
Package Base: todds
Description: A CPU-based DDS encoder optimized for fast batch conversions with high encoding quality.
Upstream URL: https://github.com/todds-encoder/todds
Licenses: MPL2
Submitter: mszabo
Maintainer: o0d4
Last Packager: o0d4
Votes: 1
Popularity: 0.35
First Submitted: 2023-10-29 23:27 (UTC)
Last Updated: 2026-01-20 11:26 (UTC)

Latest Comments

DarkShadow44 commented on 2025-12-31 02:09 (UTC)

My bad, it works with your patch after I delete the directory - I had old cmake caches from the original PKGBUILD and then it fails.

o0d4 commented on 2025-12-30 23:10 (UTC)

Hmm weird,, maybe you have set CC or CCX to something? cmake should've found your gcc and g++ and path.

I was basing the patch on the default cmake pkgbuild template which does not set compiler paths explicitly

DarkShadow44 commented on 2025-12-30 15:02 (UTC)

@o0d4 That fix doesn't work for me either, I had to explicitly set them to gcc and g++.

o0d4 commented on 2025-12-29 23:39 (UTC)

Package does not build for me with -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX options, removing them made the build go through, also there's no gcc make depend

Apply this patch to fix builds

diff --git a/PKGBUILD b/PKGBUILD
index fbce065..00ce6a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,7 +15,7 @@ sha512sums=('483ae1b8b1c5bf62b53ffb933fb15048d328a55b7ac6b1562d809c6fb48629837b6
 build() {
    cd "$pkgname-$pkgver"

-   cmake -B build -DCMAKE_MAKE_PROGRAM=make -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX -DTODDS_UNIT_TESTS=1 -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr
+   cmake -B build -DCMAKE_MAKE_PROGRAM=make -DTODDS_UNIT_TESTS=1 -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr
    cmake --build build
 }