INSTALL 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. =============================================================================
  2. COMPILING FROM SOURCE
  3. -----------------------------------------------------------------------------
  4. You will need:
  5. - Either the meson build system (https://mesonbuild.com) or the scons build
  6. system (https://scons.org).
  7. - A D compiler that supports D 2.076.0 or newer.
  8. - GraphicsMagick (https://graphicsmagick.sourceforge.io) unless you are
  9. building on macOS.
  10. If you are building on macOS, you will need to use SCons as there are some
  11. issues linking with the appropriate frameworks when using meson.
  12. You can now build pixiv_down.
  13. For meson:
  14. meson setup builddir
  15. ninja -C builddir
  16. For scons:
  17. scons
  18. =============================================================================
  19. INSTALLATION
  20. -----------------------------------------------------------------------------
  21. By default, pixiv_down will be installed with the prefix /usr/local, see the
  22. 'Configuration' section below to see how you can change this.
  23. For meson:
  24. sudo ninja -C builddir install
  25. For scons:
  26. sudo scons install
  27. -----------------------------------------------------------------------------
  28. Configuration
  29. -----------------------------------------------------------------------------
  30. You can see a list of configuration options by using either:
  31. - meson configure builddir
  32. - scons --help
  33. You can then configure these options from the command line, for example, to
  34. change the default installation prefix of /usr/local to /usr:
  35. - meson configure builddir -Dprefix=/usr
  36. - scons prefix=/usr