-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
992fb8c
commit 005ca42
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
################################################### | ||
# | ||
# EP-MK1 (https://github.com/MikeMorenoDSP/EP-MK1) | ||
# based on camomile (cf. camomile-examples-labs) | ||
# | ||
################################################### | ||
|
||
EP_MK1_LABS_VERSION = 5ec5a1c5a281f18e73a52e4c05cad0acf7b36e76 | ||
EP_MK1_LABS_SITE = $(call github,MikeMorenoDSP,EP-MK1,$(EP_MK1_LABS_VERSION)) | ||
EP_MK1_LABS_DEPENDENCIES = camomile | ||
EP_MK1_LABS_BUNDLES = EP-MK1.lv2 | ||
|
||
define EP_MK1_LABS_BUILD_CMDS | ||
# Copy Camomile so file | ||
install -m 644 $(CAMOMILE_SO_FILE) $(@D)/EP-MK1-Plugins/EP-MK1-Linux64/EP-MK1/EP-MK1.so | ||
|
||
# Generate TTL | ||
(cd $(@D)/EP-MK1-Plugins/EP-MK1-Linux64/EP-MK1 && $(CAMOMILE_SO_GEN) ./EP-MK1.so) | ||
endef | ||
|
||
define EP_MK1_LABS_INSTALL_TARGET_CMDS | ||
install -d $(TARGET_DIR)/usr/lib/lv2 | ||
|
||
rm -rf $(TARGET_DIR)/usr/lib/lv2/EP-MK1.lv2 | ||
cp -r $(@D)/EP-MK1-Plugins/EP-MK1-Linux64/EP-MK1 $(TARGET_DIR)/usr/lib/lv2/EP-MK1.lv2 | ||
endef | ||
|
||
$(eval $(generic-package)) |