-
Notifications
You must be signed in to change notification settings - Fork 0
/
sfizz-to-aqua.patch
79 lines (75 loc) · 2.94 KB
/
sfizz-to-aqua.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
diff --git a/cmake/LV2Config.cmake b/cmake/LV2Config.cmake
index 0cfc911f..62f1866a 100644
--- a/cmake/LV2Config.cmake
+++ b/cmake/LV2Config.cmake
@@ -1,13 +1,13 @@
# Configuration for this plugin
# TODO: generate version from git
-set (LV2PLUGIN_VERSION_MINOR 6)
-set (LV2PLUGIN_VERSION_MICRO 0)
-set (LV2PLUGIN_NAME "sfizz")
-set (LV2PLUGIN_COMMENT "SFZ sampler")
-set (LV2PLUGIN_URI "http://sfztools.github.io/sfizz")
-set (LV2PLUGIN_REPOSITORY "https://github.com/sfztools/sfizz")
-set (LV2PLUGIN_AUTHOR "SFZTools")
-set (LV2PLUGIN_EMAIL "[email protected]")
+set (LV2PLUGIN_VERSION_MINOR 0)
+set (LV2PLUGIN_VERSION_MICRO 1)
+set (LV2PLUGIN_NAME "aqua")
+set (LV2PLUGIN_COMMENT "sfizz SFZ sampler with ARIA UI XML extension")
+set (LV2PLUGIN_URI "https://github.com/atsushieno/aqua")
+set (LV2PLUGIN_REPOSITORY "https://github.com/atsushieno/aqua")
+set (LV2PLUGIN_AUTHOR "atsushieno")
+set (LV2PLUGIN_EMAIL "[email protected]")
if (SFIZZ_USE_VCPKG)
set (LV2PLUGIN_SPDX_LICENSE_ID "LGPL-3.0-only")
else()
diff --git a/lv2/manifest.ttl.in b/lv2/manifest.ttl.in
index ab407d33..c58ae6d8 100644
--- a/lv2/manifest.ttl.in
+++ b/lv2/manifest.ttl.in
@@ -7,7 +7,3 @@
lv2:binary <Contents/Binary/@PROJECT_NAME@@CMAKE_SHARED_MODULE_SUFFIX@> ;
rdfs:seeAlso <@[email protected]> .
-@LV2PLUGIN_IF_ENABLE_UI@<@LV2PLUGIN_URI@#ui>
-@LV2PLUGIN_IF_ENABLE_UI@ a ui:@LV2_UI_TYPE@ ;
-@LV2PLUGIN_IF_ENABLE_UI@ ui:binary <Contents/Binary/@PROJECT_NAME@_ui@CMAKE_SHARED_MODULE_SUFFIX@> ;
-@LV2PLUGIN_IF_ENABLE_UI@ rdfs:seeAlso <@PROJECT_NAME@_ui.ttl> .
diff --git a/lv2/sfizz.ttl.in b/lv2/sfizz.ttl.in
index 5ddd0317..05f24aa8 100644
--- a/lv2/sfizz.ttl.in
+++ b/lv2/sfizz.ttl.in
@@ -18,6 +18,7 @@
@prefix urid: <http://lv2plug.in/ns/ext/urid#> .
@prefix work: <http://lv2plug.in/ns/ext/worker#> .
@prefix midnam: <http://ardour.org/lv2/midnam#> .
+@prefix extui: <http://kxstudio.sf.net/ns/lv2ext/external-ui#> .
midnam:interface a lv2:ExtensionData .
midnam:update a lv2:Feature .
@@ -369,3 +370,13 @@ midnam:update a lv2:Feature .
lv2:minimum 0 ;
lv2:maximum 65535 ;
] .
+
+<@LV2PLUGIN_URI@#ui>
+ a extui:Widget ;
+ ui:binary <aqua-lv2ui.so> ;
+ ui:portNotification [
+ ui:plugin <https://github.com/atsushieno/aqua> ;
+ lv2:symbol "notify" ;
+ ui:protocol atom:eventTransfer
+ ] .
+
diff --git a/lv2/sfizz_lv2.h b/lv2/sfizz_lv2.h
index b0eafe00..05a31f33 100644
--- a/lv2/sfizz_lv2.h
+++ b/lv2/sfizz_lv2.h
@@ -8,8 +8,8 @@
#define MAX_PATH_SIZE 1024
-#define SFIZZ_URI "http://sfztools.github.io/sfizz"
-#define SFIZZ_UI_URI "http://sfztools.github.io/sfizz#ui"
+#define SFIZZ_URI "https://github.com/atsushieno/aqua"
+#define SFIZZ_UI_URI "https://github.com/atsushieno/aqua#ui"
#define SFIZZ_PREFIX SFIZZ_URI "#"
#define SFIZZ__sfzFile SFIZZ_URI ":" "sfzfile"
#define SFIZZ__tuningfile SFIZZ_URI ":" "tuningfile"