update README

This commit is contained in:
Luna 2019-08-27 14:40:41 -03:00
parent fecd3b2e69
commit cdf2d843d2
2 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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");