Skip to content

Commit

Permalink
More mac/win fixes
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Oct 30, 2023
1 parent b778422 commit 5c41556
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 2 deletions.
12 changes: 12 additions & 0 deletions plugins/package/aidadsp-lv2/01_fix-win-mac-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/rt-neural-generic/CMakeLists.txt b/rt-neural-generic/CMakeLists.txt
index 129a907..f1126cd 100644
--- a/rt-neural-generic/CMakeLists.txt
+++ b/rt-neural-generic/CMakeLists.txt
@@ -51,7 +51,6 @@ set(LV2_INSTALL_DIR ${DESTDIR}${PREFIX}/rt-neural-generic.lv2)

# config install
install(TARGETS rt-neural-generic
- LIBRARY
DESTINATION ${LV2_INSTALL_DIR}
)

2 changes: 1 addition & 1 deletion plugins/package/aidadsp-lv2/aidadsp-lv2.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
######################################

AIDADSP_LV2_VERSION = 4bbc7f694848a1f65cddade5bcb1cda7db423eb9
AIDADSP_LV2_VERSION = 1054015a8585550eec17abf3d7e7df17e133a925
AIDADSP_LV2_SITE = https://github.com/AidaDSP/aidadsp-lv2.git
AIDADSP_LV2_SITE_METHOD = git
AIDADSP_LV2_BUNDLES = rt-neural-generic.lv2
Expand Down
52 changes: 52 additions & 0 deletions plugins/package/mod-utilities/01_fix-win-mac-install.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
diff --git a/SwitchBox_1-2/Makefile b/SwitchBox_1-2/Makefile
index 97b5ca0..6274c69 100644
--- a/SwitchBox_1-2/Makefile
+++ b/SwitchBox_1-2/Makefile
@@ -39,7 +39,7 @@ clean:
install: build
install -d $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2

- install -m 644 $(NAME).lv2/*.so $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2/
+ install -m 644 $(NAME).lv2/*$(LIB_EXT) $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2/
install -m 644 $(NAME).lv2/*.ttl $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2/

# --------------------------------------------------------------
diff --git a/SwitchBox_1-2_st/Makefile b/SwitchBox_1-2_st/Makefile
index 4ca3c29..36b35fb 100644
--- a/SwitchBox_1-2_st/Makefile
+++ b/SwitchBox_1-2_st/Makefile
@@ -39,7 +39,7 @@ clean:
install: build
install -d $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2

- install -m 644 $(NAME).lv2/*.so $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2/
+ install -m 644 $(NAME).lv2/*$(LIB_EXT) $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2/
install -m 644 $(NAME).lv2/*.ttl $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2/

# --------------------------------------------------------------
diff --git a/SwitchBox_2-1/Makefile b/SwitchBox_2-1/Makefile
index 655aeaa..47a0189 100644
--- a/SwitchBox_2-1/Makefile
+++ b/SwitchBox_2-1/Makefile
@@ -39,7 +39,7 @@ clean:
install: build
install -d $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2

- install -m 644 $(NAME).lv2/*.so $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2/
+ install -m 644 $(NAME).lv2/*$(LIB_EXT) $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2/
install -m 644 $(NAME).lv2/*.ttl $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2/

# --------------------------------------------------------------
diff --git a/SwitchBox_2-1_st/Makefile b/SwitchBox_2-1_st/Makefile
index a991ec2..f7c7ccf 100644
--- a/SwitchBox_2-1_st/Makefile
+++ b/SwitchBox_2-1_st/Makefile
@@ -39,7 +39,7 @@ clean:
install: build
install -d $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2

- install -m 644 $(NAME).lv2/*.so $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2/
+ install -m 644 $(NAME).lv2/*$(LIB_EXT) $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2/
install -m 644 $(NAME).lv2/*.ttl $(DESTDIR)$(PREFIX)/lib/lv2/$(NAME).lv2/

# --------------------------------------------------------------
2 changes: 1 addition & 1 deletion plugins/package/neuralrecord/neuralrecord.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
######################################

NEURALRECORD_VERSION = 92d50ec48554256e25b0b5918d3699fabae14f56
NEURALRECORD_VERSION = 62ae7c6b4d677d085289edd6061c862415abdb74
NEURALRECORD_SITE = https://github.com/brummer10/neuralrecord.git
NEURALRECORD_SITE_METHOD = git
NEURALRECORD_DEPENDENCIES = libsndfile
Expand Down

0 comments on commit 5c41556

Please sign in to comment.