Skip to content

Commit 415f7a7

Browse files
committed
Fix building a few plugins
Signed-off-by: falkTX <[email protected]>
1 parent 15a5250 commit 415f7a7

File tree

4 files changed

+22
-6
lines changed

4 files changed

+22
-6
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/screcord/Makefile b/screcord/Makefile
2+
index 584d094..95383dc 100644
3+
--- a/screcord/Makefile
4+
+++ b/screcord/Makefile
5+
@@ -62,7 +62,7 @@
6+
7+
# set compile flags
8+
CFLAGS += -I. -I./dsp -fPIC -DPIC -O2 -Wall -funroll-loops `pkg-config --cflags sndfile`\
9+
- -ffast-math -fomit-frame-pointer -fstrength-reduce -fdata-sections -Wl,--gc-sections $(SSE_CFLAGS)
10+
+ -ffast-math -fomit-frame-pointer -fstrength-reduce -fdata-sections -Wl,--gc-sections -pthread $(SSE_CFLAGS)
11+
CXXFLAGS += -std=c++11 $(CFLAGS)
12+
LDFLAGS += -I. -lm -shared -Llibrary -lm -fPIC -DPIC `pkg-config --libs sndfile`
13+
ifneq ($(MACOS)$(WINDOWS),true)

plugins/package/shiro-plugins/shiro-plugins.mk

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@ SHIRO_PLUGINS_CXXFLAGS = -std=gnu++11
1313
SHIRO_PLUGINS_TARGET_MAKE = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) NOOPT=true -C $(@D)
1414

1515
# needed for submodules support
16-
SHIRO_PLUGINS_PRE_DOWNLOAD_HOOKS += MOD_PLUGIN_BUILDER_DOWNLOAD_WITH_SUBMODULES
16+
# SHIRO_PLUGINS_PRE_DOWNLOAD_HOOKS += MOD_PLUGIN_BUILDER_DOWNLOAD_WITH_SUBMODULES
1717

1818
define SHIRO_PLUGINS_BUILD_CMDS
1919
(cd $(@D) && \
20-
[ ! -e dpf/Makefile ] && \
21-
git clone https://github.com/DISTRHO/DPF.git dpf --depth=1)
20+
rm -rf dpf && \
21+
git clone https://github.com/DISTRHO/DPF.git dpf && \
22+
git -C dpf checkout f8cd00fc49ab0e91a136d109e5478946ae936956)
2223

2324
$(SHIRO_PLUGINS_TARGET_MAKE)
2425
endef

plugins/package/zam-plugins/zam-plugins.mk

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ ZAM_PLUGINS_CXXFLAGS = -std=gnu++11
1313
ZAM_PLUGINS_TARGET_MAKE = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) NOOPT=true -C $(@D)
1414

1515
# needed for submodules support
16-
ZAM_PLUGINS_PRE_DOWNLOAD_HOOKS += MOD_PLUGIN_BUILDER_DOWNLOAD_WITH_SUBMODULES
16+
# ZAM_PLUGINS_PRE_DOWNLOAD_HOOKS += MOD_PLUGIN_BUILDER_DOWNLOAD_WITH_SUBMODULES
1717

1818
define ZAM_PLUGINS_BUILD_CMDS
1919
(cd $(@D) && \
20-
[ ! -e dpf/Makefile ] && \
21-
git clone https://github.com/DISTRHO/DPF.git dpf --depth=1)
20+
rm -rf dpf && \
21+
git clone https://github.com/DISTRHO/DPF.git dpf && \
22+
git -C dpf checkout f8cd00fc49ab0e91a136d109e5478946ae936956 && \
23+
patch -p1 -i $($(PKG)_PKGDIR)/02_fix-win32-ttl-gen.patchx)
2224

2325
$(ZAM_PLUGINS_TARGET_MAKE)
2426
endef

0 commit comments

Comments
 (0)