Browse Source

Do not ship extra resources if using system-wide projectM

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.5
falkTX 3 years ago
parent
commit
b60317c731
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      Makefile

+ 7
- 0
Makefile View File

@@ -13,6 +13,11 @@ all: dgl plugins resources gen
PREFIX ?= /usr/local
DESTDIR ?=

# --------------------------------------------------------------
# Check for system-wide projectM

HAVE_PROJECTM = $(shell pkg-config --exists libprojectM && echo true)

# --------------------------------------------------------------

ifneq ($(CROSS_COMPILING),true)
@@ -65,6 +70,7 @@ endif # HAVE_OPENGL

ifeq ($(HAVE_OPENGL),true)
resources: gen
ifneq ($(HAVE_PROJECTM),true)
# LV2 fonts
install -d bin/ProM.lv2/resources/fonts
ln -sf $(CURDIR)/plugins/ProM/projectM/fonts/*.ttf bin/ProM.lv2/resources/fonts/
@@ -94,6 +100,7 @@ endif
# VST3 presets
install -d bin/ProM.vst3/Contents/Resources/presets
ln -sf $(CURDIR)/plugins/ProM/projectM/presets/presets_* bin/ProM.vst3/Contents/Resources/presets/
endif
else
resources:
endif


Loading…
Cancel
Save