diff --git a/README.md b/README.md index 0867f88..31e1e17 100644 --- a/README.md +++ b/README.md @@ -9,20 +9,20 @@ glitch art "framework", ???????? language??? something? # how do? -## build depedencies: +## build depedencies (headers included): - zig at https://ziglang.org - libc, lilv and libsndfile - - an appreciation for glitched anime girls on your hard drive - graphicsmagick for the `rotate` command -## plugin depedencies: - - lv2 default plugins (most specifically the eg-amp plugin) +## plugin depedencies (only required at runtime): + - lv2 default plugins (most specifically the eg-amp plugin, + will likely be there by default) - the SWH plugins ( https://github.com/swh/lv2 ) - the Invada Studio plugins ( https://launchpad.net/invada-studio/ ) ```bash # build and install -# assumes lilv headers are at /usr/include/lilv-0, check build.zig if different +# assumes lilv headers are at /usr/include/lilv-0, edit build.zig if different git clone https://gitdab.com/luna/scritcher.git cd scritcher @@ -31,8 +31,12 @@ zig build install --prefix ~/.local/ # on your input image file convert blah.jpg blah.bmp +# if you got the lv2 default amp plugin, this is runnable scritcher examples/middle_amp.scri blah.bmp +# if not, the noise plugin does not depend on any lv2 plugin. +scritcher examples/noise.scri blah.bmp + // scritcher saves it on an incremental basis, so the first run will save to // blah_g1.bmp, the second saves to blah_g2.bmp, etc. $your_image_viewer blah_g1.bmp diff --git a/build.zig b/build.zig index e3d9c7e..eebcb55 100644 --- a/build.zig +++ b/build.zig @@ -4,6 +4,8 @@ const Builder = @import("std").build.Builder; fn setupLinks(step: *builds.LibExeObjStep) void { step.linkSystemLibrary("lilv-0"); step.linkSystemLibrary("sndfile"); + + // TODO 2.30 glibc step.linkSystemLibrary("c"); step.linkSystemLibrary("GraphicsMagickWand");