summaryrefslogtreecommitdiff
path: root/audio/neuralrack-lv2
diff options
context:
space:
mode:
Diffstat (limited to 'audio/neuralrack-lv2')
-rw-r--r--audio/neuralrack-lv2/Makefile13
-rw-r--r--audio/neuralrack-lv2/distinfo14
-rw-r--r--audio/neuralrack-lv2/files/patch-NeuralRack_makefile21
-rw-r--r--audio/neuralrack-lv2/pkg-plist12
4 files changed, 29 insertions, 31 deletions
diff --git a/audio/neuralrack-lv2/Makefile b/audio/neuralrack-lv2/Makefile
index 0f0632de19fd..348e7cab6022 100644
--- a/audio/neuralrack-lv2/Makefile
+++ b/audio/neuralrack-lv2/Makefile
@@ -1,6 +1,7 @@
PORTNAME= neuralrack
DISTVERSIONPREFIX= v
-DISTVERSION= 0.1.6
+DISTVERSION= 0.2.0-2
+DISTVERSIONSUFFIX= -gaa4278e
CATEGORIES= audio
PKGNAMESUFFIX= -lv2
@@ -23,21 +24,21 @@ USE_XORG= x11
USE_GITHUB= yes
GH_ACCOUNT= brummer10
GH_TUPLE= \
- brummer10:libxputty:dae5da5:brummer10_libxputty/libxputty \
+ brummer10:libxputty:3f41e69:brummer10_libxputty/libxputty \
HiFi-LoFi:FFTConvolver:f2cdeb04c42141d2caec19ca4f137398b2a76b85:HiFi_LoFi_FFTConvolver/FFTConvolver \
- mikeoliphant:NeuralAudio:137cd6c:neural_audio/NeuralAudio \
+ mikeoliphant:NeuralAudio:02b6f79:neural_audio/NeuralAudio \
mikeoliphant:RTNeural:5909c44:RTNeural/NeuralAudio/deps/RTNeural \
xtensor-stack:xsimd:a00c81f7b9e808a42aedcf7da2fbb1f9a636da34:xtensor_stack_xsimd/NeuralAudio/deps/RTNeural/modules/xsimd \
mikeoliphant:NeuralAmpModelerCore:e181f61efb8d05d34add45b5eecb3893ff21177c:NeuralAmpModelerCore/NeuralAudio/deps/NeuralAmpModelerCore \
Chowdhury-DSP:math_approx:f6d55e7:math_approx/NeuralAudio/deps/math_approx
-WRKSRC= ${WRKDIR}/NeuralRack-${PORTVERSION}
+#WRKSRC= ${WRKDIR}/NeuralRack-${PORTVERSION}
+WRKSRC= ${WRKDIR}/NeuralRack-${DISTVERSION}${DISTVERSIONSUFFIX}
MAKEFILE= makefile
CXXFLAGS+= -I${WRKSRC}/NeuralAudio/deps/RTNeural/modules/Eigen
-post-install:
- @${REINPLACE_CMD} -i '' -e 's|Neuralrack|NeuralRack|' ${STAGEDIR}${PREFIX}/lib/lv2/NeuralRack.lv2/*.ttl
+BUILD_CONFLICTS= portaudio # because portaudio is built with the JACK option off, but neuralrack finds it and assumes that JACK is enabled there
.include <bsd.port.mk>
diff --git a/audio/neuralrack-lv2/distinfo b/audio/neuralrack-lv2/distinfo
index 9b6172d69ea5..3faf1906e0e5 100644
--- a/audio/neuralrack-lv2/distinfo
+++ b/audio/neuralrack-lv2/distinfo
@@ -1,12 +1,12 @@
-TIMESTAMP = 1745687858
-SHA256 (brummer10-neuralrack-v0.1.6_GH0.tar.gz) = 83f730d185744adc071c350d810658fef5618271ef733310512dc01b980a74cd
-SIZE (brummer10-neuralrack-v0.1.6_GH0.tar.gz) = 224236
-SHA256 (brummer10-libxputty-dae5da5_GH0.tar.gz) = 9c54a2d54d26bc6b6d253ab85d1ff76d9a45465bfd4ac5be267852ada3a9eec2
-SIZE (brummer10-libxputty-dae5da5_GH0.tar.gz) = 576732
+TIMESTAMP = 1753948048
+SHA256 (brummer10-neuralrack-v0.2.0-2-gaa4278e_GH0.tar.gz) = 6747070faea6863cfaa72f125fa824642a6a44041c8004bbf465b7be061a43a2
+SIZE (brummer10-neuralrack-v0.2.0-2-gaa4278e_GH0.tar.gz) = 285343
+SHA256 (brummer10-libxputty-3f41e69_GH0.tar.gz) = 69301283d788590096f4fbe6c5c3e261bbb21c545a8201211a0729c39ad1eb8c
+SIZE (brummer10-libxputty-3f41e69_GH0.tar.gz) = 576949
SHA256 (HiFi-LoFi-FFTConvolver-f2cdeb04c42141d2caec19ca4f137398b2a76b85_GH0.tar.gz) = 38c7c4d9d2973f80df152993eda871c8ffaf886f9d7185301a890f3f656142a2
SIZE (HiFi-LoFi-FFTConvolver-f2cdeb04c42141d2caec19ca4f137398b2a76b85_GH0.tar.gz) = 14537
-SHA256 (mikeoliphant-NeuralAudio-137cd6c_GH0.tar.gz) = 730ccfa5746c0dc7b76495869811e042e4e5e609c126bb8ee5b5d15fd227f52b
-SIZE (mikeoliphant-NeuralAudio-137cd6c_GH0.tar.gz) = 217203
+SHA256 (mikeoliphant-NeuralAudio-02b6f79_GH0.tar.gz) = c09f96b33f17dc3700ef717cefbe94eb4a66df312c07b3e9da4c2eb0e117bb44
+SIZE (mikeoliphant-NeuralAudio-02b6f79_GH0.tar.gz) = 265874
SHA256 (mikeoliphant-RTNeural-5909c44_GH0.tar.gz) = bef7afb429ddc400680f30033b20fa961c4b5bc3adc72aaac3989505da7f402b
SIZE (mikeoliphant-RTNeural-5909c44_GH0.tar.gz) = 2649579
SHA256 (xtensor-stack-xsimd-a00c81f7b9e808a42aedcf7da2fbb1f9a636da34_GH0.tar.gz) = f1c485107ae0b29069a88bf9619d2d93eaed8321ae03a83d7fc437da85d5b9fd
diff --git a/audio/neuralrack-lv2/files/patch-NeuralRack_makefile b/audio/neuralrack-lv2/files/patch-NeuralRack_makefile
index 664596431ca7..70a7a74ee045 100644
--- a/audio/neuralrack-lv2/files/patch-NeuralRack_makefile
+++ b/audio/neuralrack-lv2/files/patch-NeuralRack_makefile
@@ -1,11 +1,11 @@
---- NeuralRack/makefile.orig 2025-04-24 06:02:50 UTC
+--- NeuralRack/makefile.orig 2025-05-28 06:33:50 UTC
+++ NeuralRack/makefile
-@@ -2,14 +2,14 @@
+@@ -2,16 +2,16 @@
# check on which OS we build
UNAME_S := $(shell uname -s)
# check which architecture we build on
- UNAME_M := $(shell uname -m)
-+ UNAME_M := $(shell uname -m | sed 's/amd64/x86_64/')
++ UNAME_M := $(shell uname -m | sed 's/amd64/x86_64/)
# check which architecture we build for
TARGET_ARCH = UNKNOWN
# check if user is root
@@ -13,22 +13,17 @@
- ifeq ($(user),root)
- INSTALL_DIR = /usr/lib/lv2
- EXE_INSTALL_DIR = /usr/bin
+- CLAP_INSTAL_DIR = /usr/lib/clap
+- VST2_INSTAL_DIR = /usr/lib/vst
+ ifneq ($(DESTDIR),)
+ INSTALL_DIR = $(PREFIX)/lib/lv2
+ EXE_INSTALL_DIR = $(PREFIX)/bin
++ CLAP_INSTAL_DIR = $(PREFIX)/lib/clap
++ VST2_INSTAL_DIR = $(PREFIX)/lib/vst
else
INSTALL_DIR = ~/.lv2
EXE_INSTALL_DIR = ~/bin
-@@ -142,7 +142,7 @@ endif
-
- NAME = NeuralRack
- space := $(subst ,, )
-- EXEC_NAME := Neuralrack
-+ EXEC_NAME := NeuralRack
- BUNDLE = $(EXEC_NAME).lv2
- LIB_DIR := ../libxputty/libxputty/
- HEADER_DIR := $(LIB_DIR)include/
-@@ -421,13 +421,12 @@ ifneq ("$(wildcard ../bin/$(EXEC_NAME)$(EXE_EXT))","")
+@@ -484,13 +484,12 @@ ifneq ("$(wildcard ../bin/$(EXEC_NAME)$(EXE_EXT))","")
$(QUIET)mkdir -p $(DESTDIR)$(EXE_INSTALL_DIR)/
$(QUIET)cp -r ../bin/$(EXEC_NAME)$(EXE_EXT) $(DESTDIR)$(EXE_INSTALL_DIR)/$(EXEC_NAME)$(EXE_EXT)
diff --git a/audio/neuralrack-lv2/pkg-plist b/audio/neuralrack-lv2/pkg-plist
index 38d9c78977dc..a691ac6be3a2 100644
--- a/audio/neuralrack-lv2/pkg-plist
+++ b/audio/neuralrack-lv2/pkg-plist
@@ -1,7 +1,9 @@
-bin/NeuralRack
-lib/lv2/NeuralRack.lv2/NeuralRack.so
-lib/lv2/NeuralRack.lv2/NeuralRack.ttl
-lib/lv2/NeuralRack.lv2/NeuralRack_ui.so
-lib/lv2/NeuralRack.lv2/manifest.ttl
+bin/Neuralrack
+lib/clap/NeuralRack.clap
+lib/lv2/Neuralrack.lv2/NeuralRack.ttl
+lib/lv2/Neuralrack.lv2/Neuralrack.so
+lib/lv2/Neuralrack.lv2/Neuralrack_ui.so
+lib/lv2/Neuralrack.lv2/manifest.ttl
+lib/vst/NeuralRackvst.so
share/applications/NeuralRack.desktop
share/pixmaps/NeuralRack.svg