Commit f788c3fe authored by Hanspeter Portner's avatar Hanspeter Portner

initial migration to meson.

* manual is still missing
* unit tests are still missing
parent 007e0322
......@@ -36,21 +36,18 @@ Get more information at: [http://open-music-kontrollers.ch/lv2/moony](http://ope
### Build / install
git clone https://gitlab.com/OpenMusicKontrollers/moony.lv2.git
git clone https://git.open-music-kontrollers.ch/lv2//moony.lv2
cd moony.lv2
mkdir build
meson build
cd build
cmake -DCMAKE_BUILD_TYPE="Release" ..
make
sudo make install
ninja -j4
sudo ninja install
If you want to run the unit test, do instead:
If you want to run the unit tests:
.
.
cmake -DCMAKE_BUILD_TYPE="Debug" -DBUILD_TESTING=1 ..
make
ARGS="-VV" make test
ninja test
.
.
......
......@@ -73,12 +73,12 @@ static const size_t moony_sz [MOONY_UDATA_COUNT] = {
[MOONY_UDATA_STASH] = sizeof(lstash_t)
};
static atomic_long voice_uuid = ATOMIC_VAR_INIT(INT64_MAX / UINT16_MAX * 2LL);
static atomic_uint voice_uuid = ATOMIC_VAR_INIT(UINT32_MAX / UINT16_MAX * 2L);
__realtime static int64_t
__realtime static uint32_t
_voice_map_new_uuid(void *handle, uint32_t flag __attribute__((unused)))
{
atomic_long *uuid = handle;
atomic_uint *uuid = handle;
return atomic_fetch_add_explicit(uuid, 1, memory_order_relaxed);
}
......@@ -832,6 +832,8 @@ _state_restore(LV2_Handle instance,
work_sched = features[i]->data;
}
(void)work_sched; //FIXME
size_t size;
uint32_t type;
uint32_t flags2;
......
This diff is collapsed.
[host_machine]
system = 'linux'
cpu_family = 'arm'
cpu = 'armv7hl'
endian = 'little'
[binaries]
c = '/usr/bin/arm-linux-gnueabihf-gcc'
cpp = '/usr/bin/arm-linux-gnueabihf-g++'
ar = '/usr/bin/arm-linux-gnueabihf-ar'
strip = '/usr/bin/arm-linux-gnueabihf-strip'
pkgconfig = '/usr/bin/pkg-config'
exe_wrapper = '/usr/bin/qemu-arm'
[properties]
root = '/usr/arm-linux-gnueabihf'
c_link_args = ['-Wl,-z,defs']
needs_exe_wrapper = true
[host_machine]
system = 'linux'
cpu_family = 'x86'
cpu = 'i686'
endian = 'little'
[binaries]
c = '/usr/bin/x86_64-linux-gnu-gcc'
cpp = '/usr/bin/x86_64-linux-gnu-g++'
ar = '/usr/bin/x86_64-linux-gnu-ar'
strip = '/usr/bin/x86_64-linux-gnu-strip'
pkgconfig = '/usr/bin/pkg-config'
[properties]
c_args = ['-m32']
cpp_args = ['-m32']
c_link_args = ['-m32', '-Wl,-z,defs']
cpp_link_args = ['-m32', '-Wl,-z,defs']
needs_exe_wrapper = false
[host_machine]
system = 'windows'
cpu_family = 'i686'
cpu = 'i686'
endian = 'little'
[binaries]
c = '/usr/bin/i686-w64-mingw32-gcc'
cpp = '/usr/bin/i686-w64-mingw32-g++'
ar = '/usr/bin/i686-w64-mingw32-ar'
strip = '/usr/bin/i686-w64-mingw32-strip'
pkgconfig = '/usr/bin/pkg-config'
exe_wrapper = '/usr/bin/wine'
[properties]
root = '/usr/i686-w64-mingw32'
needs_exe_wrapper = true
[host_machine]
system = 'darwin'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
[binaries]
c = '/usr/universal-apple-darwin/bin/x86_64-apple-darwin15-clang'
cpp = '/usr/universal-apple-darwin/bin/x86_64-apple-darwin15-clang++'
objc = '/usr/universal-apple-darwin/bin/x86_64-apple-darwin15-clang'
ar = '/usr/universal-apple-darwin/bin/x86_64-apple-darwin15-ar'
strip = '/usr/universal-apple-darwin/bin/x86_64-apple-darwin15-strip'
pkgconfig = '/usr/bin/pkg-config'
[properties]
root = '/usr/universal-apple-darwin/SDK/MacOSX10.11.sdk'
c_args = ['-arch', 'i386', '-arch', 'x86_64']
c_link_args = ['-arch', 'i386', '-arch', 'x86_64']
needs_exe_wrapper = true
[host_machine]
system = 'linux'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
[binaries]
c = '/usr/bin/x86_64-linux-gnu-gcc'
cpp = '/usr/bin/x86_64-linux-gnu-g++'
ar = '/usr/bin/x86_64-linux-gnu-ar'
strip = '/usr/bin/x86_64-linux-gnu-strip'
pkgconfig = '/usr/bin/pkg-config'
[properties]
c_link_args = ['-Wl,-z,defs']
needs_exe_wrapper = false
[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
[binaries]
c = '/usr/bin/x86_64-w64-mingw32-gcc'
cpp = '/usr/bin/x86_64-w64-mingw32-g++'
ar = '/usr/bin/x86_64-w64-mingw32-ar'
strip = '/usr/bin/x86_64-w64-mingw32-strip'
pkgconfig = '/usr/bin/pkg-config'
exe_wrapper = '/usr/bin/wine64'
[properties]
root = '/usr/x86_64-w64-mingw32'
needs_exe_wrapper = true
......@@ -32,9 +32,9 @@ kx:Host
# control in, control out
moony:c1xc1
a lv2:Plugin ;
lv2:minorVersion @MOONY_MINOR_VERSION@ ;
lv2:microVersion @MOONY_MICRO_VERSION@ ;
lv2:binary <moony@CMAKE_SHARED_MODULE_SUFFIX@> ;
lv2:minorVersion @MINOR_VERSION@ ;
lv2:microVersion @MICRO_VERSION@ ;
lv2:binary <moony@MODULE_SUFFIX@> ;
@UI_WRAP@ui:ui moony:moony_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_kx ;
......@@ -42,9 +42,9 @@ moony:c1xc1
moony:c2xc2
a lv2:Plugin ;
lv2:minorVersion @MOONY_MINOR_VERSION@ ;
lv2:microVersion @MOONY_MICRO_VERSION@ ;
lv2:binary <moony@CMAKE_SHARED_MODULE_SUFFIX@> ;
lv2:minorVersion @MINOR_VERSION@ ;
lv2:microVersion @MICRO_VERSION@ ;
lv2:binary <moony@MODULE_SUFFIX@> ;
@UI_WRAP@ui:ui moony:moony_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_kx ;
......@@ -52,9 +52,9 @@ moony:c2xc2
moony:c4xc4
a lv2:Plugin ;
lv2:minorVersion @MOONY_MINOR_VERSION@ ;
lv2:microVersion @MOONY_MICRO_VERSION@ ;
lv2:binary <moony@CMAKE_SHARED_MODULE_SUFFIX@> ;
lv2:minorVersion @MINOR_VERSION@ ;
lv2:microVersion @MICRO_VERSION@ ;
lv2:binary <moony@MODULE_SUFFIX@> ;
@UI_WRAP@ui:ui moony:moony_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_kx ;
......@@ -63,9 +63,9 @@ moony:c4xc4
# atom in, atom out
moony:a1xa1
a lv2:Plugin ;
lv2:minorVersion @MOONY_MINOR_VERSION@ ;
lv2:microVersion @MOONY_MICRO_VERSION@ ;
lv2:binary <moony@CMAKE_SHARED_MODULE_SUFFIX@> ;
lv2:minorVersion @MINOR_VERSION@ ;
lv2:microVersion @MICRO_VERSION@ ;
lv2:binary <moony@MODULE_SUFFIX@> ;
@UI_WRAP@ui:ui moony:moony_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_kx ;
......@@ -73,9 +73,9 @@ moony:a1xa1
moony:a2xa2
a lv2:Plugin ;
lv2:minorVersion @MOONY_MINOR_VERSION@ ;
lv2:microVersion @MOONY_MICRO_VERSION@ ;
lv2:binary <moony@CMAKE_SHARED_MODULE_SUFFIX@> ;
lv2:minorVersion @MINOR_VERSION@ ;
lv2:microVersion @MICRO_VERSION@ ;
lv2:binary <moony@MODULE_SUFFIX@> ;
@UI_WRAP@ui:ui moony:moony_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_kx ;
......@@ -83,9 +83,9 @@ moony:a2xa2
moony:a4xa4
a lv2:Plugin ;
lv2:minorVersion @MOONY_MINOR_VERSION@ ;
lv2:microVersion @MOONY_MICRO_VERSION@ ;
lv2:binary <moony@CMAKE_SHARED_MODULE_SUFFIX@> ;
lv2:minorVersion @MINOR_VERSION@ ;
lv2:microVersion @MICRO_VERSION@ ;
lv2:binary <moony@MODULE_SUFFIX@> ;
@UI_WRAP@ui:ui moony:moony_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_kx ;
......@@ -94,9 +94,9 @@ moony:a4xa4
# control/atom in, control/atom out
moony:c1a1xc1a1
a lv2:Plugin ;
lv2:minorVersion @MOONY_MINOR_VERSION@ ;
lv2:microVersion @MOONY_MICRO_VERSION@ ;
lv2:binary <moony@CMAKE_SHARED_MODULE_SUFFIX@> ;
lv2:minorVersion @MINOR_VERSION@ ;
lv2:microVersion @MICRO_VERSION@ ;
lv2:binary <moony@MODULE_SUFFIX@> ;
@UI_WRAP@ui:ui moony:moony_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_kx ;
......@@ -104,9 +104,9 @@ moony:c1a1xc1a1
moony:c2a1xc2a1
a lv2:Plugin ;
lv2:minorVersion @MOONY_MINOR_VERSION@ ;
lv2:microVersion @MOONY_MICRO_VERSION@ ;
lv2:binary <moony@CMAKE_SHARED_MODULE_SUFFIX@> ;
lv2:minorVersion @MINOR_VERSION@ ;
lv2:microVersion @MICRO_VERSION@ ;
lv2:binary <moony@MODULE_SUFFIX@> ;
@UI_WRAP@ui:ui moony:moony_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_kx ;
......@@ -114,9 +114,9 @@ moony:c2a1xc2a1
moony:c4a1xc4a1
a lv2:Plugin ;
lv2:minorVersion @MOONY_MINOR_VERSION@ ;
lv2:microVersion @MOONY_MICRO_VERSION@ ;
lv2:binary <moony@CMAKE_SHARED_MODULE_SUFFIX@> ;
lv2:minorVersion @MINOR_VERSION@ ;
lv2:microVersion @MICRO_VERSION@ ;
lv2:binary <moony@MODULE_SUFFIX@> ;
@UI_WRAP@ui:ui moony:moony_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_ui ;
@UI_WRAP@@UI_EXT@ui:ui moony:moony_zimple_kx ;
......@@ -124,16 +124,16 @@ moony:c4a1xc4a1
# UI
moony:moony_ui
a ui:@MOONY_UI_TYPE@ ;
ui:binary <moony_ui@CMAKE_SHARED_MODULE_SUFFIX@> ;
a ui:@UI_TYPE@ ;
ui:binary <moony_ui@MODULE_SUFFIX@> ;
rdfs:seeAlso <moony_ui.ttl> .
moony:moony_zimple_ui
a ui:UI ;
ui:binary <moony_ui@CMAKE_SHARED_MODULE_SUFFIX@> ;
ui:binary <moony_ui@MODULE_SUFFIX@> ;
rdfs:seeAlso <moony_ui.ttl> .
moony:moony_zimple_kx
a kx:Widget ;
ui:binary <moony_ui@CMAKE_SHARED_MODULE_SUFFIX@> ;
ui:binary <moony_ui@MODULE_SUFFIX@> ;
rdfs:seeAlso <moony_ui.ttl> .
# Banks
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment