More packaging stuff

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-02-12 23:38:22 +00:00
parent 7d02a17892
commit 335db79d14
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
5 changed files with 1078 additions and 14 deletions

View file

@ -487,6 +487,24 @@ jobs:
path: | path: |
*.zip *.zip
source-tarball:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Create source tarball
run: |
make tarball
- name: Set sha8
id: slug
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
- uses: actions/upload-artifact@v2
with:
name: ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
path: |
../cardinal-*.tar.xz
plugin-validation: plugin-validation:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:

View file

@ -228,7 +228,7 @@ deps/unzipfx/unzipfx2cat.exe:
# Clean step # Clean step
clean: clean:
$(MAKE) distclean -C carla $(MAKE) distclean -C carla $(CARLA_EXTRA_ARGS) CAN_GENERATE_LV2_TTL=false STATIC_PLUGIN_TARGET=true
$(MAKE) clean -C deps $(MAKE) clean -C deps
$(MAKE) clean -C dpf/dgl $(MAKE) clean -C dpf/dgl
$(MAKE) clean -C dpf/utils/lv2-ttl-generator $(MAKE) clean -C dpf/utils/lv2-ttl-generator
@ -267,26 +267,27 @@ install:
# -------------------------------------------------------------- # --------------------------------------------------------------
# Tarball step, for releases # Tarball step, for releases
# --lzma
tarball: tarball:
rm -f ../cardinal-$(VERSION).tar rm -f ../cardinal-$(VERSION).tar
tar -c \ tar -c --lzma \
--exclude=".appveyor*" \ --exclude=".appveyor*" \
--exclude=".ci*" \ --exclude=".ci*" \
--exclude=".clang*" \ --exclude=".clang*" \
--exclude=".drone*" \ --exclude=".drone*" \
--exclude=".editor*" \ --exclude=".editor*" \
--exclude=".git*" \ --exclude=".git*" \
--exclude="*.kdev*" \
--exclude=".travis*" \ --exclude=".travis*" \
--exclude=".vscode*" \ --exclude=".vscode*" \
--exclude="*.kdev4" \
--exclude="carla/source/modules/juce_*" \ --exclude="carla/source/modules/juce_*" \
--exclude="carla/source/native-plugins/external/zynaddsubfx*" \ --exclude="carla/source/native-plugins/external/zynaddsubfx*" \
--exclude="src/Rack/dep/osdialog/osdialog_*" \ --exclude="src/Rack/dep/osdialog/osdialog_*" \
--exclude="src/Rack/icon.*" \ --exclude="src/Rack/icon.*" \
--exclude=bin \ --exclude=bin \
--exclude=build \ --exclude=build \
--exclude=jucewrapper \
--exclude=lv2export \
--exclude=patches \
--exclude=carla/data \ --exclude=carla/data \
--exclude=carla/source/frontend \ --exclude=carla/source/frontend \
--exclude=carla/source/interposer \ --exclude=carla/source/interposer \
@ -305,9 +306,6 @@ tarball:
--exclude=dpf/examples \ --exclude=dpf/examples \
--exclude=dpf/lac \ --exclude=dpf/lac \
--exclude=dpf/tests \ --exclude=dpf/tests \
--exclude=jucewrapper \
--exclude=lv2export \
--exclude=patches \
--exclude=plugins/.kdev_include_paths \ --exclude=plugins/.kdev_include_paths \
--exclude=plugins/todo.txt \ --exclude=plugins/todo.txt \
--exclude=plugins/AriaModules/res/Arcane \ --exclude=plugins/AriaModules/res/Arcane \
@ -362,7 +360,7 @@ tarball:
--transform='s,^\.\.,-.-.,' \ --transform='s,^\.\.,-.-.,' \
--transform='s,^\.,cardinal-$(VERSION),' \ --transform='s,^\.,cardinal-$(VERSION),' \
--transform='s,^-\.-\.,..,' \ --transform='s,^-\.-\.,..,' \
-f ../cardinal-$(VERSION).tar . -f ../cardinal-$(VERSION).tar.xz .
# -------------------------------------------------------------- # --------------------------------------------------------------

View file

@ -67,7 +67,7 @@ Dependencies for using system libraries, that is, with `SYSDEPS=true`:
``` ```
# common # common
sudo pacman -S dbus libgl liblo libsndfile libx11 libxcursor libxext libxrandr python3 sudo pacman -S dbus file libgl liblo libsndfile libx11 libxcursor libxext libxrandr python3
# system libraries # system libraries
sudo pacman -S libarchive libsamplerate jansson speexdsp sudo pacman -S libarchive libsamplerate jansson speexdsp
``` ```
@ -76,7 +76,7 @@ Dependencies for vendored libraries:
``` ```
# common # common
sudo pacman -S dbus libgl liblo libsndfile libx11 libxcursor libxext libxrandr python3 sudo pacman -S dbus file libgl liblo libsndfile libx11 libxcursor libxext libxrandr python3
# nedeed by vendored libraries # nedeed by vendored libraries
sudo pacman -S cmake wget sudo pacman -S cmake wget
``` ```
@ -87,7 +87,7 @@ Dependencies for using system libraries, that is, with `SYSDEPS=true`:
``` ```
# common # common
sudo apt install libdbus-1-dev libgl1-mesa-dev liblo-dev libsndfile1-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev python3 sudo apt install libdbus-1-dev libgl1-mesa-dev liblo-dev libmagic-dev libsndfile1-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev python3
# system libraries # system libraries
sudo apt install libarchive-dev libjansson-dev libsamplerate0-dev libspeexdsp-dev sudo apt install libarchive-dev libjansson-dev libsamplerate0-dev libspeexdsp-dev
``` ```
@ -96,7 +96,7 @@ Dependencies for vendored libraries:
``` ```
# common # common
sudo apt install libdbus-1-dev libgl1-mesa-dev liblo-dev libsndfile1-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev python3 sudo apt install libdbus-1-dev libgl1-mesa-dev liblo-dev libmagic-dev libsndfile1-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev python3
# nedeed by vendored libraries # nedeed by vendored libraries
sudo apt install cmake wget sudo apt install cmake wget
``` ```

1048
include/stb_image_write.h Normal file

File diff suppressed because it is too large Load diff

View file

@ -50,7 +50,7 @@
// used in Window::screenshot // used in Window::screenshot
#define STB_IMAGE_WRITE_IMPLEMENTATION #define STB_IMAGE_WRITE_IMPLEMENTATION
#include "../src/Rack/dep/glfw/deps/stb_image_write.h" #include "stb_image_write.h"
#include "DistrhoUI.hpp" #include "DistrhoUI.hpp"
#include "Application.hpp" #include "Application.hpp"