Skip to content

Commit

Permalink
Updated build scripts and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sadko4u committed Jul 22, 2024
1 parent 8cbf18e commit eca0ca9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: pacman --noconfirm -Syu alsa-lib base-devel cairo carla git glibc-debug hicolor-icon-theme jack2 jq libglvnd libsndfile libx11 libxrandr lv2lint php valgrind gstreamer gst-plugins-base
- uses: actions/checkout@v3
- name: Configure project
run: make config STRICT=1 VERBOSE=1 FEATURES='clap doc jack gst ladspa lv2 vst2 vst3 xdg' PREFIX=/usr
run: make config STRICT=1 VERBOSE=1 FEATURES='clap doc jack gst ladspa lv2 ui vst2 vst3 xdg' PREFIX=/usr
- name: Fetch project dependencies
run: make fetch
- name: Build project
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
run: pacman --noconfirm -Syu alsa-lib base-devel cairo carla git glibc-debug hicolor-icon-theme jack2 jq libglvnd libsndfile libx11 libxrandr php valgrind gstreamer gst-plugins-base
- uses: actions/checkout@v3
- name: Configure project
run: make config STRICT=1 DEBUG=1 VERBOSE=1 ASAN=1 FEATURES='clap jack gst ladspa lv2 vst2 vst3' PREFIX=/usr
run: make config STRICT=1 DEBUG=1 VERBOSE=1 ASAN=1 FEATURES='clap jack gst ladspa ui lv2 vst2 vst3' PREFIX=/usr
- name: Fetch project dependencies
run: make fetch
- name: Build project
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
run: pacman --noconfirm -Syu alsa-lib base-devel cairo carla git glibc-debug hicolor-icon-theme jack2 jq libglvnd libsndfile libx11 libxrandr php valgrind gstreamer gst-plugins-base
- uses: actions/checkout@v3
- name: Configure project
run: make config STRICT=1 DEBUG=1 VERBOSE=1 FEATURES='clap jack gst ladspa lv2 vst2 vst3' PREFIX=/usr
run: make config STRICT=1 DEBUG=1 VERBOSE=1 FEATURES='clap jack gst ladspa lv2 ui vst2 vst3' PREFIX=/usr
- name: Fetch project dependencies
run: make fetch
- name: Build project
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
run: zypper --non-interactive --no-gpg-checks in tar gzip gcc gcc-c++ git make php valgrind libX11-devel libXrandr-devel Mesa-libGL-devel libjack-devel cairo-devel freetype2-devel libsndfile-devel gstreamer-devel gstreamer-plugins-base-devel
- uses: actions/checkout@v3
- name: Configure project
run: make config STRICT=1 VERBOSE=1 FEATURES='clap doc jack gst ladspa lv2 vst2 vst3 xdg' PREFIX=/usr
run: make config STRICT=1 VERBOSE=1 FEATURES='clap doc jack gst ladspa lv2 ui vst2 vst3 xdg' PREFIX=/usr
- name: Fetch project dependencies
run: make fetch
- name: Build project
Expand All @@ -167,7 +167,7 @@ jobs:
run: zypper --non-interactive --no-gpg-checks in tar gzip gcc gcc-c++ clang lld git make php8-cli valgrind libstdc++-devel libX11-devel libXrandr-devel Mesa-libGL-devel libjack-devel cairo-devel freetype2-devel libsndfile-devel gstreamer-devel gstreamer-plugins-base-devel
- uses: actions/checkout@v3
- name: Configure project
run: make config CC=clang CXX=clang++ STRICT=1 VERBOSE=1 FEATURES='clap doc jack gst ladspa lv2 vst2 vst3 xdg' PREFIX=/usr
run: make config CC=clang CXX=clang++ STRICT=1 VERBOSE=1 FEATURES='clap doc jack gst ladspa lv2 ui vst2 vst3 xdg' PREFIX=/usr
- name: Fetch project dependencies
run: make fetch
- name: Build project
Expand All @@ -186,7 +186,7 @@ jobs:
run: apt-get -y install gcc g++ git make php-cli pkg-config valgrind libx11-dev libxrandr-dev libjack-dev libcairo2-dev libgl-dev libfreetype6-dev libsndfile1-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
- uses: actions/checkout@v3
- name: Configure project
run: make config STRICT=1 VERBOSE=1 FEATURES='clap doc jack gst ladspa lv2 vst2 vst3 xdg' PREFIX=/usr
run: make config STRICT=1 VERBOSE=1 FEATURES='clap doc jack gst ladspa lv2 ui vst2 vst3 xdg' PREFIX=/usr
- name: Fetch project dependencies
run: make fetch
- name: Build project
Expand All @@ -213,7 +213,7 @@ jobs:
- uses: actions/checkout@v3
- name: Configure project
shell: msys2 {0}
run: make config STRICT=1 VERBOSE=1 FEATURES='clap ladspa lv2 vst2 vst3'
run: make config STRICT=1 VERBOSE=1 FEATURES='clap ladspa lv2 ui vst2 vst3'
- name: Fetch project dependencies
shell: msys2 {0}
run: make fetch
Expand Down
2 changes: 1 addition & 1 deletion dependencies.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ DEPENDENCIES = \
TEST_DEPENDENCIES = \
LSP_TEST_FW

DEFAULT_FEATURES = clap doc ladspa lv2 vst2 vst3 xdg
DEFAULT_FEATURES = clap doc ladspa lv2 ui vst2 vst3 xdg

#------------------------------------------------------------------------------
# Linux dependencies
Expand Down
6 changes: 5 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,12 @@ ARTIFACT_OBJ_DSP = $(ARTIFACT_BIN)/$($(ARTIFACT_ID)_NAME)-dsp.o
ARTIFACT_OBJ_SHARED = $(ARTIFACT_BIN)/$($(ARTIFACT_ID)_NAME)-shared.o
ARTIFACT_OBJ_UI = $(ARTIFACT_BIN)/$($(ARTIFACT_ID)_NAME)-ui.o
ARTIFACT_OBJ_TEST = $(ARTIFACT_BIN)/$($(ARTIFACT_ID)_NAME)-test.o
ARTIFACT_OBJ = $(ARTIFACT_OBJ_META) $(ARTIFACT_OBJ_DSP) $(ARTIFACT_OBJ_SHARED) $(ARTIFACT_OBJ_UI)
ARTIFACT_CFLAGS = $(foreach dep, $(DEPENDENCIES), $(if $($(dep)_CFLAGS), $($(dep)_CFLAGS)))
ARTIFACT_OBJ = \
$(ARTIFACT_OBJ_META) \
$(ARTIFACT_OBJ_DSP) \
$(ARTIFACT_OBJ_SHARED) \
$(call fcheck,ui,$(FEATURES),$(ARTIFACT_OBJ_UI))

CXX_SRC_STUB = $(ARTIFACT_BIN)/stub.cpp
CXX_SRC_MAIN_META = $(call rwildcard, main/meta, *.cpp)
Expand Down

0 comments on commit eca0ca9

Please sign in to comment.