- Move project url to gitea,

- Moge plugin url to rx3.org,
- improve drummer-mkttl.
This commit is contained in:
Arnaud G. GIBERT 2024-04-03 14:10:45 +02:00
parent 785e178b87
commit e816f1cb0d
4 changed files with 27 additions and 12 deletions

View File

@ -1,7 +1,11 @@
#!/bin/bash
manifest_file="manifest.ttl"
out_file="drummer.ttl"
outport_nb=32
owner_email="alkorz3@rx3.net"
plugin_url="http://rx3.org/AlkorZ3/drummer"
project_url="https://git.rx3.org/gitea/rx3/drummer"
outport_nb=32
@ -80,20 +84,20 @@ echo -n >>${out_file} '@prefix lv2: <http://lv2plug.in/ns/lv2core#>.
@prefix atom: <http://lv2plug.in/ns/ext/atom#>.
@prefix urid: <http://lv2plug.in/ns/ext/urid#>.
@prefix pg: <http://lv2plug.in/ns/ext/port-groups#>.
@prefix drummer: <http://rx3.net/AlkorZ3/drummer#>.
@prefix drummer: <'${plugin_url}'#>.
<http://rx3.net/AlkorZ3/drummer>
<'${plugin_url}'>
a lv2:InstrumentPlugin, lv2:Plugin;
lv2:binary <drummer.so>;
doap:name "Drummer Sampler";
doap:maintainer [
foaf:name "AlkorZ3";
foaf:homepage <http://rx3.net/AlkorZ3/drummer>;
foaf:mbox <alkorz3@rx3.net>
foaf:homepage <'${project_url}'>;
foaf:mbox <'${owner_email}'>
] ;
doap:license <http://usefulinc.com/doap/licenses/gpl>;
lv2:requiredFeature urid:map;
ui:ui <http://rx3.net/AlkorZ3/drummer#ui>;
ui:ui <'${plugin_url}'#ui>;
lv2:extensionData <http://lv2plug.in/ns/ext/state#interface>;
lv2:port'
@ -278,6 +282,16 @@ done
echo >>${out_file} '
<http://rx3.net/AlkorZ3/drummer#ui>
<'${plugin_url}'#ui>
a ui:GtkUI ;
ui:binary <drummer_ui.so> .'
echo >${manifest_file} '@prefix lv2: <http://lv2plug.in/ns/lv2core#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
<'${plugin_url}'>
a lv2:Plugin;
rdfs:seeAlso <'${out_file}'>.'

5
go.sh
View File

@ -37,7 +37,8 @@ eval ${cmd}
cmd="./drummer-mkttl"
#echo ${cmd}
#eval ${cmd}
echo ${cmd}
eval ${cmd}
#gcc -g -I . -L . -shared -o drummer.so -fPIC drummer.c
#gcc -g -I. -I/usr/include/libxml2 -o xpath -fPIC -ldl -lxml2 -lz -llzma -lm xpath.c

View File

@ -35,7 +35,7 @@
// lv2 stuff
#define DRD_DRUMMER_URI "http://rx3.net/AlkorZ3/drummer"
#define DRD_DRUMMER_URI "http://rx3.org/AlkorZ3/drummer"
#define DRD_GAIN_MIN -60.0f
#define DRD_GAIN_MAX 6.0f

View File

@ -20,7 +20,7 @@
/* Global definitions */
/*----------------------------------------------------------------------------*/
#define DRD_DRUMMER_UI_URI "http://rx3.net/AlkorZ3/drummer#ui"
#define DRD_DRUMMER_UI_URI "http://rx3.org/AlkorZ3/drummer#ui"