Package Details: calf-git 0.90.8.r1.gd4fb554-1

Git Clone URL: https://aur.archlinux.org/calf-git.git (read-only, click to copy)
Package Base: calf-git
Description: LV2/JACK audio plug-ins for musicians (git version)
Upstream URL: http://calf-studio-gear.org/
Licenses: GPL, LGPL
Conflicts: calf
Provides: calf
Submitter: hollunder
Maintainer: ilovemikael
Last Packager: ilovemikael
Votes: 35
Popularity: 0.197006
First Submitted: 2009-04-06 12:51 (UTC)
Last Updated: 2025-11-09 05:47 (UTC)

Required by (5)

Sources (1)

Latest Comments

1 2 3 4 5 Next › Last »

ilovemikael commented on 2025-11-09 06:03 (UTC)

hello, my apologies for the build failure; I forgot to switch the package() function to use cmake, as you saw. I fixed it, everything should work now, if it doesn't please let me know, thanks.

also, I just realized the -GNinja flag; I usually add it to my personal pkgbuilds using cmake as it's quicker than regular make, but I realize that not everyone may have it (though it seems you two do at least), even if it's a small minority that don't. it's probably dumb of me to even ask, but I was wondering if anyone has an opinion of whether I should remove it, or at least make it an optional makedep... very, very inconsequential and petty inquiry, but my own preferences for building packages may not align with the majority of aur users, so if that is the case I would love to be criticized ;p.

also, since I am incredibly anal, I made a git version of the gtk2-free calf. if interested, mosey on over here =).

binarynoise commented on 2025-11-08 00:24 (UTC)

@ilovemikael your version of the cmake command doesn't generate a Makefile. No wonder packaging fails...

package(){
  DESTDIR="$pkgdir/" cmake --build build -t install
}

should probably work, although it doesn't look quite right

lazerbeak12345 commented on 2025-11-07 23:46 (UTC) (edited on 2025-11-07 23:49 (UTC) by lazerbeak12345)

Still does not fully build the package (verified against cleanbuild). Message:

[90/90] Linking CXX executable src/calfjackhost
==> Entering fakeroot environment...
==> Starting package()...
make: *** No rule to make target 'install'.  Stop.
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: calf-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
calf-git - exit status 4

ilovemikael commented on 2025-11-07 05:35 (UTC)

fixed!

binarynoise commented on 2025-10-31 14:44 (UTC)

I'd like to propose the following patch to fix building:

From df01c7288751bbe3e5d5bca793b51e0f548a2829 Mon Sep 17 00:00:00 2001
From: binarynoise <binarynoise@mail.de>
Date: Fri, 31 Oct 2025 15:42:37 +0100
Subject: [PATCH] Switch build system from autotools to CMake

---
 PKGBUILD | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 8a48cfd..080a110 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@

 _pkgname=calf
 pkgname="${_pkgname}-git"
-pkgver=0.90.0.r2499.bc104350
-pkgrel=2
+pkgver=0.90.8.r1.gd4fb5545
+pkgrel=1
 pkgdesc="LV2/JACK audio plug-ins for musicians (git version)"
 arch=('i686' 'x86_64')
 url="http://calf-studio-gear.org/"
@@ -19,23 +19,24 @@ md5sums=('SKIP')

 pkgver() {
   cd "${srcdir}/${_pkgname}"
-  version=$(awk -F '[][]' '/AC_INIT/{print $4}' configure.ac)
-  revision=$(git rev-list --count HEAD)
-  hash=$(git rev-parse --short HEAD)
-  echo $version.r$revision.$hash
+  git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
 }

 build() {
   cd "${srcdir}/${_pkgname}"
-  ./autogen.sh \
-    --prefix="/usr" \
-    --enable-static=no \
-    --enable-sse \
-    --without-lash
+  mkdir -p build
+  cd build
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr  \
+    -DCMAKE_BUILD_TYPE=Release  \
+    -DBUILD_SHARED_LIBS=ON  \
+    -DWANT_SSE=ON  \
+    -DWANT_LASH=OFF \
+    ..
   make
 }

 package(){
-  cd "${srcdir}/${_pkgname}"
+  cd "${srcdir}/${_pkgname}/build"
   make DESTDIR="$pkgdir/" install
 }
-- 
2.51.2

ChrisLane commented on 2025-03-26 10:43 (UTC)

automake support is deprecated in favour of cmake as of 0.90.5. See GitHub actions and readme.

SpotlightKid commented on 2018-06-15 09:31 (UTC)

I removed lash support from this package.

dvzrv commented on 2018-06-15 06:16 (UTC)

I've removed lash from [community]: https://lists.archlinux.org/pipermail/arch-proaudio/2018-June/000148.html

SpotlightKid commented on 2016-08-16 04:18 (UTC)

Updated project URL.

SpotlightKid commented on 2016-08-14 18:29 (UTC)

This was now fixed upstream, so no new package version should be necessary.