Skip to content

Commit

Permalink
Neuralrecord (#173)
Browse files Browse the repository at this point in the history
* Add NeuralRecord

* Update neuralrecord
  • Loading branch information
brummer10 authored Oct 13, 2023
1 parent e9eaebe commit 1b9eef8
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions plugins/package/neuralrecord/neuralrecord.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
######################################
#
# neuralrecord
#
######################################

NEURALRECORD_VERSION = 92d50ec48554256e25b0b5918d3699fabae14f56
NEURALRECORD_SITE = https://github.com/brummer10/neuralrecord.git
NEURALRECORD_SITE_METHOD = git
NEURALRECORD_BUNDLES = neuralrecord.lv2

NEURALRECORD_TARGET_MAKE = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)

# needed for git submodules
define NEURALRECORD_EXTRACT_CMDS
rm -rf $(@D)
git clone --recursive $(NEURALRECORD_SITE) $(@D)
(cd $(@D) && \
git reset --hard $(NEURALRECORD_VERSION) && \
git submodule update)
touch $(@D)/.stamp_downloaded
endef


define NEURALRECORD_BUILD_CMDS
$(NEURALRECORD_TARGET_MAKE) mod
endef

define NEURALRECORD_INSTALL_TARGET_CMDS
$(NEURALRECORD_TARGET_MAKE) install-mod DESTDIR=$(TARGET_DIR) INSTALL_DIR=/usr/lib/lv2
endef

$(eval $(generic-package))

0 comments on commit 1b9eef8

Please sign in to comment.