From f398a63418c5f4609b9de71c960aab4c73f3809e Mon Sep 17 00:00:00 2001 From: Ribbon Date: Fri, 25 Oct 2024 12:31:14 +0000 Subject: [PATCH] Add recipes --- .../graphics/converters/vtracer/recipe.toml | 8 ++++++ recipes/wip/services/qpwgraph/recipe.toml | 26 +++++++++++++++++++ recipes/wip/sound/easy-effects/recipe.toml | 15 +++++++++++ recipes/wip/sound/sonobus/recipe.toml | 24 +++++++++++++++++ 4 files changed, 73 insertions(+) create mode 100644 recipes/wip/graphics/converters/vtracer/recipe.toml create mode 100644 recipes/wip/services/qpwgraph/recipe.toml create mode 100644 recipes/wip/sound/easy-effects/recipe.toml create mode 100644 recipes/wip/sound/sonobus/recipe.toml diff --git a/recipes/wip/graphics/converters/vtracer/recipe.toml b/recipes/wip/graphics/converters/vtracer/recipe.toml new file mode 100644 index 000000000..f28ae1c9b --- /dev/null +++ b/recipes/wip/graphics/converters/vtracer/recipe.toml @@ -0,0 +1,8 @@ +#TODO not compiled or tested +[source] +git = "https://github.com/visioncortex/vtracer" +[build] +template = "custom" +script = """ +cookbook_cargo_packages vtracer +""" diff --git a/recipes/wip/services/qpwgraph/recipe.toml b/recipes/wip/services/qpwgraph/recipe.toml new file mode 100644 index 000000000..b8a48fbfa --- /dev/null +++ b/recipes/wip/services/qpwgraph/recipe.toml @@ -0,0 +1,26 @@ +#TODO maybe wrong script +# build instructions - https://gitlab.freedesktop.org/rncbc/qpwgraph#building +[source] +git = "https://gitlab.freedesktop.org/rncbc/qpwgraph" +rev = "9fead6eff8c5831d66f618b2e8e195c94d5c22e6" +[build] +template = "custom" +dependencies = [ + "qt6-base", + "pipewire", +] +script = """ +COOKBOOK_CONFIGURE="cmake" +COOKBOOK_CONFIGURE_FLAGS=( + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_CROSSCOMPILING=True + -DCMAKE_EXE_LINKER_FLAGS="-static" + -DCMAKE_INSTALL_PREFIX="/" + -DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}" + -DCMAKE_SYSTEM_NAME=Generic + -DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)" + -DCMAKE_VERBOSE_MAKEFILE=On +"${COOKBOOK_SOURCE}" +) +cookbook_configure +""" diff --git a/recipes/wip/sound/easy-effects/recipe.toml b/recipes/wip/sound/easy-effects/recipe.toml new file mode 100644 index 000000000..adc0d59d7 --- /dev/null +++ b/recipes/wip/sound/easy-effects/recipe.toml @@ -0,0 +1,15 @@ +#TODO missing dependencies - https://github.com/wwmm/easyeffects#effects-available +#TODO build instructions - https://github.com/wwmm/easyeffects/wiki/Installation-from-Source +[source] +git = "https://github.com/wwmm/easyeffects" +rev = "4c35ba8c385723fdefc81ad8fcb816eb965fe1d8" +[build] +template = "custom" +dependencies = [ + "libsamplerate", + "libsndfile", + "fftw", + "speexdsp", + "nohnmann-json", + "tbb", +] diff --git a/recipes/wip/sound/sonobus/recipe.toml b/recipes/wip/sound/sonobus/recipe.toml new file mode 100644 index 000000000..8b64a2faf --- /dev/null +++ b/recipes/wip/sound/sonobus/recipe.toml @@ -0,0 +1,24 @@ +#TODO make all dependencies work +#TODO workaround the ALSA and JACK dependencies +#TODO patch the install.sh to use the COOKBOOK_STAGE envivar +#TODO expose the cross-compilation environment variables to the build scripts +# build instructions - https://github.com/sonosaurus/sonobus/blob/main/linux/BUILDING.md +[source] +git = "https://github.com/sonosaurus/sonobus" +[build] +template = "custom" +dependencies = [ + "libopus", + "freetype2", + "curl", + "libx11", + "libxinerama", + "libxrandr", + "libxext", + "libxcursor", +] +script = """ +COOKBOOK_SOURCE="${COOKBOOK_SOURCE}/linux" +./build.sh +./install.sh +"""