Browse Source

Update README; Fix sources to be compatible with mingw a bit

Signed-off-by: falkTX <falktx@falktx.com>
tags/2020-07-14
falkTX 4 years ago
parent
commit
7b21549655
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
7 changed files with 25 additions and 28 deletions
  1. +8
    -23
      README.md
  2. +6
    -0
      meson.build
  3. +2
    -2
      ports-legacy/easySSP/source/TomatlImageType.h
  4. +6
    -0
      ports-legacy/juce-opl/meson.build
  5. +2
    -2
      ports-legacy/juce-opl/source/DROMultiplexer.cpp
  6. +0
    -0
      ports-legacy/juce-opl/source/compat/windows.h
  7. +1
    -1
      ports-legacy/meson.build

+ 8
- 23
README.md View File

@@ -1,6 +1,8 @@
# DISTRHO Ports

DISTRHO is an open source project that has the goal of making cross-platform audio plugins and GNU/Linux ports.
[![Build Status](https://travis-ci.org/DISTRHO/PawPaw.png)](https://travis-ci.org/DISTRHO/PawPaw)

DISTRHO is an open source project with the goal of making cross-platform audio plugins and GNU/Linux ports.

<b>This repository contains the GNU/Linux and LV2 ports</b>

@@ -10,7 +12,7 @@ To build plugins, you first need to install the following dependencies:

All OSes:

- premake (version 3)
- meson

GNU/Linux: (development versions of these)

@@ -21,27 +23,10 @@ GNU/Linux: (development versions of these)

## BUILD and INSTALL

In order to build the plugins, first run:

```
./scripts/premake-update.sh _OS_
```

where `_OS_` can be `linux`, `mac` or `mingw`.
This operation requires 'premake' (version 3) to be installed on your system.


You are now ready to start building. Run this on the source root folder:

```
make
```

If you just want to build specific plugin versions, you can use 'make lv2' or 'make vst'.


To build in debug mode, use this:
In order to build and install the plugins, just run the usual steps for a meson project:

```
make CONFIG=Debug
meson build --buildtype release
ninja -C build
ninja -C build install
```

+ 6
- 0
meson.build View File

@@ -179,6 +179,12 @@ link_flags_debug = [
link_flags_release = [
]

if os_windows
link_flags += [
'-static',
]
endif

if not os_darwin
link_flags += [
'-Wl,--no-undefined',


+ 2
- 2
ports-legacy/easySSP/source/TomatlImageType.h View File

@@ -2,7 +2,7 @@
#define TOMATL_WINDOWS_BITMAP_IMAGE
#ifdef JUCE_WINDOWS
#include <Windows.h>
#include <windows.h>
#endif
// The idea of this hack is to be able use the same pixelStride used internally in windows.
@@ -81,4 +81,4 @@ public:
}
};
#endif
#endif

+ 6
- 0
ports-legacy/juce-opl/meson.build View File

@@ -20,4 +20,10 @@ plugin_srcs = files([

plugin_name = 'JuceOPL'

if not os_windows
plugin_extra_include_dirs = include_directories([
'source/compat',
])
endif

###############################################################################

+ 2
- 2
ports-legacy/juce-opl/source/DROMultiplexer.cpp View File

@@ -3,9 +3,9 @@

/// Jeff-Russ added guard against windows.h include if not windows:
#ifdef _WIN32 // covers both 32 and 64-bit
#include <Windows.h>
#include <windows.h>
#else
#include "windows.h"
#include "compat/windows.h"
#endif

/// Jeff-Russ added to replace mising itoa for xcode:


ports-legacy/juce-opl/source/windows.h → ports-legacy/juce-opl/source/compat/windows.h View File


+ 1
- 1
ports-legacy/meson.build View File

@@ -250,7 +250,7 @@ foreach plugin : plugins
'mkdir', '-p', plugin_lv2_dir, '&&',
'cd', plugin_lv2_dir, '&&',
'cp', plugin_lv2_lib.full_path(), plugin_lv2_dir / plugin_name + lib_suffix, '&&',
lv2_ttl_generator, '.' / plugin_name + lib_suffix,
meson.has_exe_wrapper() ? 'wine' : '', lv2_ttl_generator, '.' / plugin_name + lib_suffix,
],
install: true,
install_dir: lv2dir,


Loading…
Cancel
Save