mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
audio/giada: Fix build on 16; Broken on 14
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
PORTNAME= giada
|
||||
DISTVERSION= 1.4.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
@@ -7,12 +8,15 @@ COMMENT= Hardcore loop machine
|
||||
WWW= https://www.giadamusic.com/ \
|
||||
https://github.com/monocasual/giada
|
||||
|
||||
BROKEN_FreeBSD_14= fails to find clang-scan-deps
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
|
||||
LIB_DEPENDS= libasound.so:audio/alsa-lib \
|
||||
libatk-1.0.so:accessibility/at-spi2-core \
|
||||
libcurl.so:ftp/curl \
|
||||
libdbus-1.so:devel/dbus \
|
||||
libfmt.so:devel/libfmt \
|
||||
libfontconfig.so:x11-fonts/fontconfig \
|
||||
@@ -25,6 +29,7 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \
|
||||
libsamplerate.so:audio/libsamplerate \
|
||||
libsndfile.so:audio/libsndfile \
|
||||
libwayland-client.so:graphics/wayland \
|
||||
libwebkit2gtk-4.0.so:www/webkit2-gtk@40 \
|
||||
libxkbcommon.so:x11/libxkbcommon
|
||||
|
||||
USES= cmake compiler:c++17-lang gettext-runtime gl gnome jpeg localbase pkgconfig xorg
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
-- add missing include stdio.h for printf
|
||||
|
||||
--- src/deps/mcl-audio-buffer/src/audioBuffer.hpp.orig 2026-05-21 16:24:10 UTC
|
||||
+++ src/deps/mcl-audio-buffer/src/audioBuffer.hpp
|
||||
@@ -34,6 +34,8 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
+#include <stdio.h>
|
||||
+
|
||||
namespace mcl
|
||||
{
|
||||
/* AudioBuffer
|
||||
@@ -482,4 +484,4 @@ class AudioBuffer (private)
|
||||
};
|
||||
} // namespace mcl
|
||||
|
||||
-#endif
|
||||
\ No newline at end of file
|
||||
+#endif
|
||||
Reference in New Issue
Block a user