summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2020-03-21 18:08:04 (GMT)
committerChristian Pointner <equinox@helsinki.at>2020-03-21 18:08:04 (GMT)
commitc0bf1913e9d32bd15776cc5b1867a57a0c01362d (patch)
treef50422364a44974d265ccab9be092c0d40a79abc
added makefile to download and extract files
-rw-r--r--.gitignore4
-rw-r--r--Makefile29
-rw-r--r--v20.03.6/sha256.sum3
3 files changed, 36 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d64716d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/studio-link-standalone
+/studio-link*.lv2
+v*/*.tar.gz
+v*/*.zip
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f4cda88
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,29 @@
+DOWNLOAD_BASEURL := "https://download.studio.link/releases"
+VERSION := 20.03.6
+
+all: studio-link-standalone studio-link.lv2 studio-link-onair.lv2
+
+studio-link-standalone: v$(VERSION)/studio-link-standalone-v$(VERSION).tar.gz
+ @echo "extracting files... from $<"
+ @tar -xzf $<
+ @mv studio-link-standalone-v$(VERSION) $@
+
+studio-link.lv2: v$(VERSION)/studio-link-plugin.zip
+ @echo "extracting files... from $<"
+ @unzip -u $<
+
+studio-link-onair.lv2: v$(VERSION)/studio-link-plugin-onair.zip
+ @echo "extracting files... from $<"
+ @unzip -u $<
+
+v$(VERSION)/%:
+ @echo "fetching file: $(DOWNLOAD_BASEURL)/v$(VERSION)-stable/linux/$(notdir $@)"
+ @curl -L -f -s -S "$(DOWNLOAD_BASEURL)/v$(VERSION)-stable/linux/$(notdir $@)" > "$@"
+ @cd v$(VERSION) && sha256sum -c --ignore-missing sha256.sum
+
+clean:
+ rm -f "v$(VERSION)/*.tar.gz"
+ rm -f "v$(VERSION)/*.zip"
+ rm -f studio-link-standalone
+ rm -rf studio-link.lv2
+ rm -rf studio-link-onair.lv2
diff --git a/v20.03.6/sha256.sum b/v20.03.6/sha256.sum
new file mode 100644
index 0000000..8cdffe5
--- /dev/null
+++ b/v20.03.6/sha256.sum
@@ -0,0 +1,3 @@
+c4cc224a64db29bc2e7b2a5c55ed5ac9ca1542da06b4c6dd54ea65dcb15e5c27 studio-link-plugin-onair.zip
+91e0de6e7f4f12d56f6a58c1ca210bf3d59a118663326b21c141eb953bba594c studio-link-plugin.zip
+73b3e3f914837433c20186cd8ae21056102b3b305cbbc785635fc4a326a6877d studio-link-standalone-v20.03.6.tar.gz