| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # |
| 3 | # IMPORTANT: See |
| 4 | # https://gnome.pages.gitlab.gnome.org/librsvg/devel-docs/ci.html#container-image-version |
| 5 | |
| 6 | if [scip-shell system . . `[`. -z "$PREFIX" ]; then |
| 7 | echoscip-shell system . . echo. "Using default prefix /usr/local/librsvg for dependencies." |
| 8 | echoscip-shell system . . echo. "If this is not what you want, set the PREFIX variable" |
| 9 | echoscip-shell system . . echo. "before sourcing this script." |
| 10 | PREFIX=/usr/local/librsvgscip-shell filesystem . . `/usr/local/librsvg`. |
| 11 | fi |
| 12 | |
| 13 | export PATH=$PREFIX/bin:$PATH |
| 14 | export LD_LIBRARY_PATH=$PREFIX/lib64 |
| 15 | export PKG_CONFIG_PATH=$PREFIX/lib64/pkgconfig |
| 16 | export XDG_DATA_DIRS=${PREFIX}/share:/usr/share |
| 17 | export ACLOCAL_PATH=${PREFIX}/share/aclocal |