update README
This commit is contained in:
parent
fecd3b2e69
commit
cdf2d843d2
2 changed files with 11 additions and 5 deletions
14
README.md
14
README.md
|
@ -9,20 +9,20 @@ glitch art "framework", ???????? language??? something?
|
||||||
|
|
||||||
# how do?
|
# how do?
|
||||||
|
|
||||||
## build depedencies:
|
## build depedencies (headers included):
|
||||||
- zig at https://ziglang.org
|
- zig at https://ziglang.org
|
||||||
- libc, lilv and libsndfile
|
- libc, lilv and libsndfile
|
||||||
- an appreciation for glitched anime girls on your hard drive
|
|
||||||
- graphicsmagick for the `rotate` command
|
- graphicsmagick for the `rotate` command
|
||||||
|
|
||||||
## plugin depedencies:
|
## plugin depedencies (only required at runtime):
|
||||||
- lv2 default plugins (most specifically the eg-amp plugin)
|
- lv2 default plugins (most specifically the eg-amp plugin,
|
||||||
|
will likely be there by default)
|
||||||
- the SWH plugins ( https://github.com/swh/lv2 )
|
- the SWH plugins ( https://github.com/swh/lv2 )
|
||||||
- the Invada Studio plugins ( https://launchpad.net/invada-studio/ )
|
- the Invada Studio plugins ( https://launchpad.net/invada-studio/ )
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# build and install
|
# 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
|
git clone https://gitdab.com/luna/scritcher.git
|
||||||
cd scritcher
|
cd scritcher
|
||||||
|
|
||||||
|
@ -31,8 +31,12 @@ zig build install --prefix ~/.local/
|
||||||
# on your input image file
|
# on your input image file
|
||||||
convert blah.jpg blah.bmp
|
convert blah.jpg blah.bmp
|
||||||
|
|
||||||
|
# if you got the lv2 default amp plugin, this is runnable
|
||||||
scritcher examples/middle_amp.scri blah.bmp
|
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
|
// 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.
|
// blah_g1.bmp, the second saves to blah_g2.bmp, etc.
|
||||||
$your_image_viewer blah_g1.bmp
|
$your_image_viewer blah_g1.bmp
|
||||||
|
|
|
@ -4,6 +4,8 @@ const Builder = @import("std").build.Builder;
|
||||||
fn setupLinks(step: *builds.LibExeObjStep) void {
|
fn setupLinks(step: *builds.LibExeObjStep) void {
|
||||||
step.linkSystemLibrary("lilv-0");
|
step.linkSystemLibrary("lilv-0");
|
||||||
step.linkSystemLibrary("sndfile");
|
step.linkSystemLibrary("sndfile");
|
||||||
|
|
||||||
|
// TODO 2.30 glibc
|
||||||
step.linkSystemLibrary("c");
|
step.linkSystemLibrary("c");
|
||||||
|
|
||||||
step.linkSystemLibrary("GraphicsMagickWand");
|
step.linkSystemLibrary("GraphicsMagickWand");
|
||||||
|
|
Loading…
Reference in a new issue