@marcs Pull Request: https://github.com/donarturo11/openframeworks-aur
From d7d3ec8c679159a773ae9027879bd1b5b8d26754 Mon Sep 17 00:00:00 2001
From: Artur Wrona <arturwrona91@gmail.com>
Date: Sat, 25 Feb 2023 21:55:55 +0100
Subject: [PATCH] Add KerrickStaley's patch
---
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/PKGBUILD b/PKGBUILD
index adc677d..9be118a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,9 +16,11 @@ install=openframeworks.install
source=(
"of-make-workspace"
"https://openframeworks.cc/versions/v${pkgver}/of_v${pkgver}_linux64gcc6_release.tar.gz"
+ "https://gist.githubusercontent.com/kerrickstaley/7f8c65a27a1f4e79a942235b87c1f0c0/raw/28f7d0dd94237076f72b8eaf2e009831d7d61a5d/fix-libsndfile-error.patch"
)
sha256sums=('b4fc38288595df566f770018d871970fb13fb2ad4af7e9e5cddc60288f338806'
- '9907beae6c786751470f5a55f1273280f3c240b4a93ce0c4a32c4a62b401470c')
+ '9907beae6c786751470f5a55f1273280f3c240b4a93ce0c4a32c4a62b401470c'
+ 'SKIP')
_name="of_v${pkgver}_linux64gcc6_release"
@@ -50,6 +52,8 @@ prepare() {
JOBS="$OPTARG"
esac
done
+ cd ${srcdir}/${_name}
+ patch -p1 < ${srcdir}/fix-libsndfile-error.patch
}
build() {
--
2.39.2
Pinned Comments
marcs commented on 2020-01-02 12:43 (UTC) (edited on 2020-01-02 13:08 (UTC) by marcs)
I know @damir, for some reason it's a path problem with aur-helpers, it seems that if the helper saves the package in a hidden folder then the Makefile fails.
For example yay saves this package in
$HOME/.cache/yay/openframeworks
(which is awful IMO) and start building it. If you move the package folder to a non hidden folder (like your$HOME
folder for example) then the build works.It's a bug with OpenFrameworks, hopefully will be resolved.
For now clone this package and build it with
makepkg
.